| | |
| | | OrganizationMapper organizationMapper; |
| | | |
| | | @Autowired |
| | | LogUtils logUtils; |
| | | |
| | | @Autowired |
| | | UserService userService; |
| | | |
| | | @Autowired |
| | |
| | | content.append("以及所有子组织;"); |
| | | else |
| | | content.append(";"); |
| | | logUtils.saveOperationForManage(content.toString(), Constants.DELETE_OPERATE_TYPE); |
| | | LogUtils.saveOperationForManage(content.toString(), Constants.DELETE_OPERATE_TYPE); |
| | | |
| | | return dto; |
| | | } |
| | |
| | | private void insertLog(Organization organization) { |
| | | StringBuilder content = new StringBuilder(); |
| | | content.append("添加了组织:").append(organization.getName() + ";"); |
| | | logUtils.saveOperationForManage(content.toString(), Constants.INSERT_OPERATE_TYPE); |
| | | LogUtils.saveOperationForManage(content.toString(), Constants.INSERT_OPERATE_TYPE); |
| | | } |
| | | |
| | | public void updateLog(Organization oldOrganization, Organization newOrganization) { |
| | |
| | | } |
| | | |
| | | String content = CompareFieldUtils.resultsConvertContent(results, "修改了组织;组织名称:" + oldOrganization.getName()); |
| | | logUtils.saveOperationForManage(content, Constants.UPDATE_OPERATE_TYPE); |
| | | LogUtils.saveOperationForManage(content, Constants.UPDATE_OPERATE_TYPE); |
| | | } |
| | | |
| | | } |