修复任务完成时提交多条任务的问题;修复没有码盘也能入库的情况
This commit is contained in:
parent
0e122ed15c
commit
d02d14c3d3
|
|
@ -264,6 +264,12 @@ public class AppTaskController extends BaseController
|
|||
ObjectUtil.isEmpty(wcsStackerTask.getVehicleNo())){
|
||||
return error("缺少请求数据");
|
||||
}
|
||||
AppPendingStorage appPendingStorage = new AppPendingStorage();
|
||||
appPendingStorage.setVehicleNo(wcsStackerTask.getVehicleNo());
|
||||
List<AppPendingStorage> appPendingStorages = appPendingStorageService.selectAppPendingStorageList(appPendingStorage);
|
||||
if(appPendingStorages == null || appPendingStorages.isEmpty()){
|
||||
return error("该载具似乎还未码盘");
|
||||
}
|
||||
AppTask appTask = new AppTask();
|
||||
appTask.setVehicleId(wcsStackerTask.getVehicleNo());
|
||||
List<AppTask> appTasks = appTaskService.selectAppTaskList(appTask);
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<where>
|
||||
<if test="recordId != null and recordId != ''"> and record_id = #{recordId}</if>
|
||||
<if test="listId != null and listId != ''"> and list_id = #{listId}</if>
|
||||
<if test="vehicleNo != null and vehicleNo != ''"> and vehicle_no = #{vehicleNo}</if>
|
||||
<if test="orderType != null "> and order_type = #{orderType}</if>
|
||||
<if test="customerId != null and customerId != ''"> and customer_id = #{customerId}</if>
|
||||
<if test="orderId != null and orderId != ''"> and order_id = #{orderId}</if>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user