@Test public void testSelectAll() throws Exception { }
@Override public List<Map<String, Object>> selectAll(Long lastCommId) { List<Share> shareList = shareMapper.selectAllWithPage(lastCommId, Settings.PAGE_LOAD_SIZE_10); List<Map<String, Object>> mapList = createShareMapList(null, shareList); return mapList; }
ShareServiceImpl implements IShareService { @Override public List<Map<String, Object>> selectAll(Long lastCommId) { List<Share> shareList = shareMapper.selectAllWithPage(lastCommId, Settings.PAGE_LOAD_SIZE_10); List<Map<String, Object>> mapList = createShareMapList(null, shareList); return mapList; } }
ShareServiceImpl implements IShareService { @Override public List<Map<String, Object>> selectAll(Long lastCommId) { List<Share> shareList = shareMapper.selectAllWithPage(lastCommId, Settings.PAGE_LOAD_SIZE_10); List<Map<String, Object>> mapList = createShareMapList(null, shareList); return mapList; }  }
ShareServiceImpl implements IShareService { @Override public List<Map<String, Object>> selectAll(Long lastCommId) { List<Share> shareList = shareMapper.selectAllWithPage(lastCommId, Settings.PAGE_LOAD_SIZE_10); List<Map<String, Object>> mapList = createShareMapList(null, shareList); return mapList; }  @Override String getUpToken(String suffix); @Override String uploadToQiniu(MultipartFile file); @Override String getUpToken(); @Override boolean isReady(); @Override Share getShare(Long shareId); @Override boolean addShare(Long accountId, Long commId, String desc, List<MultipartFile> imgs); @Override boolean deleteShare(Long shareid); @Override List<Share> selectShare(Long accountid, Long lastshareid, Integer tag); @Override boolean friendsShare(Long account); @Override List<Map<String, Object>> selectByUserAccountId(Long accountId, Long lastCommId); @Override List<Map<String, Object>> selectAll(Long lastCommId); @Override List<Map<String, Object>> selectByCommId(Long commId, Long lastCommId); List<String> imgUrl(Share s); }
ShareServiceImpl implements IShareService { @Override public List<Map<String, Object>> selectAll(Long lastCommId) { List<Share> shareList = shareMapper.selectAllWithPage(lastCommId, Settings.PAGE_LOAD_SIZE_10); List<Map<String, Object>> mapList = createShareMapList(null, shareList); return mapList; }  @Override String getUpToken(String suffix); @Override String uploadToQiniu(MultipartFile file); @Override String getUpToken(); @Override boolean isReady(); @Override Share getShare(Long shareId); @Override boolean addShare(Long accountId, Long commId, String desc, List<MultipartFile> imgs); @Override boolean deleteShare(Long shareid); @Override List<Share> selectShare(Long accountid, Long lastshareid, Integer tag); @Override boolean friendsShare(Long account); @Override List<Map<String, Object>> selectByUserAccountId(Long accountId, Long lastCommId); @Override List<Map<String, Object>> selectAll(Long lastCommId); @Override List<Map<String, Object>> selectByCommId(Long commId, Long lastCommId); List<String> imgUrl(Share s);  }