123456789101112131415161718192021222324252627282930313233343536373839404142 |
- alter table ctr_main
- add excluding_total_amount double null comment '不含税合同金额';
- alter table ctr_main
- add warranty_terms varchar(2000) null comment '质保及运维条款';
- alter table ctr_main
- add warranty_period varchar(255) null comment '质保期';
- alter table ctr_main
- add by_grp varchar(255) null comment '备用';
- CREATE TABLE `ctr_main_detail` (
- `id` varchar(50) NOT NULL,
- `ctr_main_id` varchar(50) DEFAULT NULL COMMENT '合同ID',
- `pro_id` varchar(50) DEFAULT NULL COMMENT '项目ID',
- `income_type` varchar(50) DEFAULT NULL COMMENT '收入类型',
- `num` double DEFAULT NULL COMMENT '数据',
- `included_unit_price` double DEFAULT NULL COMMENT '含税单价',
- `excluding_unit_price` double DEFAULT NULL COMMENT '不含税单价',
- `installment_income_date` date DEFAULT NULL COMMENT '分期收入登记日期',
- `created_by` varchar(64) DEFAULT NULL COMMENT '创建',
- `created_at` datetime DEFAULT NULL COMMENT '创建时间',
- `updated_by` varchar(64) DEFAULT NULL COMMENT '更新人',
- `updated_at` datetime DEFAULT NULL COMMENT '更新时间',
- `tax_rate` double DEFAULT NULL COMMENT '税率',
- `group_id` varchar(50) DEFAULT NULL,
- `included_amount` double DEFAULT NULL COMMENT '含税金额(元)',
- `excluding_amount` double DEFAULT NULL COMMENT '不含税金额',
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='合同信息';
- alter table out_order_main
- add excluding_order_amount double null comment '采购金额(不含税)';
- alter table out_order_pay
- add excluding_pay_amount double null comment '支付金额(不含税)';
|