添加补充查询条件,防止查询不到为null的结果
This commit is contained in:
parent
5ff5998dec
commit
f5f79a9a1e
@ -26,7 +26,7 @@ public class AutoBuckle implements Job{
|
||||
try {
|
||||
tx = JBOFactory.createJBOTransaction();
|
||||
//and (O.rent<>'' or O.rent<>'0' or O.rent<>'0.0')
|
||||
List<BizObject> bos = JBOFactory.getBizObjectManager(VI_LC_AUDIT_RENT_PLAN.CLASS_NAME, tx).createQuery("O.COLLECT_STATUS IN ('未收款', '部分收款') and O.PLAN_DATE <= '"+plan_date+"' and O.BATCH_STATUS<>'process' ").getResultList(true);
|
||||
List<BizObject> bos = JBOFactory.getBizObjectManager(VI_LC_AUDIT_RENT_PLAN.CLASS_NAME, tx).createQuery("O.COLLECT_STATUS IN ('未收款', '部分收款') and O.PLAN_DATE <= '"+plan_date+"' and (O.BATCH_STATUS<>'process' or O.BATCH_STATUS is null)").getResultList(true);
|
||||
StringBuffer ids = new StringBuffer();
|
||||
if(bos.size()>0){
|
||||
for (BizObject bo : bos) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user