|
@@ -658,7 +658,17 @@ public class SocialServiceImpl implements SocialServiceI {
|
658
|
658
|
Map<String, Object> parameter = Maps.newHashMap();
|
659
|
659
|
Page<TpTransaction> pageList = PageHelper.startPage(pageNum, paeSize);
|
660
|
660
|
List<TpTransaction> tpTransactionList = tpTransactionMapper.getUserTransactionList(userElement.getUserVerifyId(), userElement.getCommunityId());
|
661
|
|
-
|
|
661
|
+ tpTransactionList.stream().forEach(e -> {
|
|
662
|
+ if (e.getUuidType().equals("app")) {
|
|
663
|
+ TaSysRole taSysRole = taSysRoleMapper.selectByPrimaryKey(taUserVerifyMapper.selectByPrimaryKey(e.getUuid()).getRoleId());
|
|
664
|
+ e.setRoleId(taSysRole.getId());
|
|
665
|
+ e.setRoleName(taSysRole.getRoleName());
|
|
666
|
+ }
|
|
667
|
+ if (e.getUuidType().equals("prop")) {
|
|
668
|
+ e.setRoleName("物业");
|
|
669
|
+ }
|
|
670
|
+ e.setCreateUserName(e.getUuidName());
|
|
671
|
+ });
|
662
|
672
|
parameter.put("list", tpTransactionList);
|
663
|
673
|
parameter.put("total", pageList.getTotal());
|
664
|
674
|
responseBean.addSuccess(parameter);
|