admin
2024-04-26 5e7b0ed4a154ad067cbcf4aa1a1c7cce32f9864c
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/msg/MsgOrderDetailMapper.java
@@ -9,10 +9,29 @@
public interface MsgOrderDetailMapper extends BaseMapper<MsgOrderDetail> {
   MsgOrderDetail selectByUidAndOrderId(@Param("uid") Long uid, @Param("orderId") String orderId);
    MsgOrderDetail selectByUidAndOrderId(@Param("uid") Long uid, @Param("orderId") String orderId);
   List<MsgOrderDetail> listByUid(@Param("uid") Long uid, @Param("start") long start, @Param("count") int count);
    List<MsgOrderDetail> listByUid(@Param("uid") Long uid, @Param("start") long start, @Param("count") int count);
   Long countByUid(@Param("uid") Long uid);
    List<MsgOrderDetail> listByPrimaryKeys(@Param("ids") List<Long> ids);
    List<MsgOrderDetail> listByOrderId(@Param("orderId") String orderId);
    Long countByUid(@Param("uid") Long uid);
    /**
     * 设置消息已读时
     *
     * @param uid
     */
    void setMsgReadByUid(Long uid);
    /**
     * 根据唯一索引查询
     *
     * @param uniqueKey
     * @return
     */
    MsgOrderDetail getByUniqueKey(@Param("uniqueKey") String uniqueKey);
}