insert into group_buy_setting( group_buy_name,group_buy_desc,valid_hours,start_time,end_time,store_id,setting_id ) values ( #{groupBuyName},#{groupBuyDesc},#{validHours},#{startTime},#{endTime},#{storeId},#{settingId} ) update group_buy_setting t set t.status_cd = #{statusCd} , t.group_buy_name= #{groupBuyName} , t.group_buy_desc= #{groupBuyDesc} , t.valid_hours= #{validHours} , t.start_time= #{startTime} , t.end_time= #{endTime} , t.store_id= #{storeId} where 1=1 and t.setting_id= #{settingId}