|
@@ -702,10 +702,14 @@ public class EnrollmentRegistrationService extends ServiceImpl<EnrollmentRegistr
|
|
return "操作成功";
|
|
return "操作成功";
|
|
}
|
|
}
|
|
|
|
|
|
- public Integer findIdCardOnly(String idCard) throws Exception {
|
|
|
|
|
|
+ public Integer findIdCardOnly(String idCard, String id) throws Exception {
|
|
QueryWrapper<EnrollmentRegistration> queryWrapper = new QueryWrapper<>();
|
|
QueryWrapper<EnrollmentRegistration> queryWrapper = new QueryWrapper<>();
|
|
queryWrapper.eq("id_card", idCard);
|
|
queryWrapper.eq("id_card", idCard);
|
|
queryWrapper.eq("del_flag", 0);
|
|
queryWrapper.eq("del_flag", 0);
|
|
|
|
+ if(StringUtils.isNotBlank(id)){
|
|
|
|
+ queryWrapper.ne("id", id);
|
|
|
|
+ }
|
|
|
|
+
|
|
// 删除基础信息表
|
|
// 删除基础信息表
|
|
Integer integer = mapper.selectCount(queryWrapper);
|
|
Integer integer = mapper.selectCount(queryWrapper);
|
|
return integer;
|
|
return integer;
|