You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
14 KiB
30 lines
14 KiB
DO $$
|
|
BEGIN
|
|
DELETE FROM dict_obj WHERE id=987004820260913152;
|
|
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','tAcpJsTaxBody','经销分税率明细','tAcpJsTaxBody','','','',TIMESTAMP '2022-06-16 14:44:47',TIMESTAMP '2023-12-15 10:22:26',987004820260913152,'',100,'');
|
|
DELETE FROM dict_obj_column WHERE obj_id=987004820260913152;
|
|
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,987004882370166784,'单据号','BillNo','tAcpJsTaxBody','BillNo','STRING','',1,1,0,0,100,0,'','',0,'','NONE','','','','','',0,TIMESTAMP '2022-06-16 14:51:54',987004820260913152,'',TIMESTAMP '2022-06-16 14:51:54','');
|
|
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,987005048389107712,'税率(%)','JTaxRate','tAcpJsTaxBody','JTaxRate','NUMBER','',1,0,0,0,3,0,'','',0,'','NONE','','','','','',0,TIMESTAMP '2022-06-16 14:51:54',987004820260913152,'',TIMESTAMP '2022-06-16 14:51:54','');
|
|
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,987005152856637440,'含税金额','HJTotal','tAcpJsTaxBody','HJTotal','NUMBER','',0,0,0,0,19,2,'','',0,'','NONE','','','','','',0,TIMESTAMP '2022-06-16 14:51:54',987004820260913152,'',TIMESTAMP '2022-06-16 14:51:54','');
|
|
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(4,987005210360545280,'无税金额','WJTotal','tAcpJsTaxBody','WJTotal','NUMBER','',0,0,0,0,19,2,'','',0,'','NONE','','','','','',0,TIMESTAMP '2022-06-16 14:51:54',987004820260913152,'',TIMESTAMP '2022-06-16 14:51:54','');
|
|
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,987005250298707968,'税额','JTaxTotal','tAcpJsTaxBody','JTaxTotal','NUMBER','',0,0,0,0,19,2,'','',0,'','NONE','','','','','',0,TIMESTAMP '2022-06-16 14:51:54',987004820260913152,'',TIMESTAMP '2022-06-16 14:51:54','');
|
|
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,987005355324080128,'进项税计算类型','JTaxCalType','tAcpJsTaxBody','JTaxCalType','STRING','',1,0,0,0,1,0,'','',0,'','ENUM','8002','','','','',0,TIMESTAMP '2022-06-16 14:56:21',987004820260913152,'',TIMESTAMP '2022-06-16 14:51:54','');
|
|
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(13,987005551105802240,'已开发票','IsInvoice','tAcpJsTaxBody','IsInvoice','STRING','',0,0,0,0,19,2,'','',0,'','NONE','','','','','',0,TIMESTAMP '2022-06-16 14:51:54',987004820260913152,'',TIMESTAMP '2022-06-16 14:51:54','');
|
|
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(15,987299100699394048,'已开票含税金额','YkHJTotal','tAcpJsTaxBody','YkHJTotal','NUMBER','',0,0,0,0,19,2,'','',0,'','NONE','','','','','',0,TIMESTAMP '2022-06-17 10:15:20',987004820260913152,'',TIMESTAMP '2022-06-17 10:15:20','');
|
|
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(20,987403036206825472,'合同编码','cntCode','tAcpJsTaxBody','cnt_code','STRING','',0,0,0,0,100,0,'','',0,'','NONE','','','','','',0,TIMESTAMP '2022-06-17 17:07:31',987004820260913152,'',TIMESTAMP '2022-06-17 17:07:31','');
|
|
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(21,987403036206825473,'合同名称','cntName','tAcpJsTaxBody','cnt_name','STRING','',0,0,0,0,100,0,'','',0,'','NONE','','','','','',0,TIMESTAMP '2022-06-17 17:07:31',987004820260913152,'',TIMESTAMP '2022-06-17 17:07:31','');
|
|
DELETE FROM dict_obj_table WHERE obj_id=987004820260913152;
|
|
DELETE FROM dict_obj_column_ui WHERE obj_id=987004820260913152;
|
|
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 14:51:54',987006609005740032,TIMESTAMP '2022-06-17 10:15:20','987004882370166784','','',1,3,'',0,0,0,0,'',0,0,0,0,0,0,0,0,0,0,90000000061,987004820260913152,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 14:51:54',987006609005740033,TIMESTAMP '2022-06-17 10:15:20','987005048389107712','','',2,0,'',0,0,11,0,'',0,0,0,0,1,0,0,0,0,0,90000000061,987004820260913152,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 14:51:54',987006609005740034,TIMESTAMP '2022-06-17 10:15:20','987005152856637440','','',3,0,'',0,0,11,130,'',0,0,0,0,0,0,0,0,0,0,90000000061,987004820260913152,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 14:51:54',987006609005740035,TIMESTAMP '2022-06-17 10:15:20','987005210360545280','','',4,0,'',0,0,11,130,'',0,0,0,0,0,0,0,0,0,0,90000000061,987004820260913152,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 14:51:54',987006609005740036,TIMESTAMP '2022-06-17 10:15:20','987005250298707968','','',5,0,'',0,0,11,130,'',0,0,0,0,0,0,0,0,0,0,90000000061,987004820260913152,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 14:51:54',987006609005740037,TIMESTAMP '2023-12-15 10:22:26','987005355324080128','','',6,3,'',0,0,0,130,'',0,0,0,0,0,0,0,0,0,0,90000000061,987004820260913152,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 14:51:54',987006609005740038,TIMESTAMP '2023-12-15 10:22:26','987005551105802240','','',13,3,'',0,0,3,0,'',0,0,0,0,0,0,0,0,0,0,90000000061,987004820260913152,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-17 10:15:20',987299402336960512,TIMESTAMP '2023-12-15 10:22:26','987299100699394048','','',15,3,'',0,0,11,130,'',0,0,0,0,0,0,0,0,0,0,984763498128998400,987004820260913152,0,'','','','','',0,'','',984763498128998400,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-17 17:07:31',987403129181962240,TIMESTAMP '2022-06-17 17:07:31','987403036206825472','','',20,3,'',0,0,0,0,'',0,0,0,0,0,0,0,0,0,0,984763498128998400,987004820260913152,0,'','','','','',0,'','',984763498128998400,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-17 17:07:31',987403129181962241,TIMESTAMP '2022-06-17 17:07:31','987403036206825473','','',21,3,'',0,0,0,0,'',0,0,0,0,0,0,0,0,0,0,984763498128998400,987004820260913152,0,'','','','','',0,'','',984763498128998400,0,'','',0);
|
|
COMMIT;
|
|
END;
|
|
$$; |