Browse Source

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

shenjingwei 2 weeks ago
parent
commit
4ce01584bc
1 changed files with 1 additions and 1 deletions
  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");