From fbde0b947b4641081b558302ea77d88c902c4cd1 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期三, 30 四月 2025 10:03:24 +0800
Subject: [PATCH] 可靠性计划优化检验项
---
basic-server/src/main/resources/mapper/StandardProductListMapper.xml | 26 ++++++++++++++++++++++++++
1 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/basic-server/src/main/resources/mapper/StandardProductListMapper.xml b/basic-server/src/main/resources/mapper/StandardProductListMapper.xml
index cac1dcf..c375e2d 100644
--- a/basic-server/src/main/resources/mapper/StandardProductListMapper.xml
+++ b/basic-server/src/main/resources/mapper/StandardProductListMapper.xml
@@ -163,4 +163,30 @@
#{item}
</foreach>
</update>
+
+ <select id="standardProductListNoPage" resultType="com.ruoyi.basic.pojo.StandardProductList">
+ SELECT
+ spl.*,
+ sm.code as methodS
+ FROM
+ standard_product_list spl
+ LEFT JOIN
+ standard_method sm ON sm.id = spl.standard_method_list_id
+ <where>
+ <if test="standardProductListDto.standardMethodListIds != null and standardProductListDto.standardMethodListIds.size() > 0">
+ spl.standard_method_list_id IN
+ <foreach collection="standardProductListDto.standardMethodListIds" open="(" close=")" separator="," item="item">
+ #{item}
+ </foreach>
+ </if>
+ <if test="standardProductListDto.tree != null and standardProductListDto.tree != ''">
+ AND spl.tree = #{standardProductListDto.tree}
+ </if>
+ <if test="standardProductListDto.state != null">
+ AND spl.state = #{standardProductListDto.state}
+ </if>
+ </where>
+ ORDER BY
+ spl.standard_method_list_id ASC
+ </select>
</mapper>
--
Gitblit v1.9.3