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