ZhuDeKang 5 mesiacov pred
rodič
commit
8230811a20

+ 1 - 0
ruoyi-api-patform/src/main/resources/mapper/interfaces/SysMetaFieldMapper.xml

@@ -34,6 +34,7 @@
     <select id="selectSysMetaFieldList" parameterType="com.ruoyi.interfaces.domain.SysMetaField" resultMap="SysMetaFieldResult">
         <include refid="selectSysMetaFieldVo"/>
         <where>
+            <if test="dsCode != null  and dsCode != ''"> and DS_CODE = #{dsCode}</if>
             <if test="fieldName != null  and fieldName != ''"> and FIELD_NAME like concat('%', #{fieldName}, '%')</if>
             <if test="fieldType != null  and fieldType != ''"> and FIELD_TYPE = #{fieldType}</if>
             <if test="fieldLength != null  and fieldLength != ''"> and FIELD_LENGTH = #{fieldLength}</if>