代码更新
This commit is contained in:
@@ -340,9 +340,9 @@ public class ProductplanSumServiceImpl implements ProductplanSumService {
|
|||||||
map.put("material_code", material_code);
|
map.put("material_code", material_code);
|
||||||
//汇总查询
|
//汇总查询
|
||||||
JSONArray allArr = WQL.getWO("QPCS_IF_PRODUCTPLANSUM02").addParamMap(map).process().getResultJSONArray(0);
|
JSONArray allArr = WQL.getWO("QPCS_IF_PRODUCTPLANSUM02").addParamMap(map).process().getResultJSONArray(0);
|
||||||
if (ObjectUtil.isEmpty(allArr)) {
|
// if (ObjectUtil.isEmpty(allArr)) {
|
||||||
throw new BadRequestException("没有数据");
|
// throw new BadRequestException("没有数据");
|
||||||
}
|
// }
|
||||||
JSONArray resultArr = new JSONArray();
|
JSONArray resultArr = new JSONArray();
|
||||||
HashMap<String, JSONObject> resultMap = new HashMap<>();
|
HashMap<String, JSONObject> resultMap = new HashMap<>();
|
||||||
for (int i = 0; i < allArr.size(); i++) {
|
for (int i = 0; i < allArr.size(); i++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user