DO $$ BEGIN DELETE FROM dict_obj WHERE id=986986078722326528; INSERT INTO dict_obj (app_code,module_code,code,name,table_name,order_by_sql,fix_condition,order_by,gmt_create,gmt_modified,id,fix_where_sql,app_id,extended_properties) VALUES('scm','107','tAcpJsRcpBody','经销业务单据','tAcpJsRcpBody','','','',TIMESTAMP '2022-06-16 13:30:19',TIMESTAMP '2023-12-14 14:36:25',986986078722326528,'',100,''); DELETE FROM dict_obj_column WHERE obj_id=986986078722326528; 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,gmt_modified,obj_id,remark,gmt_create,extended_properties) VALUES(1,986986244141481984,'单据号','BillNo','tAcpJsRcpBody','BillNo','STRING','',1,0,0,0,100,0,'','',0,'','NONE','','','','','',0,TIMESTAMP '2022-06-16 13:34:48',986986078722326528,'',TIMESTAMP '2022-06-16 13:34:48',''); 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,gmt_modified,obj_id,remark,gmt_create,extended_properties) VALUES(2,986986168379768832,'业务门店编码','YwOrgCode','tAcpJsRcpBody','YwOrgCode','STRING','',0,0,0,0,100,0,'','',0,'','NONE','','','','','',0,TIMESTAMP '2022-06-16 13:35:52',986986078722326528,'',TIMESTAMP '2022-06-16 13:34:48',''); 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,gmt_modified,obj_id,remark,gmt_create,extended_properties) VALUES(3,986986168379768833,'业务门店名称','YwOrgName','tAcpJsRcpBody','YwOrgName','STRING','',0,0,0,0,200,0,'','',0,'','NONE','','','','','',0,TIMESTAMP '2022-06-16 13:35:52',986986078722326528,'',TIMESTAMP '2022-06-16 13:34:48',''); 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,gmt_modified,obj_id,remark,gmt_create,extended_properties) VALUES(5,986986387653787648,'业务单据号','YwBillNo','tAcpJsRcpBody','YwBillNo','STRING','',1,0,0,0,100,0,'','',0,'','NONE','','','','','',0,TIMESTAMP '2022-06-16 13:37:36',986986078722326528,'',TIMESTAMP '2022-06-16 13:34:48',''); 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,gmt_modified,obj_id,remark,gmt_create,extended_properties) VALUES(6,986986387653787649,'业务类型','YwType','tAcpJsRcpBody','YwType','STRING','',0,0,0,0,10,0,'','',0,'','NONE','','','','','',0,TIMESTAMP '2022-06-16 13:37:36',986986078722326528,'',TIMESTAMP '2022-06-16 13:34:48',''); 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,gmt_modified,obj_id,remark,gmt_create,extended_properties) VALUES(7,986986927322300416,'业务类型名称','YwTypeName','tAcpJsRcpBody','YwTypeName','STRING','',0,0,0,0,100,0,'','',0,'','NONE','','','','','',0,TIMESTAMP '2022-06-16 13:37:36',986986078722326528,'',TIMESTAMP '2022-06-16 13:34:48',''); 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,gmt_modified,obj_id,remark,gmt_create,extended_properties) VALUES(8,986986521452085248,'记账日期','JzDate','tAcpJsRcpBody','JzDate','STRING','',0,0,0,0,20,0,'','',0,'','NONE','','','','','',0,TIMESTAMP '2022-06-16 13:37:36',986986078722326528,'',TIMESTAMP '2022-06-16 13:34:48',''); 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,gmt_modified,obj_id,remark,gmt_create,extended_properties) VALUES(9,1113113220505137152,'进项税率','JTaxRate','tAcpJsRcpBody','JTaxRate','NUMBER','',0,0,0,0,19,2,'','',0,'','NONE','','','','','',0,TIMESTAMP '2023-05-30 14:34:58',986986078722326528,'',TIMESTAMP '2023-05-30 14:34:58',''); 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,gmt_modified,obj_id,remark,gmt_create,extended_properties) VALUES(24,986986568453455873,'含税金额','HJTotal','tAcpJsRcpBody','HJTotal','NUMBER','',0,0,0,0,19,2,'','',0,'','NONE','','','','','',0,TIMESTAMP '2022-06-16 13:34:48',986986078722326528,'',TIMESTAMP '2022-06-16 13:34:48',''); 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,gmt_modified,obj_id,remark,gmt_create,extended_properties) VALUES(25,986986568453455872,'无税金额','WJTotal','tAcpJsRcpBody','WJTotal','NUMBER','',0,0,0,0,19,2,'','',0,'','NONE','','','','','',0,TIMESTAMP '2022-06-16 13:34:48',986986078722326528,'',TIMESTAMP '2022-06-16 13:34:48',''); 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,gmt_modified,obj_id,remark,gmt_create,extended_properties) VALUES(26,986986568453455874,'税额','JTaxTotal','tAcpJsRcpBody','JTaxTotal','NUMBER','',0,0,0,0,19,2,'','',0,'','NONE','','','','','',0,TIMESTAMP '2022-06-16 13:34:48',986986078722326528,'',TIMESTAMP '2022-06-16 13:34:48',''); 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,gmt_modified,obj_id,remark,gmt_create,extended_properties) VALUES(27,1106226629073432576,'相关单据号','RefBillNo','tAcpJsRcpBody','RefBillNo','STRING','',0,0,0,0,100,0,'','',0,'','NONE','','','','','',0,TIMESTAMP '2023-05-11 14:34:27',986986078722326528,'',TIMESTAMP '2023-05-11 14:33:07',''); 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,gmt_modified,obj_id,remark,gmt_create,extended_properties) VALUES(28,1106227297553215488,'相关单据类型','RefBillType','tAcpJsRcpBody','RefBillType','STRING','',0,0,0,0,20,0,'','',0,'','NONE','','','','','',0,TIMESTAMP '2023-05-11 14:34:27',986986078722326528,'',TIMESTAMP '2023-05-11 14:33:07',''); DELETE FROM dict_obj_table WHERE obj_id=986986078722326528; DELETE FROM dict_obj_column_ui WHERE obj_id=986986078722326528; INSERT INTO dict_obj_column_ui (gmt_create,id,gmt_modified,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(TIMESTAMP '2022-06-16 13:37:37',986987915600986112,TIMESTAMP '2022-06-16 13:37:37','986986244141481984','','',1,3,'',0,0,0,0,'',0,1,0,0,0,0,0,0,0,0,90000000061,986986078722326528,0,'','','','','',0,'','',90000000061,0,'','',0); INSERT INTO dict_obj_column_ui (gmt_create,id,gmt_modified,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(TIMESTAMP '2022-06-16 13:37:37',986987915600986113,TIMESTAMP '2022-06-16 13:37:37','986986168379768832','','',2,0,'',0,0,0,130,'',0,1,0,0,1,0,0,0,0,0,90000000061,986986078722326528,0,'','','','','',0,'','',90000000061,0,'','',0); INSERT INTO dict_obj_column_ui (gmt_create,id,gmt_modified,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(TIMESTAMP '2022-06-16 13:37:37',986987915600986114,TIMESTAMP '2022-06-16 13:37:37','986986168379768833','','',3,0,'',0,0,0,200,'',0,1,0,0,1,0,0,0,0,0,90000000061,986986078722326528,0,'','','','','',0,'','',90000000061,0,'','',0); INSERT INTO dict_obj_column_ui (gmt_create,id,gmt_modified,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(TIMESTAMP '2022-06-16 13:37:37',986987915600986115,TIMESTAMP '2022-06-16 13:37:37','986986387653787648','','',5,0,'',0,0,0,180,'',0,1,0,0,1,0,0,0,0,0,90000000061,986986078722326528,0,'','','','','',0,'','',90000000061,0,'','',0); INSERT INTO dict_obj_column_ui (gmt_create,id,gmt_modified,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(TIMESTAMP '2022-06-16 13:37:37',986987915600986116,TIMESTAMP '2022-06-16 13:37:37','986986387653787649','','',6,0,'',0,0,0,0,'',0,1,0,0,1,0,0,0,0,0,90000000061,986986078722326528,0,'','','','','',0,'','',90000000061,0,'','',0); INSERT INTO dict_obj_column_ui (gmt_create,id,gmt_modified,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(TIMESTAMP '2022-06-16 13:37:37',986987915600986117,TIMESTAMP '2022-06-16 13:57:22','986986927322300416','','',7,0,'',0,0,0,130,'',0,1,0,0,0,0,0,0,0,0,90000000061,986986078722326528,0,'','','','','',0,'','',90000000061,0,'','',0); INSERT INTO dict_obj_column_ui (gmt_create,id,gmt_modified,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(TIMESTAMP '2022-06-16 13:37:37',986987915600986118,TIMESTAMP '2022-06-16 13:37:37','986986521452085248','','',8,0,'',0,0,0,0,'',0,1,0,0,1,0,0,0,0,0,90000000061,986986078722326528,0,'','','','','',0,'','',90000000061,0,'','',0); INSERT INTO dict_obj_column_ui (gmt_create,id,gmt_modified,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(TIMESTAMP '2022-06-16 13:37:37',986987915600986119,TIMESTAMP '2022-06-16 13:37:50','986986568453455873','','',24,0,'',0,0,11,130,'',0,1,0,0,0,0,0,0,0,0,90000000061,986986078722326528,0,'','','','','',0,'','',90000000061,0,'','',1); INSERT INTO dict_obj_column_ui (gmt_create,id,gmt_modified,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(TIMESTAMP '2022-06-16 13:37:37',986987915600986120,TIMESTAMP '2022-06-16 13:37:50','986986568453455872','','',25,0,'',0,0,11,130,'',0,1,0,0,0,0,0,0,0,0,90000000061,986986078722326528,0,'','','','','',0,'','',90000000061,0,'','',1); INSERT INTO dict_obj_column_ui (gmt_create,id,gmt_modified,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(TIMESTAMP '2022-06-16 13:37:37',986987915600986121,TIMESTAMP '2022-06-16 13:37:50','986986568453455874','','',26,0,'',0,0,11,130,'',0,1,0,0,0,0,0,0,0,0,90000000061,986986078722326528,0,'','','','','',0,'','',90000000061,0,'','',1); INSERT INTO dict_obj_column_ui (gmt_create,id,gmt_modified,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(TIMESTAMP '2023-05-11 14:33:07',1106227496287727616,TIMESTAMP '2023-05-11 14:44:12','1106226629073432576','','',27,0,'',0,0,0,200,'',0,1,0,0,0,0,0,0,0,0,90000000062,986986078722326528,0,'','','','','',0,'','',90000000062,0,'','',0); INSERT INTO dict_obj_column_ui (gmt_create,id,gmt_modified,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(TIMESTAMP '2023-05-11 14:33:07',1106227496287727617,TIMESTAMP '2023-05-11 14:33:07','1106227297553215488','','',28,0,'',0,0,0,120,'',0,1,0,0,0,0,0,0,0,0,90000000062,986986078722326528,0,'','','','','',0,'','',90000000062,0,'','',0); INSERT INTO dict_obj_column_ui (gmt_create,id,gmt_modified,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(TIMESTAMP '2023-05-30 14:34:58',1113113328181309440,TIMESTAMP '2023-12-14 14:36:25','1113113220505137152','','',9,3,'',0,0,11,0,'',0,1,0,0,0,0,0,0,0,0,90000000062,986986078722326528,0,'','','','','',0,'','',90000000062,0,'','',0); COMMIT; END; $$;