rev:组盘异常提醒
This commit is contained in:
@@ -107,7 +107,7 @@ public class MdGruopDickServiceImpl extends ServiceImpl<MdGruopDickMapper, MdGru
|
||||
//参数校验
|
||||
List<MdGruopDick> tmpCount2= this.list(new QueryWrapper<MdGruopDick>().in("vehicle_code", map.keySet()).lt("status", StatusEnum.FORM_STATUS.code("完成")));
|
||||
if (tmpCount2.size()>0){
|
||||
throw new BadRequestException("组盘失败:当前载具存在未完成的组盘任务"+tmpCount2.stream().map(MdGruopDick::getVehicle_code).collect(Collectors.joining(",")));
|
||||
throw new BadRequestException("组盘失败:当前载具存在未完成的组盘信息"+tmpCount2.stream().map(MdGruopDick::getVehicle_code).collect(Collectors.joining(",")));
|
||||
}
|
||||
int tmpCount = iBmVehicleInfoService.count(new QueryWrapper<BmVehicleInfo>().in("vehicle_code", map.keySet()));
|
||||
if (tmpCount<map.size()){
|
||||
|
||||
Reference in New Issue
Block a user