liurunyu
11 小时以前 8dcdba2f833fa7dd79169a068ce8b45d380d58a0
修改用水户年用水量统计查询中的bug
1个文件已修改
4 ■■■■ 已修改文件
pipIrr-platform/pipIrr-global/src/main/resources/mapper/StClientAmountYearMapper.xml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pipIrr-platform/pipIrr-global/src/main/resources/mapper/StClientAmountYearMapper.xml
@@ -175,9 +175,11 @@
      <if test="year != null">
        cayTb.`year` = #{year,jdbcType=INTEGER}
      </if>
      <!-- 2025-07-14 的selectClientIds4YearStatisticssselectClientIds4YearStatistics查询中已经用了name条件
      <if test="name != null and name != ''">
        and ctb.name like concat('%', #{clientName}, '%')
      </if>
       -->
    </trim>
    order by ctb.id DESC
    <trim prefix="limit " >
@@ -213,9 +215,11 @@
      <if test="year != null">
        (cayTb.`year` = #{year,jdbcType=INTEGER} or cayTb.`year` is null)
      </if>
      <!-- 2025-07-14 的selectClientIds4YearStatisticssselectClientIds4YearStatistics查询中已经用了name条件
      <if test="name != null and name != ''">
        and ctb.name like concat('%', #{clientName}, '%')
      </if>
       -->
    </trim>
    order by ctb.id DESC
    <!-- 2025-07-14 因为有clientIdsJson限制的数量,所以不再用limit了