修改
This commit is contained in:
@@ -219,9 +219,11 @@ public class MesToLmsServiceImpl implements MesToLmsService {
|
||||
throw new BadRequestException("该生箔工单对应的状态不为准备就绪,不允许确认下卷!");
|
||||
}
|
||||
// 下发ACS更改任务状态
|
||||
JSONObject task_jo = WQLObject.getWQLObject("SCH_BASE_Task").query("material_code = '" + containerName + "' and task_status <> '07' AND is_delete = '0'").uniqueResult(0);
|
||||
JSONArray paramArr = new JSONArray();
|
||||
JSONObject json = new JSONObject();
|
||||
json.put("device_code", jsonSb.getString("point_code"));
|
||||
param.put("task_code", task_jo.getString("task_code"));
|
||||
json.put("option ", "2");
|
||||
paramArr.add(json);
|
||||
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
FROM
|
||||
sch_base_task
|
||||
WHERE
|
||||
( point_code1 = full_point_code OR point_code2 = full_point_code )
|
||||
( point_code1 = empty_point_code OR point_code2 = empty_point_code )
|
||||
AND task_status < '07'
|
||||
AND is_delete = '0'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user