jinlin
2023-11-15 de02e2ab7f6b63ce92f712bf81de829c97289ca8
modules/mainPart/src/main/resources/mapper/project/SoftwareTestOrderDao.xml
@@ -18,4 +18,17 @@
        </if>
    </select>
    <select id="dictList" resultType="com.zt.life.modules.project.model.DictList">
        SELECT dd.dict_label as name, '1.0.0' as identify
        FROM sys_dict_type dt
        JOIN sys_dict_data dd ON dt.ID = dd.DICT_TYPE_ID
        <where>
            dd.IS_DELETE = 0
            <if test="dictType != null and dictType != ''">
                and dt.DICT_TYPE = #{dictType}
            </if>
        </where>
        ORDER BY dd.sort
    </select>
</mapper>