|
@@ -189,7 +189,7 @@ public class GwFlowController {
|
|
|
gwCirculationCard2DTO.setState("3");
|
|
|
gwCirculationCard2Service.saveOrUpdate (gwCirculationCard2Wrapper.toEntity (gwCirculationCard2DTO));
|
|
|
|
|
|
- //3、此时是局领导、或科室领导审核提交的时候
|
|
|
+ //3、此时是局领导、或科室领导审核提交的时候 或办公室主任审核拟办的时候
|
|
|
}else{
|
|
|
//需要判断会签是否结束,结束的时候需要新增一条到办公室主任的待办(2024-4-9改为办公室管理员)
|
|
|
int count=gwFlowService.isEnd(gwFlowDTO.getGwId());
|
|
@@ -204,9 +204,23 @@ public class GwFlowController {
|
|
|
gwFlowDTOn.setNextTruename(userDTO3.getName());
|
|
|
gwFlowDTOn.setNextUser(userDTO3.getId());
|
|
|
if(userDTO.getRoleNames().contains("局领导")){
|
|
|
- gwFlowDTOn.setWhich("3");
|
|
|
- }else if(userDTO.getRoleNames().contains("办公室主任")){
|
|
|
- gwFlowDTOn.setWhich("3");
|
|
|
+ gwFlowDTOn.setWhich("3");//局领导回流到办公室管理员
|
|
|
+ }else if(userDTO.getRoleNames().contains("办公室主任")){//办公室主任审核拟办的时候
|
|
|
+ //gwFlowDTOn.setWhich("3");//办公室主任回流到办公室管理员
|
|
|
+ gwFlowDTOn.setWhich("1");//2024-5-13改为直接提交到主管领导(需求来源:办公室拟办完了直接转发给主管领导,不用管理员再选择转发。)
|
|
|
+ //办公室主任
|
|
|
+ gwFlowDTOn.setCreateTruename(userDTO.getName());
|
|
|
+ gwFlowDTOn.setCreateBy(userDTO);
|
|
|
+ gwFlowDTOn.setUpdateBy(userDTO);
|
|
|
+ //主管领导(角色:局领导id为1770353074553331713)
|
|
|
+ List <UserDTO> result = userService.findUserListByRole ( "1770353074553331713" );
|
|
|
+ UserDTO userDTO4=userDTO;
|
|
|
+ if(result!=null&&result.size()>0){
|
|
|
+ userDTO4=result.get(0);
|
|
|
+ }
|
|
|
+ gwFlowDTOn.setNextTruename(userDTO4.getName());
|
|
|
+ gwFlowDTOn.setNextUser(userDTO4.getId());
|
|
|
+
|
|
|
}else{
|
|
|
gwFlowDTOn.setWhich("4");
|
|
|
}
|