Browse Source

人工审核热心居民申请接口bug修改

dev_shibei_match
sunyuchao 5 years ago
parent
commit
c4ae7b3323
  1. 4
      epmet-module/resi-partymember/resi-partymember-server/src/main/java/com/epmet/modules/warmhearted/service/impl/ResiWarmheartedApplyServiceImpl.java

4
epmet-module/resi-partymember/resi-partymember-server/src/main/java/com/epmet/modules/warmhearted/service/impl/ResiWarmheartedApplyServiceImpl.java

@ -193,9 +193,11 @@ public class ResiWarmheartedApplyServiceImpl extends BaseServiceImpl<ResiWarmhea
baseDao.updateById(entity); baseDao.updateById(entity);
//2:审核通过的添加热心居民的角色 //2:审核通过的添加热心居民的角色
if(NumConstant.ONE_STR.equals(formDTO.getAuditStatus())){ if(NumConstant.ONE_STR.equals(formDTO.getAuditStatus())){
//查询需要添加热心居民角色的userId
ResiWarmheartedApplyEntity resiWarmheartedApplyEntity = baseDao.selectById(formDTO.getResiWarmApplyId());
UserRoleDTO dto = new UserRoleDTO(); UserRoleDTO dto = new UserRoleDTO();
dto.setCustomerId(formDTO.getCustomerId()); dto.setCustomerId(formDTO.getCustomerId());
dto.setUserId(formDTO.getUserId()); dto.setUserId(resiWarmheartedApplyEntity.getUserId());
//所属端-居民端 //所属端-居民端
dto.setApp(AppClientConstant.APP_RESI); dto.setApp(AppClientConstant.APP_RESI);
//角色-热心居民 //角色-热心居民

Loading…
Cancel
Save