Commit f701befb by 徐高华

企微群发

parent 46172f03
......@@ -934,10 +934,13 @@ public class GroupChatPlanServiceImpl implements GroupChatPlanService {
if(CollectionUtils.isNotEmpty(clerkIdList)) {
for(String clerkId : clerkIdList) {
int total = this.groupChatPlanOwnerLogMapper.getTotalTask(enterpriseId,clerkId,date) ;
if(total >= 0) {
logger.info("clerkId={}",total);
if(total > 0) {
int invalid = this.groupChatPlanOwnerLogMapper.getInvalidTask(enterpriseId,clerkId,date) ;
int overdue = this.groupChatPlanOwnerLogMapper.getOverdueTask(enterpriseId,clerkId,date) ;
this.qywxGroupSendCanvasApiService.saveNoticeLog(enterpriseId,clerkId,total,overdue,invalid,"chat") ;
}else {
this.qywxGroupSendCanvasApiService.saveNoticeLog(enterpriseId,clerkId,total,0,0,"chat") ;
}
}
}
......
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