This commit is contained in:
seesaw
2024-10-21 16:12:47 +08:00
parent 0739786e72
commit c10371842d

View File

@ -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")
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);
}