浏览代码

【华信科】【富勒WMS对接】【其它出库单-其它出库】

wuyx 7 月之前
父节点
当前提交
1ec7077793
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/uas/eis/service/Impl/ERPSWMServiceImpl.java

+ 1 - 1
src/main/java/com/uas/eis/service/Impl/ERPSWMServiceImpl.java

@@ -151,7 +151,7 @@ public class ERPSWMServiceImpl implements ERPWMSService {
         //内部交易对接:
         //内部交易对接:
         //出货单 -> 采购验收单 国内->国内
         //出货单 -> 采购验收单 国内->国内
         if ("openapi.adjustmentorder.confirm".equals(method) && StringUtil.hasText(piMsg.getGeneralString("pi_postmastercode"))) {
         if ("openapi.adjustmentorder.confirm".equals(method) && StringUtil.hasText(piMsg.getGeneralString("pi_postmastercode"))) {
-            if ("NBZK".equals(piMsg.getGeneralString("pi_wmsordertype"))) {
+            if ("NBZK".equals(piMsg.getGeneralString("pi_wmsordertype"))||"QTCK".equals(piMsg.getGeneralString("pi_wmsordertype"))) {
                 String toSob = piMsg.getGeneralString("pi_postmastercode");
                 String toSob = piMsg.getGeneralString("pi_postmastercode");
                 SqlRowList pito = baseDao.queryForRowSet("select pi_id,pi_inoutno,pi_class,ds_table,pi_wmsordertype,pi_sendwmsflag,pi_wmsstatus from " + toSob + ".prodinout left join documentsetup on ds_name = pi_class  " +
                 SqlRowList pito = baseDao.queryForRowSet("select pi_id,pi_inoutno,pi_class,ds_table,pi_wmsordertype,pi_sendwmsflag,pi_wmsstatus from " + toSob + ".prodinout left join documentsetup on ds_name = pi_class  " +
                         "where pi_sourcecode='" + piMsg.getGeneralString("pi_inoutno") + "' and pi_sourcetype = '" + piMsg.getGeneralString("pi_class") + "'");
                         "where pi_sourcecode='" + piMsg.getGeneralString("pi_inoutno") + "' and pi_sourcetype = '" + piMsg.getGeneralString("pi_class") + "'");