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