rev:物料参数设置pgf物料参数保存

This commit is contained in:
2023-07-20 09:23:51 +08:00
parent baa28b5530
commit cd3c5a0457

View File

@@ -330,7 +330,7 @@ public class MaterialParametersServiceImpl implements MaterialParametersService
if (ObjectUtil.isEmpty(jsonWas)) throw new BadRequestException("此碳化钨软废修正数据不存在:"+jsonThwMater.getString("material_code"));
// 将此碳化钨的软废类型转化为数组
JSONArray wasArr = new WastecchangeServiceImpl().contentShift(jsonWas);
JSONArray wasArr = new WastecchangeServiceImpl().contentShift(jsonWas.getJSONObject("alldata"));
// 3.查询软废:物料表,软废编码 = PG粉编码 + '-CF' (以软废类型CF为例)
for (int j = 0; j < wasArr.size(); j++) {