|
@@ -336,7 +336,7 @@ public class BizAppointmentRecordServiceImpl extends ServiceImpl<BizAppointmentR
|
|
|
//校验车牌号是否添加过预约,排除11:已签收、 13:销售已审核 、 14:已取消
|
|
|
long count = this.count(new QueryWrapper<BizAppointmentRecord>().lambda().
|
|
|
eq(BizAppointmentRecord::getLicenseNumber, bizAppointmentRecordAddParam.getLicenseNumber()).
|
|
|
- notIn(BizAppointmentRecord::getStatus, "10", "11", "12", "13", "14", "15"));
|
|
|
+ notIn(BizAppointmentRecord::getStatus, "10", "11", "12", "13", "14", "15","19"));
|
|
|
if (count > 0) {
|
|
|
throw new CommonException("车牌号:{}已经添加过预约!", bizAppointmentRecordAddParam.getLicenseNumber());
|
|
|
}
|
|
@@ -357,7 +357,7 @@ public class BizAppointmentRecordServiceImpl extends ServiceImpl<BizAppointmentR
|
|
|
//校验车牌号是否添加过预约,排除11:已签收、 13:销售已审核 、 14:已取消
|
|
|
long count = this.count(new QueryWrapper<BizAppointmentRecord>().lambda().
|
|
|
eq(BizAppointmentRecord::getLicenseNumber, bizAppointmentRecordEditParam.getLicenseNumber()).
|
|
|
- notIn(BizAppointmentRecord::getStatus, "10", "11", "12", "13", "14", "15"));
|
|
|
+ notIn(BizAppointmentRecord::getStatus, "10", "11", "12", "13", "14", "15","19"));
|
|
|
if (count > 0) {
|
|
|
throw new CommonException("车牌号:{}已经添加过预约!", bizAppointmentRecordEditParam.getLicenseNumber());
|
|
|
}
|
|
@@ -524,7 +524,7 @@ public class BizAppointmentRecordServiceImpl extends ServiceImpl<BizAppointmentR
|
|
|
//校验车牌号是否添加过预约,排除11:已签收、 13:销售已审核 、 14:已取消
|
|
|
long count = this.count(new QueryWrapper<BizAppointmentRecord>().lambda().
|
|
|
eq(BizAppointmentRecord::getLicenseNumber, bizAppointmentRecordEditParam.getLicenseNumber()).
|
|
|
- notIn(BizAppointmentRecord::getStatus, "10", "11", "12", "13", "14", "15"));
|
|
|
+ notIn(BizAppointmentRecord::getStatus, "10", "11", "12", "13", "14", "15","19"));
|
|
|
if (count > 0) {
|
|
|
throw new CommonException("车牌号:{}已经添加过预约!", bizAppointmentRecordEditParam.getLicenseNumber());
|
|
|
}
|
|
@@ -1478,7 +1478,7 @@ public class BizAppointmentRecordServiceImpl extends ServiceImpl<BizAppointmentR
|
|
|
//校验车牌号是否添加过预约,排除11:已签收、 13:销售已审核 、 14:已取消
|
|
|
long count = this.count(new QueryWrapper<BizAppointmentRecord>().lambda().
|
|
|
eq(BizAppointmentRecord::getLicenseNumber, bizAppointmentRecordEditParam.getLicenseNumber()).
|
|
|
- notIn(BizAppointmentRecord::getStatus, "10", "11", "12", "13", "14", "15"));
|
|
|
+ notIn(BizAppointmentRecord::getStatus, "10", "11", "12", "13", "14", "15","19"));
|
|
|
if (count > 0) {
|
|
|
throw new CommonException("车牌号:{}已经添加过预约!", bizAppointmentRecordEditParam.getLicenseNumber());
|
|
|
}
|
|
@@ -1621,7 +1621,7 @@ public class BizAppointmentRecordServiceImpl extends ServiceImpl<BizAppointmentR
|
|
|
//校验车牌号是否添加过预约,排除11:已签收、 13:销售已审核 、 14:已取消
|
|
|
long count = this.count(new QueryWrapper<BizAppointmentRecord>().lambda().
|
|
|
eq(BizAppointmentRecord::getLicenseNumber, bizAppointmentRecordAddParam.getLicenseNumber()).
|
|
|
- notIn(BizAppointmentRecord::getStatus, "10", "11", "12", "13", "14", "15"));
|
|
|
+ notIn(BizAppointmentRecord::getStatus, "10", "11", "12", "13", "14", "15","19"));
|
|
|
if (count > 0) {
|
|
|
throw new CommonException("车牌号:{}已经添加过预约!", bizAppointmentRecordAddParam.getLicenseNumber());
|
|
|
}
|
|
@@ -1703,7 +1703,7 @@ public class BizAppointmentRecordServiceImpl extends ServiceImpl<BizAppointmentR
|
|
|
//校验车牌号是否添加过预约,排除11:已签收、 13:销售已审核 、 14:已取消
|
|
|
long count = this.count(new QueryWrapper<BizAppointmentRecord>().lambda().
|
|
|
eq(BizAppointmentRecord::getLicenseNumber, bizAppointmentRecordEditParam.getLicenseNumber()).
|
|
|
- notIn(BizAppointmentRecord::getStatus, "10", "11", "12", "13", "14", "15"));
|
|
|
+ notIn(BizAppointmentRecord::getStatus, "10", "11", "12", "13", "14", "15","19"));
|
|
|
if (count > 0) {
|
|
|
throw new CommonException("车牌号:{}已经添加过预约!", bizAppointmentRecordEditParam.getLicenseNumber());
|
|
|
}
|