fix
This commit is contained in:
@@ -328,6 +328,10 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
|
||||
HnjSendMaterialTask taskBean = SpringContextHolder.getBean(HnjSendMaterialTask.class);
|
||||
taskBean.createTask(param); // 创建任务
|
||||
} else if (StrUtil.equals(type, "3")) {
|
||||
JSONArray schBaseTask = WQLObject.getWQLObject("sch_base_task").query("is_delete = '0' AND task_type = 'yljcallm' AND task_status <> '7'").getResultJSONArray(0);
|
||||
if (!schBaseTask.isEmpty()) {
|
||||
throw new BadRequestException("有其它正在执行的压机叫料任务!");
|
||||
}
|
||||
// 3.压力机叫料
|
||||
JSONObject param = new JSONObject();
|
||||
param.put("point_code2", point_code);
|
||||
|
||||
Reference in New Issue
Block a user