Merge branch 'version_performance_2.0' of http://gitlab.ldxinyong.com/enterpriseManagement/lz_management into version_performance_2.0
This commit is contained in:
commit
8b631bac14
@ -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