|
@@ -406,6 +406,12 @@
|
|
|
<if test="costParam.productId != null and costParam.productId != ''">
|
|
<if test="costParam.productId != null and costParam.productId != ''">
|
|
|
AND pc.product_id = #{costParam.productId}
|
|
AND pc.product_id = #{costParam.productId}
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="costParam.agreementId != null and costParam.agreementId != ''">
|
|
|
|
|
+ AND pc.ptl_agreement_id = #{costParam.agreementId}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="costParam.coverRuleId != null and costParam.coverRuleId != ''">
|
|
|
|
|
+ AND pc.cover_rule_id = #{costParam.coverRuleId}
|
|
|
|
|
+ </if>
|
|
|
<if test="costParam.rulesName != null and costParam.rulesName != ''">
|
|
<if test="costParam.rulesName != null and costParam.rulesName != ''">
|
|
|
AND (
|
|
AND (
|
|
|
(pr_raw.parent_id IS NOT NULL AND pr_raw.parent_id != ''
|
|
(pr_raw.parent_id IS NOT NULL AND pr_raw.parent_id != ''
|