Merge branch 'version_performance_2.0' of http://gitlab.ldxinyong.com/enterpriseManagement/lz_management into version_performance_2.0

This commit is contained in:
杜建超 2020-12-10 14:25:16 +08:00
commit de397c3346
2 changed files with 6 additions and 10 deletions

View File

@ -633,9 +633,6 @@ public class ResultRecordController extends AbstractController {
resultRecordDetailDto.setRecortModelDtos(resultRecortModelDtos);
return R.ok().put("data", resultRecordDetailDto);
}
//目前支持已生成对象的不支持当前非对象表中的数据如果要使用请用常量值

View File

@ -679,12 +679,10 @@ public class DingtalkBusiness {
"&container_type=work_platform&app_id=0_" +
appid + "&redirect_type=jump&redirect_url=" + url;
for (StaffEntity staff:staffs
) {
if(m < 100){
userIds += (staff.getEmployeeId() + ",");
}else{
for (int i = 0; i < staffs.size(); i++) {
StaffEntity staff = staffs.get(i);
userIds += (staff.getEmployeeId() + ",");
if(m >= 99 || i == staffs.size() - 1){
//发送消息
StaffEntity info = new StaffEntity();
info.setId(0L);
@ -692,7 +690,8 @@ public class DingtalkBusiness {
dingTalkUtil.sendSingleActionCardMSG(appid, info, WorkMsgTypeEnum.TASK_UPDATE.getTitle(),
WorkMsgTypeEnum.TASK_UPDATE.getContent(), WorkMsgTypeEnum.TASK_UPDATE.getBtnText(), url, token);
m = 0;
userIds = staff.getEmployeeId() + ",";
userIds = "";
continue;
}
m++;
}