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