select id, code, parent_code,plan_code, detail_code, standard_type, standard_name, detail_up_limit, detail_down_limit, detail_unit, factory_code, attr1, attr2, attr3, del_flag, create_by, create_time, update_by, update_time from equ_plan_standard insert into equ_plan_standard id, code, parent_code, plan_code, detail_code, standard_type, standard_name, detail_up_limit, detail_down_limit, detail_unit, factory_code, attr1, attr2, attr3, del_flag, create_by, create_time, update_by, update_time, #{id}, #{code}, #{parentCode}, #{planCode}, #{detailCode}, #{standardType}, #{standardName}, #{detailUpLimit}, #{detailDownLimit}, #{detailUnit}, #{factoryCode}, #{attr1}, #{attr2}, #{attr3}, #{delFlag}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, update equ_plan_standard code = #{code}, parent_code = #{parentCode}, plan_code = #{planCode}, detail_code = #{detailCode}, standard_type = #{standardType}, standard_name = #{standardName}, detail_up_limit = #{detailUpLimit}, detail_down_limit = #{detailDownLimit}, detail_unit = #{detailUnit}, factory_code = #{factoryCode}, attr1 = #{attr1}, attr2 = #{attr2}, attr3 = #{attr3}, del_flag = #{delFlag}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, where id = #{id} delete from equ_plan_standard where id = #{id} delete from equ_plan_standard where id in #{id} delete from equ_plan_standard where plan_code = #{planCode} update equ_plan_standard set del_flag = '1' where plan_code = #{planCode}