<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="admin.modules.analysis.service.mapper.OrderAnalysisInfoMapper">

  <!-- 通用查询结果列 -->
  <!--
  <sql id="Base_Column_List">
      a.id, a.time_interval, a.cloud_identify_num, a.cloud_identify_repair_num, a.order_repair_num, a.submit_manual_processing_num, a.processing_rate, a.daily_ring_ratio
  </sql>
  -->
  <select id="findByPage" resultType="admin.modules.analysis.service.dto.OrderAnalysisInfoDto">
    select *
    from order_analysis_info where `time_interval` between #{startDate} and #{endDate} limit #{page},#{size};
  </select>

  <select id="findCount" resultType="java.lang.Integer">
    select count(*)
    from order_analysis_info where  `time_interval` between #{startDate} and #{endDate};
  </select>
</mapper>