瀏覽代碼

问题修改

zhs 2 年之前
父節點
當前提交
2c8d20d836
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      src/main/resources/mapper/DictionaryMapper.xml

+ 6 - 0
src/main/resources/mapper/DictionaryMapper.xml

@@ -46,6 +46,9 @@
             <if test="tldId != null and tldId != ''">
                 and tld_id = #{tldId}
             </if>
+            <if test="typeVal != null and typeVal != ''">
+                and type = #{typeVal}
+            </if>
         </trim>
     </select>
     <!-- 库账对存字典新增 -->
@@ -82,6 +85,9 @@
             <if test="tldId != null and tldId != ''">
                 and a.tld_id = #{tldId}
             </if>
+            <if test="typeVal != null and typeVal != ''">
+                and a.type = #{typeVal}
+            </if>
         </trim>
     </select>
     <!-- 修改物料字典内容 -->