|
@@ -357,6 +357,7 @@ public class BizAppointmentRecordServiceImpl extends ServiceImpl<BizAppointmentR
|
|
BizSupplierTransport transport = bizSupplierTransportService.getOne(new QueryWrapper<BizSupplierTransport>().lambda().
|
|
BizSupplierTransport transport = bizSupplierTransportService.getOne(new QueryWrapper<BizSupplierTransport>().lambda().
|
|
eq(BizSupplierTransport::getSupplierId, bizOrder.getSupplierId()).
|
|
eq(BizSupplierTransport::getSupplierId, bizOrder.getSupplierId()).
|
|
eq(BizSupplierTransport::getTransportNo, bizAppointmentRecordAddParam.getLicenseNumber()).
|
|
eq(BizSupplierTransport::getTransportNo, bizAppointmentRecordAddParam.getLicenseNumber()).
|
|
|
|
+ eq(BizSupplierTransport::getAuditStatus,"2").
|
|
last("limit 1"));
|
|
last("limit 1"));
|
|
if(ObjectUtil.isNull(transport)){
|
|
if(ObjectUtil.isNull(transport)){
|
|
throw new CommonException("该车辆没有绑定在供应商下,不可预约!");
|
|
throw new CommonException("该车辆没有绑定在供应商下,不可预约!");
|
|
@@ -469,6 +470,7 @@ public class BizAppointmentRecordServiceImpl extends ServiceImpl<BizAppointmentR
|
|
BizSupplierTransport transport = bizSupplierTransportService.getOne(new QueryWrapper<BizSupplierTransport>().lambda().
|
|
BizSupplierTransport transport = bizSupplierTransportService.getOne(new QueryWrapper<BizSupplierTransport>().lambda().
|
|
eq(BizSupplierTransport::getSupplierId, bizOrder.getSupplierId()).
|
|
eq(BizSupplierTransport::getSupplierId, bizOrder.getSupplierId()).
|
|
eq(BizSupplierTransport::getTransportNo, bizAppointmentRecordEditParam.getLicenseNumber()).
|
|
eq(BizSupplierTransport::getTransportNo, bizAppointmentRecordEditParam.getLicenseNumber()).
|
|
|
|
+ eq(BizSupplierTransport::getAuditStatus,"2").
|
|
last("limit 1"));
|
|
last("limit 1"));
|
|
if(ObjectUtil.isNull(transport)){
|
|
if(ObjectUtil.isNull(transport)){
|
|
throw new CommonException("该车辆没有绑定在供应商下,不可预约!");
|
|
throw new CommonException("该车辆没有绑定在供应商下,不可预约!");
|