| | |
| | | package com.yeshi.fanli.dao.mybatis;
|
| | |
|
| | | import java.math.BigDecimal;
|
| | | import java.util.List;
|
| | |
|
| | | import org.apache.ibatis.annotations.Param;
|
| | |
|
| | | import com.yeshi.fanli.dto.ChartTDO;
|
| | | import com.yeshi.fanli.entity.bus.user.ExtractAuditRecord;
|
| | |
|
| | | public interface ExtractAuditRecordMapper {
|
| | |
|
| | | int deleteByPrimaryKey(Long id);
|
| | |
|
| | | int insert(ExtractAuditRecord record);
|
| | |
|
| | | int insertSelective(ExtractAuditRecord record);
|
| | |
|
| | | ExtractAuditRecord selectByPrimaryKey(Long id);
|
| | |
|
| | | int updateByPrimaryKeySelective(ExtractAuditRecord record);
|
| | |
|
| | | int updateByPrimaryKey(ExtractAuditRecord record);
|
| | |
|
| | | List<ExtractAuditRecord> getbyExtractId(Long extractId);
|
| | | |
| | | List<ExtractAuditRecord> getListbyExtractId(Long extractId);
|
| | | |
| | | |
| | | /**
|
| | | * 查询所有提现记录信息
|
| | | * |
| | | * @param start
|
| | | * @param count
|
| | | * @param title
|
| | | * @param startTime
|
| | | * @param endTime
|
| | | * @return
|
| | | */
|
| | | List<ExtractAuditRecord> getList(@Param("start") long start,
|
| | | @Param("count") int count, @Param("key") String title,
|
| | | @Param("startTime") String startTime,
|
| | | @Param("endTime") String endTime);
|
| | |
|
| | | /**
|
| | | * 查询所有提现记录信息总行数
|
| | | * |
| | | * @param title
|
| | | * @param startTime
|
| | | * @param endTime
|
| | | * @return
|
| | | */
|
| | | int getCount(@Param("key") String title,
|
| | | @Param("startTime") String startTime,
|
| | | @Param("endTime") String endTime);
|
| | |
|
| | | /**
|
| | | * 查询当前客服审批的所有记录
|
| | | * |
| | | * @param start
|
| | | * @param count
|
| | | * @param title
|
| | | * @param state
|
| | | * @return
|
| | | */
|
| | | List<ExtractAuditRecord> getMyAuditedAllList(@Param("start") int start,
|
| | | @Param("count") int count, @Param("key") String title,
|
| | | @Param("state") Integer state, @Param("adminId") Long adminId);
|
| | |
|
| | | /**
|
| | | * 当前客服审批总数
|
| | | * |
| | | * @param title
|
| | | * @param state
|
| | | * @param adminId
|
| | | * @return
|
| | | */
|
| | | int getMyAuditedAllCount(@Param("key") String title,
|
| | | @Param("state") Integer state, @Param("adminId") Long adminId);
|
| | |
|
| | | /**
|
| | | * 查询当前客服审批的时间段内记录
|
| | | * |
| | | * @param start
|
| | | * @param count
|
| | | * @param title
|
| | | * @param state
|
| | | * @return
|
| | | */
|
| | | List<ExtractAuditRecord> getMyAuditedTimeSlotList(@Param("start") int start, @Param("count") int count,
|
| | | @Param("key") String title, @Param("state") Integer state, @Param("adminId") Long adminId,
|
| | | @Param("days") Integer days);
|
| | |
|
| | | |
| | | /**
|
| | | * 查询当前客服审批的时间段内总条数
|
| | | * @param title
|
| | | * @param state
|
| | | * @param adminId
|
| | | * @return
|
| | | */
|
| | | int getMyAuditedTimeSlotCount(@Param("key") String title, @Param("state") Integer state, |
| | | @Param("adminId") Long adminId,@Param("days") Integer days);
|
| | | |
| | | |
| | | /**
|
| | | * 查询当前客服累计本周
|
| | | * @param adminId
|
| | | * @return
|
| | | */
|
| | | int getMyAuditedCountWeek(@Param("adminId") Long adminId);
|
| | | |
| | | /**
|
| | | * 查询当前客服累计本月
|
| | | * @param adminId
|
| | | * @return
|
| | | */
|
| | | int getMyAuditedCountMonth(@Param("adminId") Long adminId);
|
| | | |
| | | /**
|
| | | * 查询当前客服当日处理累计
|
| | | * @param adminId
|
| | | * @return
|
| | | */
|
| | | int getMyAuditedCountToday(@Param("adminId") Long adminId);
|
| | | |
| | | |
| | | /**
|
| | | * 查询账户提现记录信息
|
| | | * |
| | | */
|
| | | List<ExtractAuditRecord> getByUidList(@Param("start") int start,
|
| | | @Param("count") int count, @Param("uid") Long uid);
|
| | | |
| | | /**
|
| | | * 查询账户提现记录信息
|
| | | * |
| | | */
|
| | | int getByUidCount(@Param("uid") Long uid);
|
| | | |
| | |
|
| | | /**
|
| | | * 统计审核次数 |
| | | * @param state
|
| | | * @return
|
| | | */
|
| | | int countAuditTotal(@Param("state")Integer state, @Param("preDay") String preDay);
|
| | | |
| | | /**
|
| | | * 统计申请提的现总金额
|
| | | * @param state
|
| | | * @return
|
| | | */
|
| | | BigDecimal countApplyExtractMoney(@Param("preDay") String preDay);
|
| | | |
| | | /**
|
| | | * 统计申请提的现总次数
|
| | | * @param preDay
|
| | | * @return
|
| | | */
|
| | | int countApplyNumberByDay(@Param("preDay") String preDay);
|
| | | |
| | | }
|
| | | package com.yeshi.fanli.dao.mybatis; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.List; |
| | | |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import com.yeshi.fanli.entity.bus.user.ExtractAuditRecord; |
| | | |
| | | public interface ExtractAuditRecordMapper { |
| | | |
| | | int deleteByPrimaryKey(Long id); |
| | | |
| | | int insert(ExtractAuditRecord record); |
| | | |
| | | int insertSelective(ExtractAuditRecord record); |
| | | |
| | | ExtractAuditRecord selectByPrimaryKey(Long id); |
| | | |
| | | int updateByPrimaryKeySelective(ExtractAuditRecord record); |
| | | |
| | | int updateByPrimaryKey(ExtractAuditRecord record); |
| | | |
| | | List<ExtractAuditRecord> getbyExtractId(Long extractId); |
| | | |
| | | List<ExtractAuditRecord> getListbyExtractId(Long extractId); |
| | | |
| | | |
| | | /** |
| | | * 查询所有提现记录信息 |
| | | * |
| | | * @param start |
| | | * @param count |
| | | * @param title |
| | | * @param startTime |
| | | * @param endTime |
| | | * @return |
| | | */ |
| | | List<ExtractAuditRecord> getList(@Param("start") long start, |
| | | @Param("count") int count, @Param("key") String title, |
| | | @Param("startTime") String startTime, |
| | | @Param("endTime") String endTime); |
| | | |
| | | /** |
| | | * 查询所有提现记录信息总行数 |
| | | * |
| | | * @param title |
| | | * @param startTime |
| | | * @param endTime |
| | | * @return |
| | | */ |
| | | int getCount(@Param("key") String title, |
| | | @Param("startTime") String startTime, |
| | | @Param("endTime") String endTime); |
| | | |
| | | /** |
| | | * 查询当前客服审批的所有记录 |
| | | * |
| | | * @param start |
| | | * @param count |
| | | * @param title |
| | | * @param state |
| | | * @return |
| | | */ |
| | | List<ExtractAuditRecord> getMyAuditedAllList(@Param("start") int start, |
| | | @Param("count") int count, @Param("key") String title, |
| | | @Param("state") Integer state, @Param("adminId") Long adminId); |
| | | |
| | | /** |
| | | * 当前客服审批总数 |
| | | * |
| | | * @param title |
| | | * @param state |
| | | * @param adminId |
| | | * @return |
| | | */ |
| | | int getMyAuditedAllCount(@Param("key") String title, |
| | | @Param("state") Integer state, @Param("adminId") Long adminId); |
| | | |
| | | /** |
| | | * 查询当前客服审批的时间段内记录 |
| | | * |
| | | * @param start |
| | | * @param count |
| | | * @param title |
| | | * @param state |
| | | * @return |
| | | */ |
| | | List<ExtractAuditRecord> getMyAuditedTimeSlotList(@Param("start") int start, @Param("count") int count, |
| | | @Param("key") String title, @Param("state") Integer state, @Param("adminId") Long adminId, |
| | | @Param("days") Integer days); |
| | | |
| | | |
| | | /** |
| | | * 查询当前客服审批的时间段内总条数 |
| | | * @param title |
| | | * @param state |
| | | * @param adminId |
| | | * @return |
| | | */ |
| | | int getMyAuditedTimeSlotCount(@Param("key") String title, @Param("state") Integer state, |
| | | @Param("adminId") Long adminId,@Param("days") Integer days); |
| | | |
| | | |
| | | /** |
| | | * 查询当前客服累计本周 |
| | | * @param adminId |
| | | * @return |
| | | */ |
| | | int getMyAuditedCountWeek(@Param("adminId") Long adminId); |
| | | |
| | | /** |
| | | * 查询当前客服累计本月 |
| | | * @param adminId |
| | | * @return |
| | | */ |
| | | int getMyAuditedCountMonth(@Param("adminId") Long adminId); |
| | | |
| | | /** |
| | | * 查询当前客服当日处理累计 |
| | | * @param adminId |
| | | * @return |
| | | */ |
| | | int getMyAuditedCountToday(@Param("adminId") Long adminId); |
| | | |
| | | |
| | | /** |
| | | * 查询账户提现记录信息 |
| | | * |
| | | */ |
| | | List<ExtractAuditRecord> getByUidList(@Param("start") int start, |
| | | @Param("count") int count, @Param("uid") Long uid); |
| | | |
| | | /** |
| | | * 查询账户提现记录信息 |
| | | * |
| | | */ |
| | | int getByUidCount(@Param("uid") Long uid); |
| | | |
| | | |
| | | /** |
| | | * 统计审核次数 |
| | | * @param state |
| | | * @return |
| | | */ |
| | | Long countAuditTotal(@Param("state")Integer state, @Param("preDay") String preDay); |
| | | |
| | | /** |
| | | * 统计申请提的现总金额 |
| | | * @param state |
| | | * @return |
| | | */ |
| | | BigDecimal countApplyExtractMoney(@Param("preDay") String preDay); |
| | | |
| | | /** |
| | | * 统计申请提的现总次数 |
| | | * @param preDay |
| | | * @return |
| | | */ |
| | | Long countApplyNumberByDay(@Param("preDay") String preDay); |
| | | |
| | | } |