|
|
@@ -423,6 +423,12 @@
|
|
|
<if test="costParam.auditTimeEnd != null and costParam.auditTimeEnd != ''">
|
|
|
and pc.audit_time < #{costParam.auditTimeEnd}
|
|
|
</if>
|
|
|
+ <if test="costParam.agreement != null and costParam.agreement != ''">
|
|
|
+ AND (pa.agreement_title like concat('%',#{costParam.agreement},'%') or
|
|
|
+ pa.agreement_code like concat('%',#{costParam.agreement},'%') or
|
|
|
+ pa.agreement_abbreviation like concat('%',#{costParam.agreement},'%') or
|
|
|
+ pa.id = #{costParam.agreement})
|
|
|
+ </if>
|
|
|
<if test="costParam.companyIdList != null and costParam.companyIdList.size() >0">
|
|
|
and pa.partner_company_id in
|
|
|
<foreach collection="costParam.companyIdList" item="partnerCompnayId" open="(" close=")" separator=",">
|