[add] 新增进度计划添加计划、日报相关接口 [update] 修改进度计划、设施相关接口
This commit is contained in:
@ -1045,20 +1045,23 @@ CREATE TABLE `pgs_progress_plan`
|
||||
DROP TABLE IF EXISTS `pgs_progress_plan_detail`;
|
||||
CREATE TABLE `pgs_progress_plan_detail`
|
||||
(
|
||||
`id` bigint not null auto_increment comment '主键id',
|
||||
`project_id` bigint not null comment '项目id',
|
||||
`progress_plan_id` bigint not null comment '进度计划id',
|
||||
`date` date null comment '计划时间',
|
||||
`plan_number` decimal(10) null comment '计划数量/百分比',
|
||||
`finished_number` decimal(10) null comment '完成数量/百分比',
|
||||
`ai_fill` decimal(10) null comment 'AI填入数量',
|
||||
`create_by` varchar(64) null comment '创建者',
|
||||
`update_by` varchar(64) null comment '更新者',
|
||||
`create_time` datetime default CURRENT_TIMESTAMP null comment '创建时间',
|
||||
`update_time` datetime default CURRENT_TIMESTAMP null on update CURRENT_TIMESTAMP comment '更新时间',
|
||||
`deleted_at` datetime null comment '删除时间',
|
||||
`is_delete` tinyint(4) default 0 not null comment '是否删除(0正常 1删除)',
|
||||
`id` bigint not null auto_increment comment '主键id',
|
||||
`project_id` bigint not null comment '项目id',
|
||||
`progress_plan_id` bigint not null comment '进度计划id',
|
||||
`progress_category_id` bigint null comment '进度类型id',
|
||||
`date` date null comment '计划时间',
|
||||
`plan_number` decimal(10) null comment '计划数量/百分比',
|
||||
`finished_number` decimal(10) null comment '完成数量/百分比',
|
||||
`ai_fill` decimal(10) null comment 'AI填入数量',
|
||||
`finished_detail` text null comment '完成设施详情',
|
||||
`create_by` varchar(64) null comment '创建者',
|
||||
`update_by` varchar(64) null comment '更新者',
|
||||
`create_time` datetime default CURRENT_TIMESTAMP null comment '创建时间',
|
||||
`update_time` datetime default CURRENT_TIMESTAMP null on update CURRENT_TIMESTAMP comment '更新时间',
|
||||
`deleted_at` datetime null comment '删除时间',
|
||||
`is_delete` tinyint(4) default 0 not null comment '是否删除(0正常 1删除)',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
INDEX `idx_project_id` (`project_id` ASC) USING BTREE comment '项目id',
|
||||
INDEX `idx_progress_plan_id` (`progress_plan_id` ASC) USING BTREE comment '进度计划id'
|
||||
INDEX `idx_progress_plan_id` (`progress_plan_id` ASC) USING BTREE comment '进度计划id',
|
||||
INDEX `idx_date` (`date` ASC) USING BTREE comment '计划时间'
|
||||
) comment ='进度计划详情' COLLATE = utf8mb4_unicode_ci;
|
||||
|
||||
Reference in New Issue
Block a user