BEGIN
begin tran
    DELETE FROM dict_obj WHERE id=1166369704881680384;
    INSERT INTO dict_obj (app_code,module_code,code,name,table_name,order_by_sql,fix_condition,fix_where_sql,gmt_create,gmt_modified,id,extended_properties,app_id,order_by) VALUES('rh','ps','TPluorderParamBodyA','商品明细','t_pluorder_param_body','','','','2023-10-24 13:36:48.000','2023-10-24 15:20:22.000',1166369704881680384,'',1090595948897234944,'');
    DELETE FROM dict_obj_column WHERE obj_id=1166369704881680384;
    INSERT INTO dict_obj_column (seq_no,column_label,id,column_name,table_name,physical_name,data_type,default_value,is_primary_key,is_required,is_auto_increment,is_ignore,data_width,data_dec,mirror_column,para_type,relation_table,relation_column,ref_type,ref_obj,ref_column,ref_column_name,ref_edit_where,ref_query_where,is_strict_ref,extended_properties,gmt_create,gmt_modified,obj_id,remark) VALUES(1,'billno',1166369570315825152,'billno','TPluorderParamBodyA','billno','STRING','',0,0,0,0,20,0,'',0,'','','NONE','','','','','',1,'','2023-10-24 13:36:48.000','2023-10-24 13:36:48.000',1166369704881680384,'');
    INSERT INTO dict_obj_column (seq_no,column_label,id,column_name,table_name,physical_name,data_type,default_value,is_primary_key,is_required,is_auto_increment,is_ignore,data_width,data_dec,mirror_column,para_type,relation_table,relation_column,ref_type,ref_obj,ref_column,ref_column_name,ref_edit_where,ref_query_where,is_strict_ref,extended_properties,gmt_create,gmt_modified,obj_id,remark) VALUES(2,'serialno',1166369570580066304,'serialno','TPluorderParamBodyA','serialno','INT','',0,0,1,0,10,0,'',0,'','','NONE','','','','','',1,'','2023-10-24 13:36:48.000','2023-10-24 13:36:48.000',1166369704881680384,'');
    INSERT INTO dict_obj_column (seq_no,column_label,id,column_name,table_name,physical_name,data_type,default_value,is_primary_key,is_required,is_auto_increment,is_ignore,data_width,data_dec,mirror_column,para_type,relation_table,relation_column,ref_type,ref_obj,ref_column,ref_column_name,ref_edit_where,ref_query_where,is_strict_ref,extended_properties,gmt_create,gmt_modified,obj_id,remark) VALUES(3,'商品编码',1166369570919804928,'plucode','TPluorderParamBodyA','plucode','STRING','',1,1,0,0,20,0,'',0,'','','TABLE','1093900427625230336','plucode','','TPlu.plucode not in (select plucode from t_pluorder_param_body)','',1,'','2023-10-24 13:36:48.000','2023-10-24 15:13:18.000',1166369704881680384,'');
    INSERT INTO dict_obj_column (seq_no,column_label,id,column_name,table_name,physical_name,data_type,default_value,is_primary_key,is_required,is_auto_increment,is_ignore,data_width,data_dec,mirror_column,para_type,relation_table,relation_column,ref_type,ref_obj,ref_column,ref_column_name,ref_edit_where,ref_query_where,is_strict_ref,extended_properties,gmt_create,gmt_modified,obj_id,remark) VALUES(4,'商品名称',1166370324636233728,'pluname','Tplu','pluname','STRING','',0,0,0,0,0,0,'',0,'','','PROP','plucode','pluname','','','',1,'','2023-10-24 13:44:40.000','2023-10-24 13:44:40.000',1166369704881680384,'');
    DELETE FROM dict_obj_table WHERE obj_id=1166369704881680384;
    INSERT INTO dict_obj_table (follow_delete,follow_insert,follow_update,gmt_create,gmt_modified,id,obj_id,relation_column,relation_condition,relation_table,relation_type,seq_no,table_alias,table_label,table_name,this_column) VALUES(0,0,0,'2023-10-24 15:20:22.000','2023-10-24 15:20:22.000',1166395770367111168,1166369704881680384,'plucode','','','LEFT',1,'Tplu','Tplu','t_plu','plucode');
    DELETE FROM dict_obj_column_ui WHERE obj_id=1166369704881680384;
    INSERT INTO dict_obj_column_ui (gmt_create,gmt_modified,id,column_id,default_value,disp_name,disp_index,disp_position,disp_format,disp_scale,disp_width,editor,header_width,hint,is_edit_limit,is_editable,is_empty_row_field,is_highlight,is_keyword,is_only_add,is_qry_sele,is_strict_ref,is_zero_space,label_width,modified_by,obj_id,proc_para_type,ref_cols,ref_edit_where,ref_field,ref_field_name,ref_obj,ref_type,remark,set_rule,create_by,is_fixed,ext_params,form_group,stat_type) VALUES('2023-10-24 13:36:48.000','2023-10-24 13:44:40.000',1166369704919429120,'1166369570315825152','','',1,3,'',0,0,0,0,'',0,1,0,0,0,0,1,0,0,0,0,1166369704881680384,0,'','','','','',0,'','',0,0,'','',0);
    INSERT INTO dict_obj_column_ui (gmt_create,gmt_modified,id,column_id,default_value,disp_name,disp_index,disp_position,disp_format,disp_scale,disp_width,editor,header_width,hint,is_edit_limit,is_editable,is_empty_row_field,is_highlight,is_keyword,is_only_add,is_qry_sele,is_strict_ref,is_zero_space,label_width,modified_by,obj_id,proc_para_type,ref_cols,ref_edit_where,ref_field,ref_field_name,ref_obj,ref_type,remark,set_rule,create_by,is_fixed,ext_params,form_group,stat_type) VALUES('2023-10-24 13:36:48.000','2023-10-24 13:44:40.000',1166369704923623424,'1166369570580066304','','',2,3,'',0,0,11,0,'',0,1,0,0,0,0,1,0,0,0,0,1166369704881680384,0,'','','','','',0,'','',0,0,'','',0);
    INSERT INTO dict_obj_column_ui (gmt_create,gmt_modified,id,column_id,default_value,disp_name,disp_index,disp_position,disp_format,disp_scale,disp_width,editor,header_width,hint,is_edit_limit,is_editable,is_empty_row_field,is_highlight,is_keyword,is_only_add,is_qry_sele,is_strict_ref,is_zero_space,label_width,modified_by,obj_id,proc_para_type,ref_cols,ref_edit_where,ref_field,ref_field_name,ref_obj,ref_type,remark,set_rule,create_by,is_fixed,ext_params,form_group,stat_type) VALUES('2023-10-24 13:36:48.000','2023-10-24 13:44:40.000',1166369704927817728,'1166369570919804928','','',3,0,'',0,0,1,0,'',0,1,0,0,0,0,1,0,0,0,0,1166369704881680384,0,'','','','','',0,'','',0,0,'','',0);
    INSERT INTO dict_obj_column_ui (gmt_create,gmt_modified,id,column_id,default_value,disp_name,disp_index,disp_position,disp_format,disp_scale,disp_width,editor,header_width,hint,is_edit_limit,is_editable,is_empty_row_field,is_highlight,is_keyword,is_only_add,is_qry_sele,is_strict_ref,is_zero_space,label_width,modified_by,obj_id,proc_para_type,ref_cols,ref_edit_where,ref_field,ref_field_name,ref_obj,ref_type,remark,set_rule,create_by,is_fixed,ext_params,form_group,stat_type) VALUES('2023-10-24 13:44:40.000','2023-10-24 13:44:40.000',1166371685771767808,'1166370324636233728','','',4,0,'',0,0,0,0,'',0,0,0,0,0,0,1,0,0,0,0,1166369704881680384,0,'','','','','',0,'','',0,0,'','',0);
    COMMIT tran;
END;