insert into reserve_params_open_time(
hours,params_id,is_open,time_id,community_id
) values (
#{hours},#{paramsId},#{isOpen},#{timeId},#{communityId}
)
insert into reserve_params_open_time(
hours,params_id,is_open,time_id,community_id
) values
(#{item.hours},#{item.paramsId},#{item.isOpen},#{item.timeId},#{item.communityId})
update reserve_params_open_time t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.hours= #{hours}
, t.params_id= #{paramsId}
, t.is_open= #{isOpen}
, t.community_id= #{communityId}
where 1=1
and t.time_id= #{timeId}