[add] 接口文档
This commit is contained in:
@ -77,11 +77,6 @@ public class SubConstructionUserUpdateReq implements Serializable {
|
||||
*/
|
||||
private String sfzBackPic;
|
||||
|
||||
/**
|
||||
* 身份证号码
|
||||
*/
|
||||
private String sfzNumber;
|
||||
|
||||
/**
|
||||
* 身份证有效开始期
|
||||
*/
|
||||
@ -112,11 +107,6 @@ public class SubConstructionUserUpdateReq implements Serializable {
|
||||
*/
|
||||
private String yhkPic;
|
||||
|
||||
/**
|
||||
* 银行卡号
|
||||
*/
|
||||
private String yhkNumber;
|
||||
|
||||
/**
|
||||
* 开户行
|
||||
*/
|
||||
|
||||
@ -341,11 +341,6 @@ public class SubConstructionUserServiceImpl extends ServiceImpl<SubConstructionU
|
||||
// 判断当前操作用户是否有权限
|
||||
Long userId = LoginHelper.getUserId();
|
||||
projectService.validAuth(oldConstructionUser.getProjectId(), userId);
|
||||
// 对身份证号码进行加密
|
||||
if (req.getSfzNumber() != null) {
|
||||
String encrypt = idCardEncryptorUtil.encrypt(req.getSfzNumber());
|
||||
constructionUser.setSfzNumber(encrypt);
|
||||
}
|
||||
// 操作数据库
|
||||
return this.updateById(constructionUser);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user