formal table for sql server

select * from 

(select 0 o from table) t

left join table on

table.id=@id

left join table2 on

table2.id=@id2

 

2025-08-19 17:11:58.434 ERROR 0.0.0.0:8080 9 dt --- [http-nio-0.0.0.0-8080-exec-5] o.h.e.jdbc.batch.internal.BatchingBatch : HHH000315: Exception executing batch [org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1], SQL: /* update com.supcon.orchid.WOM.entities.WOMTaskActive */ update wom_task_actives set version=?, create_staff_id=?, create_time=?, delete_staff_id=?, delete_time=?, modify_staff_id=?, modify_time=?, valid=?, cid=?, sort=?, act_end_time=?, act_start_time=?, active_batch_state=?, active_hidden_id=?, active_type=?, adjust_run_state=?, apply_check_dep_id=?, apply_check_staff_id=?, auto_run_state=?, auto_start=?, batch_operation_id=?, batch_operation_name=?, batch_order=?, batch_phase_id=?, batch_site=?, bigintparama=?, bigintparamb=?, bigintparamc=?, bigintparamd=?, bigintparame=?, bind_task_id=?, bind_task_no=?, cal_formula=?, charparama=?, charparamb=?, charparamc=?, charparamd=?, charparame=?, chcek_tip=?, check_dep_id=?, check_result=?, check_result_id=?, check_staff_id=?, check_state=?, check_times=?, container=?, dateparama=?, dateparamb=?, dateparamc=?, dateparamd=?, deal_type=?, dir_server_code=?, direct_mat_id=?, dispatch_system=?, down_limit=?, error_info=?, exe_system=?, exec_sort=?, feed_point_id=?, feed_point_name=?, final_inspection=?, first_inspection=?, fixed_quantity=?, formal_feed=?, formula_active_id=?, formula_id=?, formula_process_id=?, formula_quality=?, from_container=?, hidden_sort=?, inpect_deal_id=?, input_task_no=?, inspect_system=?, instance_id=?, instance_root_id=?, is_agile=?, is_analy=?, is_auto=?, is_back_mix=?, is_finish=?, is_fixed_quantity=?, is_more_other=?, is_on_site_check=?, is_pass_check=?, is_pre_feed=?, is_release=?, is_replace=?, is_run=?, is_show=?, long_time=?, loss_rate=?, main_active=?, material_batch_num=?, material_id=?, max_quantity=?, merge_mix=?, min_quantity=?, mixture_id=?, mixture_num=?, mobile_terminal=?, name=?, need_param_ana=?, need_prepare=?, node_id=?, notice_time=?, numberparama=?, numberparamb=?, numberparamc=?, objparama=?, objparamb=?, occur_turn=?, out_put_times=?, plan_quantity=?, pre_feed_sum=?, process_params_id=?, property=?, put_sort=?, put_sort_control=?, putin_order=?, quality_std_id=?, reject_system=?, rejects_deal_id=?, release_conditions=?, remain_quantity=?, remark=?, remnants=?, report_system=?, run_count=?, run_state=?, scparama=?, scparamb=?, standard_quantity=?, sum_num=?, switch_response_item=?, switch_set_item=?, sync_log_id=?, table_info_id=?, task_id=?, task_process_id=?, up_limit=?, use_item=? where id=? and version=?
08-20
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值