BEGIN begin tran DELETE FROM dict_obj WHERE id=1181255365019299840; INSERT INTO dict_obj (app_code,module_code,code,name,table_name,order_by_sql,fix_condition,order_by,fix_where_sql,app_id,extended_properties,id,gmt_create,gmt_modified) VALUES('rh','da','UpdatePluOrgBody','可经营商品明细表','t_update_pluorg_body','','','','',1090595948897234944,'',1181255365019299840,'2023-12-04 15:27:06.000','2023-12-04 17:31:28.000'); DELETE FROM dict_obj_column WHERE obj_id=1181255365019299840; INSERT INTO dict_obj_column (seq_no,id,column_label,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,relation_table,para_type,relation_column,ref_type,ref_obj,ref_column,ref_column_name,ref_edit_where,ref_query_where,is_strict_ref,remark,gmt_create,gmt_modified,obj_id,extended_properties) VALUES(1,1181252440331120640,'serialno','serialno','UpdatePluOrgBody','serialno','INT','@SERIALNO',1,0,0,0,10,0,'','',0,'','NONE','','','','','',0,'','2023-12-04 15:27:06.000','2023-12-04 16:55:16.000',1181255365019299840,''); INSERT INTO dict_obj_column (seq_no,id,column_label,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,relation_table,para_type,relation_column,ref_type,ref_obj,ref_column,ref_column_name,ref_edit_where,ref_query_where,is_strict_ref,remark,gmt_create,gmt_modified,obj_id,extended_properties) VALUES(2,1181252440591167488,'单据号','billno','UpdatePluOrgBody','billno','STRING','',1,0,0,0,20,0,'','',0,'','NONE','','','','','',0,'','2023-12-04 15:27:06.000','2023-12-04 15:27:03.000',1181255365019299840,''); INSERT INTO dict_obj_column (seq_no,id,column_label,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,relation_table,para_type,relation_column,ref_type,ref_obj,ref_column,ref_column_name,ref_edit_where,ref_query_where,is_strict_ref,remark,gmt_create,gmt_modified,obj_id,extended_properties) VALUES(3,1181252440893157376,'油站编码','orgcode','UpdatePluOrgBody','orgcode','STRING','@ORGCODE',1,1,0,0,20,0,'','',0,'','TABLE','1092842127487922176','orgcode','','','',1,'','2023-12-04 15:27:06.000','2023-12-04 15:27:03.000',1181255365019299840,''); INSERT INTO dict_obj_column (seq_no,id,column_label,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,relation_table,para_type,relation_column,ref_type,ref_obj,ref_column,ref_column_name,ref_edit_where,ref_query_where,is_strict_ref,remark,gmt_create,gmt_modified,obj_id,extended_properties) VALUES(4,1181252441207730176,'商品编码','plucode','UpdatePluOrgBody','plucode','STRING','',1,1,0,0,20,0,'','',0,'','TABLE','1093900427625230336','plucode','',' Tplu.plustatus != ''2'' and Tplu.PluType in (''0'',''2'',''3'')','',1,'','2023-12-04 15:27:06.000','2023-12-04 17:31:28.000',1181255365019299840,''); INSERT INTO dict_obj_column (seq_no,id,column_label,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,relation_table,para_type,relation_column,ref_type,ref_obj,ref_column,ref_column_name,ref_edit_where,ref_query_where,is_strict_ref,remark,gmt_create,gmt_modified,obj_id,extended_properties) VALUES(5,1181252441551663104,'商品名称','pluname','UpdatePluOrgBody','pluname','STRING','',0,0,0,0,40,0,'','',0,'','PROP','plucode','pluname','','','',0,'','2023-12-04 15:27:06.000','2023-12-04 15:27:03.000',1181255365019299840,''); INSERT INTO dict_obj_column (seq_no,id,column_label,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,relation_table,para_type,relation_column,ref_type,ref_obj,ref_column,ref_column_name,ref_edit_where,ref_query_where,is_strict_ref,remark,gmt_create,gmt_modified,obj_id,extended_properties) VALUES(6,1181252442025619456,'经营权','isright','UpdatePluOrgBody','isright','STRING','',0,1,0,0,1,0,'','',0,'','NONE','','','','','',0,'','2023-12-04 15:27:06.000','2023-12-04 15:27:03.000',1181255365019299840,''); INSERT INTO dict_obj_column (seq_no,id,column_label,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,relation_table,para_type,relation_column,ref_type,ref_obj,ref_column,ref_column_name,ref_edit_where,ref_query_where,is_strict_ref,remark,gmt_create,gmt_modified,obj_id,extended_properties) VALUES(7,1181252442419884032,'允许销售','isxs','UpdatePluOrgBody','isxs','STRING','',0,1,0,0,1,0,'','',0,'','NONE','','','','','',0,'','2023-12-04 15:27:06.000','2023-12-04 15:27:03.000',1181255365019299840,''); INSERT INTO dict_obj_column (seq_no,id,column_label,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,relation_table,para_type,relation_column,ref_type,ref_obj,ref_column,ref_column_name,ref_edit_where,ref_query_where,is_strict_ref,remark,gmt_create,gmt_modified,obj_id,extended_properties) VALUES(8,1181252442826731520,'允许退货','iscgth','UpdatePluOrgBody','iscgth','STRING','',0,1,0,0,1,0,'','',0,'','NONE','','','','','',0,'','2023-12-04 15:27:06.000','2023-12-04 15:27:03.000',1181255365019299840,''); INSERT INTO dict_obj_column (seq_no,id,column_label,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,relation_table,para_type,relation_column,ref_type,ref_obj,ref_column,ref_column_name,ref_edit_where,ref_query_where,is_strict_ref,remark,gmt_create,gmt_modified,obj_id,extended_properties) VALUES(9,1181252443254550528,'是否管理库存','mngstock','UpdatePluOrgBody','mngstock','STRING','',0,1,0,0,1,0,'','',0,'','NONE','','','','','',0,'','2023-12-04 15:27:06.000','2023-12-04 15:27:03.000',1181255365019299840,''); INSERT INTO dict_obj_column (seq_no,id,column_label,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,relation_table,para_type,relation_column,ref_type,ref_obj,ref_column,ref_column_name,ref_edit_where,ref_query_where,is_strict_ref,remark,gmt_create,gmt_modified,obj_id,extended_properties) VALUES(10,1181252443703341056,'物流方式','cgmode','UpdatePluOrgBody','cgmode','STRING','',0,0,0,0,1,0,'','',0,'','ENUM','DA008','','','','',0,'','2023-12-04 15:27:06.000','2023-12-04 16:57:13.000',1181255365019299840,''); INSERT INTO dict_obj_column (seq_no,id,column_label,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,relation_table,para_type,relation_column,ref_type,ref_obj,ref_column,ref_column_name,ref_edit_where,ref_query_where,is_strict_ref,remark,gmt_create,gmt_modified,obj_id,extended_properties) VALUES(11,1181252444198268928,'门店供应商编码','supcode','UpdatePluOrgBody','supcode','STRING','',0,0,0,0,15,0,'','',0,'','NONE','','','','','',0,'','2023-12-04 15:27:06.000','2023-12-04 15:27:03.000',1181255365019299840,''); INSERT INTO dict_obj_column (seq_no,id,column_label,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,relation_table,para_type,relation_column,ref_type,ref_obj,ref_column,ref_column_name,ref_edit_where,ref_query_where,is_strict_ref,remark,gmt_create,gmt_modified,obj_id,extended_properties) VALUES(12,1181252444709974016,'判定数量','judgecnt','UpdatePluOrgBody','judgecnt','NUMBER','',0,0,0,0,19,4,'','',0,'','NONE','','','','','',0,'','2023-12-04 15:27:06.000','2023-12-04 15:27:03.000',1181255365019299840,''); INSERT INTO dict_obj_column (seq_no,id,column_label,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,relation_table,para_type,relation_column,ref_type,ref_obj,ref_column,ref_column_name,ref_edit_where,ref_query_where,is_strict_ref,remark,gmt_create,gmt_modified,obj_id,extended_properties) VALUES(13,1181253035070844928,'允许订货','isask','UpdatePluOrgBody','isask','STRING','',0,1,0,0,1,0,'','',0,'','NONE','','','','','',0,'','2023-12-04 15:27:06.000','2023-12-04 15:27:03.000',1181255365019299840,''); INSERT INTO dict_obj_column (seq_no,id,column_label,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,relation_table,para_type,relation_column,ref_type,ref_obj,ref_column,ref_column_name,ref_edit_where,ref_query_where,is_strict_ref,remark,gmt_create,gmt_modified,obj_id,extended_properties) VALUES(14,1181254263674761216,'油站名称','orgname','Tshop','orgname','STRING','@ORGNAME',0,0,0,0,0,0,'','',0,'','PROP','orgcode','orgName','','','',0,'','2023-12-04 15:27:06.000','2023-12-04 15:27:03.000',1181255365019299840,''); DELETE FROM dict_obj_table WHERE obj_id=1181255365019299840; INSERT INTO dict_obj_table (gmt_create,gmt_modified,id,table_alias,table_label,table_name,relation_type,relation_column,this_column,relation_condition,follow_delete,follow_insert,follow_update,relation_table,seq_no,obj_id) VALUES('2023-12-04 15:27:06.000','2023-12-04 15:27:03.000',1181255365027688448,'Tshop','Tshop','t_shop','LEFT','orgcode','orgcode','',0,0,0,'',1,1181255365019299840); DELETE FROM dict_obj_column_ui WHERE obj_id=1181255365019299840; 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-12-04 15:27:06.000','2023-12-04 16:49:57.000',1181255365027688449,'1181252440331120640','','',1,3,'',0,0,11,0,'',0,0,0,0,0,0,1,0,0,0,0,1181255365019299840,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-12-04 15:27:06.000','2023-12-04 16:49:57.000',1181255365027688450,'1181252440591167488','','',2,3,'',0,0,0,0,'',0,0,0,0,0,0,1,0,0,0,0,1181255365019299840,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-12-04 15:27:06.000','2023-12-04 15:27:03.000',1181255365027688451,'1181252440893157376','','',4,0,'',0,0,1,0,'',0,1,0,0,0,0,1,0,0,0,0,1181255365019299840,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-12-04 15:27:06.000','2023-12-04 15:27:03.000',1181255365027688452,'1181252441207730176','','',6,0,'',0,0,1,0,'',0,1,0,0,0,0,1,0,0,0,0,1181255365019299840,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-12-04 15:27:06.000','2023-12-04 15:27:03.000',1181255365027688453,'1181252441551663104','','',8,0,'',0,0,0,0,'',0,0,0,0,0,0,1,0,0,0,0,1181255365019299840,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-12-04 15:27:06.000','2023-12-04 15:27:03.000',1181255365027688454,'1181252442025619456','','',10,0,'',0,0,3,0,'',0,1,0,0,0,0,1,0,0,0,0,1181255365019299840,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-12-04 15:27:06.000','2023-12-04 15:27:03.000',1181255365031882752,'1181252442419884032','','',12,0,'',0,0,3,0,'',0,1,0,0,0,0,1,0,0,0,0,1181255365019299840,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-12-04 15:27:06.000','2023-12-04 15:27:03.000',1181255365031882753,'1181252442826731520','','',14,0,'',0,0,3,0,'',0,1,0,0,0,0,1,0,0,0,0,1181255365019299840,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-12-04 15:27:06.000','2023-12-04 15:27:03.000',1181255365031882754,'1181252443254550528','','',16,0,'',0,0,3,0,'',0,1,0,0,0,0,1,0,0,0,0,1181255365019299840,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-12-04 15:27:06.000','2023-12-04 15:27:03.000',1181255365031882755,'1181252443703341056','','',18,0,'',0,0,0,0,'',0,1,0,0,0,0,1,0,0,0,0,1181255365019299840,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-12-04 15:27:06.000','2023-12-04 15:27:03.000',1181255365031882756,'1181252444198268928','','',20,0,'',0,0,1,0,'',0,1,0,0,0,0,1,0,0,0,0,1181255365019299840,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-12-04 15:27:06.000','2023-12-04 15:27:03.000',1181255365031882757,'1181252444709974016','','',22,0,'',0,0,11,0,'',0,1,0,0,0,0,1,0,0,0,0,1181255365019299840,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-12-04 15:27:06.000','2023-12-04 16:49:57.000',1181255365031882758,'1181253035070844928','','',11,0,'',0,0,3,0,'',0,1,0,0,0,0,1,0,0,0,0,1181255365019299840,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-12-04 15:27:06.000','2023-12-04 15:27:03.000',1181255365031882759,'1181254263674761216','','',3,0,'',0,0,0,0,'',0,0,0,0,0,0,1,0,0,0,0,1181255365019299840,0,'','','','','',0,'','',0,0,'','',0); COMMIT tran; END;