|
@@ -107,7 +107,7 @@ public class GwFlowController {
|
|
|
|
|
|
gwFlowService.saveOrUpdate (gwFlowWrapper.toEntity (gwFlowDTO));
|
|
|
|
|
|
-
|
|
|
+
|
|
|
UserDTO userDTO=UserUtils.getCurrentUserDTO();
|
|
|
List<RoleDTO> list=userDTO.getRoleDTOList();
|
|
|
boolean isadmin=false;
|
|
@@ -116,20 +116,20 @@ public class GwFlowController {
|
|
|
isadmin=true;
|
|
|
}
|
|
|
}
|
|
|
- if(isadmin){
|
|
|
-
|
|
|
- GwFlowDTO a1=new GwFlowDTO();
|
|
|
- a1.setGwId(gwFlowDTO.getGwId());
|
|
|
- a1.setState("1");
|
|
|
- UserDTO userDTO2=userService.getUserByLoginName("bgszr","10000");
|
|
|
- a1.setCreateBy(userDTO);
|
|
|
- a1.setUpdateBy(userDTO2);
|
|
|
- a1.setCreateTruename(userDTO.getName());
|
|
|
- a1.setNextTruename(userDTO2.getName());
|
|
|
- a1.setNextUser(userDTO2.getId());
|
|
|
- a1.setWhich("1");
|
|
|
- gwFlowService.saveOrUpdate (gwFlowWrapper.toEntity (a1));
|
|
|
- }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
|
|
|
if(gwFlowDTO.getNext()!=null&&gwFlowDTO.getNext().equals("1")){
|