From 62a447d89331aee1feae7724c7616aa1bb2cfe79 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 16 十月 2024 14:28:37 +0800 Subject: [PATCH] 将CMQ替换为rabbitmq --- fanli/src/main/java/com/yeshi/fanli/service/inter/msg/MsgOtherDetailService.java | 103 +++++++++++++++++++++++++++------------------------ 1 files changed, 55 insertions(+), 48 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/msg/MsgOtherDetailService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/msg/MsgOtherDetailService.java index c952cc0..4e97434 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/msg/MsgOtherDetailService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/msg/MsgOtherDetailService.java @@ -1,48 +1,55 @@ -package com.yeshi.fanli.service.inter.msg; - -import java.util.List; - -import com.yeshi.fanli.entity.bus.msg.MsgOtherDetail; -import com.yeshi.fanli.exception.msg.MsgOtherDetailException; - -public interface MsgOtherDetailService { - /** - * 娣诲姞鍒拌鍗曟秷鎭� - * - * @param detail - * @throws MsgOtherDetailException - */ - public void addMsgOtherDetail(MsgOtherDetail detail) throws MsgOtherDetailException; - - /** - * 鏍规嵁璁㈠崟鍙风敤鎴稩D鏇存柊鏁版嵁 - * - * @param detail - * @throws MsgOtherDetailException - */ - public void updateMsgOtherDetail(MsgOtherDetail detail) throws MsgOtherDetailException; - - /** - * 璁㈠崟娑堟伅鍒楄〃 - * - * @param uid - * @param page - * @return - */ - public List<MsgOtherDetail> listMsgOtherDetail(Long uid, int page); - - /** - * 璁㈠崟娑堟伅鏁� - * - * @param uid - * @return - */ - public long countMsgOtherDetail(Long uid); - - /** - * 璁剧疆鎵�鏈夋秷鎭凡璇� - * - * @param uid - */ - public void readMsgByUid(Long uid); -} +package com.yeshi.fanli.service.inter.msg; + +import java.util.List; + +import com.yeshi.fanli.entity.bus.msg.MsgOrderDetail; +import com.yeshi.fanli.entity.bus.msg.MsgOtherDetail; +import com.yeshi.fanli.exception.msg.MsgOtherDetailException; + +public interface MsgOtherDetailService { + /** + * 娣诲姞鍒板叾浠栨秷鎭� + * + * @param detail + * @throws MsgOtherDetailException + */ + public void addMsgOtherDetail(MsgOtherDetail detail) throws MsgOtherDetailException; + + /** + * 鏇存柊鏁版嵁 + * + * @param detail + * @throws MsgOtherDetailException + */ + public void updateMsgOtherDetail(MsgOtherDetail detail) throws MsgOtherDetailException; + + /** + * 鍏朵粬娑堟伅鍒楄〃 + * + * @param uid + * @param page + * @return + */ + public List<MsgOtherDetail> listMsgOtherDetail(Long uid, int page); + + public List<MsgOtherDetail> listDetail(List<Long> ids); + + /** + * 鍏朵粬娑堟伅鏁� + * + * @param uid + * @return + */ + public long countMsgOtherDetail(Long uid); + + /** + * 璁剧疆鎵�鏈夋秷鎭凡璇� + * + * @param uid + */ + public void readMsgByUid(Long uid); + + public void deleteByPrimaryKey(Long id); + + public MsgOtherDetail selectByPrimaryKey(Long id); +} -- Gitblit v1.8.0