fix: 取样/放样确认下发ACS的option:2
This commit is contained in:
@@ -310,13 +310,12 @@ public class OtherPdaServiceImpl implements OtherPdaService {
|
|||||||
// 获取这个任务
|
// 获取这个任务
|
||||||
task = taskService.getTaskByPointCodeX(startPoint, null, null, null);
|
task = taskService.getTaskByPointCodeX(startPoint, null, null, null);
|
||||||
acsParam.put("device_code", startPoint);
|
acsParam.put("device_code", startPoint);
|
||||||
acsParam.put("option", "2");
|
|
||||||
} else {
|
} else {
|
||||||
Assert.notBlank(endPoint, "终点不能为空!");
|
Assert.notBlank(endPoint, "终点不能为空!");
|
||||||
task = taskService.getTaskByPointCodeX(null, endPoint, null, null);
|
task = taskService.getTaskByPointCodeX(null, endPoint, null, null);
|
||||||
acsParam.put("device_code", endPoint);
|
acsParam.put("device_code", endPoint);
|
||||||
acsParam.put("option", "3");
|
|
||||||
}
|
}
|
||||||
|
acsParam.put("option", "2");
|
||||||
acsParam.put("task_code", task.getTask_code());
|
acsParam.put("task_code", task.getTask_code());
|
||||||
acsParam.put("product_area", task.getProduct_area());
|
acsParam.put("product_area", task.getProduct_area());
|
||||||
acs.add(acsParam);
|
acs.add(acsParam);
|
||||||
|
|||||||
Reference in New Issue
Block a user