INSERT INTO apptb_sgii01( const_stage , zone_code , business_code , kisi_thick , fill_height , fill_start_dt , fill_end_dt , fill_period , neglect_period , fill_height2 , fill_start_dt2 , fill_end_dt2 , fill_period2 , neglect_period2 , fill_height3 , fill_start_dt3 , fill_end_dt3 , fill_period3 , neglect_period3 , fill_height4 , fill_start_dt4 , fill_end_dt4 , fill_period4 , neglect_period4 , fill_height5 , fill_start_dt5 , fill_end_dt5 , fill_period5 , neglect_period5 ) VALUES ( #{constStage} , #{zoneCode} , #{businessCode} , coalesce(#{kisiThick}:: numeric, null) , coalesce(#{fillHeight}:: numeric, null) , TO_DATE(#{fillStartDt}:: text, 'YYYY-MM-DD') , TO_DATE(#{fillEndDt}:: text, 'YYYY-MM-DD') , #{fillPeriod} , #{neglectPeriod} , coalesce(#{fillHeight2}:: numeric, null) , TO_DATE(#{fillStartDt2}:: text, 'YYYY-MM-DD') , TO_DATE(#{fillEndDt2}:: text, 'YYYY-MM-DD') , #{fillPeriod2} , #{neglectPeriod2} , coalesce(#{fillHeight3}:: numeric, null) , TO_DATE(#{fillStartDt3}:: text, 'YYYY-MM-DD') , TO_DATE(#{fillEndDt3}:: text, 'YYYY-MM-DD') , #{fillPeriod3} , #{neglectPeriod3} , coalesce(#{fillHeight4}:: numeric, null) , TO_DATE(#{fillStartDt4}:: text, 'YYYY-MM-DD') , TO_DATE(#{fillEndDt4}:: text, 'YYYY-MM-DD') , #{fillPeriod4} , #{neglectPeriod4} , coalesce(#{fillHeight5}:: numeric, null) , TO_DATE(#{fillStartDt5}:: text, 'YYYY-MM-DD') , TO_DATE(#{fillEndDt5}:: text, 'YYYY-MM-DD') , #{fillPeriod5} , #{neglectPeriod5} )