修改批量删除任务bug
This commit is contained in:
parent
b3e24894bb
commit
921fc6d7fb
@ -418,7 +418,7 @@ public class DingtalkBusiness {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
logger.info("开始批量推送消息,数量{}, appid{}", toStaffids.size(), appid);
|
|
||||||
ThirdAppConfig thirdAppConfig = thirdAppConfigService.getByAppId(appid);
|
ThirdAppConfig thirdAppConfig = thirdAppConfigService.getByAppId(appid);
|
||||||
String token = dingTalkUtil.getAccessTokenWitchEntity(thirdAppConfig);
|
String token = dingTalkUtil.getAccessTokenWitchEntity(thirdAppConfig);
|
||||||
if(workMsgTypeEnum.getType() == WorkMsgTypeEnum.CLEARN.getType()){
|
if(workMsgTypeEnum.getType() == WorkMsgTypeEnum.CLEARN.getType()){
|
||||||
@ -434,6 +434,7 @@ public class DingtalkBusiness {
|
|||||||
dingTalkUtil.updateWorkMSG(thirdMsgSendRecord, token);
|
dingTalkUtil.updateWorkMSG(thirdMsgSendRecord, token);
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
|
logger.info("开始批量推送消息,数量{}, appid{}", toStaffids.size(), appid);
|
||||||
for (StaffSimpleInfo info:toStaffids
|
for (StaffSimpleInfo info:toStaffids
|
||||||
) {
|
) {
|
||||||
if(token != null && token.length() > 0){
|
if(token != null && token.length() > 0){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user