Commit 8d943da9 authored by 38823's avatar 38823

解约回购坏账计提lov框调整

parent 84460582
......@@ -18,60 +18,6 @@
to_char(add_months(sysdate, -1), 'YYYY') || '-' ||
to_char(add_months(sysdate, -1), 'MM') period_name,
trunc(last_day(add_months(sysdate,-1)))end_date
from dual
union
select to_number(to_char(add_months(sysdate, -2), 'YYYYMM')) internal_period_num,
to_char(add_months(sysdate, -2), 'YYYY') || '-' ||
to_char(add_months(sysdate, -2), 'MM') period_name,
trunc(last_day(add_months(sysdate,-2)))end_date
from dual
union
select to_number(to_char(add_months(sysdate, -3), 'YYYYMM')) internal_period_num,
to_char(add_months(sysdate, -3), 'YYYY') || '-' ||
to_char(add_months(sysdate, -3), 'MM') period_name,
trunc(last_day(add_months(sysdate,-3)))end_date
from dual
union
select to_number(to_char(add_months(sysdate, -4), 'YYYYMM')) internal_period_num,
to_char(add_months(sysdate, -4), 'YYYY') || '-' ||
to_char(add_months(sysdate, -4), 'MM') period_name,
trunc(last_day(add_months(sysdate,-4)))end_date
from dual
union
select to_number(to_char(add_months(sysdate, -5), 'YYYYMM')) internal_period_num,
to_char(add_months(sysdate, -5), 'YYYY') || '-' ||
to_char(add_months(sysdate, -5), 'MM') period_name,
trunc(last_day(add_months(sysdate,-5)))end_date
from dual
union
select to_number(to_char(add_months(sysdate, -6), 'YYYYMM')) internal_period_num,
to_char(add_months(sysdate, -6), 'YYYY') || '-' ||
to_char(add_months(sysdate, -6), 'MM') period_name,
trunc(last_day(add_months(sysdate,-6)))end_date
from dual
union
select to_number(to_char(add_months(sysdate, -7), 'YYYYMM')) internal_period_num,
to_char(add_months(sysdate, -7), 'YYYY') || '-' ||
to_char(add_months(sysdate, -7), 'MM') period_name,
trunc(last_day(add_months(sysdate,-7)))end_date
from dual
union
select to_number(to_char(add_months(sysdate, -8), 'YYYYMM')) internal_period_num,
to_char(add_months(sysdate, -8), 'YYYY') || '-' ||
to_char(add_months(sysdate, -8), 'MM') period_name,
trunc(last_day(add_months(sysdate,-8)))end_date
from dual
union
select to_number(to_char(add_months(sysdate, -9), 'YYYYMM')) internal_period_num,
to_char(add_months(sysdate, -9), 'YYYY') || '-' ||
to_char(add_months(sysdate, -9), 'MM') period_name,
trunc(last_day(add_months(sysdate,-9)))end_date
from dual
union
select to_number(to_char(add_months(sysdate, -10), 'YYYYMM')) internal_period_num,
to_char(add_months(sysdate, -10), 'YYYY') || '-' ||
to_char(add_months(sysdate, -10), 'MM') period_name,
trunc(last_day(add_months(sysdate,-10)))end_date
from dual
order by internal_period_num desc) t1 #WHERE_CLAUSE#
]]></bm:query-sql>
......
......@@ -62,9 +62,9 @@
<a:dataSets>
<a:dataSet id="con_bad_debts_confirmed_query_ds" autoCreate="true">
<a:fields>
<a:field name="period_name" lovGridHeight="100" lovHeight="100"
<a:field name="period_name" lovGridHeight="300" lovHeight="550"
lovService="cont.CON8000.gld_periods"
lovWidth="500" required="true" title="GLD_PERIODS.PERIOD_NAME" prompt="期间">
lovWidth="400" required="true" title="GLD_PERIODS.PERIOD_NAME" prompt="期间">
<a:mapping>
<a:map from="period_name" to="period_name"/>
<a:map from="end_date" to="end_date"/>
......
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