From 48bfcb11f48a0be3b7d9e3fe52d220bb17763c3a Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期三, 03 十二月 2025 18:12:08 +0800
Subject: [PATCH] 产品明细优化
---
src/main/resources/mapper/lavorissue/LaborConfMapper.xml | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/lavorissue/LaborConfMapper.xml b/src/main/resources/mapper/lavorissue/LaborConfMapper.xml
index 7e32fea..4310d61 100644
--- a/src/main/resources/mapper/lavorissue/LaborConfMapper.xml
+++ b/src/main/resources/mapper/lavorissue/LaborConfMapper.xml
@@ -14,4 +14,16 @@
</if>
</where>
</select>
+ <select id="list" resultType="com.ruoyi.lavorissue.pojo.LaborConf">
+ SELECT
+ t1.*,
+ t3.dict_label as dictName
+ FROM labor_conf t1
+ left join sys_dict_data t3 on t1.dict_id = t3.dict_value
+ <where>
+ <if test="req != null and req.size() > 0">
+ AND t1.dept_position_id in(<foreach collection="req" item="item" separator=",">#{item}</foreach>)
+ </if>
+ </where>
+ </select>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.3