fix: 来料入库判空提示
This commit is contained in:
@@ -783,7 +783,10 @@ public class InBillServiceImpl extends ServiceImpl<IOStorInvMapper, IOStorInv> i
|
||||
// 获取组盘信息
|
||||
GroupPlate groupPlate = mdPbGroupplateService.getOne(new LambdaQueryWrapper<GroupPlate>()
|
||||
.eq(GroupPlate::getStoragevehicle_code, ioStorInvDis.getStoragevehicle_code())
|
||||
.eq(GroupPlate::getStatus, IOSEnum.GROUP_PLATE_STATUS.code("入库")));
|
||||
.eq(GroupPlate::getStatus, IOSEnum.GROUP_PLATE_STATUS.code("组盘")));
|
||||
if (ObjectUtil.isEmpty(groupPlate)) {
|
||||
throw new BadRequestException("托盘[" + ioStorInvDis.getStoragevehicle_code() + "]状态为组盘的信息不存在!");
|
||||
}
|
||||
JSONObject task = new JSONObject();
|
||||
task.put("config_code", IOSConstant.IN_BILL_TASK);
|
||||
task.put("group_id", groupPlate.getGroup_id());
|
||||
|
||||
Reference in New Issue
Block a user