经销商配置产品

This commit is contained in:
amarsoft 2018-06-15 15:41:18 +08:00
parent 4a7e0001ae
commit cbef6a5df7

View File

@ -138,7 +138,7 @@ public String getCarBrandId() {
BizObjectManager Lmcheck = JBOFactory.getBizObjectManager(LM_DISTRIBUTOR_TO_PRODUCT.CLASS_NAME,tx);
BizObject obcheck=Lmcheck.createQuery("DISTRIBUTOR_ID=:DISTRIBUTOR_ID and PRODUCT_ID=:PRODUCT_ID")
.setParameter("DISTRIBUTOR_ID", distributorId).setParameter("PRODUCT_ID",productid).getSingleResult(false);
if(Lmcheck!=null){
if(obcheck!=null){
return "error";
}
int i;