zhubaomin
2025-04-08 5f54ba90abcc0ccf1b578472eac54fc98056767c
pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SeVcOperateMapper.java
New file
@@ -0,0 +1,79 @@
package com.dy.pipIrrGlobal.daoSe;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dy.pipIrrGlobal.pojoSe.SeVcOperate;
import com.dy.pipIrrGlobal.voSt.VoClientStatistics;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import java.util.Map;
/**
 * @author ZhuBaoMin
 * @date 2024-08-10 10:15
 * @LastEditTime 2024-08-10 10:15
 * @Description
 */
@Mapper
public interface SeVcOperateMapper extends BaseMapper<SeVcOperate> {
    int deleteByPrimaryKey(Long id);
    int insert(SeVcOperate record);
    int insertSelective(SeVcOperate record);
    SeVcOperate selectByPrimaryKey(Long id);
    int updateByPrimaryKeySelective(SeVcOperate record);
    int updateByPrimaryKey(SeVcOperate record);
    /**
     * 指定时间段内注册虚拟卡的农户记录数量
     * @param params
     * @return
     */
    Long getRegisterVcClientsCount(Map<?, ?> params);
    /**
     * 指定时间段内注册虚拟卡的农户
     * @param params
     * @return
     */
    List<VoClientStatistics> getRegisterVcClients(Map<?, ?> params);
    /**
     * 指定时间段内注册总数量
     * @param params
     * @return
     */
    Long getRegisterCount(Map<?, ?> params);
    /**
     * 指定时间段充值总数量
     * @param params
     * @return
     */
    Long getRechargeCount(Map<?, ?> params);
    /**
     * 当前余额总量
     * @return
     */
    Double getTotalBalance();
    /**
     * 指定时间段内虚拟卡充值金额超过指定值的农户记录数量
     * @param params
     * @return
     */
    Long getLargeRechargeClientsCount(Map<?, ?> params);
    /**
     * 指定时间段内虚拟卡充值金额超过指定值的农户
     * @param params
     * @return
     */
    List<VoClientStatistics> getLargeRechargeClients(Map<?, ?> params);
}