示例#1
0
 @CacheEvict(value = "folder", allEntries = true)
 public AdminFolder addAdminFolder(long adminId, long folderId) {
   AdminFolder adminFolder = new AdminFolder();
   adminFolder.setAdminId(adminId);
   adminFolder.setFolderId(folderId);
   adminFolder.setCreateTime(new Date());
   adminFolderDao.addAdminFolder(adminFolder);
   return adminFolder;
 }
示例#2
0
 public AdminFolderVo getAdminFolderById(long adminId, long folderId) {
   return adminFolderDao.getAdminFolderById(adminId, folderId);
 }
示例#3
0
 public List<AdminFolderVo> getAdminFolderListById(long adminId) {
   List<AdminFolderVo> list = adminFolderDao.getAdminFolderListById(adminId);
   return list;
 }
示例#4
0
 @CacheEvict(value = "folder", allEntries = true)
 public int deleteAdminFolder(long adminId, long folderId) {
   return adminFolderDao.deleteAdminFolder(adminId, folderId);
 }