xie.kaifeng 8 месяцев назад
Родитель
Сommit
df93e35c6e

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

@@ -740,7 +740,7 @@ public class TaaccountServiceImpl extends ServiceImpl<ITaaccountMapper, Taaccoun
         queryWrapper.eq("userid", systemmanager.getAreauserid()) // 替换 userId 为实际的参数值
                 .eq("loginstatus", 1);
         queryWrapper.exists("SELECT * FROM logintaaccount l WHERE l.loginid = loginaccount.loginid");
-        List<Long> loginIds = iLoginaccountMapper.selectObjs(queryWrapper);
+        List<BigDecimal> loginIds = iLoginaccountMapper.selectObjs(queryWrapper);
         initResultDetail.setLoginaccount(loginIds);
         List<Long> defaultLogin = iLoginaccountMapper.getLoginNotExistsLt(systemmanager.getAreauserid());
         initResultDetail.setDefaultloginaccount(defaultLogin);

+ 1 - 1
mtp3-interface/src/main/java/com/muchinfo/mtp3interface/mapper/IMarketMapper.java

@@ -21,7 +21,7 @@ import java.util.Map;
 @Mapper
 public interface IMarketMapper extends BaseMapper<Market> {
 
-    List<Market> getMarketsNameByUseridAndrole(@Param("uid") Long uid, @Param("roletype") List<Integer> roletype, @Param("roletype") Integer isqq);
+    List<Market> getMarketsNameByUseridAndrole(@Param("uid") Long uid, @Param("roletype") List<Integer> roletype, @Param("isqq") Integer isqq);
 
     List<Market> getNoTradeConfigMarkets(@Param("areauserid") Long areauserid, @Param("usergroupid") Long usergroupid);
 

+ 2 - 2
mtp3-pojos/src/main/java/com/muchinfo/mtp3pojos/vo/taaccount/TaAccountInitResultDetail.java

@@ -1,6 +1,5 @@
 package com.muchinfo.mtp3pojos.vo.taaccount;
 
-import com.muchinfo.mtp3pojos.entity.Loginaccount;
 import com.muchinfo.mtp3pojos.entity.Market;
 import com.muchinfo.mtp3pojos.entity.Taaccount;
 import com.muchinfo.mtp3pojos.entity.Useraccount;
@@ -10,6 +9,7 @@ import lombok.Builder;
 import lombok.Data;
 import lombok.NoArgsConstructor;
 
+import java.math.BigDecimal;
 import java.util.List;
 import java.util.Map;
 
@@ -27,7 +27,7 @@ public class TaAccountInitResultDetail {
 
     private List<Market> markets;
 
-    private List<Long> loginaccount;
+    private List<BigDecimal> loginaccount;
 
     private List<Long> defaultloginaccount;