|
|
@@ -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()){
|