This commit is contained in:
zlwu committed 2026-07-04 08:21:06 +08:00
1 parent 8e70047f4c
commit b4a49183db
33 files changed
+11558 -5889

No files matched your search

+36
View File
@@ -2766,9 +2766,13 @@ CREATE TABLE `pl_plan` (
`settlement_method` varchar(50) DEFAULT NULL COMMENT '结算方式',
`has_freight` smallint(6) NOT NULL DEFAULT '0' COMMENT '是否有运输费用 0-否 1-是',
`pickup_address` varchar(500) DEFAULT NULL COMMENT '取货地址',
`pickup_lng` decimal(10,6) DEFAULT NULL COMMENT '取货经度',
`pickup_lat` decimal(10,6) DEFAULT NULL COMMENT '取货纬度',
`pickup_time` datetime DEFAULT NULL COMMENT '取货时间',
`pickup_notes` varchar(500) DEFAULT NULL COMMENT '取货注意事项',
`destination_address` varchar(500) DEFAULT NULL COMMENT '目的地地址',
`destination_lng` decimal(10,6) DEFAULT NULL COMMENT '送货经度',
`destination_lat` decimal(10,6) DEFAULT NULL COMMENT '送货纬度',
`delivery_time` datetime DEFAULT NULL COMMENT '送达时间',
`destination_notes` varchar(500) DEFAULT NULL COMMENT '目的地注意事项',
`transport_id` varchar(64) DEFAULT NULL COMMENT '运输ID',
@@ -3041,6 +3045,38 @@ INSERT INTO `pl_remittance_voucher` (`id`, `settlement_id`, `voucher_no`, `remit
INSERT INTO `pl_remittance_voucher` (`id`, `settlement_id`, `voucher_no`, `remittance_date`, `remittance_amount`, `voucher_urls`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('8BCB0652B9414F7EAD6EA2A4E752ECF3', '73854CC0B7B64AFE8C983120551420BB', NULL, '2026-06-28', 306.00, '[\"pl/freight-voucher/202606/28/58a088fd1641474c856a3dc71c0397ae.jpeg\"]', 'shanxia2.0', NULL, '123', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-28 17:04:52', NULL, '2026-06-28 17:04:52', 0);
COMMIT;
-- ----------------------------
-- Table structure for pl_transport_address
-- ----------------------------
DROP TABLE IF EXISTS `pl_transport_address`;
CREATE TABLE `pl_transport_address` (
`id` varchar(64) NOT NULL COMMENT '主键ID',
`address_name` varchar(200) NOT NULL COMMENT '地址名称',
`full_address` varchar(500) NOT NULL COMMENT '详细地址',
`lng` decimal(10,6) NOT NULL COMMENT '经度',
`lat` decimal(10,6) NOT NULL COMMENT '纬度',
`contact_name` varchar(100) DEFAULT NULL COMMENT '联系人',
`contact_phone` varchar(32) DEFAULT NULL COMMENT '联系电话',
`status` char(1) NOT NULL DEFAULT '1' COMMENT '状态 1-启用 0-停用',
`tenant_no` varchar(64) NOT NULL DEFAULT 'shanxia2.0' COMMENT '租户编号',
`order_num` int(11) DEFAULT NULL COMMENT '排序号',
`remark` varchar(512) DEFAULT NULL COMMENT '备注',
`create_by` varchar(64) DEFAULT NULL COMMENT '创建人id',
`create_dept_id` varchar(64) NOT NULL DEFAULT '' COMMENT '创建人部门ID',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`update_by` varchar(64) DEFAULT NULL COMMENT '更新人id',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
`del_flag` tinyint(4) NOT NULL DEFAULT '0' COMMENT '删除标记:0-正常 1-已删除',
PRIMARY KEY (`id`),
KEY `idx_pl_transport_address_tenant` (`tenant_no`,`del_flag`,`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='运输通用地址库';
-- ----------------------------
-- Records of pl_transport_address
-- ----------------------------
BEGIN;
COMMIT;
-- ----------------------------
-- Table structure for pl_transport
-- ----------------------------