소스 검색

问题修改

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