fix bug
This commit is contained in:
parent
6c97f357b1
commit
34f2bc250c
|
|
@ -341,9 +341,6 @@ public class CustInfoServiceImpl extends ServiceImpl<CustInfoMapper, CustInfo> i
|
|||
custInfo.setCustNameLike(custInfo.getCustName());
|
||||
}
|
||||
BCryptPasswordEncoder bCrypt = new BCryptPasswordEncoder();
|
||||
custInfo.setMobile(SM4EncryptUtils.sm4Encryptbyconfig(custInfo.getMobile()));
|
||||
custInfo.setMobileSuffix(SM4EncryptUtils.sm4Encryptbyconfig(custInfo.getMobileSuffix()));
|
||||
custInfo.setIdCard(SM4EncryptUtils.sm4Encryptbyconfig(custInfo.getIdCard()));
|
||||
custInfo.setPwd(bCrypt.encode(custInfo.getPwd()));
|
||||
|
||||
custInfo.setPsnType(custInfo.getPsnType()).setBirthday(custInfo.getBirthday()).setAge(custInfo.getAge()).setPlaceId(custInfo.getPlaceId() == null ? CustConstant.DATA_DEFAULT_LONG : custInfo.getPlaceId()).setSex((Integer)Optional.ofNullable(infoModel.getSex()).orElse(3));
|
||||
|
|
|
|||
Loading…
Reference in New Issue