Commit 6a7d830a by zhangxingmin

push

parent 7899cd79
......@@ -84,8 +84,20 @@
<if test="request.policyStatus != null and request.policyStatus != ''">
AND p.status = #{request.policyStatus}
</if>
<!-- 对账类型:表里 reconciliation_type 没数据,用 current_issue_number 判断 -->
<!-- SQ_BF_DZ=首期,current_issue_number=1;XQ_BF_DZ=续期,current_issue_number>1 -->
<if test="request.reconciliationType != null and request.reconciliationType != ''">
<choose>
<when test="request.reconciliationType == 'SQ_BF_DZ'">
AND CAST(pr.current_issue_number AS UNSIGNED) = 1
</when>
<when test="request.reconciliationType == 'XQ_BF_DZ'">
AND CAST(pr.current_issue_number AS UNSIGNED) &gt; 1
</when>
<otherwise>
AND pr.reconciliation_type = #{request.reconciliationType}
</otherwise>
</choose>
</if>
<!-- 投保人查询:支持中文繁/简体和英文大小写 -->
<if test="request.policyHolderNameSc != null and request.policyHolderNameSc != ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment