|
@@ -65,8 +65,8 @@ public class BillIsolatedServiceImpl extends ServiceImpl<BillIsolatedMapper, Bil
|
|
if (com.baomidou.mybatisplus.core.toolkit.StringUtils.isBlank(inspectionNum) || inspectionNum.length()!=10){
|
|
if (com.baomidou.mybatisplus.core.toolkit.StringUtils.isBlank(inspectionNum) || inspectionNum.length()!=10){
|
|
return new Result(10001,"检疫证号不符合规范!",false);
|
|
return new Result(10001,"检疫证号不符合规范!",false);
|
|
}
|
|
}
|
|
- if (dayIsolate > 20 || dayIsolate <15){
|
|
|
|
- return new Result(10001,"隔离天数请在15-20天!",false);
|
|
|
|
|
|
+ if (dayIsolate > 99 || dayIsolate < 15 ){
|
|
|
|
+ return new Result(10001,"隔离天数请在15-99天!",false);
|
|
}
|
|
}
|
|
Integer integer = this.count(new QueryWrapper<BillIsolated>().eq("inspection_num", inspectionNum));
|
|
Integer integer = this.count(new QueryWrapper<BillIsolated>().eq("inspection_num", inspectionNum));
|
|
if (integer != 0){
|
|
if (integer != 0){
|