select product_info_id, config_type_id, tab_flag, config_modal, product_info_etitle, product_info_ctitle, product_info_order, create_time, create_by, update_time, update_by from hw_product_info insert into hw_product_info config_type_id, tab_flag, config_modal, product_info_etitle, product_info_ctitle, product_info_order, create_time, create_by, update_time, update_by, #{configTypeId}, #{tabFlag}, #{configModal}, #{productInfoEtitle}, #{productInfoCtitle}, #{productInfoOrder}, #{createTime}, #{createBy}, #{updateTime}, #{updateBy}, update hw_product_info config_type_id = #{configTypeId}, tab_flag = #{tabFlag}, config_modal = #{configModal}, product_info_etitle = #{productInfoEtitle}, product_info_ctitle = #{productInfoCtitle}, product_info_order = #{productInfoOrder}, create_time = #{createTime}, create_by = #{createBy}, update_time = #{updateTime}, update_by = #{updateBy}, where product_info_id = #{productInfoId} delete from hw_product_info where product_info_id = #{productInfoId} delete from hw_product_info where product_info_id in #{productInfoId} select hpi.product_info_id, hpi.config_type_id, hpi.tab_flag, hpi.config_modal, hpi.product_info_etitle, hpi.product_info_ctitle, hpi.product_info_order, hpi.create_time, hpi.create_by, hpi.update_time, hpi.update_by,hpct.config_type_name from hw_product_info hpi left join hw_portal_config_type hpct on hpi.config_type_id=hpct.config_type_id