liurunyu
8 天以前 c107112fcbe4262077d9f1fb6382e635d9c89dcc
pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmSoilDayMapper.xml
@@ -77,7 +77,6 @@
    limit 0,1
  </select>
  <!--根据指定条件获取记录-->
  <select id="selectOneBySoilId" resultType="com.dy.pipIrrGlobal.voRm.VoSoilDay">
    select
@@ -94,7 +93,23 @@
    limit 0,1
  </select>
  <!--根据指定条件获取记录-->
  <select id="selectOneMonthBySoilId" resultType="com.dy.pipIrrGlobal.voRm.VoSoilDay">
    select
    <include refid="Part_Column_List" />
    from rm_soil_day
    <where>
      <if test="soilId != null">
        and soil_id = #{soilId}
      </if>
      <if test="ymdStart != null">
        and ymd &gt;= #{ymdStart}
      </if>
      <if test="ymdEnd != null">
        and ymd &lt;= #{ymdEnd}
      </if>
    </where>
  </select>
  <!--根据指定条件查询记录数量-->
  <select id="selectCount" resultType="java.lang.Long">