select procedure_id, procedure_code, workshop_name, procedure_name, sequence, each_cost, procedure_workhour, associated_item, procedure_remark, first_add_time, update_info_time from sys_procedure insert into sys_procedure procedure_code, workshop_name, procedure_name, sequence, each_cost, procedure_workhour, associated_item, procedure_remark, first_add_time, #{procedureCode}, #{workshopName}, #{procedureName}, #{sequence}, #{eachCost}, #{procedureWorkhour}, #{associatedItem}, #{procedureRemark}, now() update sys_procedure procedure_code = #{procedureCode}, workshop_name = #{workshopName}, procedure_name = #{procedureName}, sequence = #{sequence}, each_cost = #{eachCost}, procedure_workhour = #{procedureWorkhour}, associated_item = #{associatedItem}, procedure_remark = #{procedureRemark}, update_info_time = CONCAT_WS(',',NOW(),update_info_time), where procedure_id = #{procedureId} delete from sys_procedure where procedure_id = #{procedureId} delete from sys_procedure where procedure_id in #{procedureId}