用户管理及下拉选查询接口开发
This commit is contained in:
parent
15d261884e
commit
bef7ff27d5
|
|
@ -2,6 +2,7 @@
|
|||
<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" />
|
||||
|
|
|
|||
|
|
@ -71,12 +71,14 @@ 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("身份证号码已被注册");
|
||||
}
|
||||
}
|
||||
if(StringHelper.isEmpty(vo.getPassword())){
|
||||
vo.setPassword("Hnsbd@admin123");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue