| | |
| | | @Autowired(required = false) |
| | | private DeviceMapper deviceMapper; |
| | | |
| | | @Autowired |
| | | private LogUtils logUtils; |
| | | |
| | | @Override |
| | | public List<Map<String, Object>> getData(Map map) { |
| | | int organization_id = Integer.parseInt(map.get("organization_id").toString()); |
| | |
| | | content = content +organizationLayout.getId()+" "; |
| | | } |
| | | content = content+";"; |
| | | logUtils.saveOperationForManage(request,content,Constants.DELETE_OPERATE_TYPE); |
| | | LogUtils.saveOperationForManage(request,content,Constants.DELETE_OPERATE_TYPE); |
| | | } |
| | | if (!ObjectUtils.isEmpty(list) && list.size()>0){ |
| | | organizationLayoutMapper.insertList(list); |
| | |
| | | contentInsert = contentInsert + organizationLayout.getId()+" "; |
| | | } |
| | | contentInsert = contentInsert+";"; |
| | | logUtils.saveOperationForManage(request,contentInsert,Constants.INSERT_OPERATE_TYPE); |
| | | LogUtils.saveOperationForManage(request,contentInsert,Constants.INSERT_OPERATE_TYPE); |
| | | } |
| | | } |
| | | |