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