关务查询;
This commit is contained in:
+3
-2
@@ -807,10 +807,11 @@ public class PickingOrderApplicationService {
|
||||
Map<String, Object> order = new HashMap<>();
|
||||
// etpsPreentNo: 入库单号 - 取拣货明细中的入库单号(第一个)
|
||||
String inOrderNumber = outMaterialDetailList.get(0).getInOrderNumber();
|
||||
order.put("etpsPreentNo", inOrderNumber != null ? inOrderNumber : "");
|
||||
String orderNumber = pickingOrder.getOrderNumber();
|
||||
order.put("etpsPreentNo", orderNumber != null ? orderNumber : "");
|
||||
order.put("inputTime", new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date()));
|
||||
order.put("mtpckEndprdTypecd", "E"); // 成品(出口)
|
||||
order.put("stockTypecd", "I");
|
||||
order.put("stockTypecd", "E");
|
||||
|
||||
// 4. 构建明细列表
|
||||
List<Map<String, Object>> qnBillList = new ArrayList<>();
|
||||
|
||||
+7
-2
@@ -2753,6 +2753,7 @@ public class StockShelfOrderApplicationService {
|
||||
item.put("stockTypecd", "I");
|
||||
item.put("mtpckEndprdTypecd", mtpckEndprdTypecd);
|
||||
List<Map<String, Object>> detailItems = new ArrayList<>();
|
||||
int index = 1;
|
||||
for (ShelfMaterialDetailPO shelfMaterialDetail : shelfMaterialDetails) {
|
||||
Map<String, Object> detailItem = new HashMap<>();
|
||||
|
||||
@@ -2764,7 +2765,11 @@ public class StockShelfOrderApplicationService {
|
||||
String[] split = lotNumber.split("-");
|
||||
if (split.length == 2) {
|
||||
detailItem.put("gNo", split[1]);
|
||||
} else {
|
||||
detailItem.put("gNo", index++);
|
||||
}
|
||||
} else {
|
||||
detailItem.put("gNo", index++);
|
||||
}
|
||||
MaterialBaseInfo materialBaseIn = materialBaseInfoMapper.selectById(materialBaseInfoId);
|
||||
if (materialBaseIn != null) {
|
||||
@@ -2795,10 +2800,10 @@ public class StockShelfOrderApplicationService {
|
||||
if (split.length == 2) {
|
||||
detailItem.put("orderRow", split[1]);
|
||||
} else {
|
||||
detailItem.put("orderRow", 1);
|
||||
detailItem.put("orderRow", index++);
|
||||
}
|
||||
} else {
|
||||
detailItem.put("orderRow", 1);
|
||||
detailItem.put("orderRow", index++);
|
||||
}
|
||||
//进口核注清单号
|
||||
detailItem.put("bondInvtNo", "BONDINV202603300001");
|
||||
|
||||
Reference in New Issue
Block a user