jk-GitHub-coder il y a 4 ans
Parent
commit
47dc3e7766
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  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>