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E7=99=BB=E5=BD=95=E4=BA=BA=E7=9A=84=E5=A7=93=E5=90=8D=E4=BD=9C?=
=?UTF-8?q?=E4=B8=BA=E5=B7=A5=E7=A8=8B=E5=91=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../mapper/system/SysProductModelMapper.xml | 19 ++++++++++---------
.../resources/templates/system/model/add.html | 12 ++++++++++++
2 files changed, 22 insertions(+), 9 deletions(-)
diff --git a/ruoyi-admin/src/main/resources/mapper/system/SysProductModelMapper.xml b/ruoyi-admin/src/main/resources/mapper/system/SysProductModelMapper.xml
index 6fbf487c..0f902ab1 100644
--- a/ruoyi-admin/src/main/resources/mapper/system/SysProductModelMapper.xml
+++ b/ruoyi-admin/src/main/resources/mapper/system/SysProductModelMapper.xml
@@ -43,16 +43,17 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
)file
on s.pid = file.rel_id
- and pcode like concat('%', #{pcode}, '%')
- and equipModel like concat('%', #{equipModel}, '%')
- and equipName like concat('%', #{equipName}, '%')
- and specification like concat('%', #{specification}, '%')
- and differences like concat('%', #{differences}, '%')
+ and s.pcode like concat('%', #{pcode}, '%')
+ and s.equipModel like concat('%', #{equipModel}, '%')
+ and s.equipName like concat('%', #{equipName}, '%')
+ and s.specification like concat('%', #{specification}, '%')
+ and s.differences like concat('%', #{differences}, '%')
- and create_time between #{params.beginCreateTime} and #{params.endCreateTime}
+ and s.create_time between #{params.beginCreateTime} and #{params.endCreateTime}
- engineer = #{engineer}
+ and s.engineer = #{engineer}
+ order by s.create_time desc