dingxin 6 år sedan
förälder
incheckning
2804f81eaf

+ 10
- 1
CODE/smart-community/app-api/src/main/java/com/community/huiju/service/impl/SocialServiceImpl.java Visa fil

@@ -895,7 +895,16 @@ public class SocialServiceImpl implements SocialServiceI {
895 895
         }
896 896
 
897 897
         TpTransaction tpTransaction = tpTransactionMapper.selectByPrimaryKey(activityId, communityId);
898
-
898
+    
899
+        if (tpTransaction.getUuidType().equals("app")) {
900
+            TaUser taUser = taUserMapper.selectByPrimaryKey(taUserVerifyMapper.selectByPrimaryKey(tpTransaction.getUuid()).getUserId());
901
+            tpTransaction.setTelephone(taUser.getLoginName());
902
+        }
903
+        if (tpTransaction.getUuidType().equals("prop")) {
904
+           TpUser tpUser = tpUserMapper.selectByPrimaryKey(tpTransaction.getUuid());
905
+            tpTransaction.setTelephone(tpUser.getLoginName());
906
+        }
907
+        
899 908
         Map<String, Object> map = Maps.newHashMap();
900 909
         map.put("uuid", tpTransaction.getId());
901 910
         map.put("type", Constant.TRANSACTION);