@Test public void testSelectShare() throws Exception { }
@Override public List<Share> selectShare(Long accountid, Long lastshareid, Integer tag) { Share share = new Share(); if (tag == Settings.INITIALIZE_ENTER_STATUS) { share.setUserAccountId(accountid); return shareMapper.select(share); } else if (tag == Settings.DROP_DOWN_REFRESH) { return null; } return null; }
ShareServiceImpl implements IShareService { @Override public List<Share> selectShare(Long accountid, Long lastshareid, Integer tag) { Share share = new Share(); if (tag == Settings.INITIALIZE_ENTER_STATUS) { share.setUserAccountId(accountid); return shareMapper.select(share); } else if (tag == Settings.DROP_DOWN_REFRESH) { return null; } return null; } }
ShareServiceImpl implements IShareService { @Override public List<Share> selectShare(Long accountid, Long lastshareid, Integer tag) { Share share = new Share(); if (tag == Settings.INITIALIZE_ENTER_STATUS) { share.setUserAccountId(accountid); return shareMapper.select(share); } else if (tag == Settings.DROP_DOWN_REFRESH) { return null; } return null; }  }
ShareServiceImpl implements IShareService { @Override public List<Share> selectShare(Long accountid, Long lastshareid, Integer tag) { Share share = new Share(); if (tag == Settings.INITIALIZE_ENTER_STATUS) { share.setUserAccountId(accountid); return shareMapper.select(share); } else if (tag == Settings.DROP_DOWN_REFRESH) { return null; } return null; }  @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<Share> selectShare(Long accountid, Long lastshareid, Integer tag) { Share share = new Share(); if (tag == Settings.INITIALIZE_ENTER_STATUS) { share.setUserAccountId(accountid); return shareMapper.select(share); } else if (tag == Settings.DROP_DOWN_REFRESH) { return null; } return null; }  @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);  }