zhubaomin
2025-07-03 d730e2a289b38356e28a04b35a0cb2e7b4c6c282
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">