Commit 0b8cb39c by 徐高华

bug

parent df460724
......@@ -26,6 +26,8 @@ import com.gic.haoban.manage.service.dao.mapper.chat.*;
import com.gic.haoban.manage.service.service.StaffClerkRelationService;
import com.gic.haoban.manage.service.service.content.impl.GroupMessageServiceImpl;
import com.gic.haoban.manage.service.util.StreamUtils;
import com.gic.haoban.task.api.dto.TaskSettingDTO;
import com.gic.haoban.task.api.service.SettingApiService;
import com.gic.haoban.task.manage.api.service.QywxGroupSendCanvasApiService;
import com.gic.thirdparty.cloudfile.CloudFileUtil;
import com.gic.thirdparty.cloudfile.enums.CloudFileBusinessOptEnum;
......@@ -135,6 +137,8 @@ public class GroupChatPlanServiceImpl implements GroupChatPlanService {
private WxEnterpriseRelatedMapper wxEnterpriseRelatedMapper;
@Autowired
private StaffClerkRelationService staffClerkRelationService ;
@Autowired
private SettingApiService settingApiService ;
private static GicMQClient mqClient = GICMQClientUtil.getClientInstance();
......@@ -930,9 +934,12 @@ public class GroupChatPlanServiceImpl implements GroupChatPlanService {
return;
}
for (String enterpriseId : enterpriseIdList) {
TaskSettingDTO dto = this.settingApiService.findByEnterpriseIdAndType(enterpriseId,1) ;
if(null != dto.getNoticeFlag() && dto.getNoticeFlag()==1) {
this.massTaskData(enterpriseId);
}
}
}
private void massTaskData(String enterpriseId) {
logger.info("生成社群数据={}",enterpriseId);
......
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