| | |
| | | order by dict_sort asc
|
| | | </select>
|
| | |
|
| | | <select id="selectDictDataByType" parameterType="SysDictData" resultMap="SysDictDataResult">
|
| | | <select id="selectDictDataByType" parameterType="String" resultMap="SysDictDataResult">
|
| | | <include refid="selectDictDataVo"/>
|
| | | where status = '0' and dict_type = #{dictType} order by dict_sort asc
|
| | | </select>
|
| | |
| | | <if test="createBy != null and createBy != ''">create_by,</if>
|
| | | create_time
|
| | | )values(
|
| | | <if test="dictSort != null and dictSort != ''">#{dictSort},</if>
|
| | | <if test="dictSort != null">#{dictSort},</if>
|
| | | <if test="dictLabel != null and dictLabel != ''">#{dictLabel},</if>
|
| | | <if test="dictValue != null and dictValue != ''">#{dictValue},</if>
|
| | | <if test="dictType != null and dictType != ''">#{dictType},</if>
|