|
|
@ -14,6 +14,7 @@ |
|
|
|
bd.isGuarantee as isGuarantee, |
|
|
|
bd.pDistributorName as pDistributorName, |
|
|
|
bd.isDelivery as isDelivery, |
|
|
|
bd.effectiveDate as effectiveDate, |
|
|
|
case bd.filingState |
|
|
|
when 0 then '未备案' |
|
|
|
when 2 then '备案中' |
|
|
@ -149,6 +150,7 @@ |
|
|
|
DATE_FORMAT(bd.setUpTime, '%Y-%m-%d') as setUpTime, |
|
|
|
bd.isDelivery, |
|
|
|
bd.legalMobile as invoPhone, |
|
|
|
bd.effectiveDate as effectiveDate, |
|
|
|
case bd.filingState |
|
|
|
when 0 then '未备案' |
|
|
|
when 1 then '已备案' |
|
|
@ -297,6 +299,10 @@ |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="selectByRecord" resultType="com.yxt.anrui.riskcenter.api.loancustomerrecord.LoanCustomerRecord"> |
|
|
|
select * from anrui_riskcenter.loan_customer_record where customerSid = #{sid} and nodeState = '已办结' and effectiveDate> NOW() |
|
|
|
select * |
|
|
|
from anrui_riskcenter.loan_customer_record |
|
|
|
where customerSid = #{sid} |
|
|
|
and nodeState = '已办结' |
|
|
|
and effectiveDate > NOW() |
|
|
|
</select> |
|
|
|
</mapper> |