Commit 2a6af9e1 by 徐高华

初始化中

parent fa596235
......@@ -553,13 +553,7 @@ public class GroupChatServiceImpl implements GroupChatService {
chat.setUpdateTime(new Date());
chat.setDeleteFlag(0);
chat.setTotalCount(0);
if (syncDetailFlag) {
// 标识初始化中,会在查询群详情处理
chat.setInitFlag(2);
} else {
// 标识未初始化,由于异步,需要异步获取群详情
chat.setInitFlag(0);
}
chat.setInitFlag(0);
chat.setTotalMemberCount(0);
chat.setAddMemberCount(0);
chat.setAddCount(0);
......@@ -613,7 +607,7 @@ public class GroupChatServiceImpl implements GroupChatService {
chat.setChatNotice(notice);
chat.setName(chatName);
// 匹配GIC商户ID ,如果已经初始化过,不再自动匹配GIC商户
if (chat.getInitFlag() == 0) {
if (chat.getInitFlag() == 0 ) {
enterpriseId = matchGicEnterpriseId(wxEnterpriseId, enterpriseId, staff);
chat.setEnterpriseId(enterpriseId);
if (StringUtils.isNotEmpty(chat.getEnterpriseId())) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment