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
de397c3346
@ -633,9 +633,6 @@ public class ResultRecordController extends AbstractController {
|
|||||||
resultRecordDetailDto.setRecortModelDtos(resultRecortModelDtos);
|
resultRecordDetailDto.setRecortModelDtos(resultRecortModelDtos);
|
||||||
|
|
||||||
return R.ok().put("data", resultRecordDetailDto);
|
return R.ok().put("data", resultRecordDetailDto);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//目前支持已生成对象的。不支持当前非对象表中的数据,如果要使用请用常量值
|
//目前支持已生成对象的。不支持当前非对象表中的数据,如果要使用请用常量值
|
||||||
|
|||||||
@ -679,12 +679,10 @@ public class DingtalkBusiness {
|
|||||||
"&container_type=work_platform&app_id=0_" +
|
"&container_type=work_platform&app_id=0_" +
|
||||||
appid + "&redirect_type=jump&redirect_url=" + url;
|
appid + "&redirect_type=jump&redirect_url=" + url;
|
||||||
|
|
||||||
for (StaffEntity staff:staffs
|
for (int i = 0; i < staffs.size(); i++) {
|
||||||
) {
|
StaffEntity staff = staffs.get(i);
|
||||||
|
userIds += (staff.getEmployeeId() + ",");
|
||||||
if(m < 100){
|
if(m >= 99 || i == staffs.size() - 1){
|
||||||
userIds += (staff.getEmployeeId() + ",");
|
|
||||||
}else{
|
|
||||||
//发送消息
|
//发送消息
|
||||||
StaffEntity info = new StaffEntity();
|
StaffEntity info = new StaffEntity();
|
||||||
info.setId(0L);
|
info.setId(0L);
|
||||||
@ -692,7 +690,8 @@ public class DingtalkBusiness {
|
|||||||
dingTalkUtil.sendSingleActionCardMSG(appid, info, WorkMsgTypeEnum.TASK_UPDATE.getTitle(),
|
dingTalkUtil.sendSingleActionCardMSG(appid, info, WorkMsgTypeEnum.TASK_UPDATE.getTitle(),
|
||||||
WorkMsgTypeEnum.TASK_UPDATE.getContent(), WorkMsgTypeEnum.TASK_UPDATE.getBtnText(), url, token);
|
WorkMsgTypeEnum.TASK_UPDATE.getContent(), WorkMsgTypeEnum.TASK_UPDATE.getBtnText(), url, token);
|
||||||
m = 0;
|
m = 0;
|
||||||
userIds = staff.getEmployeeId() + ",";
|
userIds = "";
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
m++;
|
m++;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user