1.判断条件增加是否代偿
This commit is contained in:
parent
00ddfad251
commit
86d75500c8
@ -35,7 +35,7 @@ public class DistributorMarginCompensation implements Job {
|
||||
try {
|
||||
tx = JBOFactory.createJBOTransaction();
|
||||
ca.setInputuserid(jboName.getUserId(arg0, tx));
|
||||
List<BizObject> bo_lacs = JBOFactory.getBizObjectManager(lb_automatic_compensatory.CLASS_NAME, tx).createQuery("1=1").getResultList(false);
|
||||
List<BizObject> bo_lacs = JBOFactory.getBizObjectManager(lb_automatic_compensatory.CLASS_NAME, tx).createQuery("Automatic_compensatory='YesN01'").getResultList(false);
|
||||
if(bo_lacs.size()==0){
|
||||
System.out.println("=================未找到可以自动代偿的经销商=================");
|
||||
return;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user