This commit is contained in:
parent
274cbd9de8
commit
db11899094
|
@ -140,8 +140,7 @@ public class ActTaskController {
|
|||
*/
|
||||
if (!(params.containsKey("processDefinitionKey") && org.apache.commons.lang3.StringUtils.isNotEmpty(params.get("processDefinitionKey").toString()))) {
|
||||
List<Long> useIds = sysRoleUserService.getUserIdListByRoleId(Long.parseLong(defaultAssigneeRoleId));
|
||||
if (useIds.stream().filter(index -> index == SecurityUser.getUserId()).findFirst().isPresent()) { // 拥有会客厅审核权限
|
||||
logger.info(SecurityUser.getUserId() + " 拥有会客厅权限");
|
||||
if (useIds.contains(Long.parseLong(userId))) { // 拥有会客厅审核权限
|
||||
int meetingroom_book = jdbcTemplate.queryForObject("SELECT COUNT(id) FROM t_meetingroom_book WHERE state = 1;", Integer.class);
|
||||
page.setTotal(page.getTotal() + meetingroom_book);
|
||||
Integer limit = 10;
|
||||
|
|
|
@ -143,9 +143,9 @@ public class HistoryController {
|
|||
params.replace("processDefinitionKey", params.get("processDefinitionKey").toString() + "%");
|
||||
}
|
||||
PageData<ProcessActivityDTO> page = activitiService.getMyProcessInstancePage(params);
|
||||
List<Long> useIds = sysRoleUserService.getUserIdListByRoleId(Long.parseLong(defaultAssigneeRoleId));
|
||||
if (!(params.containsKey("processDefinitionKey") && org.apache.commons.lang3.StringUtils.isNotEmpty(params.get("processDefinitionKey").toString()))) {
|
||||
if (useIds.stream().filter(index -> index == SecurityUser.getUserId()).findFirst().isPresent()) { // 拥有会客厅审核权限
|
||||
List<Long> useIds = sysRoleUserService.getUserIdListByRoleId(Long.parseLong(defaultAssigneeRoleId));
|
||||
if (useIds.contains(SecurityUser.getUserId())) { // 拥有会客厅审核权限
|
||||
logger.info(SecurityUser.getUserId() + " 拥有会客厅权限");
|
||||
int meetingroom_book = jdbcTemplate.queryForObject("SELECT COUNT(id) FROM t_meetingroom_book WHERE state != 1;", Integer.class);
|
||||
page.setTotal(page.getTotal() + meetingroom_book);
|
||||
|
|
|
@ -72,6 +72,9 @@ big_date:
|
|||
assignee_role_name: 部门审批人
|
||||
assignee_district_role_name: 区审批人
|
||||
assignee_city_role_name: 市审批人
|
||||
# 会客厅审核员角色
|
||||
assignee_meet_role_id: 1599681595457933313
|
||||
|
||||
# 平台部署级别 (PROVINCE:省 PREFECTURE:地级市 DISTRICT:区县 STREET:街道)
|
||||
stage: PREFECTURE
|
||||
|
||||
|
|
Loading…
Reference in New Issue