opt:优化
This commit is contained in:
@@ -70,7 +70,7 @@ public class InVehicleManageServiceImpl implements InVehicleManageService {
|
|||||||
if (ObjectUtil.isEmpty(jsonPoint)) {
|
if (ObjectUtil.isEmpty(jsonPoint)) {
|
||||||
throw new BadRequestException("起始点位不存在或未启用!");
|
throw new BadRequestException("起始点位不存在或未启用!");
|
||||||
}
|
}
|
||||||
int count = ischBaseTaskService.count(new QueryWrapper<SchBaseTask>()
|
/* int count = ischBaseTaskService.count(new QueryWrapper<SchBaseTask>()
|
||||||
.eq("point_code1", whereJson.getString("device_code"))
|
.eq("point_code1", whereJson.getString("device_code"))
|
||||||
.eq("vehicle_code", whereJson.getString("vehicle_code"))
|
.eq("vehicle_code", whereJson.getString("vehicle_code"))
|
||||||
.eq("task_type", "010705")
|
.eq("task_type", "010705")
|
||||||
@@ -78,7 +78,7 @@ public class InVehicleManageServiceImpl implements InVehicleManageService {
|
|||||||
.lt("task_status", TaskStatusEnum.EXECUTING.getCode()));
|
.lt("task_status", TaskStatusEnum.EXECUTING.getCode()));
|
||||||
if (count>0){
|
if (count>0){
|
||||||
return;
|
return;
|
||||||
}
|
}*/
|
||||||
// 找一个托盘区的空仓位
|
// 找一个托盘区的空仓位
|
||||||
JSONObject jsonParam = new JSONObject();
|
JSONObject jsonParam = new JSONObject();
|
||||||
jsonParam.put("stor_id", IOSEnum.STOR_ID.code("二期"));
|
jsonParam.put("stor_id", IOSEnum.STOR_ID.code("二期"));
|
||||||
|
|||||||
Reference in New Issue
Block a user