From 190d6bc6aa7e4ca33c281bd9785339f3bddaf11e Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 08 五月 2021 12:43:37 +0800 Subject: [PATCH] bug修复 --- fanli/src/main/java/com/yeshi/fanli/dao/mybatis/msg/MsgOrderDetailMapper.java | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/msg/MsgOrderDetailMapper.java b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/msg/MsgOrderDetailMapper.java index 6742f6e..5cc8164 100644 --- a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/msg/MsgOrderDetailMapper.java +++ b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/msg/MsgOrderDetailMapper.java @@ -12,7 +12,24 @@ 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> 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); } \ No newline at end of file -- Gitblit v1.8.0