用户管理及下拉选查询接口开发
This commit is contained in:
parent
15d261884e
commit
bef7ff27d5
|
|
@ -2,6 +2,7 @@
|
||||||
<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,11 +71,13 @@ public class AllUserService {
|
||||||
if(isCz>0){
|
if(isCz>0){
|
||||||
return AjaxResult.error("手机号已被注册");
|
return AjaxResult.error("手机号已被注册");
|
||||||
}
|
}
|
||||||
data=new AllUserVo();
|
if(StringHelper.isNotEmpty(vo.getIdCard())) {
|
||||||
data.setIdCard(vo.getIdCard());
|
data = new AllUserVo();
|
||||||
isCz=allUserDao.getUserCount(data);
|
data.setIdCard(vo.getIdCard());
|
||||||
if(isCz>0){
|
isCz = allUserDao.getUserCount(data);
|
||||||
return AjaxResult.error("身份证号码已被注册");
|
if (isCz > 0) {
|
||||||
|
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