|
|
@ -1755,7 +1755,7 @@ public class BusDeliveredApplyService extends MybatisBaseService<BusDeliveredApp |
|
|
|
int num = baseMapper.selectNumByContractNo(dto.getContractId()); |
|
|
|
int orderNum = busSalesOrderDiscountService.selectByContractNo(dto.getContractId()); |
|
|
|
if(orderNum>num){ |
|
|
|
return rb.setMsg("该合同还有未赠送的套餐,不允许提交"); |
|
|
|
return rb.setMsg("本次出库为该订单最后一批出库,还存在未赠送的套餐,不允许提交"); |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|