zhs %!s(int64=2) %!d(string=hai) anos
pai
achega
2c8d20d836
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  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>
     <!-- 修改物料字典内容 -->