|
@ -2417,6 +2417,13 @@ public class BusDeliveredApplyService extends MybatisBaseService<BusDeliveredApp |
|
|
//判断选择的优惠是否超出
|
|
|
//判断选择的优惠是否超出
|
|
|
List<AppCarListVo> carList = dto.getCarList(); |
|
|
List<AppCarListVo> carList = dto.getCarList(); |
|
|
if (!carList.isEmpty()) { |
|
|
if (!carList.isEmpty()) { |
|
|
|
|
|
//判断出库车辆列表是否已存在待出库车辆记录,存在提示不能重复出库
|
|
|
|
|
|
for (AppCarListVo appCarListVo : carList) { |
|
|
|
|
|
int i = busDeliveredApplyDetailsService.fetchByIsDeleteVinSid(appCarListVo.getVinSid()); |
|
|
|
|
|
if (i > 0){ |
|
|
|
|
|
return rb.setMsg("车辆已存在出库中"); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
List<String> vinNoLists = new ArrayList<>(); |
|
|
List<String> vinNoLists = new ArrayList<>(); |
|
|
List<String> vinSidLists = baseMapper.selectSid(dto.getContractId(), dto.getSid()); |
|
|
List<String> vinSidLists = baseMapper.selectSid(dto.getContractId(), dto.getSid()); |
|
|
//判断合同编号是否一致
|
|
|
//判断合同编号是否一致
|
|
|