Explorar o código

【越加红】【WMS对接】【出入库对接异常重新上传防呆定时任务】

wuyx hai 1 mes
pai
achega
00f73a6534
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/main/java/com/uas/eis/task/WMSUploadTask.java

+ 1 - 1
src/main/java/com/uas/eis/task/WMSUploadTask.java

@@ -37,7 +37,7 @@ public class WMSUploadTask {
             logger.info("uploadfxML-begin-master {}",master);
             String emCode = "ADMIN";
             SqlRowList toSendList = baseDao.queryForRowSet("select pi_id,pi_inoutno,pi_class,ds_table,nvl(pi_sendwmserr_count,0) pi_sendwmserr_count from "+master+".prodinout left join documentsetup on ds_name = pi_class " +
-                    "where pi_status ='未过账' and PI_WMSORDERTYPE is not null and nvl(PI_SENDWMSFLAG,0) = 0 and ds_inorout in ('-IN','OUT') and PI_SENDWMSERR IS NOT NULL AND NVL(PI_SENDWMSERR_COUNT,0)<5 " +
+                    "where pi_status ='未过账' and PI_WMSORDERTYPE is not null and nvl(PI_SENDWMSFLAG,0) = 0 and ds_inorout in ('-IN','OUT','IN','-OUT') and PI_SENDWMSERR IS NOT NULL AND NVL(PI_SENDWMSERR_COUNT,0)<5 " +
                     "order by pi_id");
             if(toSendList.hasNext()){
                 while (toSendList.next()){