From e2c5017787d7fc5eea2afb8bc84bca0db054ad8c Mon Sep 17 00:00:00 2001 From: chenrui <1187576398@qq.com> Date: 星期三, 09 四月 2025 17:46:36 +0800 Subject: [PATCH] Merge branch 'radio_frequency' of http://114.132.189.42:9002/r/lims-ruoyi-after into radio_frequency --- basic-server/src/main/resources/mapper/StandardProductListMapper.xml | 21 ++++++++++++++++++++- 1 files changed, 20 insertions(+), 1 deletions(-) diff --git a/basic-server/src/main/resources/mapper/StandardProductListMapper.xml b/basic-server/src/main/resources/mapper/StandardProductListMapper.xml index 351fb73..a85d156 100644 --- a/basic-server/src/main/resources/mapper/StandardProductListMapper.xml +++ b/basic-server/src/main/resources/mapper/StandardProductListMapper.xml @@ -52,7 +52,7 @@ tell=#{productList.tell}, update_user=#{productList.updateUser}, update_time=#{productList.updateTime}, - check_status=#{checkStatus} + check_status=#{productList.checkStatus} WHERE id = #{productList.id} </update> <update id="updateSortUp"> @@ -163,4 +163,23 @@ #{item} </foreach> </update> + + <select id="standardProductListNoPage" resultType="com.ruoyi.basic.pojo.StandardProductList"> + SELECT * FROM standard_product_list + <where> + <if test="standardProductListDto.standardMethodListIds != null"> + AND 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 tree = #{standardProductListDto.tree} + </if> + <if test="standardProductListDto.state != null "> + AND state = #{standardProductListDto.state} + </if> + </where> + ORDER BY standard_method_list_id ASC + </select> </mapper> -- Gitblit v1.9.3