Commit 3fd4e93e by 傅伟强-富德

Update test.txt

1 parent 0d00fdd6
Showing with 16 additions and 0 deletions
...@@ -366,4 +366,20 @@ order by rnpscr.UPDATED_DATE DESC ...@@ -366,4 +366,20 @@ order by rnpscr.UPDATED_DATE DESC
return policySuccessList; return policySuccessList;
} }
select * from (
select * from RN_POLICY_SERVICER_CHG_RECORD rnpscr
where rnpscr.policy_no in (
select rpsi.policy_no,ppi.prem_due_date from rn_policy_service_info rpsi,policy_prem_info ppi
where ppi.policy_no=rpsi.policy_no
and rpsi.service_no='H000000000026471'
and ppi.prem_due_date>=date'2019-1-1'
and ppi.prem_due_date<date'2019-2-1'
)
and rnpscr.change_mode='0'
order by rnpscr.UPDATED_DATE DESC
)where rownum = 1;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!