From bf5d87c751bf4ba9578b5ad93b5018d4bd6d3ccf Mon Sep 17 00:00:00 2001 From: pjb <123456> Date: 星期四, 03 七月 2025 17:10:22 +0800 Subject: [PATCH] 亮灯流程优化 --- zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/service/impl/LocDetlServiceImpl.java | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/service/impl/LocDetlServiceImpl.java b/zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/service/impl/LocDetlServiceImpl.java index 6e726af..179df20 100644 --- a/zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/service/impl/LocDetlServiceImpl.java +++ b/zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/service/impl/LocDetlServiceImpl.java @@ -44,13 +44,13 @@ PageParam<ViewLocDetl, BaseParam> result = viewLocDetlMapper.selectPage(pageParam, buildWrapper); //瑙f瀽鍔ㄦ�佸瓧娈� - JSONObject data = JSON.parseObject(JSON.toJSONString(result)); - List<ViewLocDetl> records = result.getRecords(); - data.put("records", records); - for (ViewLocDetl locDetl : records) { - Map<String, Object> resultMap = viewLocDetlMapper.getById(locDetl.getId()); - locDetl.syncFieldMap(resultMap); - } +// JSONObject data = JSON.parseObject(JSON.toJSONString(result)); +// List<ViewLocDetl> records = result.getRecords(); +// data.put("records", records); +// for (ViewLocDetl locDetl : records) { +// Map<String, Object> resultMap = viewLocDetlMapper.getById(locDetl.getId()); +// locDetl.syncFieldMap(resultMap); +// } return result; } @@ -103,7 +103,7 @@ @Override public List<LocDetl> queryStock(String matnr, String batch, List<FieldParam> param, List<FieldSortParam> sortParam) { - List<Map<String, Object>> list = viewLocDetlMapper.queryStock(matnr, batch, param, sortParam); + List<Map<String, Object>> list = viewLocDetlMapper.queryStock(matnr, batch, param, sortParam, LocAreaTypeSts.LOC_AREA_TYPE_UTC.id); List<LocDetl> locDetlsSort = resortDetls(list); return locDetlsSort; } -- Gitblit v1.9.1