select criterion_id, create_by, create_time, update_by, update_time, remark, criterion_name, company_id, method_id from tr_method_criterion
insert into tr_method_criterion
criterion_id,
create_by,
create_time,
update_by,
update_time,
remark,
criterion_name,
company_id,
method_id,
#{criterionId},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{remark},
#{criterionName},
#{companyId},
#{methodId},
update tr_method_criterion
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
remark = #{remark},
criterion_name = #{criterionName},
company_id = #{companyId},
method_id = #{methodId},
where criterion_id = #{criterionId}
delete from tr_method_criterion where criterion_id = #{criterionId}
delete from tr_method_criterion where criterion_id in
#{criterionId}