[add] 接口文档

This commit is contained in:
lcj
2025-07-10 16:00:33 +08:00
parent 7b9176dff5
commit e623855b21
4 changed files with 11 additions and 16 deletions

View File

@ -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;
/**
* 开户行
*/

View File

@ -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);
}