From 5ade866b912c6098da132afb23d175e016de6c9f Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期二, 06 五月 2025 09:36:07 +0800
Subject: [PATCH] 取水口查询排序规则调整
---
pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrIntakeMapper.xml | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrIntakeMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrIntakeMapper.xml
index c4b2f4f..5852ca9 100644
--- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrIntakeMapper.xml
+++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrIntakeMapper.xml
@@ -378,7 +378,7 @@
AND bindNumTb.num = #{bindNumber}
</if>
</where>
- ORDER BY ge.operateDt DESC
+ ORDER BY ge.divideId DESC, ge.id DESC
<trim prefix="limit ">
<if test="start != null and count != null">
#{start,javaType=Integer,jdbcType=INTEGER}, #{count,javaType=Integer,jdbcType=INTEGER}
@@ -774,8 +774,8 @@
FROM pr_intake tb
<where>
tb.deleted = 0
- <if test="intakeName != null and intakeName != ''">
- AND tb.name LIKE CONCAT('%', #{intakeName})
+ <if test="intakeNum != null and intakeNum != ''">
+ AND tb.name LIKE CONCAT('%', #{intakeNum})
</if>
</where>
</select>
@@ -790,8 +790,8 @@
INNER JOIN pr_controller con ON con.intakeId = inta.id
<where>
inta.deleted = 0
- <if test="intakeName != null and intakeName != ''">
- AND inta.name LIKE CONCAT('%', #{intakeName})
+ <if test="intakeNum != null and intakeNum != ''">
+ AND inta.name LIKE CONCAT('%', #{intakeNum})
</if>
</where>
ORDER BY inta.id DESC
--
Gitblit v1.8.0