t.id as id, t.brand as brand, t.change_stock as changeStock, t.check_time as checkTime, t.create_time as createTime, t.create_user as createUser, t.factory_name as factoryName, t.is_use as isUse, t.line_code as lineCode, t.pro_id as proId, t.steel_id as steelId, t.stock_type as stockType, t.supplier_id as supplierId t.brand = #{brand} AND t.change_stock = #{changeStock} AND t.check_time = #{checkTime} AND t.create_time = #{createTime} AND t.create_user = #{createUser} AND t.factory_name = #{factoryName} AND t.is_use = #{isUse} AND t.line_code = #{lineCode} AND t.pro_id = #{proId} AND t.steel_id = #{steelId} AND t.stock_type = #{stockType} AND t.supplier_id = #{supplierId} AND delete from sys_steel_record where line_code = #{produceNum} insert into sys_steel_record brand, change_stock, check_time, create_time, create_user, factory_name, id, is_use, line_code, pro_id, steel_id, stock_type, supplier_id, #{brand}, #{changeStock}, #{checkTime}, #{createTime}, #{createUser}, #{factoryName}, #{id}, #{isUse}, #{lineCode}, #{proId}, #{steelId}, #{stockType}, #{supplierId}, insert into t_steel_check_file id, steel_check_id, check_file, #{id}, #{steelCheckId}, #{checkFile}, update sys_steel_record brand=#{brand}, change_stock=#{changeStock}, check_time=#{checkTime}, create_time=#{createTime}, create_user=#{createUser}, factory_name=#{factoryName}, is_use=#{isUse}, line_code=#{lineCode}, pro_id=#{proId}, steel_id=#{steelId}, stock_type=#{stockType}, supplier_id=#{supplierId}, where id=#{id} update sys_steel_record SET is_use = 0 where id=#{id} delete from sys_steel_record where id=#{id}