代码更新

This commit is contained in:
2022-08-02 16:34:21 +08:00
parent ceddc0cdc5
commit 158e17ae09

View File

@@ -340,9 +340,9 @@ public class ProductplanSumServiceImpl implements ProductplanSumService {
map.put("material_code", material_code);
//汇总查询
JSONArray allArr = WQL.getWO("QPCS_IF_PRODUCTPLANSUM02").addParamMap(map).process().getResultJSONArray(0);
if (ObjectUtil.isEmpty(allArr)) {
throw new BadRequestException("没有数据");
}
// if (ObjectUtil.isEmpty(allArr)) {
// throw new BadRequestException("没有数据");
// }
JSONArray resultArr = new JSONArray();
HashMap<String, JSONObject> resultMap = new HashMap<>();
for (int i = 0; i < allArr.size(); i++) {