浏览代码

u8产品入库单单位为空问题修复

shenjingwei 4 月之前
父节点
当前提交
4ce01584bc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/custom/service/GetStockBillFromU8.java

+ 1 - 1
src/custom/service/GetStockBillFromU8.java

@@ -42,7 +42,7 @@ public class GetStockBillFromU8 extends ServiceController {
 
             RowsMap stockRowsMap = SQLFactory.createQuerySQL(dbConnect, "st_stock", "stockid", "stockno").query().toRowsMap("stockno");
 
-            RowsMap itemRowsMap = SQLFactory.createQuerySQL(dbConnect, "plm_item", "itemid", "itemno").setWhere("itemno", u8billmxAllRows.toArrayList("cinvcode")).query().toRowsMap("itemno");
+            RowsMap itemRowsMap = SQLFactory.createQuerySQL(dbConnect, "plm_item", "itemid", "itemno","unitid").setWhere("itemno", u8billmxAllRows.toArrayList("cinvcode")).query().toRowsMap("itemno");
 
             RowsMap unitRowsMap = SQLFactory.createQuerySQL(dbConnect, "plm_unit", "unitid", "unitname").query().toRowsMap("unitid");