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/msg/MsgAccountDetailService.java | 111 +++++++++++++++++++++++++++++-------------------------- 1 files changed, 59 insertions(+), 52 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/msg/MsgAccountDetailService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/msg/MsgAccountDetailService.java index ed7eb77..3d4fd6b 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/msg/MsgAccountDetailService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/msg/MsgAccountDetailService.java @@ -1,52 +1,59 @@ -package com.yeshi.fanli.service.inter.user.msg; - -import java.util.List; - -import com.yeshi.fanli.dto.msg.MsgAccountVipDTO; -import com.yeshi.fanli.entity.bus.msg.MsgAccountDetail; -import com.yeshi.fanli.exception.msg.MsgAccountDetailException; - -public interface MsgAccountDetailService { - - /** - * 娣诲姞鍒拌处鎴锋秷鎭� - * - * @param detail - * @throws MsgAccountDetailException - */ - public void addMsgAccountDetail(MsgAccountDetail detail) throws MsgAccountDetailException; - - /** - * 璐︽埛娑堟伅鍒楄〃 - * - * @param uid - * @param page - * @return - */ - public List<MsgAccountDetail> listMsgAccountDetail(Long uid, int page); - - /** - * 璐︽埛娑堟伅鏁� - * - * @param uid - * @return - */ - public long countMsgAccountDetail(Long uid); - - /** - * 璁剧疆鎵�鏈夋秷鎭凡璇� - * - * @param uid - */ - public void readMsgByUid(Long uid); - - /** - * 浼氬憳鍗囩骇娑堟伅 - * @param uid - * @param title - * @param beiZhu - * @param dto - */ - public void addMsgVIP(Long uid, String title, String beiZhu, MsgAccountVipDTO dto); - -} +package com.yeshi.fanli.service.inter.user.msg; + +import java.util.List; + +import com.yeshi.fanli.dto.msg.MsgAccountVipDTO; +import com.yeshi.fanli.entity.bus.msg.MsgAccountDetail; +import com.yeshi.fanli.exception.msg.MsgAccountDetailException; + +public interface MsgAccountDetailService { + + /** + * 娣诲姞鍒拌处鎴锋秷鎭� + * + * @param detail + * @throws MsgAccountDetailException + */ + public void addMsgAccountDetail(MsgAccountDetail detail) throws MsgAccountDetailException; + + /** + * 璐︽埛娑堟伅鍒楄〃 + * + * @param uid + * @param page + * @return + */ + public List<MsgAccountDetail> listMsgAccountDetail(Long uid, int page); + + + public List<MsgAccountDetail> listDetail(List<Long> ids); + + /** + * 璐︽埛娑堟伅鏁� + * + * @param uid + * @return + */ + public long countMsgAccountDetail(Long uid); + + /** + * 璁剧疆鎵�鏈夋秷鎭凡璇� + * + * @param uid + */ + public void readMsgByUid(Long uid); + + /** + * 浼氬憳鍗囩骇娑堟伅 + * @param uid + * @param title + * @param beiZhu + * @param dto + */ + public void addMsgVIP(Long uid, String title, String beiZhu, MsgAccountVipDTO dto); + + public void deleteByPrimaryKey(Long id); + + public MsgAccountDetail selectByPrimaryKey(Long id); + +} -- Gitblit v1.8.0