退款
This commit is contained in:
@ -44,7 +44,7 @@ public interface WxProfitsharingMapper extends BaseMapperX<WxProfitsharingDO> {
|
|||||||
@Select("select wx_amount from member_card where user_id = #{userId} order by create_time desc limit 1")
|
@Select("select wx_amount from member_card where user_id = #{userId} order by create_time desc limit 1")
|
||||||
BigDecimal getWxAmount(Long userId);
|
BigDecimal getWxAmount(Long userId);
|
||||||
|
|
||||||
@Select("select count(1) from member_dish_order where user_id = #{userId} and order_status = '0'")
|
@Select("select count(1) from member_dish_order where user_id = #{userId} and order_status = '0' and deleted = false")
|
||||||
int orderCount(Long userId);
|
int orderCount(Long userId);
|
||||||
|
|
||||||
}
|
}
|
Reference in New Issue
Block a user