代码更新

This commit is contained in:
2022-08-22 15:48:03 +08:00
parent 778935ca8b
commit 8e40e0f046

View File

@@ -715,7 +715,7 @@ public class FormulaServiceImpl implements FormulaService {
HashMap<String, Object> oneMap = new HashMap<>();
// 工令相关
String workorder_code = jsonWork.getString("workorder_code");
oneMap.put("workorder_code", workorder_code.substring(workorder_code.length() - 7));
oneMap.put("workorder_code", workorder_code.substring(workorder_code.length() - 9));
oneMap.put("material_code", jsonMater.getString("material_code"));
if (ObjectUtil.isNotEmpty(jsonDept)) oneMap.put("dept_name", jsonDept.getString("name"));
if (ObjectUtil.isNotEmpty(jsonMaterExt)) oneMap.put("old_mark", jsonMaterExt.getString("old_mark"));