|
@@ -285,9 +285,9 @@ public class AskGoodsServiceImpl implements AskGoodsService {
|
|
|
List<JSONObject> list = new LinkedList<>();
|
|
|
for (Map<String, Object> map : askGoodsMapper.getRemovalz(mapList.get(0).get("askGoodsId").toString(), warehouseWhere)) {
|
|
|
JSONObject BillItems = new JSONObject();
|
|
|
- BillItems.put("WMSItemID", map.get("entryNumber"));//分录ID
|
|
|
+ BillItems.put("WMSItemID", map.get("id"));//分录ID
|
|
|
BillItems.put("GIReqBillID", map.get("askGoodsId"));//要货申请单ID
|
|
|
- BillItems.put("GIReqBillItemID", map.get("id"));//要货申请明细ID
|
|
|
+ BillItems.put("GIReqBillItemID", map.get("entryNumber"));//要货申请明细ID
|
|
|
BillItems.put("Material", map.get("materialId"));//物料id
|
|
|
BillItems.put("Quantity", map.get("num"));//数量
|
|
|
BillItems.put("FlexField1", map.get("wbs"));//wbs
|