admin
2024-04-26 5e7b0ed4a154ad067cbcf4aa1a1c7cce32f9864c
fanli/src/main/java/com/yeshi/fanli/service/inter/msg/MsgOtherDetailService.java
@@ -1,52 +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;
   /**
    * 更新数据
    *
    * @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);
   public void deleteByPrimaryKey(Long id);
   public MsgOtherDetail selectByPrimaryKey(Long id);
}
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);
}