insert ignore into t_su_material_warehouse_record table_num, material_name, incoming_quantity, `status`, inspection_date, report_number, create_user, create_time, update_user, update_time, company_id, in_time, type, #{tableNum,jdbcType=INTEGER}, #{materialName,jdbcType=VARCHAR}, #{incomingQuantity,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, #{inspectionDate,jdbcType=TIMESTAMP}, #{reportNumber,jdbcType=VARCHAR}, #{createUser,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateUser,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{companyId,jdbcType=VARCHAR}, #{inTime,jdbcType=TIMESTAMP}, #{type,jdbcType=INTEGER}, on duplicate key update table_num = #{tableNum,jdbcType=INTEGER}, material_name = #{materialName,jdbcType=VARCHAR}, incoming_quantity = #{incomingQuantity,jdbcType=INTEGER}, `status` = #{status,jdbcType=INTEGER}, inspection_date = #{inspectionDate,jdbcType=TIMESTAMP}, report_number = #{reportNumber,jdbcType=VARCHAR}, create_user = #{createUser,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, update_user= #{updateUser,jdbcType=VARCHAR}, update_time #{updateTime,jdbcType=TIMESTAMP}, company_id = #{companyId,jdbcType=VARCHAR}, in_time = #{inTime,jdbcType=TIMESTAMP}, type = #{type,jdbcType=INTEGER}, update t_su_material_warehouse set isUse = 0 where id = #{id,jdbcType=VARCHAR}