Compare commits
No commits in common. "1e3ab71a6beffb2d371bc59a19b4bcc43b5ffe1c" and "6f0f7a1fcdee302b91dc63cc91dc472a72d90e89" have entirely different histories.
1e3ab71a6b
...
6f0f7a1fcd
|
|
@ -2,7 +2,6 @@
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="CompilerConfiguration">
|
<component name="CompilerConfiguration">
|
||||||
<annotationProcessing>
|
<annotationProcessing>
|
||||||
<profile default="true" name="Default" enabled="true" />
|
|
||||||
<profile name="Maven default annotation processors profile" enabled="true">
|
<profile name="Maven default annotation processors profile" enabled="true">
|
||||||
<sourceOutputDir name="target/generated-sources/annotations" />
|
<sourceOutputDir name="target/generated-sources/annotations" />
|
||||||
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
|
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
|
||||||
|
|
|
||||||
|
|
@ -71,13 +71,11 @@ public class AllUserService {
|
||||||
if(isCz>0){
|
if(isCz>0){
|
||||||
return AjaxResult.error("手机号已被注册");
|
return AjaxResult.error("手机号已被注册");
|
||||||
}
|
}
|
||||||
if(StringHelper.isNotEmpty(vo.getIdCard())) {
|
data=new AllUserVo();
|
||||||
data = new AllUserVo();
|
data.setIdCard(vo.getIdCard());
|
||||||
data.setIdCard(vo.getIdCard());
|
isCz=allUserDao.getUserCount(data);
|
||||||
isCz = allUserDao.getUserCount(data);
|
if(isCz>0){
|
||||||
if (isCz > 0) {
|
return AjaxResult.error("身份证号码已被注册");
|
||||||
return AjaxResult.error("身份证号码已被注册");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if(StringHelper.isEmpty(vo.getPassword())){
|
if(StringHelper.isEmpty(vo.getPassword())){
|
||||||
vo.setPassword("Hnsbd@admin123");
|
vo.setPassword("Hnsbd@admin123");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue