Переглянути джерело

账户2.0——导入账户初版

zhaoxian 3 роки тому
батько
коміт
6ccca34f24

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

@@ -233,7 +233,7 @@ public class KuaishouLiveUserAccountServiceImpl implements IKuaishouLiveUserAcco
         int i = kuaishouLiveUserAccountMapper.updateKuaishouLiveUserAccount(account);
         if (i > 0) {
             String collaboratorList = account.getCollaboratorList();
-            if (Check.isNotNull(collaboratorList) && "[]".equals(collaboratorList)) {
+            if (Check.isNotNull(collaboratorList) && !"[]".equals(collaboratorList)) {
                 List<JSONObject> collaborators = JSONArray.parseArray(collaboratorList, JSONObject.class);
                 for (JSONObject obj : collaborators) {
                     obj.put("ksId", account.getKsId());