opt:补空载具优先到管制区
This commit is contained in:
@@ -92,7 +92,6 @@ public class AutoSendVehicleToKzj {
|
||||
boolean tryLock = lock.tryLock(0, TimeUnit.SECONDS);
|
||||
try {
|
||||
if (tryLock) {
|
||||
|
||||
JSONObject task = new JSONObject();
|
||||
String pointCode1;
|
||||
String pointCode2;
|
||||
@@ -112,8 +111,8 @@ public class AutoSendVehicleToKzj {
|
||||
return;
|
||||
}
|
||||
if (existTask.size() % 2 != 0) {
|
||||
//优先去待检区
|
||||
pointCode1 = getPointCode(task, PackageInfoIvtEnum.TASK_TYPE.code("补空(管制区待检区->空载具缓存位)"));
|
||||
//优先去管制区
|
||||
pointCode1 = getPointCode(task, PackageInfoIvtEnum.TASK_TYPE.code("补空(管制区->空载具缓存位)"));
|
||||
} else {
|
||||
pointCode1 = getPointCode(task, PackageInfoIvtEnum.TASK_TYPE.code("补空(待检区->空载具缓存位)"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user