Merge branch 'refs/heads/master' into 支付优化测试

This commit is contained in:
seesaw
2024-10-21 16:14:51 +08:00
3 changed files with 13 additions and 13 deletions

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