ZhuDeKang 5 месяцев назад
Родитель
Сommit
be98f8b7aa
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      ruoyi-api-patform/src/main/resources/mapper/interfaces/MdDataSetMapper.xml

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

@@ -21,6 +21,7 @@
     <select id="selectMdDataSetList" parameterType="com.ruoyi.interfaces.domain.MdDataSet" resultMap="MdDataSetResult">
     <select id="selectMdDataSetList" parameterType="com.ruoyi.interfaces.domain.MdDataSet" resultMap="MdDataSetResult">
         <include refid="selectMdDataSetVo"/>
         <include refid="selectMdDataSetVo"/>
         <where>
         <where>
+            <if test="dcCode != null  and dcCode != ''"> and DC_CODE = #{dcCode} </if>
             <if test="dcName != null  and dcName != ''"> and DC_NAME like concat('%', #{dcName}, '%')</if>
             <if test="dcName != null  and dcName != ''"> and DC_NAME like concat('%', #{dcName}, '%')</if>
             <if test="dcType != null  and dcType != ''"> and DC_TYPE = #{dcType}</if>
             <if test="dcType != null  and dcType != ''"> and DC_TYPE = #{dcType}</if>
             <if test="dcSort != null "> and DC_SORT = #{dcSort}</if>
             <if test="dcSort != null "> and DC_SORT = #{dcSort}</if>