Commit a5e3b911 by yao.xiao

修改-保存时加密

parent 5b258526
......@@ -1131,7 +1131,9 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
AclCustomer customer = aclCustomerDALService.findById(customerId);
DESTypeHandler jpaCryptoConverter = new DESTypeHandler();
String mobileNo = customer.getMobileNo();
String idNo = customer.getIdNo();
customer.setMobileNo(jpaCryptoConverter.encode(mobileNo));
customer.setIdNo(jpaCryptoConverter.encode(idNo));
customer.setName(requestVO.getName());
customer.setBirthDate(CommonUtil.stringParseDate(requestVO.getBirthDate(),"yyyy-MM-dd"));
customer.setGender(requestVO.getGender());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment