|
|
|
@ -21,10 +21,7 @@ |
|
|
|
wc.created_date, |
|
|
|
wc.pro_line_no, |
|
|
|
wc.can_create_new_roll_flag, |
|
|
|
wc.need_setup_flag, |
|
|
|
dbo.Get_WorkCenter_TemporalOverheadCost(wc.site, wc.work_center_no,current_timestamp) as overhead_cost, |
|
|
|
dbo.Get_WorkCenter_TemporalUnitCost(wc.site,wc.work_center_no,current_timestamp) as unit_cost, |
|
|
|
dbo.Get_WorkCenter_TemporalLaborCost(wc.site,wc.work_center_no,current_timestamp) as laborCost |
|
|
|
wc.need_setup_flag |
|
|
|
from dbo.work_center wc where site = #{site} and active = 'Y' |
|
|
|
<if test="workCenterNo != null and workCenterNo != ''"> |
|
|
|
and wc.work_center_no = #{workCenterNo} |
|
|
|
|