Browse Source

Merge remote-tracking branch 'origin/master'

xiongchao 4 years ago
parent
commit
982dc495c3
1 changed files with 9 additions and 0 deletions
  1. 9 0
      platform-dao/src/main/resources/mapper/store/SpareStoreMapper.xml

+ 9 - 0
platform-dao/src/main/resources/mapper/store/SpareStoreMapper.xml

@@ -157,6 +157,15 @@
             <if test="typeId != null and typeId != ''">
                 and spareinfo.type_id = #{typeId}
             </if>
+            <if test="parentTypeId != null and parentTypeId != ''">
+                and spareinfo.parent_type_id = #{parentTypeId}
+            </if>
+            <if test="middleTypeId != null and middleTypeId != ''">
+                and spareinfo.middle_type_id = #{middleTypeId}
+            </if>
+            <if test="childTypeId != null and childTypeId != ''">
+                and spareinfo.child_type_id = #{childTypeId}
+            </if>
             <if test="ggxh != null and ggxh != ''">
                 and spareinfo.ggxh = #{ggxh}
             </if>