fanzherong_v 12 ore fa
parent
commit
6af8e62728

+ 6 - 6
snowy-plugin/snowy-plugin-biz/src/main/java/vip/xiaonuo/biz/modular/bizappointmentrecord/service/impl/BizAppointmentRecordServiceImpl.java

@@ -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());
                 }