解除限制

This commit is contained in:
zt
2025-03-12 13:54:35 +08:00
parent d0248fe2d8
commit 4716e9f4be
6 changed files with 62 additions and 21 deletions

View File

@ -1,17 +1,17 @@
package cn.iocoder.yudao.module.pay.dal.mysql.wxprofitsharing;
import java.math.BigDecimal;
import java.util.*;
import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.framework.mybatis.core.query.LambdaQueryWrapperX;
import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.framework.mybatis.core.query.LambdaQueryWrapperX;
import cn.iocoder.yudao.module.pay.controller.admin.wxprofitsharing.vo.WxProfitsharingPageReqVO;
import cn.iocoder.yudao.module.pay.dal.dataobject.refundlog.PayRefundLogDO;
import cn.iocoder.yudao.module.pay.dal.dataobject.wxprofitsharing.WxProfitsharingDO;
import org.apache.ibatis.annotations.Mapper;
import cn.iocoder.yudao.module.pay.controller.admin.wxprofitsharing.vo.*;
import org.apache.ibatis.annotations.Select;
import java.math.BigDecimal;
import java.util.List;
/**
* 微信分账记录 Mapper
*
@ -41,7 +41,7 @@ public interface WxProfitsharingMapper extends BaseMapperX<WxProfitsharingDO> {
@Select("select money from member_recharge_log where DATE(create_time) = DATE_SUB(CURDATE(), INTERVAL 1 DAY) ")
BigDecimal getRechargeLog();
@Select("select wx_amount from member_card where user_id = #{userId} order by create_time desc limit 1")
@Select("select wx_amount from member_user where 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' and deleted = false")