小程序对接
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
-- 运单在途打卡记录(过程配置 transit 节点 punch=是)
|
||||
CREATE TABLE IF NOT EXISTS `blade_waybill_enroute_punch` (
|
||||
`id` bigint(20) NOT NULL COMMENT '主键',
|
||||
`tenant_id` varchar(12) DEFAULT '000000' COMMENT '租户ID',
|
||||
`waybill_id` bigint(20) NOT NULL COMMENT '运单ID',
|
||||
`waybill_no` varchar(64) DEFAULT NULL COMMENT '运单号',
|
||||
`driver_id` bigint(20) DEFAULT NULL COMMENT '打卡司机ID',
|
||||
`punch_time` datetime NOT NULL COMMENT '打卡时间',
|
||||
`longitude` decimal(12, 8) DEFAULT NULL COMMENT '经度',
|
||||
`latitude` decimal(12, 8) DEFAULT NULL COMMENT '纬度',
|
||||
`address` varchar(500) DEFAULT NULL COMMENT '打卡地址',
|
||||
`photo` varchar(1000) DEFAULT NULL COMMENT '货物照片URL',
|
||||
`create_user` bigint(20) DEFAULT NULL COMMENT '创建人',
|
||||
`create_dept` bigint(20) DEFAULT NULL COMMENT '创建部门',
|
||||
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
|
||||
`update_user` bigint(20) DEFAULT NULL COMMENT '修改人',
|
||||
`update_time` datetime DEFAULT NULL COMMENT '修改时间',
|
||||
`status` int(11) DEFAULT '1' COMMENT '状态',
|
||||
`is_deleted` int(11) DEFAULT '0' COMMENT '是否已删除',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
KEY `idx_enroute_punch_waybill` (`waybill_id`, `punch_time`) USING BTREE,
|
||||
KEY `idx_enroute_punch_driver` (`driver_id`) USING BTREE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='运单在途打卡记录';
|
||||
Reference in New Issue
Block a user