| | |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.dy.pipIrrGlobal.daoAllRound.Ar4StatisticsMapper"> |
| | | |
| | | <select id="openCloseRecords" resultType="com.dy.pipIrrGlobal.VoAllRound.VoArIntakeOpenCloseValve"> |
| | | <select id="openCloseRecords" resultType="com.dy.pipIrrGlobal.voAllRound.VoArIntakeOpenCloseValve"> |
| | | select |
| | | tb.intake_id as intakeId, |
| | | sec.id as clientId, |
| | |
| | | </select> |
| | | |
| | | |
| | | <select id="lossDayRecords" resultType="com.dy.pipIrrGlobal.VoAllRound.VoArIntakeLossDay"> |
| | | <select id="lossDayRecords" resultType="com.dy.pipIrrGlobal.voAllRound.VoArIntakeLossDay"> |
| | | select |
| | | tb.intake_id as intakeId, |
| | | tb.dt AS dt, |
| | |
| | | </select> |
| | | |
| | | |
| | | <select id="lossMonthRecords" resultType="com.dy.pipIrrGlobal.VoAllRound.VoArIntakeLossMonth"> |
| | | <select id="lossMonthRecords" resultType="com.dy.pipIrrGlobal.voAllRound.VoArIntakeLossMonth"> |
| | | select |
| | | tb.intake_id as intakeId, |
| | | CONCAT(tb.year, '-', tb.month) AS dt, |
| | |
| | | |
| | | |
| | | |
| | | <select id="amountDayRecords" resultType="com.dy.pipIrrGlobal.VoAllRound.VoArIntakeAmountDay"> |
| | | <select id="amountDayRecords" resultType="com.dy.pipIrrGlobal.voAllRound.VoArIntakeAmountDay"> |
| | | select |
| | | tb.intake_id as intakeId, |
| | | tb.dt AS dt, |
| | |
| | | </select> |
| | | |
| | | |
| | | <select id="amountMonthRecords" resultType="com.dy.pipIrrGlobal.VoAllRound.VoArIntakeAmountMonth"> |
| | | <select id="amountMonthRecords" resultType="com.dy.pipIrrGlobal.voAllRound.VoArIntakeAmountMonth"> |
| | | select |
| | | tb.intake_id as intakeId, |
| | | CONCAT(tb.year, '-', tb.month) AS dt, |