This commit is contained in:
2025-08-04 11:07:43 +08:00
parent 63e897c6c6
commit 37d633fed9
6 changed files with 6 additions and 3 deletions

View File

@@ -669,9 +669,7 @@ public class PdaJBServiceImpl implements PdaJBService {
List<IOStorInvDisDto> disDtl = inBillService.getDisDtl(map);
// 类型转换
ArrayList<LinkedHashMap> tableMater = new ArrayList<>();
disDtl.forEach(item -> {
tableMater.add(JSONObject.parseObject(JSONObject.toJSONString(item), LinkedHashMap.class));
});
disDtl.forEach(item -> tableMater.add(JSONObject.parseObject(JSONObject.toJSONString(item), LinkedHashMap.class)));
jsonMst.put("tableMater", tableMater);
jsonMst.put("workorder_id", workorderId);
return jsonMst;