xie.kaifeng hai 8 meses
pai
achega
1a71ad6949

+ 4 - 4
mtp3-century/src/main/java/com/muchinfo/mtp3century/service/impl/TaaccountServiceImpl.java

@@ -727,15 +727,15 @@ public class TaaccountServiceImpl extends ServiceImpl<ITaaccountMapper, Taaccoun
         if (ua.getUsertype() == 2) {
             return null;
         }
-        Long[] ids = new Long[3];
+        List<Long> ids = new ArrayList<>();
         if (ua.getMemberuserid() != null) {
-            ids[0] = ua.getMemberuserid();
+            ids.add(ua.getMemberuserid());
         }
         if (ua.getParentuserid() != null) {
-            ids[1] = ua.getParentuserid();
+            ids.add(ua.getParentuserid());
         }
         if (ua.getBroker() != null) {
-            ids[2] = ua.getBroker();
+            ids.add(ua.getBroker());
         }
         List<Useraccount> organ = iUseraccountMapper.selectList(new QueryWrapper<Useraccount>().in("userid", ids));