package com.yeshi.fanli.dao.mybatis;
|
|
import java.util.List;
|
import java.util.Map;
|
|
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
|
* @param type
|
* @param years
|
* @param startTime
|
* @param endTime
|
* @return
|
*/
|
List<Map<String, Object>> countAuditTotal(@Param("state")Integer state, @Param("type")Integer type,
|
@Param("years")String years, @Param("startTime")String startTime, @Param("endTime")String endTime);
|
|
/**
|
* 统计申请提的现总金额
|
* @param state
|
* @param type
|
* @param years
|
* @param startTime
|
* @param endTime
|
* @return
|
*/
|
List<Map<String, Object>> countExtractMoney(@Param("state")Integer state, @Param("type")Integer type,
|
@Param("years")String years, @Param("startTime")String startTime, @Param("endTime")String endTime);
|
|
/**
|
* 统计申请提的现总次数
|
* @param state
|
* @param type
|
* @param years
|
* @param startTime
|
* @param endTime
|
* @return
|
*/
|
List<Map<String, Object>> countExtractApplyNumber(@Param("state")Integer state, @Param("type")Integer type,
|
@Param("years")String years, @Param("startTime")String startTime, @Param("endTime")String endTime);
|
|
}
|