opt:优化

This commit is contained in:
DESKTOP-5DIJMF9\admin
2025-04-12 09:25:04 +08:00
parent 636e347177
commit 1cde8136f1

View File

@@ -70,7 +70,7 @@ public class InVehicleManageServiceImpl implements InVehicleManageService {
if (ObjectUtil.isEmpty(jsonPoint)) {
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("vehicle_code", whereJson.getString("vehicle_code"))
.eq("task_type", "010705")
@@ -78,7 +78,7 @@ public class InVehicleManageServiceImpl implements InVehicleManageService {
.lt("task_status", TaskStatusEnum.EXECUTING.getCode()));
if (count>0){
return;
}
}*/
// 找一个托盘区的空仓位
JSONObject jsonParam = new JSONObject();
jsonParam.put("stor_id", IOSEnum.STOR_ID.code("二期"));