yys
maven
3 小时以前 475e34932ed3f195cb0f864b4d99d2bff99f2895
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>