@@ -304,6 +304,9 @@
<!-- 通用条件列 -->
<sql id="Condition_1">
<where>
+ <if test="purId != null and purId != ''">
+ AND tpp.pur_id = #{purId}::uuid
+ </if>
<if test="purNo != null and purNo != ''">
AND tpp.pur_no like concat('%', my_ex.likequery(#{purNo}) , '%')
</if>