select wsd_id, wst_id, wl_title, wl_startweight, wl_endweight, weight_billing_code, fv_unitweight, effective_date, expire_date, create_time, update_time from prc_weight_section_detail insert into prc_weight_section_detail ( wst_id, wl_title, wl_startweight, wl_endweight, weight_billing_code, fv_unitweight, effective_date, expire_date, create_time ) values ( #{wstId}, #{wlTitle}, #{wlStartweight}, #{wlEndweight}, #{weightBillingCode}, #{fvUnitweight}, #{effectiveDate}, #{expireDate}, sysdate() ) update prc_weight_section_detail wst_id = #{wstId}, wl_title = #{wlTitle}, wl_startweight = #{wlStartweight}, wl_endweight = #{wlEndweight}, weight_billing_code = #{weightBillingCode}, fv_unitweight = #{fvUnitweight}, effective_date = #{effectiveDate}, expire_date = #{expireDate}, update_time = sysdate() where wsd_id = #{wsdId} delete from prc_weight_section_detail where wsd_id in #{wsdId}