Parcourir la source

复制费用列表险种搜索修改

wanghao il y a 1 mois
Parent
commit
ae55fb1dea

+ 3 - 0
tenant/organization/src/main/resources/mapper/PtlAgreementCostMapper.xml

@@ -434,6 +434,9 @@
                         #{productId}
                         #{productId}
                 </foreach>
                 </foreach>
             </if>
             </if>
+            <if test="costParam.productId != null and costParam.productId != '' ">
+                AND pc.product_id = #{costParam.productId}
+            </if>
             <if test="costParam.agreementId != null and costParam.agreementId != ''">
             <if test="costParam.agreementId != null and costParam.agreementId != ''">
                 AND pc.ptl_agreement_id = #{costParam.agreementId}
                 AND pc.ptl_agreement_id = #{costParam.agreementId}
             </if>
             </if>