jk-GitHub-coder пре 4 година
родитељ
комит
47dc3e7766
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      YijiaRestful/src/main/resources/mapper/SysDictDataMapper.xml

+ 3 - 0
YijiaRestful/src/main/resources/mapper/SysDictDataMapper.xml

@@ -26,6 +26,9 @@
             <if test="oilName !=null and oilName !=''">
                 AND dict_label = #{oilName}
             </if>
+            <if test="oilsType !=null and oilsType !=''">
+                AND dict_value = #{oilsType}
+            </if>
         </where>
 
     </select>