travel/service/ss.txt

44 lines
1.6 KiB
Plaintext
Raw Normal View History

2024-09-02 17:41:24 +08:00
{"status":200,"message":"\u6210\u529f","data":{"sellerOrderResultDOS":[],"showVerify":false,"page":{"currentPage":2,"pageSize":10,"totalCount":0,"noMore":false},"canVerify":false,"canBatchDelivery":false,"canAsyncExportOrder":true},"success":true,"traceId":"EL2AgICAsoKsChjdAyDS_sLB8TEowpfGgQ8="}
ALTER TABLE `travel`.`orders`
2024-09-20 10:41:50 +08:00
MODIFY COLUMN `appointment_status` tinyint NOT NULL DEFAULT 0 COMMENT '是否已预约0-未预约1-已预约未处理2-已预约已处理)' AFTER `next_remind_time`;
ALTER TABLE `admins`
ADD COLUMN `type` tinyint NOT NULL DEFAULT 0 COMMENT '类型0-管理员1-客服2-主播3-中控)' AFTER `route_type`;
ALTER TABLE `orders`
2024-10-13 17:01:24 +08:00
ADD COLUMN `live_room_works` int NOT NULL DEFAULT 0 COMMENT '排班表id' AFTER `appointment_status`;
2024/10/13
ALTER TABLE `orders`
ADD COLUMN `is_refunded` tinyint NOT NULL DEFAULT 0 COMMENT '是否已退款0-否1-是)' AFTER `update_time`;
update
`orders`
set is_refunded = 1
WHERE
`os` IN ( '1', '7' ) and order_status = 5;
update
`orders`
set is_refunded = 1
WHERE
2024-10-22 10:52:29 +08:00
(`os` IN ( '3', '5' ) and order_status = 4)
2024-11-15 09:47:44 +08:00
ALTER TABLE `orders`
ADD COLUMN `verification_date` datetime NULL COMMENT '核销日期';
ALTER TABLE `follows`
ADD INDEX `idx_order_id`(`order_id`) USING HASH;
2024-10-22 10:52:29 +08:00
2024-11-15 09:47:44 +08:00
update orders set verification_date =( SELECT FROM_UNIXTIME(create_time) FROM `follows` where status = 2 and order_id = orders.id limit 1)
2024-11-25 10:11:30 +08:00
##### 2024-11-21 #####
ALTER TABLE `orders`
ADD COLUMN `is_direct_mode` tinyint NOT NULL DEFAULT 0 COMMENT '是否直连模式0-否1-是)' AFTER `verification_date`;