Browse Source

账户2.0——导入账户 bug修复

zhaoxian 3 năm trước cách đây
mục cha
commit
3f5c7c6d34

+ 1 - 1
ruixuan-live/src/main/java/com/ruixuan/live/service/impl/KuaishouLiveUserAccountServiceImpl.java

@@ -120,7 +120,7 @@ public class KuaishouLiveUserAccountServiceImpl implements IKuaishouLiveUserAcco
     public ResultResponse insertKuaishouLiveUserAccount(KuaishouLiveUserAccount account) {
         KuaishouLiveUserAccount one = kuaishouLiveUserAccountMapper.getOne(account);
         if (one != null) {
-            return ResultResponse.error("快手ID:" + account.getKsId() + "下已存在该账户名,请重新命名!");
+            return ResultResponse.error("快手ID:" + account.getKsId() + "下已存在该账户ID,请重新填写!");
         }
         if (Check.isNull(account.getAccountId())) {
             account.setAccountId(System.currentTimeMillis());

+ 0 - 1
ruixuan-live/src/main/resources/mapper/live/KuaishouLiveUserAccountMapper.xml

@@ -216,7 +216,6 @@
         <include refid="selectKuaishouLiveUserAccountVo"/>
         <where>
             <if test="ksId != null ">and ks_id = #{ksId}</if>
-            <if test="accountName != null  and accountName != ''">and account_name=#{accountName}</if>
             <if test="accountId != null ">and account_id = #{accountId}</if>
         </where>
         LIMIT 1