jinlin
2023-11-16 28861950cf0af20668efa599489fef3f7ae2e427
modules/mainPart/src/main/resources/mapper/project/SoftwareTestOrderDao.xml
@@ -18,4 +18,19 @@
        </if>
    </select>
    <select id="dictList" resultType="com.zt.core.sys.dto.DictIstance">
        SELECT dd.dict_label as name,
        case when '${dictType}'='product_library_file' then concat(dd.REMARK,'-${projectCode}') else
        '1.0.0' end 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>