select com_type_id,com_type_name,remark,create_date from mx_components_type select com_id,com_type_id,com_name,com_alias_name,remark,enabled,com_png_url,create_date from mx_components insert into mx_components_type( com_type_id, com_type_name, remark, create_date ) values( #{comTypeId}, #{comTypeName}, #{remark}, sysdate() ) delete from mx_components_type where com_type_id = #{comTypeId} update mx_components_type com_type_name = #{comTypeName}, remark = #{remark}, create_date = sysdate() where com_type_id = #{comTypeId} insert into mx_components( com_id, com_type_id, com_name, com_alias_name, remark, enabled, com_png_url, create_date ) values( #{comId}, #{comTypeId}, #{comName}, #{comAliasName}, #{remark}, #{enabled}, #{comPngUrl}, sysdate() ) delete from mx_components where com_id = #{comId} delete from mx_components where com_type_id = #{comTypeId} update mx_components com_type_id = #{comTypeId}, com_name = #{comName}, com_alias_name = #{comAliasName}, remark = #{remark}, enabled = #{enabled}, com_png_url = #{comPngUrl}, create_date = sysdate() where com_id = #{comId}