建议问卷导出Excel

This commit is contained in:
xiezhijun
2021-08-14 16:20:16 +08:00
parent 8e963814d8
commit 02d8f7b3d6
7 changed files with 138 additions and 26 deletions

View File

@ -145,4 +145,12 @@
where del_flag = 0 and customer_key = #{customerKey} limit 1
</select>
<!-- 根据字典ID(可以使用隔开的多个ID)获取对应字典值 -->
<select id="getDictLabelByIds" parameterType="String" resultType="Map">
select dict_label as dictLabel,dict_value as dictValue from sys_dict_data where status = '0' and dict_type = #{dictType}
<if test="dictValue != null and dictValue != ''">
and FIND_IN_SET(dict_value, #{dictValue})
</if>
</select>
</mapper>