|
@ -308,6 +308,12 @@ public class CustomerStaffServiceImpl extends BaseServiceImpl<CustomerStaffDao, |
|
|
resultDTO.setWorkType(customerStaffDTO.getWorkType()); |
|
|
resultDTO.setWorkType(customerStaffDTO.getWorkType()); |
|
|
resultDTO.setIdCard(customerStaffDTO.getIdCard()); |
|
|
resultDTO.setIdCard(customerStaffDTO.getIdCard()); |
|
|
resultDTO.setCustomerId(customerStaffDTO.getCustomerId()); |
|
|
resultDTO.setCustomerId(customerStaffDTO.getCustomerId()); |
|
|
|
|
|
resultDTO.setCulture(customerStaffDTO.getCulture()); |
|
|
|
|
|
resultDTO.setDuty(customerStaffDTO.getDuty()); |
|
|
|
|
|
resultDTO.setPartyPosition(customerStaffDTO.getPartyPosition()); |
|
|
|
|
|
resultDTO.setViliagePosition(customerStaffDTO.getViliagePosition()); |
|
|
|
|
|
resultDTO.setRemark(customerStaffDTO.getRemark()); |
|
|
|
|
|
resultDTO.setAddress(customerStaffDTO.getAddress()); |
|
|
//获取角色列表
|
|
|
//获取角色列表
|
|
|
GovStaffRoleDTO govStaffRoleDTO = new GovStaffRoleDTO(); |
|
|
GovStaffRoleDTO govStaffRoleDTO = new GovStaffRoleDTO(); |
|
|
govStaffRoleDTO.setCustomerId(fromDTO.getCustomerId()); |
|
|
govStaffRoleDTO.setCustomerId(fromDTO.getCustomerId()); |
|
@ -527,14 +533,17 @@ 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.setCulture(fromDTO.getCulture()); |
|
|
staffEntity.setIdCard(customerStaffDTO.getIdCard()); |
|
|
staffEntity.setIdCard(fromDTO.getIdCard()); |
|
|
staffEntity.setCulture(customerStaffDTO.getCulture()); |
|
|
|
|
|
staffEntity.setDuty(customerStaffDTO.getDuty()); |
|
|
|
|
|
staffEntity.setPartyPosition(customerStaffDTO.getPartyPosition()); |
|
|
|
|
|
staffEntity.setViliagePosition(customerStaffDTO.getViliagePosition()); |
|
|
|
|
|
staffEntity.setRemark(customerStaffDTO.getRemark()); |
|
|
|
|
|
staffEntity.setAddress(customerStaffDTO.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)); |
|
|
} |
|
|
} |
|
|
staffEntity.setCulture(fromDTO.getCulture()); |
|
|
|
|
|
baseDao.updateById(staffEntity); |
|
|
baseDao.updateById(staffEntity); |
|
|
|
|
|
|
|
|
//清空权限关联
|
|
|
//清空权限关联
|
|
|