fix: 干燥区送料任务优先级默认为10,取消货位信息功能测试优化

This commit is contained in:
zhaoyf
2026-05-21 13:12:40 +08:00
parent 93e3a89d11
commit ab2224663f
3 changed files with 8 additions and 7 deletions

View File

@@ -193,8 +193,8 @@ public class StandardInspectSiteDeviceDriver extends AbstractOpcDeviceDriver imp
break;
case 3:
//载具解绑
if(!requireSucess && task != 0){
System.out.println("触发载具解绑" + task + mode + device_code);
if(!requireSucess){
log.debug("触发载具解绑device_code= {}",device_code);
this.vehicleUnbind();
}
case 5:
@@ -317,9 +317,9 @@ public class StandardInspectSiteDeviceDriver extends AbstractOpcDeviceDriver imp
if (result.getStatus() == HttpStatus.OK.value()) {
JSONObject jsonObject = JSONObject.parseObject(result.body());
if (ObjectUtil.isNotEmpty(jsonObject) && "200".equals(jsonObject.getString("status"))) {
// Map<String, Object> map = new LinkedHashMap<>();
// map.put("to_command",5);
this.writing(this.mode);
Map<String, Object> map = new LinkedHashMap<>();
map.put("to_command",30);
this.writing(map);
this.setRequireSucess(true);
}
}

View File

@@ -54,7 +54,8 @@ public class GZSendMaterialTask extends AbstractAcsTask {
vd.getString("material_id"),
vd.getString("vehicle_type"),
vd.getString("vehicle_code"),
TrueOrFalse.trueOrFalse(workOrder.getString("is_urgent")) ? 4 : 1,
// TrueOrFalse.trueOrFalse(workOrder.getString("is_urgent")) ? 4 : 1,
10,
GZSendMaterialTask.class.getName(),
form.getString("create_mode"),
form.getString("request_param"),

View File

@@ -2,7 +2,7 @@ spring:
freemarker:
check-template-location: false
profiles:
active: dev
active: prod
jackson:
time-zone: GMT+8
data: