|
@ -533,13 +533,13 @@ public class CustomerStaffServiceImpl extends BaseServiceImpl<CustomerStaffDao, |
|
|
staffEntity.setMobile(fromDTO.getMobile()); |
|
|
staffEntity.setMobile(fromDTO.getMobile()); |
|
|
staffEntity.setGender(fromDTO.getGender()); |
|
|
staffEntity.setGender(fromDTO.getGender()); |
|
|
staffEntity.setWorkType(fromDTO.getWorkType()); |
|
|
staffEntity.setWorkType(fromDTO.getWorkType()); |
|
|
staffEntity.setIdCard(customerStaffDTO.getIdCard()); |
|
|
staffEntity.setIdCard(fromDTO.getIdCard()); |
|
|
staffEntity.setCulture(customerStaffDTO.getCulture()); |
|
|
staffEntity.setCulture(fromDTO.getCulture()); |
|
|
staffEntity.setDuty(customerStaffDTO.getDuty()); |
|
|
staffEntity.setDuty(fromDTO.getDuty()); |
|
|
staffEntity.setPartyPosition(customerStaffDTO.getPartyPosition()); |
|
|
staffEntity.setPartyPosition(fromDTO.getPartyPosition()); |
|
|
staffEntity.setViliagePosition(customerStaffDTO.getViliagePosition()); |
|
|
staffEntity.setViliagePosition(fromDTO.getViliagePosition()); |
|
|
staffEntity.setRemark(customerStaffDTO.getRemark()); |
|
|
staffEntity.setRemark(fromDTO.getRemark()); |
|
|
staffEntity.setAddress(customerStaffDTO.getAddress()); |
|
|
staffEntity.setAddress(fromDTO.getAddress()); |
|
|
if (StringUtils.isNotBlank(fromDTO.getIdCard())) { |
|
|
if (StringUtils.isNotBlank(fromDTO.getIdCard())) { |
|
|
LocalDate birthday = IdCardRegexUtils.parse(fromDTO.getIdCard()).getParsedResult().getBirthday(); |
|
|
LocalDate birthday = IdCardRegexUtils.parse(fromDTO.getIdCard()).getParsedResult().getBirthday(); |
|
|
staffEntity.setBirthday(DateUtils.localDate2Date(birthday)); |
|
|
staffEntity.setBirthday(DateUtils.localDate2Date(birthday)); |
|
|