select id,
step_size,
specification,
technology,
operation,
diameter,
batch_id,
sort,
create_time,
create_by,
update_time,
update_by,
del_flag,
state,
final_width,
final_diameter,
weight,
width
from industry_material
insert into industry_material
id,specification,technology,operation,diameter,batch_id,sort,create_time,create_by,update_time,update_by,state,del_flag,step_size,final_width,final_width2,final_diameter,final_diameter2,weight,width,#{id},#{specification},#{technology},#{operation},#{diameter},#{batchId},#{sort},#{createTime},#{createBy},#{updateTime},#{updateBy},#{delFlag},#{state},#{stepSize},#{finalWidth},#{finalWidth2},#{finalDiameter},#{finalDiameter2},#{weight},#{width},
update industry_material
specification = #{specification},technology = #{technology},operation = #{operation},diameter = #{diameter},batch_id = #{batchId},sort = #{sort},create_time = #{createTime},create_by = #{createBy},update_time = #{updateTime},update_by = #{updateBy},del_flag = #{delFlag},state = #{state},step_size = #{stepSize},final_width = #{finalWidth},final_width2 = #{finalWidth2},final_diameter = #{finalDiameter},final_diameter2 = #{finalDiameter2},weight = #{weight},width = #{width},
where id = #{id}
update industry_material
state =1,state =2,state =4,state =5,state =6,
where id = #{id}
update industry_material
set del_flag=1
where id = #{id}
update industry_material
set state=#{state}
where id = #{materialId}
delete from industry_material where id in
#{id}
delete from industry_material where id in
#{id}
delete from industry_material where state = #{state}