fix:木箱入库返回值改成return

This commit is contained in:
zhangzq
2024-12-29 16:03:15 +08:00
parent 710134a860
commit 92096c446e
2 changed files with 2 additions and 2 deletions

View File

@@ -102,7 +102,7 @@ public class InBoxManageServiceImpl implements InBoxManageService {
WQLObject attrTab = WQLObject.getWQLObject("st_ivt_structattr");
String box_arr = whereJson.getString("box_no");
int count = ischBaseTaskService.count(new QueryWrapper<SchBaseTask>()
.eq("start_device_code", whereJson.getString("device_code"))
.eq("point_code1", whereJson.getString("device_code"))
.eq("vehicle_code", whereJson.getString("box_no"))
.eq("task_type", "010702")
.lt("task_status", TaskStatusEnum.FINISHED.getCode()));

View File

@@ -71,7 +71,7 @@ public class InVehicleManageServiceImpl implements InVehicleManageService {
throw new BadRequestException("起始点位不存在或未启用!");
}
int count = ischBaseTaskService.count(new QueryWrapper<SchBaseTask>()
.eq("start_device_code", whereJson.getString("device_code"))
.eq("point_code1", whereJson.getString("device_code"))
.eq("vehicle_code", whereJson.getString("vehicle_code"))
.eq("task_type", "010705")
.lt("task_status", TaskStatusEnum.EXECUTING.getCode()));