Explorar el Código

备件领用修复

xiongchao hace 4 años
padre
commit
199916ad59

+ 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>