|
|
@ -808,20 +808,13 @@
|
|
|
|
,0 AS dqi_food_12
|
|
|
|
,0 AS dqi_food_12
|
|
|
|
,x.reg_dt
|
|
|
|
,x.reg_dt
|
|
|
|
FROM (
|
|
|
|
FROM (
|
|
|
|
SELECT t.dn_no
|
|
|
|
SELECT dn_no
|
|
|
|
,b.weight
|
|
|
|
,weight
|
|
|
|
,t.srv
|
|
|
|
,srv
|
|
|
|
,t.rem
|
|
|
|
,rem
|
|
|
|
,t.reg_dt
|
|
|
|
,reg_dt
|
|
|
|
FROM tbl_bf_daily_nutrition_1 t
|
|
|
|
FROM tbl_bf_daily_nutrition_1
|
|
|
|
left join tbl_bf_growth_body b
|
|
|
|
WHERE smc_no=#smc_no#
|
|
|
|
on t.smc_no = b.smc_no
|
|
|
|
|
|
|
|
and (DATE(t.reg_dt) = DATE(b.reg_dt)
|
|
|
|
|
|
|
|
or DATE(b.reg_dt) = (
|
|
|
|
|
|
|
|
select DATE(max(reg_dt)) from tbl_bf_growth_body m
|
|
|
|
|
|
|
|
where m.smc_no = #smc_no#
|
|
|
|
|
|
|
|
))
|
|
|
|
|
|
|
|
WHERE t.smc_no=#smc_no#
|
|
|
|
|
|
|
|
<!-- AND weight<![CDATA[>]]>0 -->
|
|
|
|
<!-- AND weight<![CDATA[>]]>0 -->
|
|
|
|
<isNotEmpty property="scope">
|
|
|
|
<isNotEmpty property="scope">
|
|
|
|
<isEqual property="scope" compareValue="yday">AND DATE(t.reg_dt) = current_date()-interval 1 day</isEqual>
|
|
|
|
<isEqual property="scope" compareValue="yday">AND DATE(t.reg_dt) = current_date()-interval 1 day</isEqual>
|
|
|
@ -874,21 +867,13 @@
|
|
|
|
,hb.dhb_cd
|
|
|
|
,hb.dhb_cd
|
|
|
|
,hb.name
|
|
|
|
,hb.name
|
|
|
|
FROM(
|
|
|
|
FROM(
|
|
|
|
SELECT t.dn_no
|
|
|
|
SELECT dn_no
|
|
|
|
,t.db_dhb_no
|
|
|
|
,db_dhb_no
|
|
|
|
,t.reg_dt
|
|
|
|
,reg_dt
|
|
|
|
,b.weight
|
|
|
|
,weight
|
|
|
|
FROM tbl_bf_daily_nutrition_9 t
|
|
|
|
FROM tbl_bf_daily_nutrition_9
|
|
|
|
left join tbl_bf_growth_body b
|
|
|
|
WHERE smc_no=#smc_no#
|
|
|
|
on t.smc_no = b.smc_no
|
|
|
|
AND db_dhb_no IS NOT NULL
|
|
|
|
and t.db_dhb_tp ='df'
|
|
|
|
|
|
|
|
and (DATE(t.reg_dt) = DATE(b.reg_dt)
|
|
|
|
|
|
|
|
or DATE(b.reg_dt) = (
|
|
|
|
|
|
|
|
select DATE(max(reg_dt)) from tbl_bf_growth_body m
|
|
|
|
|
|
|
|
where m.smc_no = #smc_no#
|
|
|
|
|
|
|
|
))
|
|
|
|
|
|
|
|
WHERE t.smc_no=#smc_no#
|
|
|
|
|
|
|
|
AND t.db_dhb_no IS NOT NULL
|
|
|
|
|
|
|
|
<!-- AND weight<![CDATA[>]]>0 -->
|
|
|
|
<!-- AND weight<![CDATA[>]]>0 -->
|
|
|
|
<isNotEmpty property="scope">
|
|
|
|
<isNotEmpty property="scope">
|
|
|
|
<isEqual property="scope" compareValue="yday">AND DATE(t.reg_dt) = current_date()-interval 1 day</isEqual>
|
|
|
|
<isEqual property="scope" compareValue="yday">AND DATE(t.reg_dt) = current_date()-interval 1 day</isEqual>
|
|
|
@ -946,21 +931,13 @@
|
|
|
|
,hb.dhb_cd
|
|
|
|
,hb.dhb_cd
|
|
|
|
,hb.name
|
|
|
|
,hb.name
|
|
|
|
FROM(
|
|
|
|
FROM(
|
|
|
|
SELECT t.dn_no
|
|
|
|
SELECT dn_no
|
|
|
|
,t.db_dhb_no
|
|
|
|
,db_dhb_no
|
|
|
|
,t.reg_dt
|
|
|
|
,reg_dt
|
|
|
|
,b.weight
|
|
|
|
,weight
|
|
|
|
FROM tbl_bf_daily_nutrition_9 t
|
|
|
|
FROM tbl_bf_daily_nutrition_9
|
|
|
|
left join tbl_bf_growth_body b
|
|
|
|
WHERE smc_no=#smc_no#
|
|
|
|
on t.smc_no = b.smc_no
|
|
|
|
AND db_dhb_no IS NOT NULL
|
|
|
|
and t.db_dhb_tp ='sf'
|
|
|
|
|
|
|
|
and (DATE(t.reg_dt) = DATE(b.reg_dt)
|
|
|
|
|
|
|
|
or DATE(b.reg_dt) = (
|
|
|
|
|
|
|
|
select DATE(max(reg_dt)) from tbl_bf_growth_body m
|
|
|
|
|
|
|
|
where m.smc_no = #smc_no#
|
|
|
|
|
|
|
|
))
|
|
|
|
|
|
|
|
WHERE t.smc_no=#smc_no#
|
|
|
|
|
|
|
|
AND t.db_dhb_no IS NOT NULL
|
|
|
|
|
|
|
|
<!-- AND weight<![CDATA[>]]>0 -->
|
|
|
|
<!-- AND weight<![CDATA[>]]>0 -->
|
|
|
|
<isNotEmpty property="scope">
|
|
|
|
<isNotEmpty property="scope">
|
|
|
|
<isEqual property="scope" compareValue="yday">AND DATE(t.reg_dt) = current_date()-interval 1 day</isEqual>
|
|
|
|
<isEqual property="scope" compareValue="yday">AND DATE(t.reg_dt) = current_date()-interval 1 day</isEqual>
|
|
|
@ -1014,22 +991,15 @@
|
|
|
|
,IF(dbc.dqi_food_12 IS NULL, 0, ROUND(dbc.dqi_food_12*x.weight,2)) AS dqi_food_12
|
|
|
|
,IF(dbc.dqi_food_12 IS NULL, 0, ROUND(dbc.dqi_food_12*x.weight,2)) AS dqi_food_12
|
|
|
|
,x.reg_dt
|
|
|
|
,x.reg_dt
|
|
|
|
FROM (
|
|
|
|
FROM (
|
|
|
|
SELECT t.dn_no
|
|
|
|
SELECT dn_no
|
|
|
|
,t.db_dbc_no
|
|
|
|
,db_dbc_no
|
|
|
|
,t.reg_dt
|
|
|
|
,reg_dt
|
|
|
|
,b.weight
|
|
|
|
,weight
|
|
|
|
FROM tbl_bf_daily_nutrition_10 t
|
|
|
|
FROM tbl_bf_daily_nutrition_10
|
|
|
|
left join tbl_bf_growth_body b
|
|
|
|
|
|
|
|
on t.smc_no = b.smc_no
|
|
|
|
|
|
|
|
and (DATE(t.reg_dt) = DATE(b.reg_dt)
|
|
|
|
|
|
|
|
or DATE(b.reg_dt) = (
|
|
|
|
|
|
|
|
select DATE(max(reg_dt)) from tbl_bf_growth_body m
|
|
|
|
|
|
|
|
where m.smc_no = #smc_no#
|
|
|
|
|
|
|
|
))
|
|
|
|
|
|
|
|
WHERE
|
|
|
|
WHERE
|
|
|
|
t.smc_no=#smc_no#
|
|
|
|
smc_no=#smc_no#
|
|
|
|
AND t.db_dbc_no IS NOT NULL
|
|
|
|
AND db_dbc_no IS NOT NULL
|
|
|
|
and t.db_dbc_tp ='bf'
|
|
|
|
and db_dbc_tp ='bf'
|
|
|
|
<!-- AND weight<![CDATA[>]]>0 -->
|
|
|
|
<!-- AND weight<![CDATA[>]]>0 -->
|
|
|
|
<isNotEmpty property="scope">
|
|
|
|
<isNotEmpty property="scope">
|
|
|
|
<isEqual property="scope" compareValue="yday">AND DATE(t.reg_dt) = current_date()-interval 1 day</isEqual>
|
|
|
|
<isEqual property="scope" compareValue="yday">AND DATE(t.reg_dt) = current_date()-interval 1 day</isEqual>
|
|
|
@ -1080,22 +1050,15 @@
|
|
|
|
,0 AS dqi_food_12
|
|
|
|
,0 AS dqi_food_12
|
|
|
|
,x.reg_dt
|
|
|
|
,x.reg_dt
|
|
|
|
FROM (
|
|
|
|
FROM (
|
|
|
|
SELECT t.dn_no
|
|
|
|
SELECT dn_no
|
|
|
|
,t.db_dbc_no
|
|
|
|
,db_dbc_no
|
|
|
|
,t.reg_dt
|
|
|
|
,reg_dt
|
|
|
|
,b.weight
|
|
|
|
,weight
|
|
|
|
FROM tbl_bf_daily_nutrition_10 t
|
|
|
|
FROM tbl_bf_daily_nutrition_10
|
|
|
|
left join tbl_bf_growth_body b
|
|
|
|
|
|
|
|
on t.smc_no = b.smc_no
|
|
|
|
|
|
|
|
and (DATE(t.reg_dt) = DATE(b.reg_dt)
|
|
|
|
|
|
|
|
or DATE(b.reg_dt) = (
|
|
|
|
|
|
|
|
select DATE(max(reg_dt)) from tbl_bf_growth_body m
|
|
|
|
|
|
|
|
where m.smc_no = #smc_no#
|
|
|
|
|
|
|
|
))
|
|
|
|
|
|
|
|
WHERE
|
|
|
|
WHERE
|
|
|
|
t.smc_no=#smc_no#
|
|
|
|
smc_no=#smc_no#
|
|
|
|
AND t.db_dbc_no IS NOT NULL
|
|
|
|
AND db_dbc_no IS NOT NULL
|
|
|
|
and t.db_dbc_tp ='sf'
|
|
|
|
and db_dbc_tp ='sf'
|
|
|
|
<!-- AND weight<![CDATA[>]]>0 -->
|
|
|
|
<!-- AND weight<![CDATA[>]]>0 -->
|
|
|
|
<isNotEmpty property="scope">
|
|
|
|
<isNotEmpty property="scope">
|
|
|
|
<isEqual property="scope" compareValue="yday">AND DATE(t.reg_dt) = current_date()-interval 1 day</isEqual>
|
|
|
|
<isEqual property="scope" compareValue="yday">AND DATE(t.reg_dt) = current_date()-interval 1 day</isEqual>
|
|
|
@ -1145,22 +1108,15 @@
|
|
|
|
,IF(STRCMP('짠과자', dn.dqi_cate), 0, ROUND(dn.srv*x.weight,2)) AS dqi_food_12
|
|
|
|
,IF(STRCMP('짠과자', dn.dqi_cate), 0, ROUND(dn.srv*x.weight,2)) AS dqi_food_12
|
|
|
|
,x.reg_dt
|
|
|
|
,x.reg_dt
|
|
|
|
FROM (
|
|
|
|
FROM (
|
|
|
|
SELECT t.dn_no
|
|
|
|
SELECT dn_no
|
|
|
|
,t.db_dn_no
|
|
|
|
,db_dn_no
|
|
|
|
,t.reg_dt
|
|
|
|
,reg_dt
|
|
|
|
,b.weight
|
|
|
|
,weight
|
|
|
|
FROM tbl_bf_daily_nutrition_3 t
|
|
|
|
FROM tbl_bf_daily_nutrition_3
|
|
|
|
left join tbl_bf_growth_body b
|
|
|
|
|
|
|
|
on t.smc_no = b.smc_no
|
|
|
|
|
|
|
|
and (DATE(t.reg_dt) = DATE(b.reg_dt)
|
|
|
|
|
|
|
|
or DATE(b.reg_dt) = (
|
|
|
|
|
|
|
|
select DATE(max(reg_dt)) from tbl_bf_growth_body m
|
|
|
|
|
|
|
|
where m.smc_no = #smc_no#
|
|
|
|
|
|
|
|
))
|
|
|
|
|
|
|
|
WHERE
|
|
|
|
WHERE
|
|
|
|
t.smc_no=#smc_no#
|
|
|
|
smc_no=#smc_no#
|
|
|
|
AND t.db_dn_no IS NOT NULL
|
|
|
|
AND db_dn_no IS NOT NULL
|
|
|
|
and t.db_dn_tp ='bf'
|
|
|
|
and db_dn_tp ='bf'
|
|
|
|
<!-- AND weight<![CDATA[>]]>0 -->
|
|
|
|
<!-- AND weight<![CDATA[>]]>0 -->
|
|
|
|
<isNotEmpty property="scope">
|
|
|
|
<isNotEmpty property="scope">
|
|
|
|
<isEqual property="scope" compareValue="yday">AND DATE(t.reg_dt) = current_date()-interval 1 day</isEqual>
|
|
|
|
<isEqual property="scope" compareValue="yday">AND DATE(t.reg_dt) = current_date()-interval 1 day</isEqual>
|
|
|
@ -1210,22 +1166,15 @@
|
|
|
|
,0 AS dqi_food_12
|
|
|
|
,0 AS dqi_food_12
|
|
|
|
,x.reg_dt
|
|
|
|
,x.reg_dt
|
|
|
|
FROM (
|
|
|
|
FROM (
|
|
|
|
SELECT t.dn_no
|
|
|
|
SELECT dn_no
|
|
|
|
,t.db_dn_no
|
|
|
|
,db_dn_no
|
|
|
|
,t.reg_dt
|
|
|
|
,reg_dt
|
|
|
|
,b.weight
|
|
|
|
,weight
|
|
|
|
FROM tbl_bf_daily_nutrition_3 t
|
|
|
|
FROM tbl_bf_daily_nutrition_3
|
|
|
|
left join tbl_bf_growth_body b
|
|
|
|
|
|
|
|
on t.smc_no = b.smc_no
|
|
|
|
|
|
|
|
and (DATE(t.reg_dt) = DATE(b.reg_dt)
|
|
|
|
|
|
|
|
or DATE(b.reg_dt) = (
|
|
|
|
|
|
|
|
select DATE(max(reg_dt)) from tbl_bf_growth_body m
|
|
|
|
|
|
|
|
where m.smc_no = #smc_no#
|
|
|
|
|
|
|
|
))
|
|
|
|
|
|
|
|
WHERE
|
|
|
|
WHERE
|
|
|
|
t.smc_no=#smc_no#
|
|
|
|
smc_no=#smc_no#
|
|
|
|
AND t.db_dn_no IS NOT NULL
|
|
|
|
AND db_dn_no IS NOT NULL
|
|
|
|
and t.db_dn_tp ='sf'
|
|
|
|
and db_dn_tp ='sf'
|
|
|
|
<!-- AND weight<![CDATA[>]]>0 -->
|
|
|
|
<!-- AND weight<![CDATA[>]]>0 -->
|
|
|
|
<isNotEmpty property="scope">
|
|
|
|
<isNotEmpty property="scope">
|
|
|
|
<isEqual property="scope" compareValue="yday">AND DATE(t.reg_dt) = current_date()-interval 1 day</isEqual>
|
|
|
|
<isEqual property="scope" compareValue="yday">AND DATE(t.reg_dt) = current_date()-interval 1 day</isEqual>
|
|
|
@ -1262,7 +1211,7 @@
|
|
|
|
,ROUND(vitamine*weight,2) AS vitamine
|
|
|
|
,ROUND(vitamine*weight,2) AS vitamine
|
|
|
|
,ROUND(zn*weight,2) AS zn
|
|
|
|
,ROUND(zn*weight,2) AS zn
|
|
|
|
,0 AS dqi_food_1
|
|
|
|
,0 AS dqi_food_1
|
|
|
|
,ROUND((eat_qty-rem)*weight,2) AS dqi_food_2
|
|
|
|
,ROUND(eat_qty,2) AS dqi_food_2
|
|
|
|
,0 AS dqi_food_3
|
|
|
|
,0 AS dqi_food_3
|
|
|
|
,0 AS dqi_food_4
|
|
|
|
,0 AS dqi_food_4
|
|
|
|
,0 AS dqi_food_5
|
|
|
|
,0 AS dqi_food_5
|
|
|
@ -1275,26 +1224,84 @@
|
|
|
|
,0 AS dqi_food_12
|
|
|
|
,0 AS dqi_food_12
|
|
|
|
,x.reg_dt
|
|
|
|
,x.reg_dt
|
|
|
|
FROM (
|
|
|
|
FROM (
|
|
|
|
SELECT dn_no
|
|
|
|
SELECT dn_no
|
|
|
|
,db_dn_no
|
|
|
|
,db_dn_no
|
|
|
|
,eat_qty
|
|
|
|
,nvl(eat_qty,0) eat_qty
|
|
|
|
,rem
|
|
|
|
,nvl(rem,0) as rem
|
|
|
|
,ROUND((eat_qty-rem)/100,2) AS weight
|
|
|
|
,weight
|
|
|
|
,reg_dt
|
|
|
|
,reg_dt
|
|
|
|
FROM tbl_bf_daily_nutrition_2
|
|
|
|
FROM tbl_bf_daily_nutrition_2
|
|
|
|
WHERE smc_no=#smc_no#
|
|
|
|
WHERE smc_no=#smc_no#
|
|
|
|
AND (eat_qty-rem)<![CDATA[>]]>0
|
|
|
|
AND (nvl(eat_qty,0)-nvl(rem,0))<![CDATA[>]]>0
|
|
|
|
AND db_dn_no IS NOT NULL
|
|
|
|
<!-- AND db_dn_no IS NOT NULL -->
|
|
|
|
<isNotEmpty property="scope">
|
|
|
|
AND milk_tp = 87
|
|
|
|
<isEqual property="scope" compareValue="yday">AND DATE(reg_dt) = current_date()-interval 1 day</isEqual>
|
|
|
|
<isNotEmpty property="scope">
|
|
|
|
<isEqual property="scope" compareValue="day">AND DATE(reg_dt)=#reg_dt#</isEqual>
|
|
|
|
<isEqual property="scope" compareValue="yday">AND DATE(reg_dt) = current_date()-interval 1 day</isEqual>
|
|
|
|
<isEqual property="scope" compareValue="week">AND CONCAT(YEAR(reg_dt),"/",WEEKt.reg_dt))=#reg_dt#</isEqual>
|
|
|
|
<isEqual property="scope" compareValue="day">AND DATE(reg_dt)=#reg_dt#</isEqual>
|
|
|
|
<isEqual property="scope" compareValue="month">AND CONCAT(YEAR(reg_dt),"/",MONTH(t.reg_dt)) = #reg_dt#</isEqual>
|
|
|
|
<isEqual property="scope" compareValue="week">AND CONCAT(YEAR(reg_dt),"/",WEEK(reg_dt))=#reg_dt#</isEqual>
|
|
|
|
</isNotEmpty>
|
|
|
|
<isEqual property="scope" compareValue="month">AND CONCAT(YEAR(reg_dt),"/",MONTH(reg_dt)) = #reg_dt#</isEqual>
|
|
|
|
|
|
|
|
</isNotEmpty>
|
|
|
|
)x
|
|
|
|
)x
|
|
|
|
LEFT JOIN tbl_db_nutrient dn ON x.db_dn_no = dn.dn_no
|
|
|
|
LEFT JOIN tbl_db_nutrient dn ON x.db_dn_no = dn.dn_no
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
UNION ALL
|
|
|
|
|
|
|
|
(
|
|
|
|
|
|
|
|
SELECT
|
|
|
|
|
|
|
|
'분유' AS category
|
|
|
|
|
|
|
|
,'유축수유' AS name
|
|
|
|
|
|
|
|
,ROUND(x.weight,2) AS weight
|
|
|
|
|
|
|
|
,ROUND(enerc*weight,2) AS enerc
|
|
|
|
|
|
|
|
,ROUND(chotdf*weight,2) AS chotdf
|
|
|
|
|
|
|
|
,ROUND(procnp*weight,2) AS procnp
|
|
|
|
|
|
|
|
,ROUND(fat*weight,2) AS fat
|
|
|
|
|
|
|
|
,ROUND(sugar*weight,2) AS sugar
|
|
|
|
|
|
|
|
,ROUND(fibtg*weight,2) AS fibtg
|
|
|
|
|
|
|
|
,ROUND(na*weight,2) AS na
|
|
|
|
|
|
|
|
,ROUND(vitaminb1*weight,2) AS vitaminb1
|
|
|
|
|
|
|
|
,ROUND(vitaminb2*weight,2) AS vitaminb2
|
|
|
|
|
|
|
|
,ROUND(niacin*weight,2) AS niacin
|
|
|
|
|
|
|
|
,ROUND(ca*weight,2) AS ca
|
|
|
|
|
|
|
|
,ROUND(k*weight,2) AS k
|
|
|
|
|
|
|
|
,ROUND(fe*weight,2) AS fe
|
|
|
|
|
|
|
|
,ROUND(vitamina*weight,2) AS vitamina
|
|
|
|
|
|
|
|
,ROUND(vitaminc*weight,2) AS vitaminc
|
|
|
|
|
|
|
|
,ROUND(vitamind*weight,2) AS vitamind
|
|
|
|
|
|
|
|
,ROUND(vitamine*weight,2) AS vitamine
|
|
|
|
|
|
|
|
,ROUND(zn*weight,2) AS zn
|
|
|
|
|
|
|
|
,ROUND(eat_qty,2) AS dqi_food_1
|
|
|
|
|
|
|
|
,0 AS dqi_food_2
|
|
|
|
|
|
|
|
,0 AS dqi_food_3
|
|
|
|
|
|
|
|
,0 AS dqi_food_4
|
|
|
|
|
|
|
|
,0 AS dqi_food_5
|
|
|
|
|
|
|
|
,0 AS dqi_food_6
|
|
|
|
|
|
|
|
,0 AS dqi_food_7
|
|
|
|
|
|
|
|
,0 AS dqi_food_8
|
|
|
|
|
|
|
|
,0 AS dqi_food_9
|
|
|
|
|
|
|
|
,0 AS dqi_food_10
|
|
|
|
|
|
|
|
,0 AS dqi_food_11
|
|
|
|
|
|
|
|
,0 AS dqi_food_12
|
|
|
|
|
|
|
|
,x.reg_dt
|
|
|
|
|
|
|
|
FROM (
|
|
|
|
|
|
|
|
SELECT dn_no
|
|
|
|
|
|
|
|
,db_dn_no
|
|
|
|
|
|
|
|
,nvl(eat_qty,0) eat_qty
|
|
|
|
|
|
|
|
,nvl(rem,0) as rem
|
|
|
|
|
|
|
|
,weight
|
|
|
|
|
|
|
|
,reg_dt
|
|
|
|
|
|
|
|
FROM tbl_bf_daily_nutrition_2
|
|
|
|
|
|
|
|
WHERE smc_no=#smc_no#
|
|
|
|
|
|
|
|
AND (nvl(eat_qty,0)-nvl(rem,0))<![CDATA[>]]>0
|
|
|
|
|
|
|
|
<!-- AND db_dn_no IS NOT NULL -->
|
|
|
|
|
|
|
|
AND milk_tp = 88
|
|
|
|
|
|
|
|
<isNotEmpty property="scope">
|
|
|
|
|
|
|
|
<isEqual property="scope" compareValue="yday">AND DATE(reg_dt) = current_date()-interval 1 day</isEqual>
|
|
|
|
|
|
|
|
<isEqual property="scope" compareValue="day">AND DATE(reg_dt)=#reg_dt#</isEqual>
|
|
|
|
|
|
|
|
<isEqual property="scope" compareValue="week">AND CONCAT(YEAR(reg_dt),"/",WEEK(reg_dt))=#reg_dt#</isEqual>
|
|
|
|
|
|
|
|
<isEqual property="scope" compareValue="month">AND CONCAT(YEAR(reg_dt),"/",MONTH(reg_dt)) = #reg_dt#</isEqual>
|
|
|
|
|
|
|
|
</isNotEmpty>
|
|
|
|
|
|
|
|
)x
|
|
|
|
|
|
|
|
LEFT JOIN tbl_db_nutrient dn ON x.db_dn_no = dn.dn_no
|
|
|
|
|
|
|
|
)
|
|
|
|
)x
|
|
|
|
)x
|
|
|
|
ORDER BY x.reg_dt DESC
|
|
|
|
ORDER BY x.reg_dt DESC
|
|
|
|
<isNotEmpty property="page.startRowNum" prepend="">
|
|
|
|
<isNotEmpty property="page.startRowNum" prepend="">
|
|
|
|