fix: 取样/放样确认下发ACS的option:2

This commit is contained in:
2024-08-27 15:54:27 +08:00
parent fb1749396f
commit b257fdc24e

View File

@@ -310,13 +310,12 @@ public class OtherPdaServiceImpl implements OtherPdaService {
// 获取这个任务
task = taskService.getTaskByPointCodeX(startPoint, null, null, null);
acsParam.put("device_code", startPoint);
acsParam.put("option", "2");
} else {
Assert.notBlank(endPoint, "终点不能为空!");
task = taskService.getTaskByPointCodeX(null, endPoint, null, null);
acsParam.put("device_code", endPoint);
acsParam.put("option", "3");
}
acsParam.put("option", "2");
acsParam.put("task_code", task.getTask_code());
acsParam.put("product_area", task.getProduct_area());
acs.add(acsParam);