|
@@ -203,7 +203,11 @@ public class GwFlowController {
|
|
|
gwFlowDTOn.setCreateTruename(userDTO.getName());
|
|
|
gwFlowDTOn.setNextTruename(userDTO3.getName());
|
|
|
gwFlowDTOn.setNextUser(userDTO3.getId());
|
|
|
- gwFlowDTOn.setWhich("3");
|
|
|
+ if(userDTO.getRoleNames().contains("局领导")){
|
|
|
+ gwFlowDTOn.setWhich("3");
|
|
|
+ }else{
|
|
|
+ gwFlowDTOn.setWhich("4");
|
|
|
+ }
|
|
|
gwFlowService.saveOrUpdate (gwFlowWrapper.toEntity (gwFlowDTOn));
|
|
|
}
|
|
|
|