|
@@ -321,6 +321,7 @@ CREATE TABLE IF NOT EXISTS assessment_appointments (
|
|
|
child_id BIGINT COMMENT '孩子ID',
|
|
child_id BIGINT COMMENT '孩子ID',
|
|
|
teacher_id BIGINT COMMENT '教师ID',
|
|
teacher_id BIGINT COMMENT '教师ID',
|
|
|
guide_id BIGINT COMMENT '规划师ID',
|
|
guide_id BIGINT COMMENT '规划师ID',
|
|
|
|
|
+ assessor_id BIGINT COMMENT '测评师ID(供应商体系)',
|
|
|
package_id BIGINT COMMENT '套餐ID',
|
|
package_id BIGINT COMMENT '套餐ID',
|
|
|
appointment_date VARCHAR(20) COMMENT '预约日期 yyyy-MM-dd',
|
|
appointment_date VARCHAR(20) COMMENT '预约日期 yyyy-MM-dd',
|
|
|
appointment_time VARCHAR(20) COMMENT '预约时间 HH:mm',
|
|
appointment_time VARCHAR(20) COMMENT '预约时间 HH:mm',
|
|
@@ -2789,6 +2790,7 @@ CREATE TABLE IF NOT EXISTS `dan_assessment_executions` (
|
|
|
`child_id` BIGINT NOT NULL COMMENT '孩子ID',
|
|
`child_id` BIGINT NOT NULL COMMENT '孩子ID',
|
|
|
`family_id` BIGINT NOT NULL COMMENT '家庭ID',
|
|
`family_id` BIGINT NOT NULL COMMENT '家庭ID',
|
|
|
`quota_id` BIGINT COMMENT '额度ID',
|
|
`quota_id` BIGINT COMMENT '额度ID',
|
|
|
|
|
+ `appointment_id` BIGINT COMMENT '关联assessment_appointments.id',
|
|
|
`assessor_id` BIGINT NOT NULL COMMENT '测评师userId',
|
|
`assessor_id` BIGINT NOT NULL COMMENT '测评师userId',
|
|
|
`assessor_status` ENUM('pending','completed','rejected') DEFAULT 'pending' COMMENT '测评师状态',
|
|
`assessor_status` ENUM('pending','completed','rejected') DEFAULT 'pending' COMMENT '测评师状态',
|
|
|
`assessor_completed_at` DATETIME COMMENT '测评师完成时间',
|
|
`assessor_completed_at` DATETIME COMMENT '测评师完成时间',
|