From 5e7b0ed4a154ad067cbcf4aa1a1c7cce32f9864c Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 26 四月 2024 18:02:17 +0800 Subject: [PATCH] 唯品会链接解析升级 --- fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserRankingsService.java | 371 +++++++++++++++++++++++++++------------------------- 1 files changed, 190 insertions(+), 181 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserRankingsService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserRankingsService.java index 51d8b63..bc999dc 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserRankingsService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserRankingsService.java @@ -1,181 +1,190 @@ -package com.yeshi.fanli.service.inter.user; - -import java.io.File; -import java.util.List; - -import org.springframework.web.multipart.MultipartFile; - -import com.yeshi.fanli.entity.admin.InviteGetMoney; -import com.yeshi.fanli.entity.bus.user.UserRankings; -import com.yeshi.fanli.exception.UserRankingsException; - -public interface UserRankingsService { - - /** - * 鎻掑叆瀵硅薄 - * - * @param record - * @return - * @throws UserRankingsException - */ - public int insertSelective(UserRankings record) throws UserRankingsException; - - /** - * 鏇存柊褰撳墠瀵硅薄鎵�鏈夋暟鎹� - * - * @param record - * @return - * @throws UserRankingsException - */ - public int updateByPrimaryKey(UserRankings record) throws UserRankingsException; - - /** - * 閫夋嫨鎬ф洿鏂板唴瀹光�斺�斾笉涓虹┖鍒欐洿鏂拌瀛楁 - * - * @param record - * @return - * @throws UserRankingsException - */ - public int updateByPrimaryKeySelective(UserRankings record) throws UserRankingsException; - - /** - * 鏍规嵁id鏌ユ壘褰撳墠瀵硅薄 - * - * @param id - * @return - * @throws UserRankingsException - */ - public UserRankings selectByPrimaryKey(Long id) throws UserRankingsException; - - /** - * 鏍规嵁id鍒犻櫎 - * - * @param ids - */ - public int deleteBatchById(Long id) throws UserRankingsException; - - /** - * 鏍规嵁id鎵归噺鍒犻櫎 - * @param arrayID - * @return - * @throws UserRankingsException - */ - public int deleteBatchByPrimaryKey(List<Long> arrayID) throws UserRankingsException; - - - /** - * 涓婁紶鍥剧墖 - * - * @param file - * @param admin - * @return - * @throws UserRankingsException - */ - public void uploadPicture(MultipartFile file, UserRankings UserRankings) throws Exception; - - - /** - * 淇濆瓨淇℃伅骞朵笂浼犲浘鐗囨枃浠� - * @param record - * @return - * @throws UserRankingsException - */ - public void insertAndUploadFile(UserRankings record, MultipartFile file) throws Exception; - - /** - * 鏍规嵁鏄电О鏌ヨ - * @param nickName - * @return - * @throws UserRankingsException - */ - public List<UserRankings> selectByNickName(String nickName) throws UserRankingsException; - - /** - * 鏍规嵁鏄剧ずID鏌ヨ - * @param nickName - * @return - * @throws UserRankingsException - */ - public List<UserRankings> selectByShowId(String showId) throws UserRankingsException; - - - - /** - * 鏌ヨ鎵�鏈夊垪琛� - * @param pageIndex - * @param pageSize - * @param key - * @param sort - * @return - * @throws UserRankingsException - */ - public List<UserRankings> query(long start, int count, String key, Integer tradeState, Integer shareState, Integer sort) throws UserRankingsException; - - public long queryCount(String key, Integer tradeState, Integer shareState) throws UserRankingsException; - - /** - * 鍒犻櫎鍥剧墖 - * @param userRankings - * @throws Exception - */ - public void removePicture(UserRankings userRankings) throws Exception; - - /** - * 鎵归噺璁剧疆濂栭噾 - * @param idList - * @param type 1鑷喘濂栭噾 2 鍒嗕韩濂栭噾 - * @param reward - * @param startReward - * @param endReward - * @throws Exception - */ - public void setRewardtBatch(List<Long> idList, Integer type, Double reward, Double startReward, Double endReward) throws Exception; - - /** - * 鎵归噺淇敼鐘舵�� - * @param idList - * @param type - * @param state - * @throws Exception - */ - public void setStateBatch(List<Long> idList, Integer type, Integer state) throws Exception; - - public void uploadFile(File file) throws Exception; - - public void updateShowID(File file) throws Exception; - - public void batchUpNickName(File file) throws Exception; - - /** - * 鏍规嵁id闆嗗悎鏌ヨ瀵瑰簲鏁版嵁 - * @param ids - * @return - * @throws UserRankingsException - */ - public List<UserRankings> listQueryByIds(List<Long> ids) throws UserRankingsException; - - - /** - * 鎵归噺閫夋嫨鏇存柊 - * @param list - * @return - * @throws UserRankingsException - */ - public int updateBatchSelective(List<UserRankings> list) throws UserRankingsException; - - /** - * 鍓嶇鎺掕姒� - * @param start - * @param count - * @return - */ - public List<InviteGetMoney> getRank(long start, int count); - - /** - * - * @throws UserRankingsException - */ - public void updateClearTradeState() throws UserRankingsException; - - -} +package com.yeshi.fanli.service.inter.user; + +import java.io.File; +import java.util.List; + +import org.springframework.web.multipart.MultipartFile; + +import com.yeshi.fanli.dto.money.InviteGetMoney; +import com.yeshi.fanli.entity.bus.user.UserRankings; +import com.yeshi.fanli.exception.user.UserRankingsException; + +public interface UserRankingsService { + + /** + * 鎻掑叆瀵硅薄 + * + * @param record + * @return + * @throws UserRankingsException + */ + public int insertSelective(UserRankings record) throws UserRankingsException; + + /** + * 鏇存柊褰撳墠瀵硅薄鎵�鏈夋暟鎹� + * + * @param record + * @return + * @throws UserRankingsException + */ + public int updateByPrimaryKey(UserRankings record) throws UserRankingsException; + + /** + * 閫夋嫨鎬ф洿鏂板唴瀹光�斺�斾笉涓虹┖鍒欐洿鏂拌瀛楁 + * + * @param record + * @return + * @throws UserRankingsException + */ + public int updateByPrimaryKeySelective(UserRankings record) throws UserRankingsException; + + /** + * 鏍规嵁id鏌ユ壘褰撳墠瀵硅薄 + * + * @param id + * @return + * @throws UserRankingsException + */ + public UserRankings selectByPrimaryKey(Long id) throws UserRankingsException; + + /** + * 鏍规嵁id鍒犻櫎 + * + * @param ids + */ + public int deleteBatchById(Long id) throws UserRankingsException; + + /** + * 鏍规嵁id鎵归噺鍒犻櫎 + * @param arrayID + * @return + * @throws UserRankingsException + */ + public int deleteBatchByPrimaryKey(List<Long> arrayID) throws UserRankingsException; + + + /** + * 涓婁紶鍥剧墖 + * + * @param file + * @param admin + * @return + * @throws UserRankingsException + */ + public void uploadPicture(MultipartFile file, UserRankings UserRankings) throws Exception; + + + /** + * 淇濆瓨淇℃伅骞朵笂浼犲浘鐗囨枃浠� + * @param record + * @return + * @throws UserRankingsException + */ + public void insertAndUploadFile(UserRankings record, MultipartFile file) throws Exception; + + /** + * 鏍规嵁鏄电О鏌ヨ + * @param nickName + * @return + * @throws UserRankingsException + */ + public List<UserRankings> selectByNickName(String nickName) throws UserRankingsException; + + /** + * 鏍规嵁鏄剧ずID鏌ヨ + * @param nickName + * @return + * @throws UserRankingsException + */ + public List<UserRankings> selectByShowId(String showId) throws UserRankingsException; + + + + /** + * 鏌ヨ鎵�鏈夊垪琛� + * @param pageIndex + * @param pageSize + * @param key + * @param sort + * @return + * @throws UserRankingsException + */ + public List<UserRankings> query(long start, int count, String key, Integer tradeState, Integer shareState, Integer sort) ; + + public long queryCount(String key, Integer tradeState, Integer shareState) throws UserRankingsException; + + /** + * 鍒犻櫎鍥剧墖 + * @param userRankings + * @throws Exception + */ + public void removePicture(UserRankings userRankings) throws Exception; + + /** + * 鎵归噺璁剧疆濂栭噾 + * @param idList + * @param type 1鑷喘濂栭噾 2 鍒嗕韩濂栭噾 + * @param reward + * @param startReward + * @param endReward + * @throws Exception + */ + public void setRewardtBatch(List<Long> idList, Integer type, Double reward, Double startReward, Double endReward) throws Exception; + + /** + * 鎵归噺淇敼鐘舵�� + * @param idList + * @param type + * @param state + * @throws Exception + */ + public void setStateBatch(List<Long> idList, Integer type, Integer state) throws Exception; + + public void uploadFile(File file) throws Exception; + + public void updateShowID(File file) throws Exception; + + public void batchUpNickName(File file) throws Exception; + + /** + * 鏍规嵁id闆嗗悎鏌ヨ瀵瑰簲鏁版嵁 + * @param ids + * @return + * @throws UserRankingsException + */ + public List<UserRankings> listQueryByIds(List<Long> ids) throws UserRankingsException; + + + /** + * 鎵归噺閫夋嫨鏇存柊 + * @param list + * @return + * @throws UserRankingsException + */ + public int updateBatchSelective(List<UserRankings> list) throws UserRankingsException; + + /** + * 鍓嶇鎺掕姒� + * @param start + * @param count + * @return + */ + public List<InviteGetMoney> getRank(long start, int count); + + /** + * + * @throws UserRankingsException + */ + public void updateClearTradeState() throws UserRankingsException; + + + public List<UserRankings> getRankList(long start, int count); + + + /** + * 娓呯┖閲戦 + */ + public void clearShareReward(); + + +} -- Gitblit v1.8.0