select type_id, create_by, create_time, update_by, update_time, remark, type_name, type_cycle_num, type_cycle_type, company_id from tr_troubleshoot_type
insert into tr_troubleshoot_type
type_id,
create_by,
create_time,
update_by,
update_time,
remark,
type_name,
type_cycle_num,
type_cycle_type,
company_id,
#{typeId},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{remark},
#{typeName},
#{typeCycleNum},
#{typeCycleType},
#{companyId},
update tr_troubleshoot_type
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
remark = #{remark},
type_name = #{typeName},
type_cycle_num = #{typeCycleNum},
type_cycle_type = #{typeCycleType},
company_id = #{companyId},
where type_id = #{typeId}
delete from tr_troubleshoot_type where type_id = #{typeId}
delete from tr_troubleshoot_type where type_id in
#{typeId}