package cn.gistack.sm.intelligentCall.mapper; import cn.gistack.sm.intelligentCall.vo.CallTaskResultVO; import cn.gistack.sm.intelligentCall.vo.CallTaskStatistic; import com.baomidou.dynamic.datasource.annotation.DS; import com.baomidou.mybatisplus.annotation.InterceptorIgnore; import com.baomidou.mybatisplus.core.metadata.IPage; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.List; /** * @author zhongrj * @date 2023-04-25 */ @Mapper public interface CallTaskMapper{ /** * 查詢任务列表数据 * @param page * @param callTask * @return */ @DS("ztznwh") @InterceptorIgnore(tenantLine = "true") List getCallListPage(@Param("page") IPage page, @Param("callTask") CallTaskStatistic callTask); /** * 查询呼叫详情列表信息 * @param callTaskResult * @param page * @return */ @DS("ztznwh") @InterceptorIgnore(tenantLine = "true") List getCallTaskResultListPage(@Param("page") IPage page, @Param("callTaskResult") CallTaskResultVO callTaskResult, @Param("list") List list, @Param("idsList") List idsList); /** * 通过水库编码获取行政区名称 * @param adCode * @return */ @DS("zt") String getAreaNameByAdCode(@Param("adCode") String adCode); /** * 通过行政区编号获取水库名称 * @param adCode * @return */ @DS("zt") List getWaterNameByAreaCode(@Param("adCode") String adCode); /** * 查询所有下级区域 * @param areaCode * @return */ @DS("zt") List getAllChildrenAreaByAreaCode(@Param("areaCode") String areaCode); /** * 查询智能外呼统计数据-按日期-行政区统计 * @param callTaskStatistic * @return */ @DS("zt") List getOutgoingStatisticList(@Param("page") IPage page, @Param("callTaskStatistic") CallTaskStatistic callTaskStatistic, @Param("list") List list); /** * 查询智能外呼统计数据-行政区统计 * @param callTaskStatistic * @return */ @DS("zt") List getOutgoingStatisticByArea(@Param("callTaskStatistic") CallTaskStatistic callTaskStatistic); }