Compare commits

..

No commits in common. "1e3ab71a6beffb2d371bc59a19b4bcc43b5ffe1c" and "6f0f7a1fcdee302b91dc63cc91dc472a72d90e89" have entirely different histories.

2 changed files with 5 additions and 8 deletions

View File

@ -2,7 +2,6 @@
<project version="4">
<component name="CompilerConfiguration">
<annotationProcessing>
<profile default="true" name="Default" enabled="true" />
<profile name="Maven default annotation processors profile" enabled="true">
<sourceOutputDir name="target/generated-sources/annotations" />
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />

View File

@ -71,13 +71,11 @@ public class AllUserService {
if(isCz>0){
return AjaxResult.error("手机号已被注册");
}
if(StringHelper.isNotEmpty(vo.getIdCard())) {
data = new AllUserVo();
data.setIdCard(vo.getIdCard());
isCz = allUserDao.getUserCount(data);
if (isCz > 0) {
return AjaxResult.error("身份证号码已被注册");
}
data=new AllUserVo();
data.setIdCard(vo.getIdCard());
isCz=allUserDao.getUserCount(data);
if(isCz>0){
return AjaxResult.error("身份证号码已被注册");
}
if(StringHelper.isEmpty(vo.getPassword())){
vo.setPassword("Hnsbd@admin123");