| | |
| | | HttpServletRequest request = ((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest(); |
| | | StringBuilder content = new StringBuilder(); |
| | | content.append("添加了组织:").append(organization.getName()+";"); |
| | | logUtils.saveOperationForManage(request, content.toString()); |
| | | logUtils.saveOperationForManage(request, content.toString(),Constants.INSERT_OPERATE_TYPE); |
| | | return organizationDTO; |
| | | } |
| | | |
| | |
| | | content.append("删除了组织:").append(existOrganization.getName()+";"); |
| | | if(form.getDeleteChildren().equals(Constants.DELETE_CHILDREN_ORG)) |
| | | content.append("以及所有子组织;"); |
| | | logUtils.saveOperationForManage(request, content.toString()); |
| | | logUtils.saveOperationForManage(request, content.toString(),Constants.DELETE_OPERATE_TYPE); |
| | | |
| | | return dto; |
| | | } |
| | |
| | | } |
| | | } |
| | | } |
| | | logUtils.saveOperationForManage(request, content.toString()); |
| | | logUtils.saveOperationForManage(request, content.toString(),Constants.UPDATE_OPERATE_TYPE); |
| | | } |
| | | |
| | | |