代码更新

This commit is contained in:
ludj
2022-12-22 14:52:43 +08:00
parent 25162d821d
commit af89a2522b
4 changed files with 6 additions and 74 deletions

View File

@@ -192,7 +192,7 @@ public class WorkorderServiceImpl implements WorkordeService {
JSONArray orderArr = wo.query("device_id = '" + param.getString("device_id") + "' and order_status = '02'").getResultJSONArray(0);
if (ObjectUtil.isNotEmpty(orderArr)) throw new BadRequestException("当前设备正在生产中");
json.put("order_status", "02");
json.put("order_status", "2");
json.put("update_optid", currentUserId);
json.put("update_optname", nickName);
json.put("update_time", now);