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>
     <!-- 修改物料字典内容 -->