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>