提交
This commit is contained in:
1 parent
725774ef0c
commit
c3be9d1dce
176 files changed
+41925
-6342
No files matched your search
@@ -1,298 +0,0 @@
|
||||
/*
|
||||
报销系统(bx_*)表结构迁移 — shanxia2.0 门户标准字段适配
|
||||
|
||||
来源:docs/sql/sx.sql 中 bx_* 业务表(排除 bx_user / bx_role / bx_role_user / bx_menu / bx_menu_role)
|
||||
适配:主键 UUID(varchar64)、tenant_no、order_num、create_dept_id、del_flag smallint 等公共字段
|
||||
说明:仅建表,不导入数据
|
||||
*/
|
||||
|
||||
SET NAMES utf8mb4;
|
||||
SET FOREIGN_KEY_CHECKS = 0;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for bx_expense_item
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `bx_expense_item`;
|
||||
CREATE TABLE `bx_expense_item` (
|
||||
`id` varchar(64) NOT NULL COMMENT '主键ID(UUID)',
|
||||
`parent_id` varchar(64) NOT NULL DEFAULT '0' COMMENT '父级项目ID(0为一级项目)',
|
||||
`item_name` varchar(128) NOT NULL COMMENT '项目名称',
|
||||
`item_code` varchar(64) DEFAULT NULL COMMENT '项目编码',
|
||||
`level` tinyint(4) NOT NULL DEFAULT '1' COMMENT '层级:1-一级 2-二级',
|
||||
`sort_order` int(11) NOT NULL DEFAULT '0' COMMENT '排序号',
|
||||
`status` tinyint(4) 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 '创建人',
|
||||
`create_dept_id` varchar(64) NOT NULL DEFAULT '' COMMENT '创建部门',
|
||||
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||
`update_by` varchar(64) DEFAULT NULL COMMENT '更新人',
|
||||
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
||||
`del_flag` smallint(6) NOT NULL DEFAULT '0' COMMENT '删除标记:0-正常 1-已删除',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
KEY `idx_parent_id` (`parent_id`) USING BTREE,
|
||||
KEY `idx_tenant_no` (`tenant_no`) USING BTREE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='报销-费用项目表';
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for bx_workflow_def
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `bx_workflow_def`;
|
||||
CREATE TABLE `bx_workflow_def` (
|
||||
`id` varchar(64) NOT NULL COMMENT '主键ID(UUID)',
|
||||
`biz_type` varchar(32) NOT NULL COMMENT '业务类型:advance-备用金 reimburse-报销单',
|
||||
`wf_name` varchar(128) NOT NULL COMMENT '工作流名称',
|
||||
`status` tinyint(4) 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 '创建人',
|
||||
`create_dept_id` varchar(64) NOT NULL DEFAULT '' COMMENT '创建部门',
|
||||
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||
`update_by` varchar(64) DEFAULT NULL COMMENT '更新人',
|
||||
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
||||
`del_flag` smallint(6) NOT NULL DEFAULT '0' COMMENT '删除标记:0-正常 1-已删除',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
KEY `idx_biz_type` (`biz_type`) USING BTREE,
|
||||
KEY `idx_tenant_no` (`tenant_no`) USING BTREE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='报销-工作流定义表';
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for bx_workflow_node
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `bx_workflow_node`;
|
||||
CREATE TABLE `bx_workflow_node` (
|
||||
`id` varchar(64) NOT NULL COMMENT '主键ID(UUID)',
|
||||
`wf_id` varchar(64) NOT NULL COMMENT '工作流定义ID',
|
||||
`node_name` varchar(128) NOT NULL COMMENT '节点名称(如:主管审批、财务复核)',
|
||||
`node_order` int(11) NOT NULL DEFAULT '0' COMMENT '节点顺序(从小到大执行)',
|
||||
`approver_id` varchar(64) DEFAULT NULL COMMENT '审批人用户ID',
|
||||
`approver_name` varchar(64) DEFAULT NULL COMMENT '审批人姓名(冗余)',
|
||||
`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 '创建人',
|
||||
`create_dept_id` varchar(64) NOT NULL DEFAULT '' COMMENT '创建部门',
|
||||
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||
`update_by` varchar(64) DEFAULT NULL COMMENT '更新人',
|
||||
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
||||
`del_flag` smallint(6) NOT NULL DEFAULT '0' COMMENT '删除标记:0-正常 1-已删除',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
KEY `idx_wf_id` (`wf_id`) USING BTREE,
|
||||
KEY `idx_tenant_no` (`tenant_no`) USING BTREE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='报销-工作流节点表';
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for bx_advance_apply
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `bx_advance_apply`;
|
||||
CREATE TABLE `bx_advance_apply` (
|
||||
`id` varchar(64) NOT NULL COMMENT '主键ID(UUID)',
|
||||
`apply_code` varchar(32) NOT NULL COMMENT '申请单号(如 BYJ20260424001)',
|
||||
`applicant_id` varchar(64) NOT NULL COMMENT '申请人用户ID',
|
||||
`applicant_name` varchar(64) NOT NULL COMMENT '申请人姓名(冗余)',
|
||||
`reason` varchar(1024) NOT NULL COMMENT '申请原因',
|
||||
`purpose` varchar(1024) DEFAULT NULL COMMENT '申请目的',
|
||||
`expense_item_id` varchar(64) DEFAULT NULL COMMENT '费用项目ID',
|
||||
`amount` decimal(14,2) NOT NULL COMMENT '申请金额',
|
||||
`status` varchar(32) NOT NULL DEFAULT 'draft' COMMENT '状态:draft-草稿 pending-待审批 approved-审批通过 rejected-审批驳回 issued-已发放',
|
||||
`current_node` varchar(128) DEFAULT NULL COMMENT '当前审批节点名称',
|
||||
`wf_id` varchar(64) DEFAULT NULL COMMENT '关联工作流定义ID',
|
||||
`issue_status` varchar(32) DEFAULT NULL COMMENT '发放状态:unissued-未发放 issued-已发放',
|
||||
`issue_time` datetime DEFAULT NULL COMMENT '发放时间',
|
||||
`issue_user_id` varchar(64) DEFAULT NULL COMMENT '发放操作人ID',
|
||||
`issue_user_name` varchar(64) DEFAULT NULL COMMENT '发放操作人姓名',
|
||||
`issue_remark` varchar(512) DEFAULT NULL COMMENT '发放备注',
|
||||
`actual_amount` decimal(14,2) DEFAULT NULL COMMENT '实际发放金额',
|
||||
`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 '创建人',
|
||||
`create_dept_id` varchar(64) NOT NULL DEFAULT '' COMMENT '创建部门',
|
||||
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||
`update_by` varchar(64) DEFAULT NULL COMMENT '更新人',
|
||||
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
||||
`del_flag` smallint(6) NOT NULL DEFAULT '0' COMMENT '删除标记:0-正常 1-已删除',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
UNIQUE KEY `uk_apply_code` (`apply_code`) USING BTREE,
|
||||
KEY `idx_applicant_id` (`applicant_id`) USING BTREE,
|
||||
KEY `idx_status` (`status`) USING BTREE,
|
||||
KEY `idx_tenant_no` (`tenant_no`) USING BTREE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='报销-备用金申请单';
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for bx_advance_approval
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `bx_advance_approval`;
|
||||
CREATE TABLE `bx_advance_approval` (
|
||||
`id` varchar(64) NOT NULL COMMENT '主键ID(UUID)',
|
||||
`apply_id` varchar(64) NOT NULL COMMENT '备用金申请单ID',
|
||||
`node_order` int(11) NOT NULL COMMENT '节点顺序',
|
||||
`node_name` varchar(128) NOT NULL COMMENT '节点名称',
|
||||
`approver_id` varchar(64) NOT NULL COMMENT '审批人用户ID',
|
||||
`approver_name` varchar(64) NOT NULL COMMENT '审批人姓名',
|
||||
`approval_status` varchar(32) NOT NULL COMMENT '审批结果:approved-通过 rejected-驳回',
|
||||
`approval_opinion` varchar(1024) DEFAULT NULL COMMENT '审批意见',
|
||||
`approval_time` datetime NOT NULL COMMENT '审批时间',
|
||||
`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 '创建人',
|
||||
`create_dept_id` varchar(64) NOT NULL DEFAULT '' COMMENT '创建部门',
|
||||
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||
`update_by` varchar(64) DEFAULT NULL COMMENT '更新人',
|
||||
`update_time` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
||||
`del_flag` smallint(6) NOT NULL DEFAULT '0' COMMENT '删除标记:0-正常 1-已删除',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
KEY `idx_apply_id` (`apply_id`) USING BTREE,
|
||||
KEY `idx_tenant_no` (`tenant_no`) USING BTREE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='报销-备用金审批记录表';
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for bx_reimburse_apply
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `bx_reimburse_apply`;
|
||||
CREATE TABLE `bx_reimburse_apply` (
|
||||
`id` varchar(64) NOT NULL COMMENT '主键ID(UUID)',
|
||||
`apply_code` varchar(32) NOT NULL COMMENT '报销单号(如 BX20260424001)',
|
||||
`title` varchar(256) NOT NULL COMMENT '报销标题',
|
||||
`applicant_id` varchar(64) NOT NULL COMMENT '申请人用户ID',
|
||||
`applicant_name` varchar(64) NOT NULL COMMENT '申请人姓名(冗余)',
|
||||
`expense_id` varchar(64) NOT NULL COMMENT '费用项目ID(二级项目)',
|
||||
`expense_name` varchar(128) NOT NULL COMMENT '费用项目名称(冗余)',
|
||||
`amount` decimal(14,2) NOT NULL COMMENT '报销金额',
|
||||
`invoice_count` int(11) NOT NULL DEFAULT '0' COMMENT '发票数量',
|
||||
`attach_count` int(11) NOT NULL DEFAULT '0' COMMENT '附件数量',
|
||||
`status` varchar(32) NOT NULL DEFAULT 'draft' COMMENT '状态:draft-草稿 pending-待审批 approved-审批通过 rejected-审批驳回 paid-已发放 offset-已冲抵',
|
||||
`current_node` varchar(128) DEFAULT NULL COMMENT '当前审批节点名称',
|
||||
`wf_id` varchar(64) DEFAULT NULL COMMENT '关联工作流定义ID',
|
||||
`pay_status` varchar(32) DEFAULT NULL COMMENT '支付状态:unpaid-未支付 paid-已发放 offset-已冲抵',
|
||||
`pay_time` datetime DEFAULT NULL COMMENT '支付时间',
|
||||
`pay_user_id` varchar(64) DEFAULT NULL COMMENT '支付操作人ID',
|
||||
`pay_user_name` varchar(64) DEFAULT NULL COMMENT '支付操作人姓名',
|
||||
`actual_amount` decimal(14,2) DEFAULT NULL COMMENT '实际发放金额',
|
||||
`offset_advance_id` varchar(64) DEFAULT NULL COMMENT '冲抵关联的备用金单ID',
|
||||
`offset_amount` decimal(14,2) DEFAULT NULL COMMENT '冲抵金额',
|
||||
`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 '创建人',
|
||||
`create_dept_id` varchar(64) NOT NULL DEFAULT '' COMMENT '创建部门',
|
||||
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||
`update_by` varchar(64) DEFAULT NULL COMMENT '更新人',
|
||||
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
||||
`del_flag` smallint(6) NOT NULL DEFAULT '0' COMMENT '删除标记:0-正常 1-已删除',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
UNIQUE KEY `uk_apply_code` (`apply_code`) USING BTREE,
|
||||
KEY `idx_applicant_id` (`applicant_id`) USING BTREE,
|
||||
KEY `idx_status` (`status`) USING BTREE,
|
||||
KEY `idx_expense_id` (`expense_id`) USING BTREE,
|
||||
KEY `idx_tenant_no` (`tenant_no`) USING BTREE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='报销-报销申请单';
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for bx_reimburse_detail
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `bx_reimburse_detail`;
|
||||
CREATE TABLE `bx_reimburse_detail` (
|
||||
`id` varchar(64) NOT NULL COMMENT '主键ID(UUID)',
|
||||
`reimburse_id` varchar(64) NOT NULL COMMENT '报销单ID',
|
||||
`expense_id` varchar(64) NOT NULL COMMENT '费用项目ID',
|
||||
`expense_name` varchar(128) NOT NULL COMMENT '费用项目名称',
|
||||
`amount` decimal(14,2) NOT NULL COMMENT '报销金额',
|
||||
`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 '创建人',
|
||||
`create_dept_id` varchar(64) NOT NULL DEFAULT '' COMMENT '创建部门',
|
||||
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||
`update_by` varchar(64) DEFAULT NULL COMMENT '更新人',
|
||||
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
||||
`del_flag` smallint(6) NOT NULL DEFAULT '0' COMMENT '删除标记:0-正常 1-已删除',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
KEY `idx_reimburse_id` (`reimburse_id`) USING BTREE,
|
||||
KEY `idx_tenant_no` (`tenant_no`) USING BTREE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='报销-报销明细';
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for bx_reimburse_approval
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `bx_reimburse_approval`;
|
||||
CREATE TABLE `bx_reimburse_approval` (
|
||||
`id` varchar(64) NOT NULL COMMENT '主键ID(UUID)',
|
||||
`apply_id` varchar(64) NOT NULL COMMENT '报销申请单ID',
|
||||
`node_order` int(11) NOT NULL COMMENT '节点顺序',
|
||||
`node_name` varchar(128) NOT NULL COMMENT '节点名称',
|
||||
`approver_id` varchar(64) NOT NULL COMMENT '审批人用户ID',
|
||||
`approver_name` varchar(64) NOT NULL COMMENT '审批人姓名',
|
||||
`approval_status` varchar(32) NOT NULL COMMENT '审批结果:approved-通过 rejected-驳回',
|
||||
`approval_opinion` varchar(1024) DEFAULT NULL COMMENT '审批意见',
|
||||
`approval_time` datetime NOT NULL COMMENT '审批时间',
|
||||
`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 '创建人',
|
||||
`create_dept_id` varchar(64) NOT NULL DEFAULT '' COMMENT '创建部门',
|
||||
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||
`update_by` varchar(64) DEFAULT NULL COMMENT '更新人',
|
||||
`update_time` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
||||
`del_flag` smallint(6) NOT NULL DEFAULT '0' COMMENT '删除标记:0-正常 1-已删除',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
KEY `idx_apply_id` (`apply_id`) USING BTREE,
|
||||
KEY `idx_tenant_no` (`tenant_no`) USING BTREE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='报销-报销审批记录表';
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for bx_reimburse_offset
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `bx_reimburse_offset`;
|
||||
CREATE TABLE `bx_reimburse_offset` (
|
||||
`id` varchar(64) NOT NULL COMMENT '主键ID(UUID)',
|
||||
`reimburse_id` varchar(64) NOT NULL COMMENT '报销申请单ID',
|
||||
`advance_id` varchar(64) NOT NULL COMMENT '备用金申请单ID',
|
||||
`offset_amount` decimal(14,2) NOT NULL COMMENT '冲抵金额',
|
||||
`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 '创建人',
|
||||
`create_dept_id` varchar(64) NOT NULL DEFAULT '' COMMENT '创建部门',
|
||||
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||
`update_by` varchar(64) DEFAULT NULL COMMENT '更新人',
|
||||
`update_time` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
||||
`del_flag` smallint(6) NOT NULL DEFAULT '0' COMMENT '删除标记:0-正常 1-已删除',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
KEY `idx_reimburse_id` (`reimburse_id`) USING BTREE,
|
||||
KEY `idx_advance_id` (`advance_id`) USING BTREE,
|
||||
KEY `idx_tenant_no` (`tenant_no`) USING BTREE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='报销-报销单备用金冲抵关联表';
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for bx_attachment
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `bx_attachment`;
|
||||
CREATE TABLE `bx_attachment` (
|
||||
`id` varchar(64) NOT NULL COMMENT '主键ID(UUID)',
|
||||
`biz_type` varchar(32) NOT NULL COMMENT '业务类型:advance-备用金 reimburse-报销 advance_issue-备用金发放',
|
||||
`biz_id` varchar(64) NOT NULL COMMENT '业务单据ID',
|
||||
`file_name` varchar(256) NOT NULL COMMENT '文件名',
|
||||
`file_path` varchar(512) NOT NULL COMMENT '文件存储路径',
|
||||
`file_type` varchar(128) DEFAULT NULL COMMENT '文件MIME类型',
|
||||
`file_size` bigint(20) DEFAULT NULL COMMENT '文件大小(字节)',
|
||||
`attach_type` varchar(32) DEFAULT 'attachment' COMMENT '附件类型:invoice-发票 attachment-普通附件 issue_proof-发放截图',
|
||||
`sort_order` int(11) NOT NULL DEFAULT '0' COMMENT '排序号',
|
||||
`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 '创建人',
|
||||
`create_dept_id` varchar(64) NOT NULL DEFAULT '' COMMENT '创建部门',
|
||||
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||
`update_by` varchar(64) DEFAULT NULL COMMENT '更新人',
|
||||
`update_time` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
||||
`del_flag` smallint(6) NOT NULL DEFAULT '0' COMMENT '删除标记:0-正常 1-已删除',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
KEY `idx_biz` (`biz_type`,`biz_id`) USING BTREE,
|
||||
KEY `idx_tenant_no` (`tenant_no`) USING BTREE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='报销-附件表';
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
+172
-27
@@ -11,7 +11,7 @@
|
||||
Target Server Version : 50736 (5.7.36)
|
||||
File Encoding : 65001
|
||||
|
||||
Date: 30/05/2026 13:57:23
|
||||
Date: 07/06/2026 10:43:02
|
||||
*/
|
||||
|
||||
SET NAMES utf8mb4;
|
||||
@@ -76,7 +76,7 @@ CREATE TABLE `companies` (
|
||||
UNIQUE KEY `name` (`name`),
|
||||
KEY `idx_name` (`name`),
|
||||
KEY `idx_company_is_deleted` (`is_deleted`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=112 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='公司名称表';
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=114 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='公司名称表';
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of companies
|
||||
@@ -188,6 +188,8 @@ INSERT INTO `companies` (`id`, `name`, `remarks`, `is_deleted`, `created_at`) VA
|
||||
INSERT INTO `companies` (`id`, `name`, `remarks`, `is_deleted`, `created_at`) VALUES (109, '安徽弘肆方化工有限公司', NULL, 0, '2026-05-10T10:22:20.499201');
|
||||
INSERT INTO `companies` (`id`, `name`, `remarks`, `is_deleted`, `created_at`) VALUES (110, '池州明阳商贸有限公司', NULL, 0, '2026-05-20T11:36:27.076327');
|
||||
INSERT INTO `companies` (`id`, `name`, `remarks`, `is_deleted`, `created_at`) VALUES (111, '安徽海螺资源综合利用科技有限公司', '', 0, '2026-05-21T15:15:27.640795');
|
||||
INSERT INTO `companies` (`id`, `name`, `remarks`, `is_deleted`, `created_at`) VALUES (112, '安徽新美德化学品商贸有限公司', '', 0, '2026-06-03T18:49:53.396983');
|
||||
INSERT INTO `companies` (`id`, `name`, `remarks`, `is_deleted`, `created_at`) VALUES (113, '普林斯(安庆)医药科技有限公司', '', 0, '2026-06-04T12:11:41.378071');
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@@ -216,7 +218,7 @@ CREATE TABLE `inbound_outbound` (
|
||||
KEY `idx_is_deleted` (`is_deleted`),
|
||||
KEY `idx_status` (`status`),
|
||||
KEY `idx_vehicle_no` (`vehicle_no`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1808 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='出入库单表';
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1879 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='出入库单表';
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of inbound_outbound
|
||||
@@ -1987,21 +1989,92 @@ INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1790, '2026-05-29', '安徽川沃化学科技有限公司', '出库', '精制硫酸', 32, NULL, 'CRKDH0001451', '皖H10291', '已完成', NULL, NULL, 0, '2026-05-29 14:44:58');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1791, '2026-05-30', '安徽川沃化学科技有限公司', '出库', '精制硫酸', 32, NULL, 'CRKDH0001452', '皖H10291', '待出库', NULL, NULL, 0, '2026-05-29 14:45:35');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1792, '2026-05-29', '安徽辉隆中成科技有限 公司', '入库', '工业硫酸 98%', 32, NULL, 'CRKDH0001453', '皖HA4855', '已完成', '', NULL, 0, '2026-05-29 15:29:34');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1793, '2026-05-30', '安徽辉隆中成科技有限 公司', '入库', '98%工业硫酸', 32, NULL, 'CRKDH0001454', '皖HA3690', '待入库', NULL, NULL, 0, '2026-05-29 15:40:04');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1793, '2026-05-30', '安徽辉隆中成科技有限 公司', '入库', '98%工业硫酸', 32, NULL, 'CRKDH0001454', '皖HA3690', '已完成', NULL, NULL, 0, '2026-05-29 15:40:04');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1794, '2026-05-29', '安徽华尔泰化工股份有限公司', '入库', '精制硫酸', 31, NULL, 'CRKDH0001455', '皖H57837', '待入库', '', NULL, 0, '2026-05-29 17:18:10');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1795, '2026-05-30', '安徽辉隆中成科技有限 公司', '入库', '工业硫酸 98%', 32, NULL, 'CRKDH0001456', '皖HA4885', '待入库', NULL, NULL, 0, '2026-05-29 18:14:19');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1796, '2026-05-30', '安徽辉隆中成科技有限 公司', '入库', '工业硫酸 98%', 32, NULL, 'CRKDH0001457', '皖HA7562', '待入库', NULL, NULL, 0, '2026-05-29 18:14:51');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1795, '2026-05-30', '安徽辉隆中成科技有限 公司', '入库', '工业硫酸 98%', 32, NULL, 'CRKDH0001456', '皖HA4885', '已完成', NULL, NULL, 0, '2026-05-29 18:14:19');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1796, '2026-05-30', '安徽辉隆中成科技有限 公司', '入库', '工业硫酸 98%', 32, NULL, 'CRKDH0001457', '皖HA7562', '已完成', NULL, NULL, 0, '2026-05-29 18:14:51');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1797, '2026-05-30', '安徽辉隆中成科技有限 公司', '入库', '工业硫酸 98%', 32, NULL, 'CRKDH0001458', '皖HA3690', '待入库', NULL, NULL, 0, '2026-05-29 18:15:16');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1798, '2026-05-30', '安徽辉隆中成科技有限 公司', '入库', '工业硫酸 98%', 32, NULL, 'CRKDH0001459', '皖H57837', '已完成', NULL, NULL, 0, '2026-05-29 18:15:34');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1799, '2026-05-30', '安徽华尔泰化工股份有限公司', '入库', '精制硫酸', 32, NULL, 'CRKDH0001460', '皖HA3190', '待入库', NULL, NULL, 0, '2026-05-29 18:16:02');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1800, '2026-05-30', '安徽华尔泰化工股份有限公司', '入库', '精制硫酸', 32, NULL, 'CRKDH0001461', '皖HA3190', '已完成', NULL, NULL, 0, '2026-05-29 18:16:20');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1801, '2026-05-30', '安徽辉隆中成科技有限 公司', '入库', '工业硫酸 98%', 32, NULL, 'CRKDH0001462', '皖HA7562', '已完成', '', NULL, 0, '2026-05-30 06:49:07');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1802, '2026-05-30', '合肥德泽化工科技有限公司', '出库', '工业硫酸 30%', 10, NULL, 'CRKDH0001463', '皖AM8516', '待出库', '', NULL, 0, '2026-05-30 09:19:40');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1802, '2026-05-30', '合肥德泽化工科技有限公司', '出库', '工业硫酸 30%', 10, NULL, 'CRKDH0001463', '皖AM8516', '已完成', '', NULL, 0, '2026-05-30 09:19:40');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1803, '2026-05-30', '安徽华尔泰化工股份有限公司', '入库', '精制硫酸', 32, NULL, 'CRKDH0001464', '皖HA3190', '待入库', '', NULL, 0, '2026-05-30 09:43:55');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1804, '2026-05-30', '安庆新普电气设备有限公司', '出库', '32% 烧碱', 32, NULL, 'CRKDH0001465', '皖H09177', '已完成', '', NULL, 0, '2026-05-30 10:23:43');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1805, '2026-05-30', '安庆新宜化工有限公司', '入库', '31%工业盐酸', 5, NULL, 'CRKDH0001466', '皖R 09621', '已完成', '', NULL, 0, '2026-05-30 10:48:11');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1806, '2026-05-30', '安庆新宜化工有限公司', '出库', '工业硫酸 50%', 32, NULL, 'CRKDH0001467', '皖R09261', '待出库', '', NULL, 0, '2026-05-30 10:49:26');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1806, '2026-05-30', '安庆新宜化工有限公司', '出库', '工业硫酸 50%', 32, NULL, 'CRKDH0001467', '皖R09261', '已完成', '', NULL, 0, '2026-05-30 10:49:26');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1807, '2026-05-30', '合肥德泽化工科技有限公司', '出库', '50%工业硫酸', 7, NULL, 'CRKDH0001468', '皖A6B619', '待出库', '', NULL, 0, '2026-05-30 10:57:33');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1808, '2026-05-30', '安庆市曙光供销运输有限责任公司', '入库', '32% 烧碱', 32, 'SX-20260530182330001', 'CRKDH0001469', '皖H13532', '已完成', '', 100, 0, '2026-05-30 18:24:22');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1809, '2026-05-31', '安庆市曙光供销运输有限责任公司', '入库', '32% 烧碱', 32, '', 'CRKDH0001470', '皖H31656', '已完成', '', NULL, 0, '2026-05-30 18:52:19');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1810, '2026-05-31', '安徽辉隆中成科技有限 公司', '入库', '98%硫磺酸', 32, NULL, 'CRKDH0001471', '皖 HA3190', '已完成', '', NULL, 0, '2026-05-31 06:46:01');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1811, '2026-05-31', '安徽辉隆中成科技有限 公司', '入库', '工业硫酸 98%', 32, NULL, 'CRKDH0001472', '皖H57837', '已完成', '', NULL, 0, '2026-05-31 06:47:14');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1812, '2026-05-31', '安徽辉隆中成科技有限 公司', '入库', '工业硫酸 98%', 32, NULL, 'CRKDH0001473', '皖H10291', '待入库', '', NULL, 1, '2026-05-31 06:49:08');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1813, '2026-05-31', '合肥金顺化工有限公司', '出库', '50%工业硫酸', 32, NULL, 'CRKDH0001474', '皖M1B005', '已完成', '', NULL, 0, '2026-05-31 10:20:52');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1814, '2026-05-31', '合肥金顺化工有限公司', '出库', '工业硫酸 50%', 32, 'SX-20260501012625001', 'CRKDH0001475', '皖M1B005', '待出库', '', 91, 1, '2026-05-31 10:21:18');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1815, '2026-05-31', '安徽辉隆中成科技有限 公司', '入库', '98%硫磺酸', 32, NULL, 'CRKDH0001475', '皖HA3690', '已完成', '', NULL, 0, '2026-05-31 11:36:33');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1816, '2026-06-01', '安庆市曙光供销运输有限责任公司', '入库', '32% 烧碱', 32, NULL, 'CRKDH0001476', '皖H31656', '待入库', '', NULL, 0, '2026-05-31 15:55:36');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1817, '2026-06-01', '铜陵华博精细化工有限公司', '出库', '精制硫酸', 32, NULL, 'CRKDH0001477', '皖HA3690', '待出库', '', NULL, 1, '2026-05-31 15:58:59');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1818, '2026-05-31', '合肥金顺化工有限公司', '出库', '50%工业硫酸', 32, NULL, 'CRKDH0001478', '皖M7A663', '已完成', '', NULL, 0, '2026-05-31 16:38:30');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1819, '2026-06-01', '安徽辉隆中成科技有限 公司', '入库', '工业硫酸 98%', 32, NULL, 'CRKDH0001479', '皖 HA3190', '已完成', '', NULL, 0, '2026-05-31 16:44:53');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1820, '2026-06-01', '安徽华尔泰化工股份有限公司', '入库', '精制硫酸', 32, NULL, 'CRKDH0001480', '皖 HA3190', '待入库', '', NULL, 1, '2026-05-31 16:46:28');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1821, '2026-06-01', '安徽辉隆中成科技有限 公司', '入库', '工业硫酸 98%', 31, NULL, 'CRKDH0001481', '皖H57837', '已完成', '', NULL, 0, '2026-05-31 16:47:32');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1822, '2026-06-01', '湖北富奕达电子科技有限公司', '出库', '工业硫酸 50%', 31, NULL, 'CRKDH0001482', '皖H57837', '已完成', '', NULL, 0, '2026-05-31 17:04:30');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1823, '2026-06-01', '合肥金顺化工有限公司', '出库', '工业硫酸 50%', 32, NULL, 'CRKDH0001483', '皖M8B070', '已完成', '', NULL, 0, '2026-05-31 18:29:59');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1824, '2026-06-01', '合肥德泽化工科技有限公司', '出库', '工业硫酸 50%', 5, NULL, 'CRKDH0001484', '皖A6B619', '已完成', '', NULL, 0, '2026-05-31 18:53:19');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1825, '2026-06-01', '池州明阳商贸有限公司', '出库', '工业硫酸 98%', 32, NULL, 'CRKDH0001485', '皖R48299', '已完成', '', NULL, 0, '2026-06-01 12:27:55');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1826, '2026-06-01', '合肥金顺化工有限公司', '出库', '工业硫酸 50%', 32, NULL, 'CRKDH0001486', '皖M6B541', '已完成', NULL, NULL, 0, '2026-06-01 14:32:22');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1827, '2026-06-01', '江西旺尚环保科技有限公司', '出库', '工业硫酸 98%', 32, NULL, 'CRKDH0001487', '皖 HA3190', '待出库', '', NULL, 1, '2026-06-01 15:38:04');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1828, '2026-06-02', '江西旺尚环保科技有限公司', '出库', '工业硫酸 98%', 32, NULL, 'CRKDH0001487', '皖 HA3190', '已完成', '', NULL, 0, '2026-06-01 15:42:21');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1829, '2026-06-02', '安徽嘉珑凯贸易有限责任公司', '入库', '32% 烧碱', 32, NULL, 'CRKDH0001488', '豫RR0752', '待入库', NULL, NULL, 0, '2026-06-01 17:25:04');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1830, '2026-06-02', '安徽华尔泰化工股份有限公司', '入库', '精制硫酸', 32, NULL, 'CRKDH0001489', '皖 HA3190', '已完成', '', NULL, 0, '2026-06-01 18:23:21');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1831, '2026-06-02', '安庆飞霖新材料有限公司', '出库', '32% 烧碱', 32, NULL, 'CRKDH0001490', '皖H09177', '待出库', '', NULL, 0, '2026-06-02 07:33:02');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1832, '2026-06-02', '合肥德泽化工科技有限公司', '出库', '工业硫酸 30%', 10, NULL, 'CRKDH0001491', '皖AM8516', '已完成', NULL, NULL, 0, '2026-06-02 09:57:17');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1833, '2026-06-02', '铜陵华博精细化工有限公司', '入库', '精制硫酸', 32, NULL, 'CRKDH0001492', '皖H10291', '已完成', '', NULL, 0, '2026-06-02 11:20:54');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1834, '2026-06-02', '合肥金顺化工有限公司', '出库', '工业硫酸 50%', 32, NULL, 'CRKDH0001493', '皖M8B070', '已完成', NULL, NULL, 0, '2026-06-02 13:07:28');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1835, '2026-06-02', '安庆市曙光供销运输有限责任公司', '入库', '32% 烧碱', 32, NULL, 'CRKDH0001494', '皖H31656', '已完成', '', NULL, 0, '2026-06-02 17:16:57');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1836, '2026-06-02', '安徽华尔泰化工股份有限公司', '入库', '精制硫酸', 32, NULL, 'CRKDH0001495', '皖H10291', '已完成', NULL, NULL, 0, '2026-06-02 17:49:03');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1837, '2026-06-03', '安徽腾龙源科技有限公司', '出库', '工业硫酸 50%', 32, NULL, 'CRKDH0001496', '皖H10291', '已完成', '', NULL, 0, '2026-06-03 06:51:51');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1838, '2026-06-04', '安庆新宜化工有限公司', '出库', '工业硫酸 50%', 32, NULL, 'CRKDH0001497', '皖R09621', '已完成', NULL, NULL, 0, '2026-06-03 09:41:46');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1839, '2026-06-03', '合肥金顺化工有限公司', '出库', '工业硫酸 50%', 32, NULL, 'CRKDH0001498', '皖M8B070', '已完成', NULL, NULL, 0, '2026-06-03 10:21:17');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1840, '2026-06-04', '环德(福建)环保科技有限公司太湖分公司', '出库', '工业硫酸 98%', 13, NULL, 'CRKDH0001499', '皖AH6271', '已完成', NULL, NULL, 0, '2026-06-03 15:27:58');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1841, '2026-06-04', '合肥德泽化工科技有限公司', '出库', '工业硫酸 30%', 10, NULL, 'CRKDH0001500', '皖AM8516', '已完成', NULL, NULL, 0, '2026-06-03 15:35:13');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1842, '2026-06-04', '德生纺织印染(安庆)有限公司', '出库', '32% 烧碱', 32, NULL, 'CRKDH0001501', '皖H13532', '已完成', NULL, NULL, 0, '2026-06-03 15:40:27');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1843, '2026-06-04', '德生纺织印染(安庆)有限公司', '出库', '32% 烧碱', 32, NULL, 'CRKDH0001502', '皖H31656', '已完成', NULL, NULL, 0, '2026-06-03 15:40:59');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1844, '2026-06-03', '安徽永恒动力科技有限公司', '出库', '精制硫酸', 32, NULL, 'CRKDH0001503', '皖HA3690', '已完成', NULL, NULL, 0, '2026-06-03 15:42:13');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1845, '2026-06-04', '安徽辉隆中成科技有限 公司', '入库', '98%工业硫酸', 32, NULL, 'CRKDH0001504', '皖HA3690', '待入库', NULL, NULL, 0, '2026-06-03 15:43:07');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1846, '2026-06-04', '江西旺尚环保科技有限公司', '出库', '工业硫酸 98%', 32, NULL, 'CRKDH0001505', '皖HA3190', '已完成', '原计划是送新美德,新美德化验不达标,退货后改送旺尚', NULL, 0, '2026-06-03 18:50:29');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1847, '2026-06-03', '铜陵华博精细化工有限公司', '入库', '精制硫酸', 32, NULL, 'CRKDH0001506', '皖H10291', '已完成', NULL, NULL, 0, '2026-06-03 18:51:52');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1848, '2026-06-04', '昆山市富乐化工有限公司', '出库', '工业硫酸 50%', 32, NULL, 'CRKDH0001507', '皖H10291', '已完成', '', NULL, 0, '2026-06-04 06:34:21');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1849, '2026-06-04', '池州明阳商贸有限公司', '出库', '工业硫酸 98%', 32, 'SX-20260604073748001', 'CRKDH0001508', '皖R48299', '已完成', '', 111, 0, '2026-06-04 07:38:04');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1850, '2026-06-04', '合肥金顺化工有限公司', '出库', '工业硫酸 50%', 32, NULL, 'CRKDH0001509', '皖M7A663', '已完成', NULL, NULL, 0, '2026-06-04 09:54:02');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1851, '2026-06-04', '普林斯(安庆)医药科技有限公司', '出库', '32% 烧碱', 32, NULL, 'CRKDH0001510', '皖H13532', '已完成', NULL, NULL, 0, '2026-06-04 12:12:16');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1852, '2026-06-05', '安徽永恒动力科技有限公司', '出库', '精制硫酸', 32, NULL, 'CRKDH0001511', '皖HA3690', '已完成', NULL, NULL, 0, '2026-06-04 15:04:12');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1853, '2026-06-05', '安庆亿成化工科技有限公司', '出库', '32% 烧碱', 15, NULL, 'CRKDH0001512', '皖H09177', '已完成', NULL, NULL, 0, '2026-06-04 16:20:10');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1854, '2026-06-05', '德生纺织印染(安庆)有限公司', '出库', '32% 烧碱', 32, NULL, 'CRKDH0001513', '皖H13532', '已完成', NULL, NULL, 0, '2026-06-04 16:47:09');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1855, '2026-06-04', '安庆科思化学有限公司', '出库', '32% 烧碱', 32, NULL, 'CRKDH0001514', '皖H13532', '已完成', NULL, NULL, 0, '2026-06-04 17:22:51');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1856, '2026-06-04', '德生纺织印染(安庆)有限公司', '出库', '32% 烧碱', 32, NULL, 'CRKDH0001515', '皖H13532', '待出库', NULL, NULL, 0, '2026-06-04 17:25:08');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1857, '2026-06-05', '安庆振新汽车有限公司', '出库', '40%工业硫酸', 5, NULL, 'CRKDH0001516', '皖HA3190', '已完成', '', NULL, 0, '2026-06-05 08:31:15');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1858, '2026-06-05', '池州明阳商贸有限公司', '出库', '工业硫酸 98%', 32, 'SX-20260604073748001', 'CRKDH0001517', '皖R48299', '已完成', '', 111, 0, '2026-06-05 10:34:37');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1859, '2026-06-05', '合肥金顺化工有限公司', '出库', '工业硫酸 50%', 32, NULL, 'CRKDH0001518', '皖M7A663', '已完成', NULL, NULL, 0, '2026-06-05 14:16:28');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1860, '2026-06-06', '合肥金顺化工有限公司', '出库', '工业硫酸 50%', 32, NULL, 'CRKDH0001519', '皖M9B133', '已完成', NULL, NULL, 0, '2026-06-05 15:22:59');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1861, '2026-06-05', '安庆新普电气设备有限公司', '出库', '32% 烧碱', 25, NULL, 'CRKDH0001520', '皖H09177', '已完成', NULL, NULL, 0, '2026-06-05 15:40:41');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1862, '2026-06-06', '上饶市敏达精细化工有限公司', '出库', '98%工业硫酸', 32, NULL, 'CRKDH0001521', '皖HA3690', '待出库', NULL, NULL, 1, '2026-06-05 17:12:32');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1863, '2026-06-06', '安徽辉隆中成科技有限 公司', '入库', '98%工业硫酸', 32, NULL, 'CRKDH0001522', '皖HA3690', '待入库', NULL, NULL, 1, '2026-06-05 17:13:47');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1864, '2026-06-06', '江西旺尚环保科技有限公司', '出库', '98%工业硫酸', 32, NULL, 'CRKDH0001523', '皖H57837', '待出库', NULL, NULL, 1, '2026-06-05 17:15:00');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1865, '2026-06-06', '安庆振新汽车有限公司', '出库', '40%工业硫酸', 5, NULL, 'CRKDH0001524', '皖HA3190', '待出库', NULL, NULL, 1, '2026-06-05 17:16:31');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1866, '2026-06-05', '安庆新宜化工有限公司', '入库', '31%工业盐酸', 12, NULL, 'CRKDH0001524', '皖HA1082', '已完成', '', NULL, 0, '2026-06-05 20:07:44');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1867, '2026-06-06', '合肥德泽化工科技有限公司', '出库', '工业硫酸 30%', 32, NULL, 'CRKDH0001525', '皖AM8516', '已完成', '', NULL, 0, '2026-06-06 08:04:51');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1868, '2026-06-06', '安庆科思化学有限公司', '出库', '32% 烧碱', 32, NULL, 'CRKDH0001526', '皖H09177', '已完成', '', NULL, 0, '2026-06-06 10:35:21');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1869, '2026-06-06', '合肥金顺化工有限公司', '出库', '工业硫酸 50%', 32, NULL, 'CRKDH0001527', '皖M7A663', '已完成', '', NULL, 0, '2026-06-06 10:54:16');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1870, '2026-06-06', '安徽辉隆中成科技有限 公司', '入库', '98%硫磺酸', 32, NULL, 'CRKDH0001528', '皖HA3190', '已完成', '', NULL, 1, '2026-06-06 14:39:32');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1871, '2026-06-06', '安徽辉隆中成科技有限 公司', '入库', '工业硫酸 98%', 32, NULL, 'CRKDH0001529', '皖HA3690', '待入库', '', NULL, 1, '2026-06-06 17:04:20');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1872, '2026-06-07', '安徽辉隆中成科技有限 公司', '入库', '工业硫酸 98%', 32, NULL, 'CRKDH0001528', '皖HA3690', '已完成', '', NULL, 0, '2026-06-06 17:10:22');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1873, '2026-06-07', '安徽辉隆中成科技有限 公司', '入库', '工业硫酸 98%', 32, NULL, 'CRKDH0001529', '皖HA3190', '待入库', '', NULL, 0, '2026-06-06 18:54:45');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1874, '2026-06-07', '安徽辉隆中成科技有限 公司', '入库', '工业硫酸 98%', 32, NULL, 'CRKDH0001530', '皖H57837', '待入库', '', NULL, 0, '2026-06-06 18:55:53');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1875, '2026-06-07', '合肥金顺化工有限公司', '出库', '工业硫酸 50%', 32, NULL, 'CRKDH0001531', '皖M6B541', '待出库', '', NULL, 0, '2026-06-07 07:36:07');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1876, '2026-06-07', '安徽嘉珑凯贸易有限责任公司', '入库', '32% 烧碱', 32, '', 'CRKDH0001532', '皖H31656', '已完成', '', NULL, 0, '2026-06-07 08:41:16');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1877, '2026-06-07', '安庆市曙光供销运输有限责任公司', '入库', '32% 烧碱', 32, 'SX-20260601012625001', 'CRKDH0001533', '皖H13532', '待入库', '', 105, 0, '2026-06-07 08:51:05');
|
||||
INSERT INTO `inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `remarks`, `purchase_plan_id`, `is_deleted`, `created_at`) VALUES (1878, '2026-06-07', '池州明阳商贸有限公司', '出库', '工业硫酸 98%', 32, NULL, 'CRKDH0001534', '皖R48299', '待出库', '', NULL, 0, '2026-06-07 10:16:48');
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@@ -2069,7 +2142,7 @@ CREATE TABLE `purchase_plans` (
|
||||
KEY `idx_execution_status` (`execution_status`),
|
||||
KEY `idx_auto_generate_enabled` (`auto_generate_enabled`),
|
||||
KEY `idx_auto_generate_end_month` (`auto_generate_end_month`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=99 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='计划表';
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=112 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='计划表';
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of purchase_plans
|
||||
@@ -2151,17 +2224,30 @@ INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_d
|
||||
INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `remarks`, `is_deleted`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `created_at`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`) VALUES (85, 'SX-20260407170246001', '2026-04-07', '2026-04-07', '2026-04-30', '入库', '32% 烧碱', '', 500, '', '安徽嘉珑凯贸易有限责任公司', '', 0, '待入库', NULL, NULL, 0, '2026-04-07 17:02:46', 1, '', NULL);
|
||||
INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `remarks`, `is_deleted`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `created_at`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`) VALUES (86, 'SX-20260420092141001', '2026-04-20', '2026-04-20', '2026-04-30', '出库', '精制硫酸', '', 700, '', '安徽永恒动力科技有限公司', '', 0, '待出库', NULL, NULL, 0, '2026-04-20 09:21:41', 1, '', NULL);
|
||||
INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `remarks`, `is_deleted`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `created_at`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`) VALUES (87, 'SX-20260423073517001', '2026-04-23', '2026-04-23', '2026-05-31', '入库', '工业硫酸 98%', NULL, 1000, '', '合肥金顺化工有限公司', '', 0, '待入库', NULL, NULL, 0, '2026-04-23 07:35:17', 1, NULL, NULL);
|
||||
INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `remarks`, `is_deleted`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `created_at`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`) VALUES (88, 'SX-20260501012625001', '2026-05-01', '2026-05-01', '2026-05-31', '入库', '32% 烧碱', NULL, 2000, '', '安徽嘉珑凯贸易有限责任公司', '', 0, '待入库', NULL, NULL, 0, '2026-05-01 01:26:25', 1, NULL, NULL);
|
||||
INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `remarks`, `is_deleted`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `created_at`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`) VALUES (89, 'SX-20260501012625001', '2026-05-01', '2026-05-01', '2026-05-31', '出库', '工业硫酸 30%', '', 100, '', '合肥德泽化工科技有限公司', '', 0, '待出库', NULL, NULL, 0, '2026-05-01 01:26:25', 1, NULL, NULL);
|
||||
INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `remarks`, `is_deleted`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `created_at`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`) VALUES (90, 'SX-20260501012625001', '2026-05-01', '2026-05-01', '2026-05-31', '入库', '工业硫酸 98%', '', 1000, '', '铜陵锦帆物资有限责任公司', '', 0, '待入库', NULL, NULL, 0, '2026-05-01 01:26:25', 1, NULL, NULL);
|
||||
INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `remarks`, `is_deleted`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `created_at`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`) VALUES (91, 'SX-20260501012625001', '2026-05-01', '2026-05-01', '2026-05-31', '出库', '工业硫酸 50%', '', 200, '', '合肥金顺化工有限公司', '', 0, '待出库', NULL, NULL, 0, '2026-05-01 01:26:25', 1, NULL, NULL);
|
||||
INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `remarks`, `is_deleted`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `created_at`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`) VALUES (92, 'SX-20260501012625001', '2026-05-01', '2026-05-01', '2026-05-31', '入库', '32% 烧碱', '', 1000, '', '安庆市曙光供销运输有限责任公司', '', 0, '待入库', NULL, NULL, 0, '2026-05-01 01:26:25', 1, NULL, NULL);
|
||||
INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `remarks`, `is_deleted`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `created_at`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`) VALUES (93, 'SX-20260501012625001', '2026-05-01', '2026-05-01', '2026-05-31', '出库', '工业硫酸 98%', '', 1000, '', '中石化安庆分公司', '', 0, '待出库', NULL, NULL, 0, '2026-05-01 01:26:25', 1, NULL, NULL);
|
||||
INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `remarks`, `is_deleted`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `created_at`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`) VALUES (94, 'SX-20260501012625001', '2026-05-01', '2026-05-01', '2026-05-31', '出库', '32% 烧碱', '', 1000, '', '中石化安庆分公司', '', 0, '待出库', NULL, NULL, 0, '2026-05-01 01:26:25', 1, NULL, NULL);
|
||||
INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `remarks`, `is_deleted`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `created_at`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`) VALUES (95, 'SX-20260501012625001', '2026-05-01', '2026-05-01', '2026-05-31', '出库', '精致硫酸', '', 200, '', '安徽永恒动力科技有限公司', '', 0, '待出库', NULL, NULL, 0, '2026-05-01 01:26:25', 1, NULL, NULL);
|
||||
INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `remarks`, `is_deleted`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `created_at`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`) VALUES (96, 'SX-20260501012625001', '2026-05-01', '2026-05-01', '2026-05-31', '入库', '32% 烧碱', '', 1000, '', '中盐安徽红四方股份有限公司', '', 0, '待入库', NULL, NULL, 0, '2026-05-01 01:26:25', 1, NULL, NULL);
|
||||
INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `remarks`, `is_deleted`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `created_at`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`) VALUES (88, 'SX-20260501012625001', '2026-05-01', '2026-05-01', '2026-05-31', '入库', '32% 烧碱', NULL, 2000, '', '安徽嘉珑凯贸易有限责任公司', '', 0, '待入库', NULL, NULL, 0, '2026-05-01 01:26:25', 1, NULL, '2026-06');
|
||||
INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `remarks`, `is_deleted`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `created_at`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`) VALUES (89, 'SX-20260501012625001', '2026-05-01', '2026-05-01', '2026-05-31', '出库', '工业硫酸 30%', '', 100, '', '合肥德泽化工科技有限公司', '', 0, '待出库', NULL, NULL, 0, '2026-05-01 01:26:25', 1, NULL, '2026-06');
|
||||
INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `remarks`, `is_deleted`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `created_at`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`) VALUES (90, 'SX-20260501012625001', '2026-05-01', '2026-05-01', '2026-05-31', '入库', '工业硫酸 98%', '', 1000, '', '铜陵锦帆物资有限责任公司', '', 0, '待入库', NULL, NULL, 0, '2026-05-01 01:26:25', 1, NULL, '2026-06');
|
||||
INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `remarks`, `is_deleted`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `created_at`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`) VALUES (91, 'SX-20260501012625001', '2026-05-01', '2026-05-01', '2026-05-31', '出库', '工业硫酸 50%', '', 200, '', '合肥金顺化工有限公司', '', 0, '待出库', NULL, NULL, 0, '2026-05-01 01:26:25', 1, NULL, '2026-06');
|
||||
INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `remarks`, `is_deleted`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `created_at`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`) VALUES (92, 'SX-20260501012625001', '2026-05-01', '2026-05-01', '2026-05-31', '入库', '32% 烧碱', '', 1000, '', '安庆市曙光供销运输有限责任公司', '', 0, '待入库', NULL, NULL, 0, '2026-05-01 01:26:25', 1, NULL, '2026-06');
|
||||
INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `remarks`, `is_deleted`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `created_at`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`) VALUES (93, 'SX-20260501012625001', '2026-05-01', '2026-05-01', '2026-05-31', '出库', '工业硫酸 98%', '', 1000, '', '中石化安庆分公司', '', 0, '待出库', NULL, NULL, 0, '2026-05-01 01:26:25', 1, NULL, '2026-06');
|
||||
INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `remarks`, `is_deleted`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `created_at`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`) VALUES (94, 'SX-20260501012625001', '2026-05-01', '2026-05-01', '2026-05-31', '出库', '32% 烧碱', '', 1000, '', '中石化安庆分公司', '', 0, '待出库', NULL, NULL, 0, '2026-05-01 01:26:25', 1, NULL, '2026-06');
|
||||
INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `remarks`, `is_deleted`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `created_at`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`) VALUES (95, 'SX-20260501012625001', '2026-05-01', '2026-05-01', '2026-05-31', '出库', '精致硫酸', '', 200, '', '安徽永恒动力科技有限公司', '', 0, '待出库', NULL, NULL, 0, '2026-05-01 01:26:25', 1, NULL, '2026-06');
|
||||
INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `remarks`, `is_deleted`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `created_at`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`) VALUES (96, 'SX-20260501012625001', '2026-05-01', '2026-05-01', '2026-05-31', '入库', '32% 烧碱', '', 1000, '', '中盐安徽红四方股份有限公司', '', 0, '待入库', NULL, NULL, 0, '2026-05-01 01:26:25', 1, NULL, '2026-06');
|
||||
INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `remarks`, `is_deleted`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `created_at`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`) VALUES (97, 'SX-20260507081447001', '2026-05-07', '2026-05-07', '2026-06-30', '入库', '工业硫酸 98%', NULL, 1000, '', '安徽昆腾商贸有限公司', '', 0, '待入库', NULL, NULL, 0, '2026-05-07 08:14:47', 0, NULL, NULL);
|
||||
INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `remarks`, `is_deleted`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `created_at`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`) VALUES (98, 'SX-20260508163529001', '2026-05-08', '2026-05-08', '2026-05-31', '入库', '工业硫酸 98%', '', 2000, '', '安徽昆腾商贸有限公司', '', 0, '待入库', NULL, NULL, 0, '2026-05-08 16:35:29', 1, '', NULL);
|
||||
INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `remarks`, `is_deleted`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `created_at`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`) VALUES (99, 'SX-20260530182222001', '2026-05-30', '2026-05-30', '', '入库', '32% 烧碱', NULL, 34, '', '安庆市曙光供销运输有限责任公司', '', 0, '待入库', NULL, NULL, 0, '2026-05-30 18:22:22', 0, NULL, NULL);
|
||||
INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `remarks`, `is_deleted`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `created_at`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`) VALUES (100, 'SX-20260530182330001', '2026-05-30', '2026-05-30', '', '入库', '32% 烧碱', NULL, 34, '', '安庆市曙光供销运输有限责任公司', '', 0, '待入库', NULL, NULL, 0, '2026-05-30 18:23:30', 0, NULL, NULL);
|
||||
INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `remarks`, `is_deleted`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `created_at`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`) VALUES (101, 'SX-20260601012625001', '2026-06-01', '2026-06-01', '2026-06-30', '入库', '32% 烧碱', NULL, 2000, '', '安徽嘉珑凯贸易有限责任公司', '', 0, '待入库', NULL, NULL, 0, '2026-06-01 01:26:25', 1, NULL, NULL);
|
||||
INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `remarks`, `is_deleted`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `created_at`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`) VALUES (102, 'SX-20260601012625001', '2026-06-01', '2026-06-01', '2026-06-30', '出库', '工业硫酸 30%', '', 100, '', '合肥德泽化工科技有限公司', '', 0, '待出库', NULL, NULL, 0, '2026-06-01 01:26:25', 1, NULL, NULL);
|
||||
INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `remarks`, `is_deleted`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `created_at`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`) VALUES (103, 'SX-20260601012625001', '2026-06-01', '2026-06-01', '2026-06-30', '入库', '工业硫酸 98%', '', 1000, '', '铜陵锦帆物资有限责任公司', '', 0, '待入库', NULL, NULL, 0, '2026-06-01 01:26:25', 1, NULL, NULL);
|
||||
INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `remarks`, `is_deleted`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `created_at`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`) VALUES (104, 'SX-20260601012625001', '2026-06-01', '2026-06-01', '2026-06-30', '出库', '工业硫酸 50%', '', 200, '', '合肥金顺化工有限公司', '', 0, '待出库', NULL, NULL, 0, '2026-06-01 01:26:25', 1, NULL, NULL);
|
||||
INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `remarks`, `is_deleted`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `created_at`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`) VALUES (105, 'SX-20260601012625001', '2026-06-01', '2026-06-01', '2026-06-30', '入库', '32% 烧碱', '', 1000, '', '安庆市曙光供销运输有限责任公司', '', 0, '待入库', NULL, NULL, 0, '2026-06-01 01:26:25', 1, NULL, NULL);
|
||||
INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `remarks`, `is_deleted`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `created_at`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`) VALUES (106, 'SX-20260601012625001', '2026-06-01', '2026-06-01', '2026-06-30', '出库', '工业硫酸 98%', '', 1000, '', '中石化安庆分公司', '', 0, '待出库', NULL, NULL, 0, '2026-06-01 01:26:25', 1, NULL, NULL);
|
||||
INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `remarks`, `is_deleted`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `created_at`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`) VALUES (107, 'SX-20260601012625001', '2026-06-01', '2026-06-01', '2026-06-30', '出库', '32% 烧碱', '', 1000, '', '中石化安庆分公司', '', 0, '待出库', NULL, NULL, 0, '2026-06-01 01:26:25', 1, NULL, NULL);
|
||||
INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `remarks`, `is_deleted`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `created_at`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`) VALUES (108, 'SX-20260601012625001', '2026-06-01', '2026-06-01', '2026-06-30', '出库', '精致硫酸', '', 200, '', '安徽永恒动力科技有限公司', '', 0, '待出库', NULL, NULL, 0, '2026-06-01 01:26:25', 1, NULL, NULL);
|
||||
INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `remarks`, `is_deleted`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `created_at`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`) VALUES (109, 'SX-20260601012625001', '2026-06-01', '2026-06-01', '2026-06-30', '入库', '32% 烧碱', '', 1000, '', '中盐安徽红四方股份有限公司', '', 0, '待入库', NULL, NULL, 0, '2026-06-01 01:26:25', 1, NULL, NULL);
|
||||
INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `remarks`, `is_deleted`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `created_at`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`) VALUES (110, 'SX-20260604063032001', '2026-06-04', '2026-06-04', '', '出库', '工业硫酸 50%', NULL, 31, '', NULL, '', 0, '待出库', NULL, NULL, 0, '2026-06-04 06:30:32', 0, NULL, NULL);
|
||||
INSERT INTO `purchase_plans` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `remarks`, `is_deleted`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `created_at`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`) VALUES (111, 'SX-20260604073748001', '2026-06-04', '2026-06-04', '2026-06-30', '出库', '工业硫酸 98%', NULL, 500, '', '池州明阳商贸有限公司', '', 0, '待出库', NULL, NULL, 0, '2026-06-04 07:37:48', 0, NULL, NULL);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@@ -2214,10 +2300,10 @@ CREATE TABLE `vehicles` (
|
||||
`created_at` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `id` (`id`),
|
||||
UNIQUE KEY `uq_vehicles_vehicle_no` (`vehicle_no`),
|
||||
KEY `ix_vehicles_vehicle_no` (`vehicle_no`),
|
||||
KEY `ix_vehicles_is_deleted` (`is_deleted`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=172 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
KEY `ix_vehicles_is_deleted` (`is_deleted`),
|
||||
KEY `uq_vehicles_vehicle_no` (`vehicle_no`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=174 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of vehicles
|
||||
@@ -2333,13 +2419,13 @@ INSERT INTO `vehicles` (`id`, `vehicle_no`, `remarks`, `is_deleted`, `created_at
|
||||
INSERT INTO `vehicles` (`id`, `vehicle_no`, `remarks`, `is_deleted`, `created_at`) VALUES (145, '皖AB1168', NULL, 0, '2026-03-12T13:43:02.822032');
|
||||
INSERT INTO `vehicles` (`id`, `vehicle_no`, `remarks`, `is_deleted`, `created_at`) VALUES (146, '皖A000000', NULL, 0, '2026-03-14T16:25:41.343186');
|
||||
INSERT INTO `vehicles` (`id`, `vehicle_no`, `remarks`, `is_deleted`, `created_at`) VALUES (147, '苏AN1453', NULL, 0, '2026-03-18T16:57:42.699975');
|
||||
INSERT INTO `vehicles` (`id`, `vehicle_no`, `remarks`, `is_deleted`, `created_at`) VALUES (148, '皖H A1082', NULL, 0, '2026-03-21T17:58:30.375198');
|
||||
INSERT INTO `vehicles` (`id`, `vehicle_no`, `remarks`, `is_deleted`, `created_at`) VALUES (149, '皖 HA3190', NULL, 0, '2026-03-23T11:54:56.006870');
|
||||
INSERT INTO `vehicles` (`id`, `vehicle_no`, `remarks`, `is_deleted`, `created_at`) VALUES (148, '皖HA1082', NULL, 0, '2026-03-21T17:58:30.375198');
|
||||
INSERT INTO `vehicles` (`id`, `vehicle_no`, `remarks`, `is_deleted`, `created_at`) VALUES (149, '皖HA3190', NULL, 0, '2026-03-23T11:54:56.006870');
|
||||
INSERT INTO `vehicles` (`id`, `vehicle_no`, `remarks`, `is_deleted`, `created_at`) VALUES (150, '皖HA3190', NULL, 0, '2026-03-23T15:58:35.154966');
|
||||
INSERT INTO `vehicles` (`id`, `vehicle_no`, `remarks`, `is_deleted`, `created_at`) VALUES (151, '皖R03208', NULL, 0, '2026-03-27T13:43:07.903180');
|
||||
INSERT INTO `vehicles` (`id`, `vehicle_no`, `remarks`, `is_deleted`, `created_at`) VALUES (152, '苏DBC606', NULL, 0, '2026-04-09T12:07:40.994809');
|
||||
INSERT INTO `vehicles` (`id`, `vehicle_no`, `remarks`, `is_deleted`, `created_at`) VALUES (153, '皖H57847', NULL, 0, '2026-04-15T17:07:28.128319');
|
||||
INSERT INTO `vehicles` (`id`, `vehicle_no`, `remarks`, `is_deleted`, `created_at`) VALUES (154, '皖R 09621', NULL, 0, '2026-04-21T09:09:15.368041');
|
||||
INSERT INTO `vehicles` (`id`, `vehicle_no`, `remarks`, `is_deleted`, `created_at`) VALUES (154, '皖R09621', NULL, 0, '2026-04-21T09:09:15.368041');
|
||||
INSERT INTO `vehicles` (`id`, `vehicle_no`, `remarks`, `is_deleted`, `created_at`) VALUES (155, '皖M2A667', NULL, 0, '2026-04-21T10:35:12.000561');
|
||||
INSERT INTO `vehicles` (`id`, `vehicle_no`, `remarks`, `is_deleted`, `created_at`) VALUES (156, '皖RFY567', NULL, 0, '2026-04-21T15:07:01.764894');
|
||||
INSERT INTO `vehicles` (`id`, `vehicle_no`, `remarks`, `is_deleted`, `created_at`) VALUES (157, '赣GC2953车', NULL, 0, '2026-04-23T11:26:20.608020');
|
||||
@@ -2357,6 +2443,8 @@ INSERT INTO `vehicles` (`id`, `vehicle_no`, `remarks`, `is_deleted`, `created_at
|
||||
INSERT INTO `vehicles` (`id`, `vehicle_no`, `remarks`, `is_deleted`, `created_at`) VALUES (169, '皖R48299', NULL, 0, '2026-05-20T12:16:41.361235');
|
||||
INSERT INTO `vehicles` (`id`, `vehicle_no`, `remarks`, `is_deleted`, `created_at`) VALUES (170, '豫RDW170', NULL, 0, '2026-05-23T20:47:55.872708');
|
||||
INSERT INTO `vehicles` (`id`, `vehicle_no`, `remarks`, `is_deleted`, `created_at`) VALUES (171, '豫RSR156', NULL, 0, '2026-05-23T22:07:16.171832');
|
||||
INSERT INTO `vehicles` (`id`, `vehicle_no`, `remarks`, `is_deleted`, `created_at`) VALUES (172, '豫RR0752', NULL, 0, '2026-06-01T17:25:04.828683');
|
||||
INSERT INTO `vehicles` (`id`, `vehicle_no`, `remarks`, `is_deleted`, `created_at`) VALUES (173, '皖AH6271', NULL, 0, '2026-06-03T15:27:58.309267');
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@@ -2395,7 +2483,7 @@ CREATE TABLE `weighing_slips` (
|
||||
KEY `idx_is_voided` (`is_voided`),
|
||||
KEY `idx_purchase_plan_id` (`purchase_plan_id`),
|
||||
KEY `idx_inbound_outbound_id` (`inbound_outbound_id`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1364 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='地磅单表';
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1421 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='地磅单表';
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of weighing_slips
|
||||
@@ -3720,8 +3808,65 @@ INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `busi
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1359, '皖HA3190', NULL, '精制硫酸', '入库', 'CRKDH0001461', '安徽华尔泰化工股份有限公司', '安庆市山峡化工有限公司', 47340, '2026-05-30 11:17:51', 16590, '2026-05-30 12:45:37', 0, 30750, NULL, NULL, NULL, 1800, '山峡地磅', '', 32000, 0, '2026-05-30 11:17:54');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1360, '皖R 09621', NULL, '31%工业盐酸', '入库', 'CRKDH0001466', '安庆新宜化工有限公司', '安庆市山峡化工有限公司', 27650, '2026-05-30 12:15:51', 17860, '2026-05-30 13:25:03', 0, 9790, NULL, NULL, NULL, 1805, '山峡地磅', '', 5000, 0, '2026-05-30 12:15:53');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1361, '皖H57837', NULL, '工业硫酸 98%', '入库', 'CRKDH0001459', '安徽辉隆中成科技有限 公司', '安庆市山峡化工有限公司', 48250, '2026-05-30 12:18:45', 17670, '2026-05-30 13:43:48', 0, 30580, NULL, NULL, NULL, 1798, '山峡地磅', '', 32000, 0, '2026-05-30 12:18:46');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1362, '皖R09261', NULL, '工业硫酸 50%', '出库', 'CRKDH0001467', '安庆市山峡化工有限公司', '安庆新宜化工有限公司', 0, '', 17860, '2026-05-30 13:25:41', 0, -17860, NULL, NULL, NULL, 1806, '山峡地磅', '', 32000, 0, '2026-05-30 13:25:43');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1363, '皖HA4885', NULL, '工业硫酸 98%', '入库', 'CRKDH0001456', '安徽辉隆中成科技有限 公司', '安庆市山峡化工有限公司', 48590, '2026-05-30 13:42:01', 0, '', 0, 48590, NULL, NULL, NULL, 1795, '山峡地磅', '', 32000, 0, '2026-05-30 13:42:04');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1362, '皖R09261', NULL, '工业硫酸 50%', '出库', 'CRKDH0001467', '安庆市山峡化工有限公司', '安庆新宜化工有限公司', 48830, '2026-05-30 14:33:27', 17860, '2026-05-30 13:25:41', 0, 30970, NULL, NULL, NULL, 1806, '山峡地磅', '', 32000, 0, '2026-05-30 13:25:43');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1363, '皖HA4885', NULL, '工业硫酸 98%', '入库', 'CRKDH0001456', '安徽辉隆中成科技有限 公司', '安庆市山峡化工有限公司', 48590, '2026-05-30 13:42:01', 16300, '2026-05-30 15:04:34', 0, 32290, NULL, NULL, NULL, 1795, '山峡地磅', '', 32000, 0, '2026-05-30 13:42:04');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1364, '皖AM8516', NULL, '工业硫酸 30%', '出库', 'CRKDH0001463', '安庆市山峡化工有限公司', '合肥德泽化工科技有限公司', 17810, '2026-05-30 14:58:10', 7710, '2026-05-30 13:57:32', 0, 10100, NULL, NULL, NULL, 1802, '山峡地磅', '', 10000, 0, '2026-05-30 13:57:34');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1365, '皖HA3690', NULL, '98%工业硫酸', '入库', 'CRKDH0001454', '安徽辉隆中成科技有限 公司', '安庆市山峡化工有限公司', 49170, '2026-05-30 15:44:58', 17520, '2026-05-30 17:04:17', 0, 31650, NULL, NULL, NULL, 1793, '山峡地磅', '', 32000, 0, '2026-05-30 15:45:01');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1366, '皖HA7562', NULL, '工业硫酸 98%', '入库', 'CRKDH0001457', '安徽辉隆中成科技有限 公司', '安庆市山峡化工有限公司', 48540, '2026-05-30 16:30:05', 16410, '2026-05-30 18:34:47', 0, 32130, NULL, NULL, NULL, 1796, '山峡地磅', '', 32000, 0, '2026-05-30 16:30:06');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1367, '皖H13532', 'SX-20260530182330001', '32% 烧碱', '入库', 'CRKDH0001469', '安庆市曙光供销运输有限责任公司', '安庆市山峡化工有限公司', 48670, '2026-05-30 18:26:17', 15130, '2026-05-30 19:47:10', 0, 33540, NULL, 33540, NULL, 1808, '山峡地磅', '', 32000, 0, '2026-05-30 18:26:19');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1368, '皖H31656', '', '32% 烧碱', '入库', 'CRKDH0001470', '安庆市曙光供销运输有限责任公司', '安庆市山峡化工有限公司', 48640, '2026-05-31 09:17:52', 14690, '2026-05-31 10:37:28', 0, 33950, NULL, NULL, NULL, 1809, '山峡地磅', '', 32000, 0, '2026-05-31 09:17:57');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1369, '皖M1B005', NULL, '50%工业硫酸', '出库', 'CRKDH0001474', '安庆市山峡化工有限公司', '合肥金顺化工有限公司', 49280, '2026-05-31 11:29:48', 18000, '2026-05-31 10:35:47', 0, 31280, NULL, NULL, NULL, 1813, '山峡地磅', '', 32000, 0, '2026-05-31 10:35:48');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1370, '皖 HA3190', NULL, '98%硫磺酸', '入库', 'CRKDH0001471', '安徽辉隆中成科技有限 公司', '安庆市山峡化工有限公司', 47750, '2026-05-31 11:08:22', 16710, '2026-05-31 12:25:24', 0, 31040, NULL, NULL, NULL, 1810, '山峡地磅', '', 32000, 0, '2026-05-31 11:08:24');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1371, '皖HA3690', NULL, '98%硫磺酸', '入库', 'CRKDH0001475', '安徽辉隆中成科技有限 公司', '安庆市山峡化工有限公司', 49110, '2026-05-31 12:46:33', 17440, '2026-05-31 14:02:51', 0, 31670, NULL, NULL, NULL, 1815, '山峡地磅', '', 32000, 0, '2026-05-31 12:46:35');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1372, '皖H57837', NULL, '工业硫酸 98%', '入库', 'CRKDH0001472', '安徽辉隆中成科技有限 公司', '安庆市山峡化工有限公司', 48390, '2026-05-31 13:08:07', 17800, '2026-05-31 15:11:59', 0, 30590, NULL, NULL, NULL, 1811, '山峡地磅', '', 32000, 0, '2026-05-31 13:08:09');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1373, '皖M7A663', NULL, '50%工业硫酸', '出库', 'CRKDH0001478', '安庆市山峡化工有限公司', '合肥金顺化工有限公司', 48930, '2026-05-31 20:32:32', 17910, '2026-05-31 19:37:13', 0, 31020, NULL, NULL, NULL, 1818, '山峡地磅', '', 32000, 0, '2026-05-31 19:37:15');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1374, '皖 HA3190', NULL, '工业硫酸 98%', '入库', 'CRKDH0001479', '安徽辉隆中成科技有限 公司', '安庆市山峡化工有限公司', 47770, '2026-06-01 07:11:50', 16630, '2026-06-01 08:34:58', 0, 31140, NULL, NULL, NULL, 1819, '山峡地磅', '', 32000, 0, '2026-06-01 07:11:52');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1375, '皖M8B070', NULL, '工业硫酸 50%', '出库', 'CRKDH0001483', '安庆市山峡化工有限公司', '合肥金顺化工有限公司', 48550, '2026-06-01 08:08:38', 18000, '2026-06-01 07:15:26', 0, 30550, NULL, NULL, NULL, 1823, '山峡地磅', '', 32000, 0, '2026-06-01 07:15:28');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1376, '皖H57837', NULL, '工业硫酸 98%', '入库', 'CRKDH0001481', '安徽辉隆中成科技有限 公司', '安庆市山峡化工有限公司', 48290, '2026-06-01 12:14:30', 17740, '2026-06-01 13:31:43', 0, 30550, NULL, NULL, NULL, 1821, '山峡地磅', '', 31000, 0, '2026-06-01 12:14:32');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1377, '皖H57837', NULL, '工业硫酸 50%', '出库', 'CRKDH0001482', '安庆市山峡化工有限公司', '湖北富奕达电子科技有限公司', 48130, '2026-06-01 14:55:27', 17740, '2026-06-01 13:32:08', 0, 30390, NULL, NULL, NULL, 1822, '山峡地磅', '', 31000, 0, '2026-06-01 13:32:09');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1378, '皖A6B619', NULL, '工业硫酸 50%', '出库', 'CRKDH0001484', '安庆市山峡化工有限公司', '合肥德泽化工科技有限公司', 12420, '2026-06-01 13:54:00', 7470, '2026-06-01 13:34:14', 0, 4950, NULL, NULL, NULL, 1824, '山峡地磅', '', 5000, 0, '2026-06-01 13:34:15');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1379, '皖R48299', NULL, '工业硫酸 98%', '出库', 'CRKDH0001485', '安庆市山峡化工有限公司', '池州明阳商贸有限公司', 48820, '2026-06-01 15:03:25', 16110, '2026-06-01 14:01:40', 0, 32710, NULL, NULL, NULL, 1825, '山峡地磅', '', 32000, 0, '2026-06-01 14:01:42');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1380, '皖M6B541', NULL, '工业硫酸 50%', '出库', 'CRKDH0001486', '安庆市山峡化工有限公司', '合肥金顺化工有限公司', 48520, '2026-06-01 21:06:13', 18130, '2026-06-01 20:11:23', 0, 30390, NULL, NULL, NULL, 1826, '山峡地磅', '', 32000, 0, '2026-06-01 20:11:25');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1381, '皖 HA3190', NULL, '精制硫酸', '入库', 'CRKDH0001489', '安徽华尔泰化工股份有限公司', '安庆市山峡化工有限公司', 47920, '2026-06-02 06:01:09', 16820, '2026-06-02 07:12:21', 0, 31100, NULL, NULL, NULL, 1830, '山峡地磅', '', 32000, 0, '2026-06-02 06:01:10');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1382, '皖 HA3190', NULL, '工业硫酸 98%', '出库', 'CRKDH0001487', '安庆市山峡化工有限公司', '江西旺尚环保科技有限公司', 47570, '2026-06-02 08:03:27', 16820, '2026-06-02 07:12:44', 0, 30750, NULL, NULL, NULL, 1828, '山峡地磅', '', 32000, 0, '2026-06-02 07:12:46');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1383, '皖H09177', NULL, '32% 烧碱', '出库', 'CRKDH0001490', '安庆市山峡化工有限公司', '安庆飞霖新材料有限公司', 0, '', 15400, '2026-06-02 08:01:45', 0, -15400, NULL, NULL, NULL, 1831, '山峡地磅', '', 32000, 0, '2026-06-02 08:01:47');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1384, '豫RR0752', NULL, '32% 烧碱', '入库', 'CRKDH0001488', '安徽嘉珑凯贸易有限责任公司', '安庆市山峡化工有限公司', 49020, '2026-06-02 08:26:04', 0, '', 0, 49020, NULL, NULL, NULL, 1829, '山峡地磅', '', 32000, 0, '2026-06-02 08:25:22');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1385, '皖H10291', NULL, '精制硫酸', '入库', 'CRKDH0001492', '铜陵华博精细化工有限公司', '安庆市山峡化工有限公司', 48540, '2026-06-02 11:28:55', 17100, '2026-06-02 12:57:30', 0, 31440, NULL, NULL, NULL, 1833, '山峡地磅', '', 32000, 0, '2026-06-02 11:28:58');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1386, '皖AM8516', NULL, '工业硫酸 30%', '出库', 'CRKDH0001491', '安庆市山峡化工有限公司', '合肥德泽化工科技有限公司', 17970, '2026-06-02 13:25:13', 10650, '2026-06-02 12:59:44', 0, 7320, NULL, NULL, NULL, 1832, '山峡地磅', '', 10000, 0, '2026-06-02 12:59:46');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1387, '皖M8B070', NULL, '工业硫酸 50%', '出库', 'CRKDH0001493', '安庆市山峡化工有限公司', '合肥金顺化工有限公司', 48340, '2026-06-02 17:24:18', 17880, '2026-06-02 16:32:29', 0, 30460, NULL, NULL, NULL, 1834, '山峡地磅', '', 32000, 0, '2026-06-02 16:32:31');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1388, '皖H31656', NULL, '32% 烧碱', '入库', 'CRKDH0001494', '安庆市曙光供销运输有限责任公司', '安庆市山峡化工有限公司', 48460, '2026-06-02 17:37:23', 14700, '2026-06-02 19:06:39', 0, 33760, NULL, NULL, NULL, 1835, '山峡地磅', '', 32000, 0, '2026-06-02 17:37:25');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1389, '皖H10291', NULL, '精制硫酸', '入库', 'CRKDH0001495', '安徽华尔泰化工股份有限公司', '安庆市山峡化工有限公司', 48260, '2026-06-02 17:50:49', 17060, '2026-06-02 19:24:30', 0, 31200, NULL, NULL, NULL, 1836, '山峡地磅', '', 32000, 0, '2026-06-02 17:50:56');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1390, '皖H10291', NULL, '工业硫酸 50%', '出库', 'CRKDH0001496', '安庆市山峡化工有限公司', '安徽腾龙源科技有限公司', 46670, '2026-06-03 08:11:56', 17100, '2026-06-03 07:17:42', 0, 29570, NULL, NULL, NULL, 1837, '山峡地磅', '', 32000, 0, '2026-06-03 07:17:43');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1391, '皖M8B070', NULL, '工业硫酸 50%', '出库', 'CRKDH0001498', '安庆市山峡化工有限公司', '合肥金顺化工有限公司', 48530, '2026-06-03 17:47:24', 18030, '2026-06-03 16:56:51', 0, 30500, NULL, NULL, NULL, 1839, '山峡地磅', '', 32000, 0, '2026-06-03 16:56:53');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1392, '皖HA3690', NULL, '精制硫酸', '出库', 'CRKDH0001503', '安庆市山峡化工有限公司', '安徽永恒动力科技有限公司', 49060, '2026-06-03 20:12:18', 17730, '2026-06-03 18:44:49', 0, 31330, NULL, NULL, NULL, 1844, '山峡地磅', '', 32000, 0, '2026-06-03 18:44:51');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1393, '皖H10291', NULL, '精制硫酸', '入库', 'CRKDH0001506', '铜陵华博精细化工有限公司', '安庆市山峡化工有限公司', 48470, '2026-06-03 18:53:08', 16990, '2026-06-03 21:25:53', 0, 31480, NULL, NULL, NULL, 1847, '山峡地磅', '', 32000, 0, '2026-06-03 18:53:11');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1394, '皖HA3190', NULL, '工业硫酸 98%', '出库', 'CRKDH0001505', '安庆市山峡化工有限公司', '江西旺尚环保科技有限公司', 47660, '2026-06-04 07:31:05', 16700, '2026-06-04 06:35:32', 0, 30960, NULL, NULL, NULL, 1846, '山峡地磅', '原计划是送新美德,新美德化验不达标,退货后改送旺尚', 32000, 0, '2026-06-04 06:35:35');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1395, '皖H10291', NULL, '工业硫酸 50%', '出库', 'CRKDH0001507', '安庆市山峡化工有限公司', '昆山市富乐化工有限公司', 43730, '2026-06-04 07:34:25', 16990, '2026-06-04 06:36:57', 0, 26740, NULL, NULL, NULL, 1848, '山峡地磅', '', 32000, 0, '2026-06-04 06:36:59');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1396, '皖H13532', NULL, '32% 烧碱', '出库', 'CRKDH0001501', '安庆市山峡化工有限公司', '德生纺织印染(安庆)有限公司', 49280, '2026-06-04 08:04:04', 15130, '2026-06-04 07:13:56', 0, 34150, NULL, NULL, NULL, 1842, '山峡地磅', '', 32000, 0, '2026-06-04 07:14:04');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1397, '皖R48299', 'SX-20260604073748001', '工业硫酸 98%', '出库', 'CRKDH0001508', '安庆市山峡化工有限公司', '池州明阳商贸有限公司', 48660, '2026-06-04 10:36:44', 16260, '2026-06-04 09:18:05', 0, 32400, NULL, 32400, NULL, 1849, '山峡地磅', '', 32000, 0, '2026-06-04 09:18:08');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1398, '皖AM8516', NULL, '工业硫酸 30%', '出库', 'CRKDH0001500', '安庆市山峡化工有限公司', '合肥德泽化工科技有限公司', 17820, '2026-06-04 09:59:14', 8090, '2026-06-04 09:20:33', 0, 9730, NULL, NULL, NULL, 1841, '山峡地磅', '', 10000, 0, '2026-06-04 09:20:36');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1399, '皖AH6271', NULL, '工业硫酸 98%', '出库', 'CRKDH0001499', '安庆市山峡化工有限公司', '环德(福建)环保科技有限公司太湖分公司', 23160, '2026-06-04 11:07:17', 10510, '2026-06-04 10:16:25', 0, 12650, NULL, NULL, NULL, 1840, '山峡地磅', '', 13000, 0, '2026-06-04 10:16:27');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1400, '皖H31656', NULL, '32% 烧碱', '出库', 'CRKDH0001502', '安庆市山峡化工有限公司', '德生纺织印染(安庆)有限公司', 49060, '2026-06-04 12:04:30', 14720, '2026-06-04 11:02:25', 0, 34340, NULL, NULL, NULL, 1843, '山峡地磅', '', 32000, 0, '2026-06-04 11:02:34');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1401, '皖H13532', NULL, '32% 烧碱', '出库', 'CRKDH0001510', '安庆市山峡化工有限公司', '普林斯(安庆)医药科技有限公司', 48940, '2026-06-04 13:52:58', 15110, '2026-06-04 17:45:14', 0, 33830, NULL, NULL, NULL, 1851, '山峡地磅', '', 32000, 0, '2026-06-04 13:53:04');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1402, '皖M7A663', NULL, '工业硫酸 50%', '出库', 'CRKDH0001509', '安庆市山峡化工有限公司', '合肥金顺化工有限公司', 49110, '2026-06-04 16:03:05', 18000, '2026-06-04 15:04:49', 0, 31110, NULL, NULL, NULL, 1850, '山峡地磅', '', 32000, 0, '2026-06-04 15:04:52');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1403, '皖R09621', NULL, '工业硫酸 50%', '出库', 'CRKDH0001497', '安庆市山峡化工有限公司', '安庆新宜化工有限公司', 48910, '2026-06-04 16:51:09', 17820, '2026-06-04 15:10:50', 0, 31090, NULL, NULL, NULL, 1838, '山峡地磅', '', 32000, 0, '2026-06-04 15:10:51');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1404, '皖H13532', NULL, '32% 烧碱', '出库', 'CRKDH0001514', '安庆市山峡化工有限公司', '安庆科思化学有限公司', 47870, '2026-06-04 18:35:39', 15110, '2026-06-04 17:45:42', 0, 32760, NULL, NULL, NULL, 1855, '山峡地磅', '', 32000, 0, '2026-06-04 17:45:44');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1405, '皖H09177', NULL, '32% 烧碱', '出库', 'CRKDH0001512', '安庆市山峡化工有限公司', '安庆亿成化工科技有限公司', 30580, '2026-06-05 09:43:05', 15420, '2026-06-05 08:02:57', 0, 15160, NULL, NULL, NULL, 1853, '山峡地磅', '', 15000, 0, '2026-06-05 08:02:59');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1406, '皖HA3190', NULL, '40%工业硫酸', '出库', 'CRKDH0001516', '安庆市山峡化工有限公司', '安庆振新汽车有限公司', 21300, '2026-06-05 09:03:44', 16580, '2026-06-05 08:39:05', 0, 4720, NULL, NULL, NULL, 1857, '山峡地磅', '', 5000, 0, '2026-06-05 08:39:07');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1407, '皖HA3690', NULL, '精制硫酸', '出库', 'CRKDH0001511', '安庆市山峡化工有限公司', '安徽永恒动力科技有限公司', 49060, '2026-06-05 10:41:54', 17440, '2026-06-05 09:25:54', 0, 31620, NULL, NULL, NULL, 1852, '山峡地磅', '', 32000, 0, '2026-06-05 09:25:56');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1408, '皖H13532', NULL, '32% 烧碱', '出库', 'CRKDH0001513', '安庆市山峡化工有限公司', '德生纺织印染(安庆)有限公司', 48760, '2026-06-05 12:28:17', 15090, '2026-06-05 11:09:21', 0, 33670, NULL, NULL, NULL, 1854, '山峡地磅', '', 32000, 0, '2026-06-05 11:09:22');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1409, '皖R48299', 'SX-20260604073748001', '工业硫酸 98%', '出库', 'CRKDH0001517', '安庆市山峡化工有限公司', '池州明阳商贸有限公司', 48530, '2026-06-05 15:12:23', 16180, '2026-06-05 13:47:08', 0, 32350, NULL, 64750, NULL, 1858, '山峡地磅', '', 32000, 0, '2026-06-05 13:47:09');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1410, '皖H09177', NULL, '32% 烧碱', '出库', 'CRKDH0001520', '安庆市山峡化工有限公司', '安庆新普电气设备有限公司', 40180, '2026-06-05 17:12:00', 15420, '2026-06-05 15:59:38', 0, 24760, NULL, NULL, NULL, 1861, '山峡地磅', '', 25000, 0, '2026-06-05 15:59:39');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1411, '皖M7A663', NULL, '工业硫酸 50%', '出库', 'CRKDH0001518', '安庆市山峡化工有限公司', '合肥金顺化工有限公司', 49170, '2026-06-05 19:52:37', 18070, '2026-06-05 18:59:49', 0, 31100, NULL, NULL, NULL, 1859, '山峡地磅', '', 32000, 0, '2026-06-05 18:59:54');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1412, '皖HA1082', NULL, '31%工业盐酸', '入库', 'CRKDH0001524', '安庆新宜化工有限公司', '安庆市山峡化工有限公司', 28770, '2026-06-05 20:08:32', 17100, '2026-06-05 21:04:56', 0, 11670, NULL, NULL, NULL, 1866, '山峡地磅', '', 12000, 0, '2026-06-05 20:08:37');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1413, '皖M9B133', NULL, '工业硫酸 50%', '出库', 'CRKDH0001519', '安庆市山峡化工有限公司', '合肥金顺化工有限公司', 48650, '2026-06-06 08:15:27', 18310, '2026-06-06 07:12:39', 0, 30340, NULL, NULL, NULL, 1860, '山峡地磅', '', 32000, 0, '2026-06-06 07:12:42');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1414, '皖H09177', NULL, '32% 烧碱', '出库', 'CRKDH0001526', '安庆市山峡化工有限公司', '安庆科思化学有限公司', 48130, '2026-06-06 11:30:35', 15450, '2026-06-06 10:44:15', 0, 32680, NULL, NULL, NULL, 1868, '山峡地磅', '', 32000, 0, '2026-06-06 10:44:17');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1415, '皖AM8516', NULL, '工业硫酸 30%', '出库', 'CRKDH0001525', '安庆市山峡化工有限公司', '合肥德泽化工科技有限公司', 17960, '2026-06-06 11:44:56', 8330, '2026-06-06 11:16:58', 0, 9630, NULL, NULL, NULL, 1867, '山峡地磅', '', 32000, 0, '2026-06-06 11:17:00');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1416, '皖HA3190', NULL, '98%硫磺酸', '入库', 'CRKDH0001528', '安徽辉隆中成科技有限 公司', '安庆市山峡化工有限公司', 47660, '2026-06-06 15:54:54', 16660, '2026-06-06 17:26:49', 0, 31000, NULL, NULL, NULL, 1870, '山峡地磅', '', 32000, 0, '2026-06-06 15:54:56');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1417, '皖M7A663', NULL, '工业硫酸 50%', '出库', 'CRKDH0001527', '安庆市山峡化工有限公司', '合肥金顺化工有限公司', 49040, '2026-06-06 17:09:46', 17930, '2026-06-06 15:58:20', 0, 31110, NULL, NULL, NULL, 1869, '山峡地磅', '', 32000, 0, '2026-06-06 15:58:23');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1418, '皖HA3690', NULL, '工业硫酸 98%', '入库', 'CRKDH0001528', '安徽辉隆中成科技有限 公司', '安庆市山峡化工有限公司', 49230, '2026-06-07 06:45:43', 17530, '2026-06-07 08:09:35', 0, 31700, NULL, NULL, NULL, 1872, '山峡地磅', '', 32000, 0, '2026-06-07 06:45:45');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1419, '皖H31656', '', '32% 烧碱', '入库', 'CRKDH0001532', '安徽嘉珑凯贸易有限责任公司', '安庆市山峡化工有限公司', 48640, '2026-06-07 08:56:57', 14720, '2026-06-07 10:17:37', 0, 33920, NULL, NULL, NULL, 1876, '山峡地磅', '', 32000, 0, '2026-06-07 08:56:59');
|
||||
INSERT INTO `weighing_slips` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `business_type`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `remarks`, `current_quantity`, `is_voided`, `created_at`) VALUES (1420, '皖H13532', 'SX-20260601012625001', '32% 烧碱', '入库', 'CRKDH0001533', '安庆市曙光供销运输有限责任公司', '安庆市山峡化工有限公司', 48760, '2026-06-07 10:26:43', 0, '', 0, 48760, NULL, 48760, NULL, 1877, '山峡地磅', '', 32000, 0, '2026-06-07 10:26:50');
|
||||
COMMIT;
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
+566
-31
@@ -11,7 +11,7 @@
|
||||
Target Server Version : 50736 (5.7.36)
|
||||
File Encoding : 65001
|
||||
|
||||
Date: 06/06/2026 10:59:29
|
||||
Date: 10/06/2026 20:54:12
|
||||
*/
|
||||
|
||||
SET NAMES utf8mb4;
|
||||
@@ -93,6 +93,10 @@ CREATE TABLE `bx_advance_apply` (
|
||||
-- Records of bx_advance_apply
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `bx_advance_apply` (`id`, `apply_code`, `applicant_id`, `applicant_name`, `reason`, `purpose`, `expense_item_id`, `amount`, `status`, `current_node`, `wf_id`, `issue_status`, `issue_time`, `issue_user_id`, `issue_user_name`, `issue_remark`, `actual_amount`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('545805199F4D480F8B9ECE2B42EA85A3', 'BYJ20260606003', 'BFB4CBEAB7054F48BDE82B55A985798C', '测试账号1', '测试备用金90001', NULL, NULL, 90001.00, 'approved', NULL, '4B66D727E7494DEFA84D550D52243F93', NULL, NULL, NULL, NULL, NULL, NULL, 'shanxia2.0', NULL, '申请90001 备注', 'BFB4CBEAB7054F48BDE82B55A985798C', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 23:11:08', 'BFB4CBEAB7054F48BDE82B55A985798C', '2026-06-06 23:32:54', 0);
|
||||
INSERT INTO `bx_advance_apply` (`id`, `apply_code`, `applicant_id`, `applicant_name`, `reason`, `purpose`, `expense_item_id`, `amount`, `status`, `current_node`, `wf_id`, `issue_status`, `issue_time`, `issue_user_id`, `issue_user_name`, `issue_remark`, `actual_amount`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('83438943373042B688C290CABB32C819', 'BYJ20260606004', 'BFB4CBEAB7054F48BDE82B55A985798C', '测试账号1', '测试10009', NULL, NULL, 10009.00, 'issued', NULL, '4B66D727E7494DEFA84D550D52243F93', 'issued', '2026-06-06 23:34:06', 'BFB4CBEAB7054F48BDE82B55A985798C', '测试账号1', '10009', 10009.00, 'shanxia2.0', NULL, '本次申请10009元', 'BFB4CBEAB7054F48BDE82B55A985798C', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 23:23:44', 'BFB4CBEAB7054F48BDE82B55A985798C', '2026-06-06 23:34:06', 0);
|
||||
INSERT INTO `bx_advance_apply` (`id`, `apply_code`, `applicant_id`, `applicant_name`, `reason`, `purpose`, `expense_item_id`, `amount`, `status`, `current_node`, `wf_id`, `issue_status`, `issue_time`, `issue_user_id`, `issue_user_name`, `issue_remark`, `actual_amount`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('9284F18D22814FA8A00632B2A7253DE3', 'BYJ20260606002', 'd3000000000000000000000000000001', '系统管理员', '申请1000元', NULL, NULL, 1000.00, 'issued', NULL, '4B66D727E7494DEFA84D550D52243F93', 'issued', '2026-06-06 23:36:51', 'BFB4CBEAB7054F48BDE82B55A985798C', '测试账号1', '发放1000元', 1000.00, 'shanxia2.0', NULL, '申请1000元备注', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 22:55:25', 'BFB4CBEAB7054F48BDE82B55A985798C', '2026-06-06 23:36:51', 0);
|
||||
INSERT INTO `bx_advance_apply` (`id`, `apply_code`, `applicant_id`, `applicant_name`, `reason`, `purpose`, `expense_item_id`, `amount`, `status`, `current_node`, `wf_id`, `issue_status`, `issue_time`, `issue_user_id`, `issue_user_name`, `issue_remark`, `actual_amount`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('C7CE29FFF6564ECB80420AB64AEC8099', 'BYJ20260606001', 'd3000000000000000000000000000001', '系统管理员', '用于司机费用报销25100', NULL, NULL, 25100.00, 'approved', NULL, '4B66D727E7494DEFA84D550D52243F93', NULL, NULL, NULL, NULL, NULL, NULL, 'shanxia2.0', NULL, '申请2万五千1百元', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 22:31:49', 'BFB4CBEAB7054F48BDE82B55A985798C', '2026-06-06 22:43:22', 0);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@@ -127,6 +131,17 @@ CREATE TABLE `bx_advance_approval` (
|
||||
-- Records of bx_advance_approval
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `bx_advance_approval` (`id`, `apply_id`, `node_order`, `node_name`, `approver_id`, `approver_name`, `approval_status`, `approval_opinion`, `approval_time`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('0344D3A787BD4C03A528C5A7810F6E80', 'C7CE29FFF6564ECB80420AB64AEC8099', 1, '总经理', 'd3000000000000000000000000000001', '系统管理员', 'approved', '审批通过', '2026-06-06 22:42:21', 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 22:42:21', NULL, NULL, 0);
|
||||
INSERT INTO `bx_advance_approval` (`id`, `apply_id`, `node_order`, `node_name`, `approver_id`, `approver_name`, `approval_status`, `approval_opinion`, `approval_time`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('225FFFBB4ACB4E9287DA9AC58DC9D42B', '9284F18D22814FA8A00632B2A7253DE3', 2, '财务', 'BFB4CBEAB7054F48BDE82B55A985798C', '测试账号1', 'approved', '审批通过', '2026-06-06 22:57:56', 'shanxia2.0', NULL, NULL, 'BFB4CBEAB7054F48BDE82B55A985798C', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 22:57:56', NULL, NULL, 0);
|
||||
INSERT INTO `bx_advance_approval` (`id`, `apply_id`, `node_order`, `node_name`, `approver_id`, `approver_name`, `approval_status`, `approval_opinion`, `approval_time`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('437C28490AAF4C039AF894DC60C0C7F0', '545805199F4D480F8B9ECE2B42EA85A3', 2, '财务', 'BFB4CBEAB7054F48BDE82B55A985798C', '测试账号1', 'approved', '审批通过', '2026-06-06 23:32:54', 'shanxia2.0', NULL, NULL, 'BFB4CBEAB7054F48BDE82B55A985798C', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 23:32:54', NULL, NULL, 0);
|
||||
INSERT INTO `bx_advance_approval` (`id`, `apply_id`, `node_order`, `node_name`, `approver_id`, `approver_name`, `approval_status`, `approval_opinion`, `approval_time`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('5136C17475AF4DD78D7365351B2A12E3', 'C7CE29FFF6564ECB80420AB64AEC8099', 1, '总经理', 'd3000000000000000000000000000001', '系统管理员', 'rejected', '审批驳回', '2026-06-06 22:35:58', 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 22:35:58', NULL, NULL, 0);
|
||||
INSERT INTO `bx_advance_approval` (`id`, `apply_id`, `node_order`, `node_name`, `approver_id`, `approver_name`, `approval_status`, `approval_opinion`, `approval_time`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('68DA651AB5854E78B430DA331735E4E5', '9284F18D22814FA8A00632B2A7253DE3', 1, '总经理', 'd3000000000000000000000000000001', '系统管理员', 'approved', '审批通过', '2026-06-06 22:56:53', 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 22:56:53', NULL, NULL, 0);
|
||||
INSERT INTO `bx_advance_approval` (`id`, `apply_id`, `node_order`, `node_name`, `approver_id`, `approver_name`, `approval_status`, `approval_opinion`, `approval_time`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('76DA092ACB684CCDBE111A383417F901', 'C7CE29FFF6564ECB80420AB64AEC8099', 2, '财务', 'BFB4CBEAB7054F48BDE82B55A985798C', '测试账号1', 'approved', '审批通过', '2026-06-06 22:43:22', 'shanxia2.0', NULL, NULL, 'BFB4CBEAB7054F48BDE82B55A985798C', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 22:43:22', NULL, NULL, 0);
|
||||
INSERT INTO `bx_advance_approval` (`id`, `apply_id`, `node_order`, `node_name`, `approver_id`, `approver_name`, `approval_status`, `approval_opinion`, `approval_time`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('9EA187AAC3884A50AE3A715651F8666C', '83438943373042B688C290CABB32C819', 1, '总经理', 'd3000000000000000000000000000001', '系统管理员', 'rejected', '审批驳回', '2026-06-06 23:32:07', 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 23:32:07', NULL, NULL, 0);
|
||||
INSERT INTO `bx_advance_approval` (`id`, `apply_id`, `node_order`, `node_name`, `approver_id`, `approver_name`, `approval_status`, `approval_opinion`, `approval_time`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('AC5BD9B6A7E5459ABD81B7D1D42B37CC', '83438943373042B688C290CABB32C819', 1, '总经理', 'd3000000000000000000000000000001', '系统管理员', 'approved', '审批通过', '2026-06-06 23:33:29', 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 23:33:29', NULL, NULL, 0);
|
||||
INSERT INTO `bx_advance_approval` (`id`, `apply_id`, `node_order`, `node_name`, `approver_id`, `approver_name`, `approval_status`, `approval_opinion`, `approval_time`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('D8B6A536536946C7B39DAD1AA8449AAB', '545805199F4D480F8B9ECE2B42EA85A3', 1, '总经理', 'd3000000000000000000000000000001', '系统管理员', 'approved', '审批通过', '2026-06-06 23:32:10', 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 23:32:10', NULL, NULL, 0);
|
||||
INSERT INTO `bx_advance_approval` (`id`, `apply_id`, `node_order`, `node_name`, `approver_id`, `approver_name`, `approval_status`, `approval_opinion`, `approval_time`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('E257C406B90347F2B2F8EE1B77EE242B', '83438943373042B688C290CABB32C819', 2, '财务', 'BFB4CBEAB7054F48BDE82B55A985798C', '测试账号1', 'approved', '审批通过', '2026-06-06 23:33:50', 'shanxia2.0', NULL, NULL, 'BFB4CBEAB7054F48BDE82B55A985798C', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 23:33:50', NULL, NULL, 0);
|
||||
INSERT INTO `bx_advance_approval` (`id`, `apply_id`, `node_order`, `node_name`, `approver_id`, `approver_name`, `approval_status`, `approval_opinion`, `approval_time`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ECF8CA459DDE4FFF8EF908B1732C0894', '9284F18D22814FA8A00632B2A7253DE3', 1, '总经理', 'd3000000000000000000000000000001', '系统管理员', 'rejected', '审批驳回', '2026-06-06 22:56:33', 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 22:56:33', NULL, NULL, 0);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@@ -161,6 +176,25 @@ CREATE TABLE `bx_attachment` (
|
||||
-- Records of bx_attachment
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `bx_attachment` (`id`, `biz_type`, `biz_id`, `file_name`, `file_path`, `file_type`, `file_size`, `attach_type`, `sort_order`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('018D203162E04567A79D281F7FD1B410', 'reimburse_apply', '0', '山峡-哇哈哈(SX-X-JT20260606003)合同.pdf', 'bx/reimburse_apply/202606/06/55188179ab874398ac72fff488fe2386.pdf', 'application/pdf', 39601701, 'attachment', 0, 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 23:39:53', NULL, NULL, 0);
|
||||
INSERT INTO `bx_attachment` (`id`, `biz_type`, `biz_id`, `file_name`, `file_path`, `file_type`, `file_size`, `attach_type`, `sort_order`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('0C8226064E0944F5996DAE2872DDE25C', 'advance_issue', '83438943373042B688C290CABB32C819', '3da59d5558511a753100fd845c1f2ba8.jpeg', 'bx/advance_issue/202606/06/c7cc4a2a88bc42f6a2c6b73b4fc983b4.jpeg', 'image/jpeg', 21893, 'attachment', 0, 'shanxia2.0', NULL, NULL, 'BFB4CBEAB7054F48BDE82B55A985798C', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 23:34:04', NULL, NULL, 0);
|
||||
INSERT INTO `bx_attachment` (`id`, `biz_type`, `biz_id`, `file_name`, `file_path`, `file_type`, `file_size`, `attach_type`, `sort_order`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('1BFB091EEEAB4058BA7A6F04376C7EEB', 'advance_issue', '9284F18D22814FA8A00632B2A7253DE3', '山峡-哇哈哈(SX-X-JT20260606003)合同.pdf', 'bx/advance_issue/202606/06/a24d893fd09d41b5a0b0e07a1f1543ad.pdf', 'application/pdf', 39601701, 'attachment', 0, 'shanxia2.0', NULL, NULL, 'BFB4CBEAB7054F48BDE82B55A985798C', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 23:36:35', NULL, NULL, 0);
|
||||
INSERT INTO `bx_attachment` (`id`, `biz_type`, `biz_id`, `file_name`, `file_path`, `file_type`, `file_size`, `attach_type`, `sort_order`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('2AE6949B31DF4C5DA454FB16FDE4D40F', 'reimburse_apply', '4CE7C345F89F4B519CE618E97CCFB20F', '3da59d5558511a753100fd845c1f2ba8.jpeg', 'bx/reimburse_apply/202606/06/9e0b1914f3fc4b4aa56119156e76c27a.jpeg', 'image/jpeg', 21893, 'attachment', 0, 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 23:58:23', 'd3000000000000000000000000000001', '2026-06-06 23:58:26', 0);
|
||||
INSERT INTO `bx_attachment` (`id`, `biz_type`, `biz_id`, `file_name`, `file_path`, `file_type`, `file_size`, `attach_type`, `sort_order`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('31AD68979B46471899F7809F8B24A36F', 'reimburse_offset', '4CE7C345F89F4B519CE618E97CCFB20F', '3da59d5558511a753100fd845c1f2ba8.jpeg', 'bx/reimburse_offset/202606/06/5c69586b194a4be6945ca5ee988c0d3e.jpeg', 'image/jpeg', 21893, 'attachment', 0, 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 23:59:40', NULL, NULL, 0);
|
||||
INSERT INTO `bx_attachment` (`id`, `biz_type`, `biz_id`, `file_name`, `file_path`, `file_type`, `file_size`, `attach_type`, `sort_order`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('395AC68806DF4C179C6F55220CE732E0', 'reimburse_apply', '0', '附件_crm_cont', 'bx/reimburse_apply/202606/06/c5b49b6e63ba4d9eba172c2e60433d3e', 'application/octet-stream', 505588, 'attachment', 0, 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 23:39:46', NULL, NULL, 0);
|
||||
INSERT INTO `bx_attachment` (`id`, `biz_type`, `biz_id`, `file_name`, `file_path`, `file_type`, `file_size`, `attach_type`, `sort_order`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('477BF52BA6024A829DF9958ED08FA372', 'advance_issue', '545805199F4D480F8B9ECE2B42EA85A3', '3da59d5558511a753100fd845c1f2ba8.jpeg', 'bx/advance_issue/202606/07/b76801e00fa244a09aca640a4d844323.jpeg', 'image/jpeg', 21893, 'attachment', 0, 'shanxia2.0', NULL, NULL, 'BFB4CBEAB7054F48BDE82B55A985798C', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-07 00:24:34', NULL, NULL, 0);
|
||||
INSERT INTO `bx_attachment` (`id`, `biz_type`, `biz_id`, `file_name`, `file_path`, `file_type`, `file_size`, `attach_type`, `sort_order`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('5C3C83F9AB384E339613033D066E943B', 'reimburse_offset', '4CE7C345F89F4B519CE618E97CCFB20F', '3da59d5558511a753100fd845c1f2ba8.jpeg', 'bx/reimburse_offset/202606/07/1f9bf7465e4f4479815174b29211e976.jpeg', 'image/jpeg', 21893, 'attachment', 0, 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-07 00:05:42', NULL, NULL, 0);
|
||||
INSERT INTO `bx_attachment` (`id`, `biz_type`, `biz_id`, `file_name`, `file_path`, `file_type`, `file_size`, `attach_type`, `sort_order`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('68B7B339546647859A1B2B1DD15CEEBF', 'advance_issue', '9284F18D22814FA8A00632B2A7253DE3', '云栋-云栋(YDDD-20260606005)报价单.pdf', 'bx/advance_issue/202606/06/00ce803d7a1741d399c3b039d116fad9.pdf', 'application/pdf', 505588, 'attachment', 0, 'shanxia2.0', NULL, NULL, 'BFB4CBEAB7054F48BDE82B55A985798C', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 23:36:36', 'BFB4CBEAB7054F48BDE82B55A985798C', '2026-06-06 23:36:49', 1);
|
||||
INSERT INTO `bx_attachment` (`id`, `biz_type`, `biz_id`, `file_name`, `file_path`, `file_type`, `file_size`, `attach_type`, `sort_order`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('84D689A15EEA47A4A0E51FBDDFE28526', 'reimburse_pay', '48F7CB64FF964BB3B4BA2B45CE6E2E70', '3da59d5558511a753100fd845c1f2ba8.jpeg', 'bx/reimburse_pay/202606/06/233f9eb856c1466393a00c452472181d.jpeg', 'image/jpeg', 21893, 'attachment', 0, 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 23:56:57', NULL, NULL, 0);
|
||||
INSERT INTO `bx_attachment` (`id`, `biz_type`, `biz_id`, `file_name`, `file_path`, `file_type`, `file_size`, `attach_type`, `sort_order`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('88F2CD20AE154C14BD0CE4795EFB32C4', 'advance_issue', '9284F18D22814FA8A00632B2A7253DE3', '山峡-哇哈哈(SXDD-20260606005)报价单.pdf', 'bx/advance_issue/202606/06/25bf8eae0cc741089015dcdc2a12a5e9.pdf', 'application/pdf', 531884, 'attachment', 0, 'shanxia2.0', NULL, NULL, 'BFB4CBEAB7054F48BDE82B55A985798C', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 23:36:29', NULL, NULL, 0);
|
||||
INSERT INTO `bx_attachment` (`id`, `biz_type`, `biz_id`, `file_name`, `file_path`, `file_type`, `file_size`, `attach_type`, `sort_order`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('907AF7C3C74C4D4485668B504A92AD00', 'advance_issue', '9284F18D22814FA8A00632B2A7253DE3', '云栋-云栋(YDDD-20260606005)报价单.pdf', 'bx/advance_issue/202606/06/be88199130444d659b5e70643cc8cd17.pdf', 'application/pdf', 505588, 'attachment', 0, 'shanxia2.0', NULL, NULL, 'BFB4CBEAB7054F48BDE82B55A985798C', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 23:36:29', NULL, NULL, 0);
|
||||
INSERT INTO `bx_attachment` (`id`, `biz_type`, `biz_id`, `file_name`, `file_path`, `file_type`, `file_size`, `attach_type`, `sort_order`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BE4347F5AD3E4450A8B8E97123810F69', 'reimburse_pay', 'D21FFB69E5A841B18FB64E97C57B1645', '3da59d5558511a753100fd845c1f2ba8.jpeg', 'bx/reimburse_pay/202606/07/a2b2e2116da042a9957dc742c82f4d7e.jpeg', 'image/jpeg', 21893, 'attachment', 0, 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-07 00:36:48', NULL, NULL, 0);
|
||||
INSERT INTO `bx_attachment` (`id`, `biz_type`, `biz_id`, `file_name`, `file_path`, `file_type`, `file_size`, `attach_type`, `sort_order`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('C847D4E35634414DBEA77CA929069942', 'reimburse_apply', 'D21FFB69E5A841B18FB64E97C57B1645', '3da59d5558511a753100fd845c1f2ba8.jpeg', 'bx/reimburse_apply/202606/07/388abfd0bc2d48ddae7d7d8c19f65da9.jpeg', 'image/jpeg', 21893, 'attachment', 0, 'shanxia2.0', NULL, NULL, 'BFB4CBEAB7054F48BDE82B55A985798C', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-07 00:35:53', 'BFB4CBEAB7054F48BDE82B55A985798C', '2026-06-07 00:35:58', 0);
|
||||
INSERT INTO `bx_attachment` (`id`, `biz_type`, `biz_id`, `file_name`, `file_path`, `file_type`, `file_size`, `attach_type`, `sort_order`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('C8D4D3A2C1014564A341F131A1A9DF47', 'reimburse_apply', '48F7CB64FF964BB3B4BA2B45CE6E2E70', '3da59d5558511a753100fd845c1f2ba8.jpeg', 'bx/reimburse_apply/202606/06/8538051518cd4fb483eef24dbe388bf0.jpeg', 'image/jpeg', 21893, 'attachment', 0, 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 23:47:47', 'd3000000000000000000000000000001', '2026-06-06 23:47:50', 0);
|
||||
INSERT INTO `bx_attachment` (`id`, `biz_type`, `biz_id`, `file_name`, `file_path`, `file_type`, `file_size`, `attach_type`, `sort_order`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('E8C1507EB4944973922BFFA97ABF65FE', 'reimburse_offset', '9CD4742CA8E64CA38D49C6AD815F0B77', '3da59d5558511a753100fd845c1f2ba8.jpeg', 'bx/reimburse_offset/202606/07/420fc636bb434e0eb72d7f3cc11da384.jpeg', 'image/jpeg', 21893, 'attachment', 0, 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-07 00:14:00', NULL, NULL, 0);
|
||||
INSERT INTO `bx_attachment` (`id`, `biz_type`, `biz_id`, `file_name`, `file_path`, `file_type`, `file_size`, `attach_type`, `sort_order`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('E99F6A1F96414DF78561DA539BA5054B', 'reimburse_apply', '9CD4742CA8E64CA38D49C6AD815F0B77', '3da59d5558511a753100fd845c1f2ba8.jpeg', 'bx/reimburse_apply/202606/07/f10f05ed1f4541c093f7ec3e5eec1333.jpeg', 'image/jpeg', 21893, 'attachment', 0, 'shanxia2.0', NULL, NULL, 'BFB4CBEAB7054F48BDE82B55A985798C', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-07 00:13:18', 'BFB4CBEAB7054F48BDE82B55A985798C', '2026-06-07 00:13:19', 0);
|
||||
INSERT INTO `bx_attachment` (`id`, `biz_type`, `biz_id`, `file_name`, `file_path`, `file_type`, `file_size`, `attach_type`, `sort_order`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('EEFE9CD2834847D9B4FCED86FFE6DD0F', 'reimburse_offset', '4CE7C345F89F4B519CE618E97CCFB20F', '附件_crm_cont', 'bx/reimburse_offset/202606/06/3226a0a5ea3745be8da18d43e1c395ef', 'application/octet-stream', 505588, 'attachment', 0, 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 23:59:40', NULL, NULL, 0);
|
||||
INSERT INTO `bx_attachment` (`id`, `biz_type`, `biz_id`, `file_name`, `file_path`, `file_type`, `file_size`, `attach_type`, `sort_order`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('F93EECBAEF5B472BAF3180C2D5105DF6', 'reimburse_apply', '0', '3da59d5558511a753100fd845c1f2ba8.jpeg', 'bx/reimburse_apply/202606/06/0bf2317b36844e17a53709d7386e5f00.jpeg', 'image/jpeg', 21893, 'attachment', 0, 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 23:39:46', NULL, NULL, 0);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@@ -193,6 +227,9 @@ CREATE TABLE `bx_expense_item` (
|
||||
-- Records of bx_expense_item
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `bx_expense_item` (`id`, `parent_id`, `item_name`, `item_code`, `level`, `sort_order`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('918697AA47A04A74AE96430892BA14F5', 'CC86C05523BD4CF090C881C08B007843', '项目费用11', 'XMFY1', 2, 2, 0, 'shanxia2.0', NULL, '1', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 22:19:13', 'd3000000000000000000000000000001', '2026-06-06 22:25:17', 0);
|
||||
INSERT INTO `bx_expense_item` (`id`, `parent_id`, `item_name`, `item_code`, `level`, `sort_order`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('CC86C05523BD4CF090C881C08B007843', '0', '报销费用', 'BXFY', 1, 1, 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 22:18:52', NULL, '2026-06-06 22:18:52', 0);
|
||||
INSERT INTO `bx_expense_item` (`id`, `parent_id`, `item_name`, `item_code`, `level`, `sort_order`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DA7F1453221E46329872B5F1EF4F0354', 'CC86C05523BD4CF090C881C08B007843', '差旅费用', 'CLFY', 2, 2, 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 22:19:03', 'd3000000000000000000000000000001', '2026-06-06 22:25:08', 0);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@@ -241,6 +278,10 @@ CREATE TABLE `bx_reimburse_apply` (
|
||||
-- Records of bx_reimburse_apply
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `bx_reimburse_apply` (`id`, `apply_code`, `title`, `applicant_id`, `applicant_name`, `expense_id`, `expense_name`, `amount`, `invoice_count`, `attach_count`, `status`, `current_node`, `wf_id`, `pay_status`, `pay_time`, `pay_user_id`, `pay_user_name`, `actual_amount`, `offset_advance_id`, `offset_amount`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('48F7CB64FF964BB3B4BA2B45CE6E2E70', 'BX20260606001', '系统管理员报销单20260606001', 'd3000000000000000000000000000001', '系统管理员', '918697AA47A04A74AE96430892BA14F5', '项目费用11', 15000.00, 0, 0, 'processed', NULL, '8D4036525F464D839AAB8DE7D3CD43F1', 'paid', '2026-06-06 23:56:58', 'd3000000000000000000000000000001', '系统管理员', 15000.00, NULL, NULL, 'shanxia2.0', NULL, '备注', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 23:47:50', 'd3000000000000000000000000000001', '2026-06-06 23:56:58', 0);
|
||||
INSERT INTO `bx_reimburse_apply` (`id`, `apply_code`, `title`, `applicant_id`, `applicant_name`, `expense_id`, `expense_name`, `amount`, `invoice_count`, `attach_count`, `status`, `current_node`, `wf_id`, `pay_status`, `pay_time`, `pay_user_id`, `pay_user_name`, `actual_amount`, `offset_advance_id`, `offset_amount`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('4CE7C345F89F4B519CE618E97CCFB20F', 'BX20260606002', '系统管理员报销单20260606002', 'd3000000000000000000000000000001', '系统管理员', 'DA7F1453221E46329872B5F1EF4F0354', '差旅费用', 20000.00, 0, 0, 'processed', NULL, '8D4036525F464D839AAB8DE7D3CD43F1', 'paid', '2026-06-07 00:05:50', 'd3000000000000000000000000000001', '系统管理员', 10000.00, '83438943373042B688C290CABB32C819', 10000.00, 'shanxia2.0', NULL, '123', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 23:58:25', 'd3000000000000000000000000000001', '2026-06-07 00:05:50', 0);
|
||||
INSERT INTO `bx_reimburse_apply` (`id`, `apply_code`, `title`, `applicant_id`, `applicant_name`, `expense_id`, `expense_name`, `amount`, `invoice_count`, `attach_count`, `status`, `current_node`, `wf_id`, `pay_status`, `pay_time`, `pay_user_id`, `pay_user_name`, `actual_amount`, `offset_advance_id`, `offset_amount`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('9CD4742CA8E64CA38D49C6AD815F0B77', 'BX20260607001', '测试账号1报销单20260607001', 'BFB4CBEAB7054F48BDE82B55A985798C', '测试账号1', 'CC86C05523BD4CF090C881C08B007843', '报销费用', 10000.00, 0, 0, 'processed', NULL, '8D4036525F464D839AAB8DE7D3CD43F1', 'paid', '2026-06-07 00:14:05', 'd3000000000000000000000000000001', '系统管理员', 8991.00, '83438943373042B688C290CABB32C819', 1009.00, 'shanxia2.0', NULL, '123', 'BFB4CBEAB7054F48BDE82B55A985798C', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-07 00:13:19', 'd3000000000000000000000000000001', '2026-06-07 00:14:05', 0);
|
||||
INSERT INTO `bx_reimburse_apply` (`id`, `apply_code`, `title`, `applicant_id`, `applicant_name`, `expense_id`, `expense_name`, `amount`, `invoice_count`, `attach_count`, `status`, `current_node`, `wf_id`, `pay_status`, `pay_time`, `pay_user_id`, `pay_user_name`, `actual_amount`, `offset_advance_id`, `offset_amount`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('D21FFB69E5A841B18FB64E97C57B1645', 'BX20260607002', '测试账号1报销单20260607002', 'BFB4CBEAB7054F48BDE82B55A985798C', '测试账号1', 'CC86C05523BD4CF090C881C08B007843', '报销费用', 123123.00, 0, 0, 'processed', NULL, '8D4036525F464D839AAB8DE7D3CD43F1', 'paid', '2026-06-07 00:36:49', 'd3000000000000000000000000000001', '系统管理员', 123123.00, NULL, NULL, 'shanxia2.0', NULL, '', 'BFB4CBEAB7054F48BDE82B55A985798C', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-07 00:35:58', 'd3000000000000000000000000000001', '2026-06-07 00:36:49', 0);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@@ -275,6 +316,14 @@ CREATE TABLE `bx_reimburse_approval` (
|
||||
-- Records of bx_reimburse_approval
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `bx_reimburse_approval` (`id`, `apply_id`, `node_order`, `node_name`, `approver_id`, `approver_name`, `approval_status`, `approval_opinion`, `approval_time`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('030687661ECB4C2D82D7C5DA0BB60BF8', '4CE7C345F89F4B519CE618E97CCFB20F', 2, '总经理', 'd3000000000000000000000000000001', '系统管理员', 'approved', '审批通过', '2026-06-06 23:59:03', 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 23:59:03', NULL, NULL, 0);
|
||||
INSERT INTO `bx_reimburse_approval` (`id`, `apply_id`, `node_order`, `node_name`, `approver_id`, `approver_name`, `approval_status`, `approval_opinion`, `approval_time`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('3230913BA71E41A8A51F29F9CAEF1658', '9CD4742CA8E64CA38D49C6AD815F0B77', 2, '总经理', 'd3000000000000000000000000000001', '系统管理员', 'approved', '', '2026-06-07 00:13:41', 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-07 00:13:41', NULL, NULL, 0);
|
||||
INSERT INTO `bx_reimburse_approval` (`id`, `apply_id`, `node_order`, `node_name`, `approver_id`, `approver_name`, `approval_status`, `approval_opinion`, `approval_time`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('5F56CC1537B74DECB7BBB975700C965E', '48F7CB64FF964BB3B4BA2B45CE6E2E70', 1, '财务', 'BFB4CBEAB7054F48BDE82B55A985798C', '测试账号1', 'approved', '审批通过123', '2026-06-06 23:55:00', 'shanxia2.0', NULL, NULL, 'BFB4CBEAB7054F48BDE82B55A985798C', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 23:55:00', NULL, NULL, 0);
|
||||
INSERT INTO `bx_reimburse_approval` (`id`, `apply_id`, `node_order`, `node_name`, `approver_id`, `approver_name`, `approval_status`, `approval_opinion`, `approval_time`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('794C45CFB6CC4C5FB7C16A17A0EF123F', '48F7CB64FF964BB3B4BA2B45CE6E2E70', 2, '总经理', 'd3000000000000000000000000000001', '系统管理员', 'approved', '审批通过13', '2026-06-06 23:56:30', 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 23:56:30', NULL, NULL, 0);
|
||||
INSERT INTO `bx_reimburse_approval` (`id`, `apply_id`, `node_order`, `node_name`, `approver_id`, `approver_name`, `approval_status`, `approval_opinion`, `approval_time`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('8CB94B17D3ED4C49AADF2D8D7F08E01E', 'D21FFB69E5A841B18FB64E97C57B1645', 1, '财务', 'BFB4CBEAB7054F48BDE82B55A985798C', '测试账号1', 'approved', '审批通过', '2026-06-07 00:36:09', 'shanxia2.0', NULL, NULL, 'BFB4CBEAB7054F48BDE82B55A985798C', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-07 00:36:09', NULL, NULL, 0);
|
||||
INSERT INTO `bx_reimburse_approval` (`id`, `apply_id`, `node_order`, `node_name`, `approver_id`, `approver_name`, `approval_status`, `approval_opinion`, `approval_time`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('B2E4C4952F5A4C62ABE4A472C3117796', '4CE7C345F89F4B519CE618E97CCFB20F', 1, '财务', 'BFB4CBEAB7054F48BDE82B55A985798C', '测试账号1', 'approved', '', '2026-06-06 23:58:46', 'shanxia2.0', NULL, NULL, 'BFB4CBEAB7054F48BDE82B55A985798C', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 23:58:46', NULL, NULL, 0);
|
||||
INSERT INTO `bx_reimburse_approval` (`id`, `apply_id`, `node_order`, `node_name`, `approver_id`, `approver_name`, `approval_status`, `approval_opinion`, `approval_time`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DA4DAB4D1CCB4957AA0B7437AFFD42EE', '9CD4742CA8E64CA38D49C6AD815F0B77', 1, '财务', 'BFB4CBEAB7054F48BDE82B55A985798C', '测试账号1', 'approved', '审批通过123', '2026-06-07 00:13:28', 'shanxia2.0', NULL, NULL, 'BFB4CBEAB7054F48BDE82B55A985798C', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-07 00:13:28', NULL, NULL, 0);
|
||||
INSERT INTO `bx_reimburse_approval` (`id`, `apply_id`, `node_order`, `node_name`, `approver_id`, `approver_name`, `approval_status`, `approval_opinion`, `approval_time`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('E6B00FE2705B40EC89FD9B611D4AA956', 'D21FFB69E5A841B18FB64E97C57B1645', 2, '总经理', 'd3000000000000000000000000000001', '系统管理员', 'approved', '', '2026-06-07 00:36:23', 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-07 00:36:23', NULL, NULL, 0);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@@ -305,6 +354,11 @@ CREATE TABLE `bx_reimburse_detail` (
|
||||
-- Records of bx_reimburse_detail
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `bx_reimburse_detail` (`id`, `reimburse_id`, `expense_id`, `expense_name`, `amount`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('4EF43AD1E49B4384842276EB72BC174B', '9CD4742CA8E64CA38D49C6AD815F0B77', 'CC86C05523BD4CF090C881C08B007843', '报销费用', 10000.00, 'shanxia2.0', NULL, '报销10000', 'BFB4CBEAB7054F48BDE82B55A985798C', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-07 00:13:19', NULL, '2026-06-07 00:13:19', 0);
|
||||
INSERT INTO `bx_reimburse_detail` (`id`, `reimburse_id`, `expense_id`, `expense_name`, `amount`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('705F3EDEF54347D1A7CBDBFF66B60C81', '48F7CB64FF964BB3B4BA2B45CE6E2E70', '918697AA47A04A74AE96430892BA14F5', '项目费用11', 5000.00, 'shanxia2.0', NULL, '5000千', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 23:47:50', NULL, '2026-06-06 23:47:50', 0);
|
||||
INSERT INTO `bx_reimburse_detail` (`id`, `reimburse_id`, `expense_id`, `expense_name`, `amount`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('C754A0A983BC4C0BACD7DE27AFC80A8A', '4CE7C345F89F4B519CE618E97CCFB20F', 'DA7F1453221E46329872B5F1EF4F0354', '差旅费用', 20000.00, 'shanxia2.0', NULL, '申请20000', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 23:58:25', NULL, '2026-06-06 23:58:25', 0);
|
||||
INSERT INTO `bx_reimburse_detail` (`id`, `reimburse_id`, `expense_id`, `expense_name`, `amount`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('CD53955096614D25AA0BFC0FF518FE0E', '48F7CB64FF964BB3B4BA2B45CE6E2E70', 'DA7F1453221E46329872B5F1EF4F0354', '差旅费用', 10000.00, 'shanxia2.0', NULL, '1万', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 23:47:50', NULL, '2026-06-06 23:47:50', 0);
|
||||
INSERT INTO `bx_reimburse_detail` (`id`, `reimburse_id`, `expense_id`, `expense_name`, `amount`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('F36E67C22F614AD3AD82DA5CB69EE45C', 'D21FFB69E5A841B18FB64E97C57B1645', 'CC86C05523BD4CF090C881C08B007843', '报销费用', 123123.00, 'shanxia2.0', NULL, '123', 'BFB4CBEAB7054F48BDE82B55A985798C', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-07 00:35:58', NULL, '2026-06-07 00:35:58', 0);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@@ -335,6 +389,9 @@ CREATE TABLE `bx_reimburse_offset` (
|
||||
-- Records of bx_reimburse_offset
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `bx_reimburse_offset` (`id`, `reimburse_id`, `advance_id`, `offset_amount`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('4F733F1F0AB14B50822DEC7443AF909B', '9CD4742CA8E64CA38D49C6AD815F0B77', '83438943373042B688C290CABB32C819', 9.00, 'shanxia2.0', NULL, '123', '系统管理员', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-07 00:14:05', NULL, NULL, 0);
|
||||
INSERT INTO `bx_reimburse_offset` (`id`, `reimburse_id`, `advance_id`, `offset_amount`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('AB608487B7C54FFA83AC9A56BFE93A1B', '9CD4742CA8E64CA38D49C6AD815F0B77', '9284F18D22814FA8A00632B2A7253DE3', 1000.00, 'shanxia2.0', NULL, '123', '系统管理员', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-07 00:14:05', NULL, NULL, 0);
|
||||
INSERT INTO `bx_reimburse_offset` (`id`, `reimburse_id`, `advance_id`, `offset_amount`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('B7A5A6B7D94B4BC89096D9E735EE6B6C', '4CE7C345F89F4B519CE618E97CCFB20F', '83438943373042B688C290CABB32C819', 10000.00, 'shanxia2.0', NULL, '冲抵10000', '系统管理员', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-07 00:05:50', NULL, NULL, 0);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@@ -364,6 +421,8 @@ CREATE TABLE `bx_workflow_def` (
|
||||
-- Records of bx_workflow_def
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `bx_workflow_def` (`id`, `biz_type`, `wf_name`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('4B66D727E7494DEFA84D550D52243F93', 'advance', '备用金审批流程', 1, 'shanxia2.0', NULL, '备用金申请默认审批流程', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 22:29:33', NULL, '2026-06-06 22:29:33', 0);
|
||||
INSERT INTO `bx_workflow_def` (`id`, `biz_type`, `wf_name`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('8D4036525F464D839AAB8DE7D3CD43F1', 'reimburse', '报销单审批流程', 1, 'shanxia2.0', NULL, '报销申请默认审批流程', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 22:30:00', NULL, '2026-06-06 22:30:00', 0);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@@ -395,6 +454,10 @@ CREATE TABLE `bx_workflow_node` (
|
||||
-- Records of bx_workflow_node
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `bx_workflow_node` (`id`, `wf_id`, `node_name`, `node_order`, `approver_id`, `approver_name`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('0B88DC0DEAE1480CB5472B0E1D0846A8', '8D4036525F464D839AAB8DE7D3CD43F1', '财务', 1, 'BFB4CBEAB7054F48BDE82B55A985798C', '测试账号1', 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 22:30:26', NULL, '2026-06-06 22:30:26', 0);
|
||||
INSERT INTO `bx_workflow_node` (`id`, `wf_id`, `node_name`, `node_order`, `approver_id`, `approver_name`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('59237CCD8DD3425EAF287223F2125C67', '4B66D727E7494DEFA84D550D52243F93', '财务', 2, 'BFB4CBEAB7054F48BDE82B55A985798C', '测试账号1', 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 22:30:03', NULL, '2026-06-06 22:30:03', 0);
|
||||
INSERT INTO `bx_workflow_node` (`id`, `wf_id`, `node_name`, `node_order`, `approver_id`, `approver_name`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('946F20F0A5EE427CBD845EC8C90E14F5', '8D4036525F464D839AAB8DE7D3CD43F1', '总经理', 2, 'd3000000000000000000000000000001', '系统管理员', 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 22:30:26', NULL, '2026-06-06 22:30:26', 0);
|
||||
INSERT INTO `bx_workflow_node` (`id`, `wf_id`, `node_name`, `node_order`, `approver_id`, `approver_name`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('C65E6A275D61486EA4BF86EA4795497F', '4B66D727E7494DEFA84D550D52243F93', '总经理', 1, 'd3000000000000000000000000000001', '系统管理员', 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 22:30:03', NULL, '2026-06-06 22:30:03', 0);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@@ -461,8 +524,11 @@ CREATE TABLE `crm_clue` (
|
||||
-- Records of crm_clue
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `crm_clue` (`id`, `clue_name`, `mobile`, `company`, `customer_type`, `telephone`, `email`, `title`, `position`, `source`, `level`, `industry`, `park_area`, `province`, `city`, `district`, `address`, `website`, `intent_products`, `expect_time`, `budget`, `requirement`, `status`, `owner_user_id`, `owner_user_name`, `last_time`, `next_time`, `follow_count`, `is_converted`, `converted_time`, `customer_id`, `converted_by`, `assign_time`, `assign_by`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('896BE790FE2D41198648C6B7483148E7', '张三', '13800138000', '示例公司有限公司', 'A类国央企业', '', 'zhangsan@example.com', '', '技术总监', 'khyj', 'A', '互联网', '杭州高新技术产业开发区', '浙江省', '杭州市', '西湖区', '文三路xxx号', 'https://www.example.com', '产品A,产品B', NULL, '', '', 'new', 'd3000000000000000000000000000001', '系统管理员', NULL, '2026-05-31 16:45:00', 0, 0, NULL, NULL, NULL, NULL, NULL, 'shanxia2.0', NULL, '这是一条示例数据,请参考填写', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 16:44:40', 'd3000000000000000000000000000001', '2026-05-31 16:45:02', 0);
|
||||
INSERT INTO `crm_clue` (`id`, `clue_name`, `mobile`, `company`, `customer_type`, `telephone`, `email`, `title`, `position`, `source`, `level`, `industry`, `park_area`, `province`, `city`, `district`, `address`, `website`, `intent_products`, `expect_time`, `budget`, `requirement`, `status`, `owner_user_id`, `owner_user_name`, `last_time`, `next_time`, `follow_count`, `is_converted`, `converted_time`, `customer_id`, `converted_by`, `assign_time`, `assign_by`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('E4F8B65BD47243089AD219D92724E01A', '线索1', '13099001122', '安徽测试', '5', '', '80123122@qq.com', '', '测试职位', 'khyj', 'B', '石油化工', '望江工业园区', 'anhi', 'hefei', 'shushan', '详细地址详细地址详细地址详细地址详细地址详细地址望江西路', 'www.site.com', '盐酸,硫酸', NULL, '', '需求描述需求描述需求描述', 'invalid', 'd3000000000000000000000000000001', '系统管理员', NULL, '2026-05-31 15:45:14', 0, 0, NULL, NULL, NULL, NULL, NULL, 'shanxia2.0', NULL, '123123\n无效原因:123', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 15:37:56', 'd3000000000000000000000000000001', '2026-05-31 15:47:38', 0);
|
||||
INSERT INTO `crm_clue` (`id`, `clue_name`, `mobile`, `company`, `customer_type`, `telephone`, `email`, `title`, `position`, `source`, `level`, `industry`, `park_area`, `province`, `city`, `district`, `address`, `website`, `intent_products`, `expect_time`, `budget`, `requirement`, `status`, `owner_user_id`, `owner_user_name`, `last_time`, `next_time`, `follow_count`, `is_converted`, `converted_time`, `customer_id`, `converted_by`, `assign_time`, `assign_by`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('0D7D4D86FECA48E8B1B96D48220E2089', '王某', '13899002211', '合肥市皖和化工有限公司', 'A类国央企业', NULL, '988080@qq.com', NULL, '测试主管', 'zbpt', 'B', 'manufacturing', '合肥市园区', '安徽', '合肥', '蜀山区', '详细地址详细地址详细地址详细地址详细地址', 'www.whhg.com', '盐酸', NULL, NULL, '需求盐酸', 'converted', 'd3000000000000000000000000000001', '系统管理员', '2026-06-06 15:08:03', '2026-06-10 00:00:00', 1, 1, '2026-06-06 15:08:14', 'DCC738A8CEFE488F980264BFB6439670', 'd3000000000000000000000000000001', NULL, NULL, 'shanxia2.0', NULL, '备注信息', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 15:07:20', 'd3000000000000000000000000000001', '2026-06-06 15:08:14', 0);
|
||||
INSERT INTO `crm_clue` (`id`, `clue_name`, `mobile`, `company`, `customer_type`, `telephone`, `email`, `title`, `position`, `source`, `level`, `industry`, `park_area`, `province`, `city`, `district`, `address`, `website`, `intent_products`, `expect_time`, `budget`, `requirement`, `status`, `owner_user_id`, `owner_user_name`, `last_time`, `next_time`, `follow_count`, `is_converted`, `converted_time`, `customer_id`, `converted_by`, `assign_time`, `assign_by`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('3765A4F7E55C43FCAEAFEEA553D954E7', '测试线索', '13900992211', '安陆集团', '5', NULL, '012939123@qq.com', NULL, '总经理', 'khyj', 'B', 'energy', '安庆高新园区', '安徽省', '合肥市', '蜀山区', '望江西路1123号', 'www.al.com', '盐酸、硫酸', NULL, NULL, '客户需硫酸 盐酸', 'invalid', 'd3000000000000000000000000000001', '系统管理员', '2026-06-06 13:33:54', '2026-06-24 00:00:00', 2, 0, NULL, NULL, NULL, '2026-06-06 13:46:10', 'd3000000000000000000000000000001', 'shanxia2.0', NULL, '下次在联系\n无效原因:标注无效\n分配说明:123', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 13:26:07', 'd3000000000000000000000000000001', '2026-06-06 15:01:35', 1);
|
||||
INSERT INTO `crm_clue` (`id`, `clue_name`, `mobile`, `company`, `customer_type`, `telephone`, `email`, `title`, `position`, `source`, `level`, `industry`, `park_area`, `province`, `city`, `district`, `address`, `website`, `intent_products`, `expect_time`, `budget`, `requirement`, `status`, `owner_user_id`, `owner_user_name`, `last_time`, `next_time`, `follow_count`, `is_converted`, `converted_time`, `customer_id`, `converted_by`, `assign_time`, `assign_by`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('896BE790FE2D41198648C6B7483148E7', '张三', '13800138000', '示例公司有限公司', 'A类国央企业', '', 'zhangsan@example.com', '', '技术总监', 'khyj', 'A', 'it_internet', '杭州高新技术产业开发区', '浙江省', '杭州市', '西湖区', '文三路xxx号', 'https://www.example.com', '产品A,产品B', NULL, '', '', 'follow', 'd3000000000000000000000000000001', '系统管理员', '2026-06-06 13:38:27', '2026-06-02 00:00:00', 1, 0, NULL, NULL, NULL, NULL, NULL, 'shanxia2.0', NULL, '这是一条示例数据,请参考填写', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 16:44:40', 'd3000000000000000000000000000001', '2026-06-06 15:01:36', 1);
|
||||
INSERT INTO `crm_clue` (`id`, `clue_name`, `mobile`, `company`, `customer_type`, `telephone`, `email`, `title`, `position`, `source`, `level`, `industry`, `park_area`, `province`, `city`, `district`, `address`, `website`, `intent_products`, `expect_time`, `budget`, `requirement`, `status`, `owner_user_id`, `owner_user_name`, `last_time`, `next_time`, `follow_count`, `is_converted`, `converted_time`, `customer_id`, `converted_by`, `assign_time`, `assign_by`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('B603BDCA68A44D94B88350291C6F1F94', '李某某', '13900022122', '安徽桥梁建设有限公司', '5', NULL, '88900@qq.com', NULL, '主管', 'khyj', 'B', 'other', '合肥市园区', '安徽', '合肥', '蜀山区', '望江西路9811号', 'www.qljs.com', '盐酸,硫酸', NULL, NULL, '需求盐酸,硫酸', 'converted', 'BFB4CBEAB7054F48BDE82B55A985798C', '测试账号1', '2026-06-06 14:51:53', '2026-06-24 00:00:00', 2, 1, '2026-06-06 14:52:37', 'FEC79253E40D4BEE962C5DD80CF86E71', 'd3000000000000000000000000000001', '2026-06-06 14:52:14', 'd3000000000000000000000000000001', 'shanxia2.0', NULL, '线索备注信息\n分配说明:分配给测试账号1', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 14:50:55', 'd3000000000000000000000000000001', '2026-06-06 15:01:36', 0);
|
||||
INSERT INTO `crm_clue` (`id`, `clue_name`, `mobile`, `company`, `customer_type`, `telephone`, `email`, `title`, `position`, `source`, `level`, `industry`, `park_area`, `province`, `city`, `district`, `address`, `website`, `intent_products`, `expect_time`, `budget`, `requirement`, `status`, `owner_user_id`, `owner_user_name`, `last_time`, `next_time`, `follow_count`, `is_converted`, `converted_time`, `customer_id`, `converted_by`, `assign_time`, `assign_by`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('E4F8B65BD47243089AD219D92724E01A', '线索1', '13099001122', '安徽测试', '5', '', '80123122@qq.com', '', '测试职位', 'khyj', 'B', 'energy', '望江工业园区', 'anhi1', 'hefei1', 'shushan1', '详细地址详细地址详细地址详细地址详细地址详细地址望江西路1', 'www.site.com', '盐酸,硫酸111', NULL, '', '需求描述需求描述需求描述1', 'invalid', 'd3000000000000000000000000000001', '系统管理员', NULL, '2026-05-31 15:45:14', 0, 0, NULL, NULL, NULL, NULL, NULL, 'shanxia2.0', NULL, '123123\n无效原因:123', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 15:37:56', 'd3000000000000000000000000000001', '2026-06-06 15:01:35', 1);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@@ -499,6 +565,12 @@ CREATE TABLE `crm_clue_follow` (
|
||||
-- Records of crm_clue_follow
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `crm_clue_follow` (`id`, `clue_id`, `clue_name`, `follow_type`, `follow_content`, `next_time`, `attachments`, `create_by_name`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('21103473CBDF48CCB581F337C2DF94DE', '896BE790FE2D41198648C6B7483148E7', '张三', 'phone', '123', '2026-06-02 00:00:00', 'crm/clue/follow/202606/06/fb5e192e4e6d4b469bca202b1acdb6f4.jpeg', '', 'shanxia2.0', 0, '123', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 13:38:27', 'd3000000000000000000000000000001', '2026-06-06 13:38:27', 0);
|
||||
INSERT INTO `crm_clue_follow` (`id`, `clue_id`, `clue_name`, `follow_type`, `follow_content`, `next_time`, `attachments`, `create_by_name`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('68BCBFB962A94D44883A4DB769D32743', 'B603BDCA68A44D94B88350291C6F1F94', '李某某', 'wechat', '微信电话沟通', '2026-06-30 10:00:00', 'crm/clue/follow/202606/06/d529d104ce484b9da70d9f2ea1a72acc.jpeg', '系统管理员', 'shanxia2.0', 0, '测试备注', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 14:51:23', 'd3000000000000000000000000000001', '2026-06-06 14:51:23', 0);
|
||||
INSERT INTO `crm_clue_follow` (`id`, `clue_id`, `clue_name`, `follow_type`, `follow_content`, `next_time`, `attachments`, `create_by_name`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('970BC2FCC97E45DDA293B64214289C22', '3765A4F7E55C43FCAEAFEEA553D954E7', '测试线索', 'other', '其他跟进', '2026-06-24 00:00:00', 'crm/clue/follow/202606/06/d3fbc67918974eb8b267b9d617bbb197.jpeg', '', 'shanxia2.0', 0, '备注备注备注备注', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 13:33:54', 'd3000000000000000000000000000001', '2026-06-06 13:33:54', 0);
|
||||
INSERT INTO `crm_clue_follow` (`id`, `clue_id`, `clue_name`, `follow_type`, `follow_content`, `next_time`, `attachments`, `create_by_name`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('B440D01DFE984F4B86CB19857D09850E', '3765A4F7E55C43FCAEAFEEA553D954E7', '测试线索', 'wechat', '跟进明细内容', '2026-06-12 00:00:00', 'crm/clue/follow/202606/06/a902ce45761344e4b28efc81febc06ec.jpeg,crm/clue/follow/202606/06/ecabd780c6cf4b3c889d87d9123cff11.jpeg', '', 'shanxia2.0', 0, '备注', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 13:33:36', 'd3000000000000000000000000000001', '2026-06-06 13:33:36', 0);
|
||||
INSERT INTO `crm_clue_follow` (`id`, `clue_id`, `clue_name`, `follow_type`, `follow_content`, `next_time`, `attachments`, `create_by_name`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('B97D0BFD40C04494A22167F22C9683FA', '0D7D4D86FECA48E8B1B96D48220E2089', '王某', 'wechat', '123', '2026-06-10 00:00:00', '', '系统管理员', 'shanxia2.0', 0, '123', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 15:08:03', 'd3000000000000000000000000000001', '2026-06-06 15:08:03', 0);
|
||||
INSERT INTO `crm_clue_follow` (`id`, `clue_id`, `clue_name`, `follow_type`, `follow_content`, `next_time`, `attachments`, `create_by_name`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('C2911266DE4748748FCADBEBEA71F998', 'B603BDCA68A44D94B88350291C6F1F94', '李某某', 'other', '其他摆放', '2026-06-24 00:00:00', 'crm/clue/follow/202606/06/3383fbfb5b6746bfa9ea97ee09596ed5.jpeg', '系统管理员', 'shanxia2.0', 0, '测试', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 14:51:53', 'd3000000000000000000000000000001', '2026-06-06 14:51:53', 0);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@@ -544,7 +616,11 @@ CREATE TABLE `crm_contact` (
|
||||
-- Records of crm_contact
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `crm_contact` (`id`, `customer_id`, `customer_name`, `contact_name`, `gender`, `mobile`, `telephone`, `email`, `wechat`, `qq`, `department`, `position`, `role`, `birthday`, `address`, `is_key`, `is_primary`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('166AE994C4A14FC3AC095F72AB739726', 'DCC738A8CEFE488F980264BFB6439670', '合肥市皖和化工有限公司', '王某', NULL, '13899002211', NULL, '988080@qq.com', NULL, NULL, NULL, '测试主管', NULL, NULL, NULL, 1, 1, 'active', 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 15:08:14', NULL, '2026-06-06 15:08:14', 0);
|
||||
INSERT INTO `crm_contact` (`id`, `customer_id`, `customer_name`, `contact_name`, `gender`, `mobile`, `telephone`, `email`, `wechat`, `qq`, `department`, `position`, `role`, `birthday`, `address`, `is_key`, `is_primary`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('1A7FD69E6AEB45FA997B5C7C0263FC5B', '42B2B0A78BF249FFBDAD5A833AE8A19B', '测试1', '12', 'male', '13099922112', '123', '123@qq.com', '123', '', '123', '123', 'decision', NULL, '', 0, 1, 'active', 'shanxia2.0', NULL, '123123', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 15:58:40', 'd3000000000000000000000000000001', '2026-05-31 16:00:31', 0);
|
||||
INSERT INTO `crm_contact` (`id`, `customer_id`, `customer_name`, `contact_name`, `gender`, `mobile`, `telephone`, `email`, `wechat`, `qq`, `department`, `position`, `role`, `birthday`, `address`, `is_key`, `is_primary`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('65000282568D4EABBAC63687035A713D', '42B2B0A78BF249FFBDAD5A833AE8A19B', '测试1', '13', NULL, '13099911111', '0551-0213123123', '12@qq.com', '123123123', NULL, '测试部', '主管', 'decision', NULL, NULL, 1, 1, 'active', 'shanxia2.0', NULL, '备注', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 15:19:41', NULL, '2026-06-06 15:19:41', 0);
|
||||
INSERT INTO `crm_contact` (`id`, `customer_id`, `customer_name`, `contact_name`, `gender`, `mobile`, `telephone`, `email`, `wechat`, `qq`, `department`, `position`, `role`, `birthday`, `address`, `is_key`, `is_primary`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('6520169114D2463BB646217667255E09', 'BC37973BEF3A408694162D773A541500', '安徽哇哈哈有限责任公司', '李赛', 'male', '13011221112', '0556-09812233', '7718237812378@qq.com', '991023', '', '测试部1', '总主管1', 'decision', NULL, '', 0, 1, 'active', 'shanxia2.0', NULL, '备注信息', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 16:18:23', 'd3000000000000000000000000000001', '2026-06-06 16:18:39', 0);
|
||||
INSERT INTO `crm_contact` (`id`, `customer_id`, `customer_name`, `contact_name`, `gender`, `mobile`, `telephone`, `email`, `wechat`, `qq`, `department`, `position`, `role`, `birthday`, `address`, `is_key`, `is_primary`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('AE5ABEB15D4445AC8AF33AADF5986DFF', 'FEC79253E40D4BEE962C5DD80CF86E71', '安徽桥梁建设有限公司', '李某某', NULL, '13900022122', NULL, '88900@qq.com', NULL, NULL, NULL, '主管', NULL, NULL, NULL, 1, 1, 'active', 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 14:52:37', NULL, '2026-06-06 14:52:37', 0);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@@ -650,8 +726,11 @@ CREATE TABLE `crm_contract` (
|
||||
-- Records of crm_contract
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `crm_contract` (`id`, `contract_no`, `contract_name`, `customer_id`, `customer_name`, `opportunity_id`, `quote_id`, `parent_contract_id`, `renewal_count`, `template_id`, `contract_template`, `contact_id`, `contact_name`, `contact_mobile`, `contract_type`, `contract_nature`, `amount`, `currency`, `tax_rate`, `amount_with_tax`, `status`, `performance_status`, `performance_rate`, `customer_satisfaction`, `approval_status`, `approval_flow_id`, `contract_file`, `attachment_files`, `sign_date`, `actual_sign_date`, `start_date`, `end_date`, `contract_period`, `owner_user_id`, `owner_user_name`, `received_amount`, `unreceived_amount`, `invoice_amount`, `uninvoice_amount`, `party_a`, `party_a_address`, `party_a_contact`, `party_a_mobile`, `party_a_legal_person`, `party_a_agent`, `party_a_phone_fax`, `party_a_bank`, `party_a_account`, `party_b`, `party_b_address`, `party_b_contact`, `party_b_mobile`, `party_b_legal_person`, `party_b_agent`, `party_b_phone_fax`, `party_b_bank`, `party_b_account`, `payment_terms`, `delivery_terms`, `contract_terms`, `settlement_method`, `template_content`, `settlement_clause_drafts`, `invalid_reason`, `invalid_time`, `version_no`, `supplier_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('1220DC6BD9FD499A9D3848C406803B31', 'SX/X-JT20260531001', '山峡-cs1(SX/X-JT20260531001)', '42B2B0A78BF249FFBDAD5A833AE8A19B', '测试1', 'EF26F94ECF06435CBC3529AFCFEDA649', 'F1B12EE76C7741E8B330F65CD269D863', NULL, 0, NULL, 'shanxia', '1A7FD69E6AEB45FA997B5C7C0263FC5B', '12', '13099922112', 'framework', 'new', 0.00, 'CNY', 6.00, 0.00, 'draft', 'normal', 0.00, NULL, NULL, NULL, NULL, '[{\"ossId\": \"crm/contract/file/202605/31/d8fe33c0e0fb4f6ea54a40c14a01b861.png\", \"category\": \"single_seal\"}, {\"ossId\": \"crm/contract/202606/02/64db738e813e43f8a23b93dcf2494a9c.png\", \"category\": \"single_seal\"}, {\"ossId\": \"crm/contract/202606/02/3a2c01d5c4404f1fb82fddba348acadc.pdf\", \"category\": \"other\"}]', '2026-05-31', NULL, '2026-05-31', '2026-06-30', NULL, 'd3000000000000000000000000000001', '系统管理员', 0.00, 0.00, 0.00, 0.00, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', NULL, NULL, NULL, NULL, NULL, NULL, 0, '1', 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 22:23:41', 'd3000000000000000000000000000001', '2026-06-02 20:12:28', 0);
|
||||
INSERT INTO `crm_contract` (`id`, `contract_no`, `contract_name`, `customer_id`, `customer_name`, `opportunity_id`, `quote_id`, `parent_contract_id`, `renewal_count`, `template_id`, `contract_template`, `contact_id`, `contact_name`, `contact_mobile`, `contract_type`, `contract_nature`, `amount`, `currency`, `tax_rate`, `amount_with_tax`, `status`, `performance_status`, `performance_rate`, `customer_satisfaction`, `approval_status`, `approval_flow_id`, `contract_file`, `attachment_files`, `sign_date`, `actual_sign_date`, `start_date`, `end_date`, `contract_period`, `owner_user_id`, `owner_user_name`, `received_amount`, `unreceived_amount`, `invoice_amount`, `uninvoice_amount`, `party_a`, `party_a_address`, `party_a_contact`, `party_a_mobile`, `party_a_legal_person`, `party_a_agent`, `party_a_phone_fax`, `party_a_bank`, `party_a_account`, `party_b`, `party_b_address`, `party_b_contact`, `party_b_mobile`, `party_b_legal_person`, `party_b_agent`, `party_b_phone_fax`, `party_b_bank`, `party_b_account`, `payment_terms`, `delivery_terms`, `contract_terms`, `settlement_method`, `template_content`, `settlement_clause_drafts`, `invalid_reason`, `invalid_time`, `version_no`, `supplier_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('158F8267EBC84566B53D1B2229954CFD', 'SX/X-JT20260531002', '山峡-cs1(SX/X-JT20260531002)', '42B2B0A78BF249FFBDAD5A833AE8A19B', '测试1', 'EF26F94ECF06435CBC3529AFCFEDA649', '9B7E8EF5F4E545A8A3A0090C1DFB1DE6', NULL, 0, NULL, 'shanxia', '1A7FD69E6AEB45FA997B5C7C0263FC5B', '12', '13099922112', 'sale', 'new', 244.00, 'CNY', 6.00, 258.64, 'approved', 'normal', 0.00, NULL, 'approved', NULL, NULL, NULL, '2026-05-31', NULL, '2026-05-31', '2026-06-30', NULL, 'd3000000000000000000000000000001', '系统管理员', 0.00, 244.00, 0.00, 244.00, '安庆市山峡化工有限公司', '安徽省安庆市高新区霞虹路 5 号', NULL, NULL, '吴春生', '', '0556-5348918', '中国建设银行安庆市城中支行', '34050168860800000121', '3', '3', '12', '13099922112', '3', '3', '3', '3', '3', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, '1', 'shanxia2.0', NULL, '123123', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-02 21:51:01', 'd3000000000000000000000000000001', '2026-06-02 21:51:47', 0);
|
||||
INSERT INTO `crm_contract` (`id`, `contract_no`, `contract_name`, `customer_id`, `customer_name`, `opportunity_id`, `quote_id`, `parent_contract_id`, `renewal_count`, `template_id`, `contract_template`, `contact_id`, `contact_name`, `contact_mobile`, `contract_type`, `contract_nature`, `amount`, `currency`, `tax_rate`, `amount_with_tax`, `status`, `performance_status`, `performance_rate`, `customer_satisfaction`, `approval_status`, `approval_flow_id`, `contract_file`, `attachment_files`, `sign_date`, `actual_sign_date`, `start_date`, `end_date`, `contract_period`, `owner_user_id`, `owner_user_name`, `received_amount`, `unreceived_amount`, `invoice_amount`, `uninvoice_amount`, `party_a`, `party_a_address`, `party_a_contact`, `party_a_mobile`, `party_a_legal_person`, `party_a_agent`, `party_a_phone_fax`, `party_a_bank`, `party_a_account`, `party_b`, `party_b_address`, `party_b_contact`, `party_b_mobile`, `party_b_legal_person`, `party_b_agent`, `party_b_phone_fax`, `party_b_bank`, `party_b_account`, `payment_terms`, `delivery_terms`, `contract_terms`, `settlement_method`, `template_content`, `settlement_clause_drafts`, `invalid_reason`, `invalid_time`, `version_no`, `supplier_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('311F6F62D0FD49A1B1087CC33058847C', 'SX/X-JT20260606003', '云栋-哇哈哈(SX/X-JT20260606003)', 'BC37973BEF3A408694162D773A541500', '安徽哇哈哈有限责任公司', NULL, 'DE6655EA77B34DFF9E88CE3C1A1A3308', NULL, 0, NULL, 'shanxia', '6520169114D2463BB646217667255E09', '李赛', '13011221112', 'sale', 'new', 6.00, 'CNY', 6.00, 507.42, 'draft', 'normal', 0.00, NULL, NULL, NULL, NULL, NULL, '2026-06-06', NULL, '2026-06-06', '2026-07-06', NULL, 'd3000000000000000000000000000001', '系统管理员', 0.00, 6.00, 0.00, 6.00, '安徽哇哈哈有限责任公司', '单位地址', '李赛', '13011221112', '吴某某', '', '0551-90221122', '中国建设银行', '90123123123123', '安徽云栋化工有限公司', '安徽省安庆市运动', '李赛', '13011221112', '吴', NULL, '0556-5348911', '中国', '340501688608000123123', NULL, NULL, NULL, 'arrive_payment', NULL, NULL, NULL, NULL, 0, '2', 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:26:14', 'd3000000000000000000000000000001', '2026-06-06 19:31:01', 0);
|
||||
INSERT INTO `crm_contract` (`id`, `contract_no`, `contract_name`, `customer_id`, `customer_name`, `opportunity_id`, `quote_id`, `parent_contract_id`, `renewal_count`, `template_id`, `contract_template`, `contact_id`, `contact_name`, `contact_mobile`, `contract_type`, `contract_nature`, `amount`, `currency`, `tax_rate`, `amount_with_tax`, `status`, `performance_status`, `performance_rate`, `customer_satisfaction`, `approval_status`, `approval_flow_id`, `contract_file`, `attachment_files`, `sign_date`, `actual_sign_date`, `start_date`, `end_date`, `contract_period`, `owner_user_id`, `owner_user_name`, `received_amount`, `unreceived_amount`, `invoice_amount`, `uninvoice_amount`, `party_a`, `party_a_address`, `party_a_contact`, `party_a_mobile`, `party_a_legal_person`, `party_a_agent`, `party_a_phone_fax`, `party_a_bank`, `party_a_account`, `party_b`, `party_b_address`, `party_b_contact`, `party_b_mobile`, `party_b_legal_person`, `party_b_agent`, `party_b_phone_fax`, `party_b_bank`, `party_b_account`, `payment_terms`, `delivery_terms`, `contract_terms`, `settlement_method`, `template_content`, `settlement_clause_drafts`, `invalid_reason`, `invalid_time`, `version_no`, `supplier_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('33A647BCDFA34039A47021E3B08F3018', 'YD/X-JT20260606002', '哇哈哈-云栋(YD/X-JT20260606002)', 'BC37973BEF3A408694162D773A541500', '安徽哇哈哈有限责任公司', NULL, 'B59BE37A43BF4394B7F5D69A0FAF543D', NULL, 0, NULL, 'shanxia', '6520169114D2463BB646217667255E09', '李赛', '13011221112', 'purchase', 'new', 3400.00, 'CNY', 6.00, 3604.00, 'executing', 'normal', 0.00, NULL, 'approved', NULL, NULL, NULL, '2026-06-06', NULL, '2026-06-06', '2026-07-06', NULL, 'd3000000000000000000000000000001', '系统管理员', 0.00, 3400.00, 0.00, 3400.00, '安徽哇哈哈有限责任公司', '单位地址', '李赛', '13011221112', '吴某某', '', '0551-90221122', '中国建设银行', '90123123123123', '安徽云栋化工有限公司', '安徽省安庆市运动', '李赛', '13011221112', '吴', NULL, '0556-5348911', '中国', '340501688608000123123', NULL, NULL, NULL, 'advance_payment', NULL, NULL, NULL, NULL, 0, '2', 'shanxia2.0', NULL, '123', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:32:39', 'd3000000000000000000000000000001', '2026-06-06 19:35:20', 0);
|
||||
INSERT INTO `crm_contract` (`id`, `contract_no`, `contract_name`, `customer_id`, `customer_name`, `opportunity_id`, `quote_id`, `parent_contract_id`, `renewal_count`, `template_id`, `contract_template`, `contact_id`, `contact_name`, `contact_mobile`, `contract_type`, `contract_nature`, `amount`, `currency`, `tax_rate`, `amount_with_tax`, `status`, `performance_status`, `performance_rate`, `customer_satisfaction`, `approval_status`, `approval_flow_id`, `contract_file`, `attachment_files`, `sign_date`, `actual_sign_date`, `start_date`, `end_date`, `contract_period`, `owner_user_id`, `owner_user_name`, `received_amount`, `unreceived_amount`, `invoice_amount`, `uninvoice_amount`, `party_a`, `party_a_address`, `party_a_contact`, `party_a_mobile`, `party_a_legal_person`, `party_a_agent`, `party_a_phone_fax`, `party_a_bank`, `party_a_account`, `party_b`, `party_b_address`, `party_b_contact`, `party_b_mobile`, `party_b_legal_person`, `party_b_agent`, `party_b_phone_fax`, `party_b_bank`, `party_b_account`, `payment_terms`, `delivery_terms`, `contract_terms`, `settlement_method`, `template_content`, `settlement_clause_drafts`, `invalid_reason`, `invalid_time`, `version_no`, `supplier_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('4439EECB46AE488D8CBC2F0A4B35A4EB', 'SX/X-JT20260606001', '山峡-云栋(SX/X-JT20260606001)', 'BC37973BEF3A408694162D773A541500', '安徽哇哈哈有限责任公司', NULL, '39C4BB1DED1D412A9FE7CE97FDA267DD', NULL, 0, NULL, 'shanxia', '6520169114D2463BB646217667255E09', '李赛', '13011221112', 'purchase', 'new', 499.00, 'CNY', 6.00, 470.64, 'invalid', 'normal', 0.00, NULL, NULL, NULL, NULL, '[{\"ossId\":\"crm/contract/202606/06/4c9f5dd97bf4476fb42eaf1f7a585121.jpeg\",\"category\":\"other\"}]', '2026-06-06', NULL, '2026-06-06', '2026-07-06', NULL, 'd3000000000000000000000000000001', '系统管理员', 0.00, 499.00, 0.00, 499.00, '安徽哇哈哈有限责任公司', '单位地址', '李赛', '13011221112', '吴某某', '', '0551-90221122', '中国建设银行', '90123123123123', '安徽云栋化工有限公司', '安徽省安庆市运动', '李赛', '13011221112', '吴', NULL, '0556-5348911', '中国', '340501688608000123123', NULL, NULL, NULL, 'arrive_payment', NULL, NULL, 'customer_cancel', '2026-06-06 18:49:07', 0, '2', 'shanxia2.0', NULL, '123', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 18:29:16', 'd3000000000000000000000000000001', '2026-06-06 18:49:07', 0);
|
||||
INSERT INTO `crm_contract` (`id`, `contract_no`, `contract_name`, `customer_id`, `customer_name`, `opportunity_id`, `quote_id`, `parent_contract_id`, `renewal_count`, `template_id`, `contract_template`, `contact_id`, `contact_name`, `contact_mobile`, `contract_type`, `contract_nature`, `amount`, `currency`, `tax_rate`, `amount_with_tax`, `status`, `performance_status`, `performance_rate`, `customer_satisfaction`, `approval_status`, `approval_flow_id`, `contract_file`, `attachment_files`, `sign_date`, `actual_sign_date`, `start_date`, `end_date`, `contract_period`, `owner_user_id`, `owner_user_name`, `received_amount`, `unreceived_amount`, `invoice_amount`, `uninvoice_amount`, `party_a`, `party_a_address`, `party_a_contact`, `party_a_mobile`, `party_a_legal_person`, `party_a_agent`, `party_a_phone_fax`, `party_a_bank`, `party_a_account`, `party_b`, `party_b_address`, `party_b_contact`, `party_b_mobile`, `party_b_legal_person`, `party_b_agent`, `party_b_phone_fax`, `party_b_bank`, `party_b_account`, `payment_terms`, `delivery_terms`, `contract_terms`, `settlement_method`, `template_content`, `settlement_clause_drafts`, `invalid_reason`, `invalid_time`, `version_no`, `supplier_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('58852D0B8E9942D995522F79BB64D66A', 'SX/X-JT20260606002', '山峡-哇哈哈(SX/X-JT20260606002)', 'BC37973BEF3A408694162D773A541500', '安徽哇哈哈有限责任公司', NULL, 'B82902623BAA406DB0B5C4CFE6EC16D7', NULL, 0, NULL, 'shanxia', '6520169114D2463BB646217667255E09', '李赛', '13011221112', 'framework', 'new', 0.00, 'CNY', 6.00, 705.96, 'invalid', 'normal', 0.00, NULL, NULL, NULL, NULL, '[{\"ossId\":\"crm/contract/202606/06/ca76fcb2051046b6bd19a77e85c2c758.jpeg\",\"category\":\"other\"},{\"ossId\":\"crm/contract/202606/06/d6bbe8b4aa524926b26ba8ea7c0869b4.pdf\",\"category\":\"double_seal\"}]', '2026-06-06', NULL, '2026-06-06', '2026-07-06', NULL, 'd3000000000000000000000000000001', '系统管理员', 0.00, 0.00, 0.00, 0.00, '安庆市山峡化工有限公司', '安徽省安庆市高新区霞虹路 5 号', '李赛', '13011221112', '吴春生', '', '0556-5348918', '中国建设银行安庆市城中支行', '34050168860800000121', '安徽哇哈哈有限责任公司', '单位地址', '李赛', '13011221112', '吴某某', NULL, '0551-90221122', '中国建设银行', '90123123123123', NULL, NULL, NULL, 'advance_payment', '<div style=\"width: 210mm; margin: 0 auto; padding: 0 15mm 20mm 15mm; font-family: \'宋体\', SimSun, serif; line-height: 1.6; box-sizing: border-box;\"><!-- Logo -->\n<div style=\"text-align: left; margin-top: 15px; margin-bottom: 10px;\"><img src=\"src/assets/images/logo.gif\" alt=\"logo\" style=\"height: 30px;\"></div>\n<!-- 标题 -->\n<h1 style=\"text-align: center; font-size: 28px; margin: 0; font-weight: bold; line-height: 1.5;\">产品{{contractType}}</h1>\n<!-- 合同基本信息 -->\n<div style=\"margin-bottom: 0; font-size: 12px; line-height: 1.5;\">\n<div style=\"display: flex; margin-bottom: 0;\">\n<div style=\"flex: 1;\">签订日期:{{signDate}}</div>\n</div>\n<div style=\"display: flex; margin-bottom: 0; position: relative;\">\n<div style=\"flex: 1;\">供方:{{customerName}}</div>\n<div style=\"position: absolute; right: 0px; min-width: 300px;\">合同编号:{{contractNo}}</div>\n</div>\n<div style=\"display: flex; margin-bottom: 0; position: relative;\">\n<div style=\"flex: 1;\">需方:{{partyB}}</div>\n<div style=\"position: absolute; right: 0px; min-width: 300px;\">签订地点:安徽安庆</div>\n</div>\n</div>\n<!-- 合同前言 -->\n<div style=\"margin-bottom: 0; font-size: 12px; text-indent: 2em; line-height: 1.5;\">经供需本着平等互利、协调一致的原则,根据中华人民共和国民法典的相关规定,订立合同。</div>\n<!-- 第一条 -->\n<div style=\"margin-bottom: 0;\">\n<div style=\"font-weight: bold; margin-bottom: 10px; font-size: 12px; color: #000;\">第一条、标的、数量、价格及其他</div>\n<!-- 产品表格 -->\n<table style=\"width: 100%; border-collapse: collapse; margin-bottom: 0; border: 0.3px solid #000;\">\n<thead>\n<tr style=\"background-color: #fff;\">\n<th style=\"padding: 5px 6px; border: 0.3px solid #000; text-align: center; font-size: 12px; width: 18%;\">产品名称</th>\n<th style=\"padding: 5px 6px; border: 0.3px solid #000; text-align: center; font-size: 12px; width: 9%;\">规格</th>\n<th style=\"padding: 5px 6px; border: 0.3px solid #000; text-align: center; font-size: 12px; width: 6%;\">单位</th>\n<th style=\"padding: 5px 6px; border: 0.3px solid #000; text-align: center; font-size: 12px; width: 7%;\">用量</th>\n<th style=\"padding: 5px 6px; border: 0.3px solid #000; text-align: center; font-size: 12px; width: 10%;\">含税单价(元)</th>\n<th style=\"padding: 5px 6px; border: 0.3px solid #000; text-align: center; font-size: 12px; width: 10%;\">未含税金额(元)</th>\n<Line truncated
|
||||
INSERT INTO `crm_contract` (`id`, `contract_no`, `contract_name`, `customer_id`, `customer_name`, `opportunity_id`, `quote_id`, `parent_contract_id`, `renewal_count`, `template_id`, `contract_template`, `contact_id`, `contact_name`, `contact_mobile`, `contract_type`, `contract_nature`, `amount`, `currency`, `tax_rate`, `amount_with_tax`, `status`, `performance_status`, `performance_rate`, `customer_satisfaction`, `approval_status`, `approval_flow_id`, `contract_file`, `attachment_files`, `sign_date`, `actual_sign_date`, `start_date`, `end_date`, `contract_period`, `owner_user_id`, `owner_user_name`, `received_amount`, `unreceived_amount`, `invoice_amount`, `uninvoice_amount`, `party_a`, `party_a_address`, `party_a_contact`, `party_a_mobile`, `party_a_legal_person`, `party_a_agent`, `party_a_phone_fax`, `party_a_bank`, `party_a_account`, `party_b`, `party_b_address`, `party_b_contact`, `party_b_mobile`, `party_b_legal_person`, `party_b_agent`, `party_b_phone_fax`, `party_b_bank`, `party_b_account`, `payment_terms`, `delivery_terms`, `contract_terms`, `settlement_method`, `template_content`, `settlement_clause_drafts`, `invalid_reason`, `invalid_time`, `version_no`, `supplier_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('EC194F83D2394438B1017E12FC7E4815', 'YD/X-JT20260606001', '云栋-哇哈哈(YD/X-JT20260606001)', 'BC37973BEF3A408694162D773A541500', '安徽哇哈哈有限责任公司', NULL, 'B82902623BAA406DB0B5C4CFE6EC16D7', NULL, 0, NULL, 'shanxia', '6520169114D2463BB646217667255E09', '李赛', '13011221112', 'purchase', 'new', 6.00, 'CNY', 6.00, 705.96, 'invalid', 'normal', 0.00, NULL, NULL, NULL, NULL, NULL, '2026-06-06', NULL, '2026-06-06', '2026-07-06', NULL, 'd3000000000000000000000000000001', '系统管理员', 0.00, 6.00, 0.00, 6.00, '安徽云栋化工有限公司', '安徽省安庆市运动', NULL, NULL, '吴', '', '0556-5348911', '中国', '340501688608000123123', '安徽哇哈哈有限责任公司', '单位地址', '李赛', '13011221112', '吴某某', NULL, '0551-90221122', '中国建设银行', '90123123123123', NULL, NULL, NULL, 'advance_payment', NULL, NULL, 'business_change', '2026-06-06 19:01:12', 0, '2', 'shanxia2.0', NULL, '123', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 18:49:55', 'd3000000000000000000000000000001', '2026-06-06 19:01:12', 0);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@@ -695,7 +774,8 @@ CREATE TABLE `crm_contract_approval` (
|
||||
-- Records of crm_contract_approval
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `crm_contract_approval` (`id`, `contract_id`, `flow_id`, `step`, `step_name`, `approver_id`, `approver_name`, `approver_dept`, `approval_result`, `approval_opinion`, `approval_time`, `approval_duration`, `attachments`, `is_current`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('38C3FBAB56B149A3A02EA84422E3E382', '158F8267EBC84566B53D1B2229954CFD', NULL, 1, '第1步审批', 'd3000000000000000000000000000001', '系统管理员', '', 'approved', '123', '2026-06-02 21:51:47', 0, '', 0, 1, 'shanxia2.0', NULL, '123', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-02 21:51:12', 'd3000000000000000000000000000001', '2026-06-02 21:51:47', 0);
|
||||
INSERT INTO `crm_contract_approval` (`id`, `contract_id`, `flow_id`, `step`, `step_name`, `approver_id`, `approver_name`, `approver_dept`, `approval_result`, `approval_opinion`, `approval_time`, `approval_duration`, `attachments`, `is_current`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('9A15A5322CF94610A189917D28C0CC28', '33A647BCDFA34039A47021E3B08F3018', NULL, 1, '第1步审批', 'BFB4CBEAB7054F48BDE82B55A985798C', '测试账号1', '', 'approved', '123', '2026-06-06 19:33:57', 0, '', 0, 1, 'shanxia2.0', NULL, '123', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:33:24', 'BFB4CBEAB7054F48BDE82B55A985798C', '2026-06-06 19:33:57', 0);
|
||||
INSERT INTO `crm_contract_approval` (`id`, `contract_id`, `flow_id`, `step`, `step_name`, `approver_id`, `approver_name`, `approver_dept`, `approval_result`, `approval_opinion`, `approval_time`, `approval_duration`, `attachments`, `is_current`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('C947F8CB3F53480685E52AE4C64C29ED', '33A647BCDFA34039A47021E3B08F3018', NULL, 2, '第2步审批', 'd3000000000000000000000000000001', '系统管理员', '', 'approved', '123123', '2026-06-06 19:34:33', 0, '', 0, 2, 'shanxia2.0', NULL, '123123', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:33:24', 'd3000000000000000000000000000001', '2026-06-06 19:34:33', 0);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@@ -788,10 +868,67 @@ CREATE TABLE `crm_contract_product` (
|
||||
-- Records of crm_contract_product
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('55ABED51555349D790C3BC3F3F75C9AC', '1220DC6BD9FD499A9D3848C406803B31', '2060282715597139969', '试剂硝酸', 'PRD20260529a466', '1975766588632625154', '其他', 'AR', 'ping', 2.0000, 0.00, 0.00, 13.00, 0.00, 0.00, NULL, 'pending', 0.0000, '', '25kg/桶', '自提', 2, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 22:23:41', NULL, '2026-05-31 22:23:41', 0);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('EB7E08B53E974B359DF4DF2556866000', '158F8267EBC84566B53D1B2229954CFD', '2060282715597139969', '试剂硝酸', 'PRD20260529a466', '1975766588632625154', '其他', 'AR', 'ping', 2.0000, 111.00, 0.00, 13.00, 25.54, 222.00, NULL, 'pending', 0.0000, '', '25kg/桶', '自提', 2, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-02 21:51:01', 'd3000000000000000000000000000001', '2026-06-02 21:51:01', 0);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('FB0C8680D184493BB97C84BFB047301A', '1220DC6BD9FD499A9D3848C406803B31', '2060282814905675777', '试剂硝酸', 'PRD2026052907e3', '1975766588632625154', '其他', '98%', 'ping', 2.0000, 0.00, 0.00, 13.00, 0.00, 0.00, NULL, 'pending', 0.0000, '', '20kg/袋', '一票制送到', 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 22:23:41', NULL, '2026-05-31 22:23:41', 0);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('FC0A1E7849994FEDA4ABC306A72BC46B', '158F8267EBC84566B53D1B2229954CFD', '2060282814905675777', '试剂硝酸', 'PRD2026052907e3', '1975766588632625154', '其他', '98%', 'ping', 2.0000, 11.00, 0.00, 13.00, 2.53, 22.00, NULL, 'pending', 0.0000, '', '20kg/袋', '一票制送到', 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-02 21:51:01', 'd3000000000000000000000000000001', '2026-06-02 21:51:01', 0);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('02FAD96C6CB44CFBAC98DF4C1A678923', '311F6F62D0FD49A1B1087CC33058847C', '2060229752782548994', '亚硫酸钠', 'SXWL00951', '1975766588632625154', '其他', '液体', 'dun', 1.0000, 200.10, 0.00, 13.00, 23.02, 200.10, NULL, 'pending', 0.0000, '', '25Kg/袋', '自提', 1, 'shanxia2.0', NULL, '3', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:26:14', 'd3000000000000000000000000000001', '2026-06-06 19:26:38', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('061EF20823284ABFA1EA6B36E34DE3CE', '311F6F62D0FD49A1B1087CC33058847C', '2059901360992382977', '次氯酸钠', 'PRD20260528017d', '', '', '固体', 'dun', 1.0000, 0.00, 0.00, 13.00, 0.00, 0.00, NULL, 'pending', 0.0000, '', '20kg/袋', '一票制送到', 3, 'shanxia2.0', NULL, '1', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:26:57', 'd3000000000000000000000000000001', '2026-06-06 19:27:36', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('079CA2A01F6741D499443CA1E302544F', 'EC194F83D2394438B1017E12FC7E4815', '2060281787460579330', '氨水', 'PRD202605293610', '1975766588632625154', '其他', '25%', 'kg', 1.0000, 111.00, 0.00, 13.00, 12.77, 111.00, NULL, 'pending', 0.0000, '', '20kg/袋', '一票制送到', 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 18:59:20', 'd3000000000000000000000000000001', '2026-06-06 18:59:29', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('10630987BA4445EDB86CD38C39536F7F', '311F6F62D0FD49A1B1087CC33058847C', '2060280030110117889', '36%盐酸', 'PRD202605295237', '', '', '36%', 'kg', 1.0000, 0.00, 0.00, 13.00, 0.00, 0.00, NULL, 'pending', 0.0000, '', '20kg/袋', '自提', 2, 'shanxia2.0', NULL, '2', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:28:47', 'd3000000000000000000000000000001', '2026-06-06 19:31:02', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('1343407380D147BBBED92356DFE8A82A', '311F6F62D0FD49A1B1087CC33058847C', '2060280030110117889', '36%盐酸', 'PRD202605295237', '', '', '36%', 'kg', 1.0000, 2.00, 0.00, 13.00, 0.23, 2.00, NULL, 'pending', 0.0000, '', '20kg/袋', '自提', 2, 'shanxia2.0', NULL, '2', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:31:02', 'd3000000000000000000000000000001', '2026-06-06 19:31:02', 0);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('13FAAE99892C4FFAADCCD335D722CCB4', 'EC194F83D2394438B1017E12FC7E4815', '2060282538849169409', '试剂氨水', 'PRD202605299a00', '', '', 'AR', 'ping', 1.0000, 222.00, 0.00, 13.00, 25.54, 222.00, NULL, 'pending', 0.0000, '', '20kg/袋', '自提', 2, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 18:59:20', 'd3000000000000000000000000000001', '2026-06-06 18:59:29', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('1B52857206D54DC98EA934F7BFCAEDB7', '4439EECB46AE488D8CBC2F0A4B35A4EB', '2060282538849169409', '试剂氨水', 'PRD202605299a00', '', '', 'AR', 'ping', 2.0000, 222.00, 0.00, 13.00, 51.08, 444.00, NULL, 'pending', 0.0000, '', '20kg/袋', '自提', 1, 'shanxia2.0', NULL, '备注信息', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 18:47:59', 'd3000000000000000000000000000001', '2026-06-06 18:47:59', 0);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('1D447B8ADA644081845C084110B9A780', '58852D0B8E9942D995522F79BB64D66A', '2060281732267732994', '氨水', 'PRD20260529e91d', '1975766588632625154', '其他', '20%', 'kg', 1.0000, 333.00, 0.00, 13.00, 38.31, 333.00, NULL, 'pending', 0.0000, '', '25kg/桶', '自提', 3, 'shanxia2.0', NULL, '111', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:01:44', 'd3000000000000000000000000000001', '2026-06-06 19:21:08', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('210B880F7BDD410883C9B7057D6C4493', 'EC194F83D2394438B1017E12FC7E4815', '2060281732267732994', '氨水', 'PRD20260529e91d', '1975766588632625154', '其他', '20%', 'kg', 1.0000, 3.00, 0.00, 13.00, 0.35, 3.00, NULL, 'pending', 0.0000, '', '25kg/桶', '自提', 3, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 18:59:52', 'd3000000000000000000000000000001', '2026-06-06 18:59:52', 0);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('22A153876960456D942CA3A7D07CFC8D', '58852D0B8E9942D995522F79BB64D66A', '2060282538849169409', '试剂氨水', 'PRD202605299a00', '', '', 'AR', 'ping', 1.0000, 2222.00, 0.00, 13.00, 255.63, 2222.00, NULL, 'pending', 0.0000, '', '20kg/袋', '自提', 2, 'shanxia2.0', NULL, '1123', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:21:38', 'd3000000000000000000000000000001', '2026-06-06 19:22:39', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('232B79E6DA8543699948555A05E4F800', '58852D0B8E9942D995522F79BB64D66A', '2060281787460579330', '氨水', 'PRD202605293610', '1975766588632625154', '其他', '25%', 'kg', 1.0000, 1112.00, 0.00, 13.00, 127.93, 1112.00, NULL, 'pending', 0.0000, '', '20kg/袋', '一票制送到', 1, 'shanxia2.0', NULL, '1123123', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:21:38', 'd3000000000000000000000000000001', '2026-06-06 19:22:39', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('2B8CE15D04384BFD83D5970084FACAC3', '311F6F62D0FD49A1B1087CC33058847C', '2060280030110117889', '36%盐酸', 'PRD202605295237', '', '', '36%', 'kg', 1.0000, 0.00, 0.00, 13.00, 0.00, 0.00, NULL, 'pending', 0.0000, '', '20kg/袋', '自提', 2, 'shanxia2.0', NULL, '2', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:28:09', 'd3000000000000000000000000000001', '2026-06-06 19:28:47', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('2C33B9C82AC64FA69252D6C209D24D61', 'EC194F83D2394438B1017E12FC7E4815', '2060281732267732994', '氨水', 'PRD20260529e91d', '1975766588632625154', '其他', '20%', 'kg', 1.0000, 333.00, 0.00, 13.00, 38.31, 333.00, NULL, 'pending', 0.0000, '', '25kg/桶', '自提', 3, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 18:53:44', 'd3000000000000000000000000000001', '2026-06-06 18:59:20', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('3A44991ED1704ABAADEC541C5550052C', '311F6F62D0FD49A1B1087CC33058847C', '2059901360992382977', '次氯酸钠', 'PRD20260528017d', '', '', '固体', 'dun', 1.0000, 223.20, 0.00, 13.00, 25.68, 223.20, NULL, 'pending', 0.0000, '', '20kg/袋', '一票制送到', 3, 'shanxia2.0', NULL, '1', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:26:38', 'd3000000000000000000000000000001', '2026-06-06 19:26:57', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('3E993846986C4A78801F85C701A7D27A', '58852D0B8E9942D995522F79BB64D66A', '2060281787460579330', '氨水', 'PRD202605293610', '1975766588632625154', '其他', '25%', 'kg', 1.0000, 1112.00, 0.00, 13.00, 127.93, 1112.00, NULL, 'pending', 0.0000, '', '20kg/袋', '一票制送到', 1, 'shanxia2.0', NULL, '1123123', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:23:18', 'd3000000000000000000000000000001', '2026-06-06 19:23:38', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('4F72CEF4287B4BBBACCAC50CB609EBC8', '33A647BCDFA34039A47021E3B08F3018', '2060282538849169409', '试剂氨水', 'PRD202605299a00', '', '', 'AR', 'ping', 1.0000, 400.00, 0.00, 13.00, 46.02, 400.00, NULL, 'pending', 0.0000, '', '25kg/桶', '自提', 2, 'shanxia2.0', NULL, '2', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:32:57', 'd3000000000000000000000000000001', '2026-06-06 19:32:57', 0);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('5105C7CDE3434BE0A27CACD87420366A', 'EC194F83D2394438B1017E12FC7E4815', '2060282538849169409', '试剂氨水', 'PRD202605299a00', '', '', 'AR', 'ping', 1.0000, 222.00, 0.00, 13.00, 25.54, 222.00, NULL, 'pending', 0.0000, '', '20kg/袋', '自提', 2, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 18:49:55', 'd3000000000000000000000000000001', '2026-06-06 18:53:44', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('5E9029F28C87483ABE93E223AC548031', '311F6F62D0FD49A1B1087CC33058847C', '2059901360992382977', '次氯酸钠', 'PRD20260528017d', '', '', '固体', 'dun', 1.0000, 0.00, 0.00, 13.00, 0.00, 0.00, NULL, 'pending', 0.0000, '', '20kg/袋', '一票制送到', 3, 'shanxia2.0', NULL, '1', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:27:36', 'd3000000000000000000000000000001', '2026-06-06 19:28:09', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('62A5D911C530438899056C37FD5FDEB8', '58852D0B8E9942D995522F79BB64D66A', '2060281732267732994', '氨水', 'PRD20260529e91d', '1975766588632625154', '其他', '20%', 'kg', 1.0000, 3332.00, 0.00, 13.00, 383.33, 3332.00, NULL, 'pending', 0.0000, '', '25kg/桶', '自提', 3, 'shanxia2.0', NULL, '111123', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:23:18', 'd3000000000000000000000000000001', '2026-06-06 19:23:38', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('6B283115BDBA4E16B5C059358BCE338F', 'EC194F83D2394438B1017E12FC7E4815', '2060282538849169409', '试剂氨水', 'PRD202605299a00', '', '', 'AR', 'ping', 1.0000, 2.00, 0.00, 13.00, 0.23, 2.00, NULL, 'pending', 0.0000, '', '20kg/袋', '自提', 2, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 18:59:52', 'd3000000000000000000000000000001', '2026-06-06 18:59:52', 0);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('706C6FC68CCE4A3AA025D7D1C7BE4E82', 'EC194F83D2394438B1017E12FC7E4815', '2060281732267732994', '氨水', 'PRD20260529e91d', '1975766588632625154', '其他', '20%', 'kg', 1.0000, 333.00, 0.00, 13.00, 38.31, 333.00, NULL, 'pending', 0.0000, '', '25kg/桶', '自提', 3, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 18:59:20', 'd3000000000000000000000000000001', '2026-06-06 18:59:29', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('73FC7C359E8048A4A7B96243337AA33D', '58852D0B8E9942D995522F79BB64D66A', '2060281787460579330', '氨水', 'PRD202605293610', '1975766588632625154', '其他', '25%', 'kg', 1.0000, 0.00, 0.00, 13.00, 0.00, 0.00, NULL, 'pending', 0.0000, '', '20kg/袋', '一票制送到', 1, 'shanxia2.0', NULL, '1123123', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:23:38', 'd3000000000000000000000000000001', '2026-06-06 19:24:32', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('78DBEFAFD1384ED8A4C3BA26901F0B0B', '58852D0B8E9942D995522F79BB64D66A', '2060281732267732994', '氨水', 'PRD20260529e91d', '1975766588632625154', '其他', '20%', 'kg', 1.0000, 3332.00, 0.00, 13.00, 383.33, 3332.00, NULL, 'pending', 0.0000, '', '25kg/桶', '自提', 3, 'shanxia2.0', NULL, '111123', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:21:09', 'd3000000000000000000000000000001', '2026-06-06 19:21:37', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('7B2930F5D11C4FCC83BBE57C39C45C2C', '311F6F62D0FD49A1B1087CC33058847C', '2060229752782548994', '亚硫酸钠', 'SXWL00951', '1975766588632625154', '其他', '液体', 'dun', 1.0000, 0.00, 0.00, 13.00, 0.00, 0.00, NULL, 'pending', 0.0000, '', '25Kg/袋', '自提', 1, 'shanxia2.0', NULL, '3', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:28:09', 'd3000000000000000000000000000001', '2026-06-06 19:28:47', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('7D2D35D7A826468580F72120644C3938', 'EC194F83D2394438B1017E12FC7E4815', '2060281787460579330', '氨水', 'PRD202605293610', '1975766588632625154', '其他', '25%', 'kg', 1.0000, 1.00, 0.00, 13.00, 0.12, 1.00, NULL, 'pending', 0.0000, '', '20kg/袋', '一票制送到', 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 18:59:52', 'd3000000000000000000000000000001', '2026-06-06 18:59:52', 0);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('7D4EB62A022E4AD08EBA4F0928EDB0CF', '58852D0B8E9942D995522F79BB64D66A', '2060281787460579330', '氨水', 'PRD202605293610', '1975766588632625154', '其他', '25%', 'kg', 1.0000, 1112.00, 0.00, 13.00, 127.93, 1112.00, NULL, 'pending', 0.0000, '', '20kg/袋', '一票制送到', 1, 'shanxia2.0', NULL, '1123123', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:22:39', 'd3000000000000000000000000000001', '2026-06-06 19:23:18', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('7F7C25CE51BF42B39764975DF513B75F', '311F6F62D0FD49A1B1087CC33058847C', '2060229752782548994', '亚硫酸钠', 'SXWL00951', '1975766588632625154', '其他', '液体', 'dun', 1.0000, 1.00, 0.00, 13.00, 0.12, 1.00, NULL, 'pending', 0.0000, '', '25Kg/袋', '自提', 1, 'shanxia2.0', NULL, '3', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:31:02', 'd3000000000000000000000000000001', '2026-06-06 19:31:02', 0);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('808D8BB0783D4D4D8B7C32A12C62DEA8', 'EC194F83D2394438B1017E12FC7E4815', '2060281732267732994', '氨水', 'PRD20260529e91d', '1975766588632625154', '其他', '20%', 'kg', 1.0000, 333.00, 0.00, 13.00, 38.31, 333.00, NULL, 'pending', 0.0000, '', '25kg/桶', '自提', 3, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 18:49:55', 'd3000000000000000000000000000001', '2026-06-06 18:53:44', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('85B1132C04EF4C62A4013EB0CC9B7A9F', '58852D0B8E9942D995522F79BB64D66A', '2060281787460579330', '氨水', 'PRD202605293610', '1975766588632625154', '其他', '25%', 'kg', 1.0000, 1112.00, 0.00, 13.00, 127.93, 1112.00, NULL, 'pending', 0.0000, '', '20kg/袋', '一票制送到', 1, 'shanxia2.0', NULL, '1123123', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:21:08', 'd3000000000000000000000000000001', '2026-06-06 19:21:37', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('86BC0DAEFCA14E969E3A12B9740CB031', '58852D0B8E9942D995522F79BB64D66A', '2060281732267732994', '氨水', 'PRD20260529e91d', '1975766588632625154', '其他', '20%', 'kg', 1.0000, 3332.00, 0.00, 13.00, 383.33, 3332.00, NULL, 'pending', 0.0000, '', '25kg/桶', '自提', 3, 'shanxia2.0', NULL, '111123', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:21:38', 'd3000000000000000000000000000001', '2026-06-06 19:22:39', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('8A8FAACAAD344EBBB7FE275850BEBB01', '33A647BCDFA34039A47021E3B08F3018', '2060282538849169409', '试剂氨水', 'PRD202605299a00', '', '', 'AR', 'ping', 1.0000, 400.00, 0.00, 13.00, 46.02, 400.00, NULL, 'pending', 0.0000, '', '25kg/桶', '自提', 2, 'shanxia2.0', NULL, '2', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:32:39', 'd3000000000000000000000000000001', '2026-06-06 19:32:57', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('8B8FFD66B73F4935A7A250E08D6C7827', '311F6F62D0FD49A1B1087CC33058847C', '2060229752782548994', '亚硫酸钠', 'SXWL00951', '1975766588632625154', '其他', '液体', 'dun', 1.0000, 0.00, 0.00, 13.00, 0.00, 0.00, NULL, 'pending', 0.0000, '', '25Kg/袋', '自提', 1, 'shanxia2.0', NULL, '3', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:28:47', 'd3000000000000000000000000000001', '2026-06-06 19:31:02', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('8C08F2E3A7A94D1EBFDA2F73FF0AA40F', '311F6F62D0FD49A1B1087CC33058847C', '2060280030110117889', '36%盐酸', 'PRD202605295237', '', '', '36%', 'kg', 1.0000, 0.00, 0.00, 13.00, 0.00, 0.00, NULL, 'pending', 0.0000, '', '20kg/袋', '自提', 2, 'shanxia2.0', NULL, '2', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:26:57', 'd3000000000000000000000000000001', '2026-06-06 19:27:36', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('8DE80511518F4FEB82BE267F15699259', '58852D0B8E9942D995522F79BB64D66A', '2060281787460579330', '氨水', 'PRD202605293610', '1975766588632625154', '其他', '25%', 'kg', 1.0000, 111.00, 0.00, 13.00, 12.77, 111.00, NULL, 'pending', 0.0000, '', '20kg/袋', '一票制送到', 1, 'shanxia2.0', NULL, '1', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:01:44', 'd3000000000000000000000000000001', '2026-06-06 19:21:08', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('905297B9FD314C3A8B2905C565D037C2', '311F6F62D0FD49A1B1087CC33058847C', '2060229752782548994', '亚硫酸钠', 'SXWL00951', '1975766588632625154', '其他', '液体', 'dun', 1.0000, 0.00, 0.00, 13.00, 0.00, 0.00, NULL, 'pending', 0.0000, '', '25Kg/袋', '自提', 1, 'shanxia2.0', NULL, '3', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:26:57', 'd3000000000000000000000000000001', '2026-06-06 19:27:36', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('9064B3094DF1423CB97B00EC8A3AFCA4', '4439EECB46AE488D8CBC2F0A4B35A4EB', '2060282538849169409', '试剂氨水', 'PRD202605299a00', '', '', 'AR', 'ping', 2.0000, 222.00, 0.00, 13.00, 51.08, 444.00, NULL, 'pending', 0.0000, '', '20kg/袋', '自提', 1, 'shanxia2.0', NULL, '备注信息', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 18:29:17', 'd3000000000000000000000000000001', '2026-06-06 18:47:59', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('93C05B1910F34844B8C7AC58D8B74F4D', 'EC194F83D2394438B1017E12FC7E4815', '2060281732267732994', '氨水', 'PRD20260529e91d', '1975766588632625154', '其他', '20%', 'kg', 1.0000, 333.00, 0.00, 13.00, 38.31, 333.00, NULL, 'pending', 0.0000, '', '25kg/桶', '自提', 3, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 18:59:29', 'd3000000000000000000000000000001', '2026-06-06 18:59:52', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('98D83C4042F74746BF3F4A13BCB5A563', '33A647BCDFA34039A47021E3B08F3018', '2060282715597139969', '试剂硝酸', 'PRD20260529a466', '1975766588632625154', '其他', 'AR', 'ping', 1.0000, 3000.00, 0.00, 13.00, 345.13, 3000.00, NULL, 'pending', 0.0000, '', '20kg/袋', '一票制送到', 1, 'shanxia2.0', NULL, '1', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:32:39', 'd3000000000000000000000000000001', '2026-06-06 19:32:57', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('9BA60304D50943BD85CA6D45BAC2FA58', '33A647BCDFA34039A47021E3B08F3018', '2060282715597139969', '试剂硝酸', 'PRD20260529a466', '1975766588632625154', '其他', 'AR', 'ping', 1.0000, 3000.00, 0.00, 13.00, 345.13, 3000.00, NULL, 'pending', 0.0000, '', '20kg/袋', '一票制送到', 1, 'shanxia2.0', NULL, '1', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:32:57', 'd3000000000000000000000000000001', '2026-06-06 19:32:57', 0);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('9F4C70A579E14AE88ABD18A2CAE9975B', '311F6F62D0FD49A1B1087CC33058847C', '2060280030110117889', '36%盐酸', 'PRD202605295237', '', '', '36%', 'kg', 1.0000, 0.00, 0.00, 13.00, 0.00, 0.00, NULL, 'pending', 0.0000, '', '20kg/袋', '自提', 2, 'shanxia2.0', NULL, '2', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:27:36', 'd3000000000000000000000000000001', '2026-06-06 19:28:09', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('A37443702EE14880864BB707344C5D16', 'EC194F83D2394438B1017E12FC7E4815', '2060281787460579330', '氨水', 'PRD202605293610', '1975766588632625154', '其他', '25%', 'kg', 1.0000, 111.00, 0.00, 13.00, 12.77, 111.00, NULL, 'pending', 0.0000, '', '20kg/袋', '一票制送到', 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 18:59:29', 'd3000000000000000000000000000001', '2026-06-06 18:59:52', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('AC89C2D5AEE04C39B25061DBC8C1F62E', '58852D0B8E9942D995522F79BB64D66A', '2060281732267732994', '氨水', 'PRD20260529e91d', '1975766588632625154', '其他', '20%', 'kg', 1.0000, 3332.00, 0.00, 13.00, 383.33, 3332.00, NULL, 'pending', 0.0000, '', '25kg/桶', '自提', 3, 'shanxia2.0', NULL, '111123', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:22:39', 'd3000000000000000000000000000001', '2026-06-06 19:23:18', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('B2D59C0C4F8D4BDEB4D16BDFEA98B90E', '311F6F62D0FD49A1B1087CC33058847C', '2059901360992382977', '次氯酸钠', 'PRD20260528017d', '', '', '固体', 'dun', 1.0000, 223.20, 0.00, 13.00, 25.68, 223.20, NULL, 'pending', 0.0000, '', '20kg/袋', '一票制送到', 3, 'shanxia2.0', NULL, '1', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:26:14', 'd3000000000000000000000000000001', '2026-06-06 19:26:38', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('B5FD64B661504ABDB9270C6975B6E858', '311F6F62D0FD49A1B1087CC33058847C', '2060229752782548994', '亚硫酸钠', 'SXWL00951', '1975766588632625154', '其他', '液体', 'dun', 1.0000, 0.00, 0.00, 13.00, 0.00, 0.00, NULL, 'pending', 0.0000, '', '25Kg/袋', '自提', 1, 'shanxia2.0', NULL, '3', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:27:36', 'd3000000000000000000000000000001', '2026-06-06 19:28:09', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BB084E249541405D908ED99118CD33A7', 'EC194F83D2394438B1017E12FC7E4815', '2060281787460579330', '氨水', 'PRD202605293610', '1975766588632625154', '其他', '25%', 'kg', 1.0000, 111.00, 0.00, 13.00, 12.77, 111.00, NULL, 'pending', 0.0000, '', '20kg/袋', '一票制送到', 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 18:49:55', 'd3000000000000000000000000000001', '2026-06-06 18:53:44', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BE2D3F7D930A4A9D8E5A773B3FEFCC1F', '58852D0B8E9942D995522F79BB64D66A', '2060281732267732994', '氨水', 'PRD20260529e91d', '1975766588632625154', '其他', '20%', 'kg', 1.0000, 0.00, 0.00, 13.00, 0.00, 0.00, NULL, 'pending', 0.0000, '', '25kg/桶', '自提', 3, 'shanxia2.0', NULL, '111123', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:23:38', 'd3000000000000000000000000000001', '2026-06-06 19:24:32', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('C02EB3F6F82948BF951BCE3986EEC854', '4439EECB46AE488D8CBC2F0A4B35A4EB', '2060281787460579330', '氨水', 'PRD202605293610', '1975766588632625154', '其他', '25%', 'kg', 1.0000, 22.00, 0.00, 13.00, 2.53, 22.00, NULL, 'pending', 0.0000, '', '20kg/袋', '自提', 2, 'shanxia2.0', NULL, '123123', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 18:47:59', 'd3000000000000000000000000000001', '2026-06-06 18:47:59', 0);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('C36799E6090C475481A41F29695E4AAA', 'EC194F83D2394438B1017E12FC7E4815', '2060282538849169409', '试剂氨水', 'PRD202605299a00', '', '', 'AR', 'ping', 1.0000, 222.00, 0.00, 13.00, 25.54, 222.00, NULL, 'pending', 0.0000, '', '20kg/袋', '自提', 2, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 18:53:44', 'd3000000000000000000000000000001', '2026-06-06 18:59:20', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('C5439857B9104B5CBAB1531DC9535297', '311F6F62D0FD49A1B1087CC33058847C', '2059901360992382977', '次氯酸钠', 'PRD20260528017d', '', '', '固体', 'dun', 1.0000, 0.00, 0.00, 13.00, 0.00, 0.00, NULL, 'pending', 0.0000, '', '20kg/袋', '一票制送到', 3, 'shanxia2.0', NULL, '1', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:28:09', 'd3000000000000000000000000000001', '2026-06-06 19:28:47', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('C84D83A44B964ECFA8FA6CCC3D82E6B7', '311F6F62D0FD49A1B1087CC33058847C', '2060229752782548994', '亚硫酸钠', 'SXWL00951', '1975766588632625154', '其他', '液体', 'dun', 1.0000, 200.10, 0.00, 13.00, 23.02, 200.10, NULL, 'pending', 0.0000, '', '25Kg/袋', '自提', 1, 'shanxia2.0', NULL, '3', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:26:38', 'd3000000000000000000000000000001', '2026-06-06 19:26:57', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DD8BEAB47EDA4B4DBD3FFE36A06B7C3E', '311F6F62D0FD49A1B1087CC33058847C', '2059901360992382977', '次氯酸钠', 'PRD20260528017d', '', '', '固体', 'dun', 1.0000, 0.00, 0.00, 13.00, 0.00, 0.00, NULL, 'pending', 0.0000, '', '20kg/袋', '一票制送到', 3, 'shanxia2.0', NULL, '1', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:28:47', 'd3000000000000000000000000000001', '2026-06-06 19:31:02', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DEDCD50817F748DD9909069A36D492D9', '311F6F62D0FD49A1B1087CC33058847C', '2059901360992382977', '次氯酸钠', 'PRD20260528017d', '', '', '固体', 'dun', 1.0000, 3.00, 0.00, 13.00, 0.35, 3.00, NULL, 'pending', 0.0000, '', '20kg/袋', '一票制送到', 3, 'shanxia2.0', NULL, '1', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:31:02', 'd3000000000000000000000000000001', '2026-06-06 19:31:02', 0);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('E40BEF31E1DC4A24BBC3E77BF42A134F', '58852D0B8E9942D995522F79BB64D66A', '2060281732267732994', '氨水', 'PRD20260529e91d', '1975766588632625154', '其他', '20%', 'kg', 1.0000, 0.00, 0.00, 13.00, 0.00, 0.00, NULL, 'pending', 0.0000, '', '25kg/桶', '自提', 3, 'shanxia2.0', NULL, '111123', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:24:32', 'd3000000000000000000000000000001', '2026-06-06 19:24:32', 0);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ECEADB9B780542FEB7332E0B4C058FF6', '311F6F62D0FD49A1B1087CC33058847C', '2060280030110117889', '36%盐酸', 'PRD202605295237', '', '', '36%', 'kg', 1.0000, 55.40, 0.00, 13.00, 6.37, 55.40, NULL, 'pending', 0.0000, '', '20kg/袋', '自提', 2, 'shanxia2.0', NULL, '2', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:26:38', 'd3000000000000000000000000000001', '2026-06-06 19:26:57', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('EF634802DE114D2DA1F9970F9E4799A1', '58852D0B8E9942D995522F79BB64D66A', '2060282538849169409', '试剂氨水', 'PRD202605299a00', '', '', 'AR', 'ping', 1.0000, 222.00, 0.00, 13.00, 25.54, 222.00, NULL, 'pending', 0.0000, '', '20kg/袋', '自提', 2, 'shanxia2.0', NULL, '1', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:01:44', 'd3000000000000000000000000000001', '2026-06-06 19:21:08', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('F29C003BBD974BDE9755A61D10CA9870', '58852D0B8E9942D995522F79BB64D66A', '2060282538849169409', '试剂氨水', 'PRD202605299a00', '', '', 'AR', 'ping', 1.0000, 2222.00, 0.00, 13.00, 255.63, 2222.00, NULL, 'pending', 0.0000, '', '20kg/袋', '自提', 2, 'shanxia2.0', NULL, '1123', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:21:09', 'd3000000000000000000000000000001', '2026-06-06 19:21:37', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('F2EDB55F4059482492362B7B42FBE245', '58852D0B8E9942D995522F79BB64D66A', '2060281787460579330', '氨水', 'PRD202605293610', '1975766588632625154', '其他', '25%', 'kg', 1.0000, 0.00, 0.00, 13.00, 0.00, 0.00, NULL, 'pending', 0.0000, '', '20kg/袋', '一票制送到', 1, 'shanxia2.0', NULL, '1123123', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:24:32', 'd3000000000000000000000000000001', '2026-06-06 19:24:32', 0);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('FA1CF1C316054033A314DC19ECC3EE9C', 'EC194F83D2394438B1017E12FC7E4815', '2060282538849169409', '试剂氨水', 'PRD202605299a00', '', '', 'AR', 'ping', 1.0000, 222.00, 0.00, 13.00, 25.54, 222.00, NULL, 'pending', 0.0000, '', '20kg/袋', '自提', 2, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 18:59:29', 'd3000000000000000000000000000001', '2026-06-06 18:59:52', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('FB50AC8488B14EA7A2094D714D4B4547', '4439EECB46AE488D8CBC2F0A4B35A4EB', '2060281732267732994', '氨水', 'PRD20260529e91d', '1975766588632625154', '其他', '20%', 'kg', 1.0000, 33.00, 0.00, 13.00, 3.80, 33.00, NULL, 'pending', 0.0000, '', '25Kg/袋', '一票制送到', 3, 'shanxia2.0', NULL, '123', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 18:47:59', 'd3000000000000000000000000000001', '2026-06-06 18:47:59', 0);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('FC92EAB7641542B8A15FEB9E0C525A87', '311F6F62D0FD49A1B1087CC33058847C', '2060280030110117889', '36%盐酸', 'PRD202605295237', '', '', '36%', 'kg', 1.0000, 55.40, 0.00, 13.00, 6.37, 55.40, NULL, 'pending', 0.0000, '', '20kg/袋', '自提', 2, 'shanxia2.0', NULL, '2', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:26:14', 'd3000000000000000000000000000001', '2026-06-06 19:26:38', 1);
|
||||
INSERT INTO `crm_contract_product` (`id`, `contract_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `tax_rate`, `tax_amount`, `subtotal`, `delivery_date`, `delivery_status`, `delivered_quantity`, `description`, `package_spec`, `delivery_method`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('FE236F69BA78402F906F2AD062FE0564', 'EC194F83D2394438B1017E12FC7E4815', '2060281787460579330', '氨水', 'PRD202605293610', '1975766588632625154', '其他', '25%', 'kg', 1.0000, 111.00, 0.00, 13.00, 12.77, 111.00, NULL, 'pending', 0.0000, '', '20kg/袋', '一票制送到', 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 18:53:44', 'd3000000000000000000000000000001', '2026-06-06 18:59:20', 1);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@@ -948,8 +1085,11 @@ CREATE TABLE `crm_customer` (
|
||||
-- Records of crm_customer
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `crm_customer` (`id`, `customer_no`, `customer_name`, `short_name`, `customer_type`, `mobile`, `telephone`, `email`, `website`, `level`, `source`, `industry`, `park_area`, `payment_terms`, `scale`, `province`, `city`, `district`, `address`, `status`, `deal_status`, `owner_user_id`, `owner_user_name`, `last_time`, `next_time`, `follow_count`, `deal_time`, `deal_amount`, `contact_count`, `opportunity_count`, `contract_count`, `into_pool_time`, `into_pool_by`, `into_pool_reason`, `claim_time`, `assign_time`, `assign_by`, `protect_time`, `business_license_img`, `business_permit_images`, `other_cert_images`, `clue_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('42B2B0A78BF249FFBDAD5A833AE8A19B', 'C202605310001', '测试1', 'cs1', 'A类国央企业', '13099882211', '0551-02231122', '70@qq.com', 'www.site.com', 'key', 'khyj', 'it_internet', '安庆高新园区', '', '200_500', '安徽', '合肥', '蜀山', '详细地址', 'pool', 'not_deal', NULL, '系统管理员', '2026-05-31 15:57:40', '2026-06-03 00:00:00', 2, NULL, 0.00, 1, 0, 0, '2026-05-31 13:16:18', 'd3000000000000000000000000000001', '123', NULL, '2026-05-31 13:16:10', 'd3000000000000000000000000000001', NULL, 'crm/customer/license/202605/31/0fa7b23bd5ec45619545d11639732739.png', 'crm/customer/permit/202605/31/6555748c5bec485c87894a5cf61022ae.png', 'crm/customer/cert/202605/31/781073912123495f849e7d65c042d56d.png', NULL, 'shanxia2.0', NULL, '备注3333', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 10:28:29', 'd3000000000000000000000000000001', '2026-05-31 15:58:40', 0);
|
||||
INSERT INTO `crm_customer` (`id`, `customer_no`, `customer_name`, `short_name`, `customer_type`, `mobile`, `telephone`, `email`, `website`, `level`, `source`, `industry`, `park_area`, `payment_terms`, `scale`, `province`, `city`, `district`, `address`, `status`, `deal_status`, `owner_user_id`, `owner_user_name`, `last_time`, `next_time`, `follow_count`, `deal_time`, `deal_amount`, `contact_count`, `opportunity_count`, `contract_count`, `into_pool_time`, `into_pool_by`, `into_pool_reason`, `claim_time`, `assign_time`, `assign_by`, `protect_time`, `business_license_img`, `business_permit_images`, `other_cert_images`, `clue_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('93D38544285A4329A5F916A2553B3E35', 'C202605310002', '1', '1', '未分类', '13013322111', '', '', '', 'normal', 'khyj', 'other1', '望江工业园区', '', '1_50', '1', '1', '1', '', 'pool', 'not_deal', NULL, NULL, NULL, NULL, 0, NULL, 0.00, 0, 0, 0, '2026-05-31 13:22:15', 'd3000000000000000000000000000001', '12', NULL, NULL, NULL, NULL, 'crm/customer/license/202605/31/e706381e88e6463896da5b4bcaad36a3.png', 'crm/customer/permit/202605/31/653246e0827c4adc9453f770a4c0440b.png', NULL, NULL, 'shanxia2.0', NULL, '1', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 13:21:53', 'd3000000000000000000000000000001', '2026-05-31 15:50:41', 0);
|
||||
INSERT INTO `crm_customer` (`id`, `customer_no`, `customer_name`, `short_name`, `customer_type`, `mobile`, `telephone`, `email`, `website`, `level`, `source`, `industry`, `park_area`, `payment_terms`, `scale`, `province`, `city`, `district`, `address`, `status`, `deal_status`, `owner_user_id`, `owner_user_name`, `last_time`, `next_time`, `follow_count`, `deal_time`, `deal_amount`, `contact_count`, `opportunity_count`, `contract_count`, `into_pool_time`, `into_pool_by`, `into_pool_reason`, `claim_time`, `assign_time`, `assign_by`, `protect_time`, `business_license_img`, `business_permit_images`, `other_cert_images`, `clue_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('42B2B0A78BF249FFBDAD5A833AE8A19B', 'C202605310001', '测试1', 'cs1', 'A类国央企业', '13099882211', '0551-02231122', '70@qq.com', 'www.site.com', 'key', 'khyj', 'it_internet', '安庆高新园区', '', '200_500', '安徽', '合肥', '蜀山', '详细地址', 'pool', 'not_deal', NULL, '系统管理员', '2026-06-06 15:18:11', '2026-06-03 00:00:00', 3, NULL, 0.00, 2, 0, 0, '2026-05-31 13:16:18', 'd3000000000000000000000000000001', '123', NULL, '2026-05-31 13:16:10', 'd3000000000000000000000000000001', NULL, 'crm/customer/license/202605/31/0fa7b23bd5ec45619545d11639732739.png', 'crm/customer/permit/202605/31/6555748c5bec485c87894a5cf61022ae.png', 'crm/customer/cert/202605/31/781073912123495f849e7d65c042d56d.png', NULL, 'shanxia2.0', NULL, '备注3333', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 10:28:29', 'd3000000000000000000000000000001', '2026-06-06 15:19:41', 0);
|
||||
INSERT INTO `crm_customer` (`id`, `customer_no`, `customer_name`, `short_name`, `customer_type`, `mobile`, `telephone`, `email`, `website`, `level`, `source`, `industry`, `park_area`, `payment_terms`, `scale`, `province`, `city`, `district`, `address`, `status`, `deal_status`, `owner_user_id`, `owner_user_name`, `last_time`, `next_time`, `follow_count`, `deal_time`, `deal_amount`, `contact_count`, `opportunity_count`, `contract_count`, `into_pool_time`, `into_pool_by`, `into_pool_reason`, `claim_time`, `assign_time`, `assign_by`, `protect_time`, `business_license_img`, `business_permit_images`, `other_cert_images`, `clue_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('93D38544285A4329A5F916A2553B3E35', 'C202605310002', '1', '1', '未分类', '13013322111', '', '', '', 'normal', 'khyj', 'other1', '望江工业园区', '', '1_50', '1', '1', '1', '', 'normal', 'not_deal', 'BFB4CBEAB7054F48BDE82B55A985798C', '', NULL, NULL, 0, NULL, 0.00, 0, 0, 0, NULL, NULL, NULL, NULL, '2026-06-06 15:15:36', 'd3000000000000000000000000000001', NULL, 'crm/customer/license/202605/31/e706381e88e6463896da5b4bcaad36a3.png', 'crm/customer/permit/202605/31/653246e0827c4adc9453f770a4c0440b.png', NULL, NULL, 'shanxia2.0', NULL, '1', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 13:21:53', 'd3000000000000000000000000000001', '2026-06-06 15:15:36', 0);
|
||||
INSERT INTO `crm_customer` (`id`, `customer_no`, `customer_name`, `short_name`, `customer_type`, `mobile`, `telephone`, `email`, `website`, `level`, `source`, `industry`, `park_area`, `payment_terms`, `scale`, `province`, `city`, `district`, `address`, `status`, `deal_status`, `owner_user_id`, `owner_user_name`, `last_time`, `next_time`, `follow_count`, `deal_time`, `deal_amount`, `contact_count`, `opportunity_count`, `contract_count`, `into_pool_time`, `into_pool_by`, `into_pool_reason`, `claim_time`, `assign_time`, `assign_by`, `protect_time`, `business_license_img`, `business_permit_images`, `other_cert_images`, `clue_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BC37973BEF3A408694162D773A541500', 'C202606060003', '安徽哇哈哈有限责任公司', '哇哈哈', '5', '13900021121', '0551-01122232', '99000@qq.com', 'www.whh.com', 'key', 'khyj', 'manufacturing', '铜陵化工园区', '', '1_50', '安徽省', '铜陵市', '铜官区', '测试地址测试地址测试地址测试地址', 'normal', 'not_deal', 'd3000000000000000000000000000001', '系统管理员', NULL, '2026-07-08 00:00:00', 0, NULL, 0.00, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'crm/customer/license/202606/06/e67a919217ba47bdb3d1974efa0b402f.jpeg', 'crm/customer/permit/202606/06/e16cb5c2102746ebbecbfc71eaaf7ecd.jpeg', 'crm/customer/cert/202606/06/1bae853007fd47238308b2a6da5e0dc5.jpeg', NULL, 'shanxia2.0', NULL, '备注信息1111', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 16:16:58', 'd3000000000000000000000000000001', '2026-06-06 16:18:23', 0);
|
||||
INSERT INTO `crm_customer` (`id`, `customer_no`, `customer_name`, `short_name`, `customer_type`, `mobile`, `telephone`, `email`, `website`, `level`, `source`, `industry`, `park_area`, `payment_terms`, `scale`, `province`, `city`, `district`, `address`, `status`, `deal_status`, `owner_user_id`, `owner_user_name`, `last_time`, `next_time`, `follow_count`, `deal_time`, `deal_amount`, `contact_count`, `opportunity_count`, `contract_count`, `into_pool_time`, `into_pool_by`, `into_pool_reason`, `claim_time`, `assign_time`, `assign_by`, `protect_time`, `business_license_img`, `business_permit_images`, `other_cert_images`, `clue_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DCC738A8CEFE488F980264BFB6439670', 'C202606060002', '合肥市皖和化工有限公司', NULL, 'A类国央企业', '13899002211', NULL, '988080@qq.com', 'www.whhg.com', 'normal', 'zbpt', 'manufacturing', '合肥市园区', NULL, NULL, '安徽', '合肥', '蜀山区', '详细地址详细地址详细地址详细地址详细地址', 'normal', 'not_deal', 'd3000000000000000000000000000001', '', '2026-06-06 16:03:31', '2026-06-01 00:00:00', 1, NULL, 0.00, 1, 0, 0, NULL, NULL, NULL, '2026-06-06 15:09:40', NULL, NULL, NULL, NULL, NULL, NULL, '0D7D4D86FECA48E8B1B96D48220E2089', 'shanxia2.0', NULL, '详细地址', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 15:08:14', 'd3000000000000000000000000000001', '2026-06-06 16:03:31', 0);
|
||||
INSERT INTO `crm_customer` (`id`, `customer_no`, `customer_name`, `short_name`, `customer_type`, `mobile`, `telephone`, `email`, `website`, `level`, `source`, `industry`, `park_area`, `payment_terms`, `scale`, `province`, `city`, `district`, `address`, `status`, `deal_status`, `owner_user_id`, `owner_user_name`, `last_time`, `next_time`, `follow_count`, `deal_time`, `deal_amount`, `contact_count`, `opportunity_count`, `contract_count`, `into_pool_time`, `into_pool_by`, `into_pool_reason`, `claim_time`, `assign_time`, `assign_by`, `protect_time`, `business_license_img`, `business_permit_images`, `other_cert_images`, `clue_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('FEC79253E40D4BEE962C5DD80CF86E71', 'C202606060001', '安徽桥梁建设有限公司', NULL, '5', '13900022122', NULL, '88900@qq.com', 'www.qljs.com', 'normal', 'khyj', '8', '合肥市园区', NULL, NULL, '安徽', '合肥', '蜀山区', '望江西路9811号', 'normal', 'not_deal', 'BFB4CBEAB7054F48BDE82B55A985798C', '测试账号1', NULL, NULL, 0, NULL, 0.00, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'B603BDCA68A44D94B88350291C6F1F94', 'shanxia2.0', NULL, '已经成单', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 14:52:37', NULL, '2026-06-06 14:52:37', 0);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@@ -992,6 +1132,8 @@ CREATE TABLE `crm_customer_follow` (
|
||||
-- Records of crm_customer_follow
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `crm_customer_follow` (`id`, `customer_id`, `customer_name`, `contact_id`, `contact_name`, `follow_type`, `follow_content`, `follow_time`, `next_time`, `attachment`, `owner_user_id`, `owner_user_name`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('5270EC1BACDE4D3F9AF4DDED08474DF3', 'DCC738A8CEFE488F980264BFB6439670', '合肥市皖和化工有限公司', NULL, NULL, 'wechat', '123', '2026-06-06 16:03:31', '2026-06-01 00:00:00', 'crm/customer/follow/202606/06/a68c972e48054ebead0ba65de4d890df.jpeg', 'd3000000000000000000000000000001', '', 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 16:03:31', NULL, '2026-06-06 16:03:31', 0);
|
||||
INSERT INTO `crm_customer_follow` (`id`, `customer_id`, `customer_name`, `contact_id`, `contact_name`, `follow_type`, `follow_content`, `follow_time`, `next_time`, `attachment`, `owner_user_id`, `owner_user_name`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('A6C95BF8C5F9488C81147A5D3CD43C97', '42B2B0A78BF249FFBDAD5A833AE8A19B', '测试1', NULL, NULL, 'wechat', '123', '2026-06-06 15:18:11', NULL, NULL, 'd3000000000000000000000000000001', NULL, 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 15:18:11', NULL, '2026-06-06 15:18:11', 0);
|
||||
INSERT INTO `crm_customer_follow` (`id`, `customer_id`, `customer_name`, `contact_id`, `contact_name`, `follow_type`, `follow_content`, `follow_time`, `next_time`, `attachment`, `owner_user_id`, `owner_user_name`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('D4CF5B40177B4B5A96E139CEB2B61243', '42B2B0A78BF249FFBDAD5A833AE8A19B', '测试1', NULL, NULL, 'wechat', '123123123', '2026-05-31 10:33:04', '2026-06-03 00:00:00', 'crm/customer/follow/202605/31/8c566ce49fdd476890888c1765eb7334.png', 'd3000000000000000000000000000001', NULL, 'shanxia2.0', NULL, '123', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 10:33:04', NULL, '2026-05-31 10:33:04', 0);
|
||||
INSERT INTO `crm_customer_follow` (`id`, `customer_id`, `customer_name`, `contact_id`, `contact_name`, `follow_type`, `follow_content`, `follow_time`, `next_time`, `attachment`, `owner_user_id`, `owner_user_name`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('F7DB87C6420F43EAB6798513A736EE12', '42B2B0A78BF249FFBDAD5A833AE8A19B', '测试1', NULL, NULL, 'phone', '123123', '2026-05-31 15:57:40', NULL, NULL, 'd3000000000000000000000000000001', NULL, 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 15:57:40', NULL, '2026-05-31 15:57:40', 0);
|
||||
COMMIT;
|
||||
@@ -1034,6 +1176,7 @@ CREATE TABLE `crm_customer_pool` (
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `crm_customer_pool` (`id`, `customer_id`, `customer_name`, `operation_type`, `from_user_id`, `from_user_name`, `to_user_id`, `to_user_name`, `reason`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_by_name`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('035132AFC3824DBDAAB4AE52F5FE4819', '42B2B0A78BF249FFBDAD5A833AE8A19B', '测试1', 'assign', '', '', 'd3000000000000000000000000000001', '', NULL, 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', '系统管理员', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 13:16:10', NULL, '2026-05-31 13:16:10', 0);
|
||||
INSERT INTO `crm_customer_pool` (`id`, `customer_id`, `customer_name`, `operation_type`, `from_user_id`, `from_user_name`, `to_user_id`, `to_user_name`, `reason`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_by_name`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BF4EAB3A94F041088BA58D0D7B18F556', '93D38544285A4329A5F916A2553B3E35', '1', 'assign', '', '', 'BFB4CBEAB7054F48BDE82B55A985798C', '', NULL, 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', '系统管理员', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 15:15:36', NULL, '2026-06-06 15:15:36', 0);
|
||||
INSERT INTO `crm_customer_pool` (`id`, `customer_id`, `customer_name`, `operation_type`, `from_user_id`, `from_user_name`, `to_user_id`, `to_user_name`, `reason`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_by_name`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('EA195D8A76B14B22B2C8EF64B0B7CED5', '42B2B0A78BF249FFBDAD5A833AE8A19B', '测试1', 'assign', '', '', 'd3000000000000000000000000000001', '', NULL, 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', '系统管理员', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 13:15:12', NULL, '2026-05-31 13:15:12', 0);
|
||||
COMMIT;
|
||||
|
||||
@@ -1106,7 +1249,8 @@ CREATE TABLE `crm_invoice_info` (
|
||||
-- Records of crm_invoice_info
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `crm_invoice_info` (`id`, `customer_id`, `company_name`, `tax_no`, `company_address`, `legal_representative`, `agent`, `phone_fax`, `bank_name`, `bank_account`, `is_default`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('9598F2B15E904E9E8223B57AE66759FB', '42B2B0A78BF249FFBDAD5A833AE8A19B', '3', NULL, '3', '3', '3', '3', '3', '3', '1', 'shanxia2.0', NULL, '3', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 11:08:20', 'd3000000000000000000000000000001', '2026-05-31 11:08:49', 0);
|
||||
INSERT INTO `crm_invoice_info` (`id`, `customer_id`, `company_name`, `tax_no`, `company_address`, `legal_representative`, `agent`, `phone_fax`, `bank_name`, `bank_account`, `is_default`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('9598F2B15E904E9E8223B57AE66759FB', '42B2B0A78BF249FFBDAD5A833AE8A19B', '3', '33333', '3', '3', '3', '3', '3', '3', '1', 'shanxia2.0', NULL, '3', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 11:08:20', 'd3000000000000000000000000000001', '2026-06-06 15:20:29', 0);
|
||||
INSERT INTO `crm_invoice_info` (`id`, `customer_id`, `company_name`, `tax_no`, `company_address`, `legal_representative`, `agent`, `phone_fax`, `bank_name`, `bank_account`, `is_default`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('9FD441359C3744D1AC2F5067AB041A3D', 'BC37973BEF3A408694162D773A541500', '安徽哇哈哈有限责任公司', 'sh123123123123', '单位地址', '吴某某', '', '0551-90221122', '中国建设银行', '90123123123123', '1', 'shanxia2.0', NULL, '开票备注', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 16:16:59', NULL, '2026-06-06 16:16:59', 0);
|
||||
INSERT INTO `crm_invoice_info` (`id`, `customer_id`, `company_name`, `tax_no`, `company_address`, `legal_representative`, `agent`, `phone_fax`, `bank_name`, `bank_account`, `is_default`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('A3BDBB930993478A9EAB7D95DEC863A0', '93D38544285A4329A5F916A2553B3E35', '1', NULL, '1', '1', '1', '1', '1', '1', '1', 'shanxia2.0', NULL, '1', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 13:21:53', 'd3000000000000000000000000000001', '2026-05-31 15:50:42', 0);
|
||||
COMMIT;
|
||||
|
||||
@@ -1476,7 +1620,7 @@ INSERT INTO `crm_product` (`id`, `product_no`, `product_name`, `category_id`, `c
|
||||
INSERT INTO `crm_product` (`id`, `product_no`, `product_name`, `category_id`, `category_name`, `model`, `unit`, `barcode`, `price`, `cost_price`, `stock`, `low_stock`, `tax_rate`, `status`, `description`, `images`, `sale_count`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('2060282538849169409', 'PRD202605299a00', '试剂氨水', NULL, NULL, 'AR', 'ping', NULL, 0.00, 0.00, 0, 10, 13.00, 'on', NULL, NULL, 0, 'shanxia2.0', 0, NULL, NULL, '', '2026-05-29 16:50:10', NULL, '2026-05-31 06:23:49', 0);
|
||||
INSERT INTO `crm_product` (`id`, `product_no`, `product_name`, `category_id`, `category_name`, `model`, `unit`, `barcode`, `price`, `cost_price`, `stock`, `low_stock`, `tax_rate`, `status`, `description`, `images`, `sale_count`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('2060282619430137857', 'PRD202605293eeb', '试剂氨水', NULL, NULL, '25%', 'ping', NULL, 0.00, 0.00, 0, 10, 13.00, 'on', NULL, NULL, 0, 'shanxia2.0', 0, NULL, NULL, '', '2026-05-29 16:50:29', NULL, '2026-05-31 06:23:49', 0);
|
||||
INSERT INTO `crm_product` (`id`, `product_no`, `product_name`, `category_id`, `category_name`, `model`, `unit`, `barcode`, `price`, `cost_price`, `stock`, `low_stock`, `tax_rate`, `status`, `description`, `images`, `sale_count`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('2060282715597139969', 'PRD20260529a466', '试剂硝酸', '1975766588632625154', '其他', 'AR', 'ping', NULL, 0.00, 0.00, 0, 10, 13.00, 'on', NULL, NULL, 0, 'shanxia2.0', 0, NULL, NULL, '', '2026-05-29 16:50:52', NULL, '2026-05-31 06:23:49', 0);
|
||||
INSERT INTO `crm_product` (`id`, `product_no`, `product_name`, `category_id`, `category_name`, `model`, `unit`, `barcode`, `price`, `cost_price`, `stock`, `low_stock`, `tax_rate`, `status`, `description`, `images`, `sale_count`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('2060282814905675777', 'PRD2026052907e3', '试剂硝酸', '1975766588632625154', '其他', '98%', 'ping', NULL, 0.00, 0.00, 0, 10, 13.00, 'on', '试剂硝酸', NULL, 0, 'shanxia2.0', 0, '备注', NULL, '', '2026-05-29 16:51:16', 'd3000000000000000000000000000001', '2026-05-31 06:23:49', 0);
|
||||
INSERT INTO `crm_product` (`id`, `product_no`, `product_name`, `category_id`, `category_name`, `model`, `unit`, `barcode`, `price`, `cost_price`, `stock`, `low_stock`, `tax_rate`, `status`, `description`, `images`, `sale_count`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('2060282814905675777', 'PRD2026052907e3', '试剂硝酸', '1975766588632625154', '其他', '98%', 'ping', NULL, 0.00, 0.00, 0, 10, 13.00, 'off', '试剂硝酸', NULL, 0, 'shanxia2.0', 0, '备注', NULL, '', '2026-05-29 16:51:16', 'd3000000000000000000000000000001', '2026-06-06 16:29:25', 0);
|
||||
INSERT INTO `crm_product` (`id`, `product_no`, `product_name`, `category_id`, `category_name`, `model`, `unit`, `barcode`, `price`, `cost_price`, `stock`, `low_stock`, `tax_rate`, `status`, `description`, `images`, `sale_count`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('21', 'SXWL01201', '氢氧化钙', '1975766539550879745', '水处理药剂', '/', 'dun', NULL, 0.00, 0.00, 0, 10, 13.00, 'on', NULL, NULL, 0, 'shanxia2.0', 0, NULL, NULL, '', '2025-10-08 11:54:41', NULL, '2026-05-31 06:23:49', 0);
|
||||
INSERT INTO `crm_product` (`id`, `product_no`, `product_name`, `category_id`, `category_name`, `model`, `unit`, `barcode`, `price`, `cost_price`, `stock`, `low_stock`, `tax_rate`, `status`, `description`, `images`, `sale_count`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('22', 'SXWL01301', '无水硫酸镁', '1975766539550879745', '水处理药剂', '98%', 'dun', NULL, 0.00, 0.00, 0, 10, 13.00, 'on', NULL, NULL, 0, 'shanxia2.0', 0, NULL, NULL, '', '2025-10-08 11:54:41', NULL, '2026-05-31 06:23:49', 0);
|
||||
INSERT INTO `crm_product` (`id`, `product_no`, `product_name`, `category_id`, `category_name`, `model`, `unit`, `barcode`, `price`, `cost_price`, `stock`, `low_stock`, `tax_rate`, `status`, `description`, `images`, `sale_count`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('23', 'SXWL01401', '次氯酸钠', '1975766458781167617', '无机原料', '10%', 'dun', NULL, 0.00, 0.00, 0, 10, 13.00, 'on', NULL, NULL, 0, 'shanxia2.0', 0, NULL, NULL, '', '2025-10-08 11:54:41', NULL, '2026-05-31 06:23:49', 0);
|
||||
@@ -1504,7 +1648,7 @@ INSERT INTO `crm_product` (`id`, `product_no`, `product_name`, `category_id`, `c
|
||||
INSERT INTO `crm_product` (`id`, `product_no`, `product_name`, `category_id`, `category_name`, `model`, `unit`, `barcode`, `price`, `cost_price`, `stock`, `low_stock`, `tax_rate`, `status`, `description`, `images`, `sale_count`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('43', 'SXWL02901', '聚合氯化铝(荷花)', '1975766458781167617', '无机原料', '28%', 'dun', NULL, 0.00, 0.00, 0, 10, 13.00, 'on', NULL, NULL, 0, 'shanxia2.0', 0, NULL, NULL, '', '2025-10-08 11:54:41', NULL, '2026-05-31 06:23:49', 0);
|
||||
INSERT INTO `crm_product` (`id`, `product_no`, `product_name`, `category_id`, `category_name`, `model`, `unit`, `barcode`, `price`, `cost_price`, `stock`, `low_stock`, `tax_rate`, `status`, `description`, `images`, `sale_count`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('44', 'SXWL02902', '聚合氯化铝 (理文)', '1975766458781167617', '无机原料', '28%', 'dun', NULL, 0.00, 0.00, 0, 10, 13.00, 'on', NULL, NULL, 0, 'shanxia2.0', 0, NULL, NULL, '', '2025-10-08 11:54:41', NULL, '2026-05-31 06:23:49', 0);
|
||||
INSERT INTO `crm_product` (`id`, `product_no`, `product_name`, `category_id`, `category_name`, `model`, `unit`, `barcode`, `price`, `cost_price`, `stock`, `low_stock`, `tax_rate`, `status`, `description`, `images`, `sale_count`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('45', 'SXWL03001', '消泡剂', '1975766539550879745', '水处理药剂', '/', 'dun', NULL, 0.00, 0.00, 0, 10, 13.00, 'on', NULL, NULL, 0, 'shanxia2.0', 0, NULL, NULL, '', '2025-10-08 11:54:41', NULL, '2026-05-31 06:23:49', 0);
|
||||
INSERT INTO `crm_product` (`id`, `product_no`, `product_name`, `category_id`, `category_name`, `model`, `unit`, `barcode`, `price`, `cost_price`, `stock`, `low_stock`, `tax_rate`, `status`, `description`, `images`, `sale_count`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('45867EC6F2E9435E857BB7F657AA2CB9', 'CP20260606001', '测试产品', '1975766404158746625', '有机原料', '顿桶', 'dun', '20260606000001', 200.00, 0.00, 0, 10, 13.00, 'on', '产品秒速', NULL, 0, 'shanxia2.0', NULL, '备注备注', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 10:05:12', NULL, '2026-06-06 10:05:12', 0);
|
||||
INSERT INTO `crm_product` (`id`, `product_no`, `product_name`, `category_id`, `category_name`, `model`, `unit`, `barcode`, `price`, `cost_price`, `stock`, `low_stock`, `tax_rate`, `status`, `description`, `images`, `sale_count`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('45867EC6F2E9435E857BB7F657AA2CB9', 'CP20260606001', '测试产品', '1975766404158746625', '有机原料', '顿桶', 'dun', '20260606000001', 200.00, 0.00, 0, 10, 13.00, 'on', '产品秒速', NULL, 0, 'shanxia2.0', NULL, '备注备注', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 10:05:12', NULL, '2026-06-06 11:02:42', 1);
|
||||
INSERT INTO `crm_product` (`id`, `product_no`, `product_name`, `category_id`, `category_name`, `model`, `unit`, `barcode`, `price`, `cost_price`, `stock`, `low_stock`, `tax_rate`, `status`, `description`, `images`, `sale_count`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('46', 'SXWL03101', '磺酸', '1975766539550879745', '水处理药剂', '/', 'dun', NULL, 0.00, 0.00, 0, 10, 13.00, 'on', NULL, NULL, 0, 'shanxia2.0', 0, NULL, NULL, '', '2025-10-08 11:54:41', NULL, '2026-05-31 06:23:49', 0);
|
||||
INSERT INTO `crm_product` (`id`, `product_no`, `product_name`, `category_id`, `category_name`, `model`, `unit`, `barcode`, `price`, `cost_price`, `stock`, `low_stock`, `tax_rate`, `status`, `description`, `images`, `sale_count`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('47', 'SXWL03201', '硅藻土', '1975766539550879745', '水处理药剂', '/', 'dun', NULL, 0.00, 0.00, 0, 10, 13.00, 'on', NULL, NULL, 0, 'shanxia2.0', 0, NULL, NULL, '', '2025-10-08 11:54:41', NULL, '2026-05-31 06:23:49', 0);
|
||||
INSERT INTO `crm_product` (`id`, `product_no`, `product_name`, `category_id`, `category_name`, `model`, `unit`, `barcode`, `price`, `cost_price`, `stock`, `low_stock`, `tax_rate`, `status`, `description`, `images`, `sale_count`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('48', 'SXWL03301', '氯化铵', '1975766539550879745', '水处理药剂', '工业级', 'dun', NULL, 0.00, 0.00, 0, 10, 13.00, 'on', NULL, NULL, 0, 'shanxia2.0', 0, NULL, NULL, '', '2025-10-08 11:54:41', NULL, '2026-05-31 06:23:49', 0);
|
||||
@@ -1564,6 +1708,7 @@ INSERT INTO `crm_product` (`id`, `product_no`, `product_name`, `category_id`, `c
|
||||
INSERT INTO `crm_product` (`id`, `product_no`, `product_name`, `category_id`, `category_name`, `model`, `unit`, `barcode`, `price`, `cost_price`, `stock`, `low_stock`, `tax_rate`, `status`, `description`, `images`, `sale_count`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('97', 'SXWL000922', '粉末性活炭', '1975766650771238913', '未分类', NULL, 'dun', NULL, 0.00, 0.00, 0, 10, 13.00, 'on', NULL, NULL, 0, 'shanxia2.0', 0, NULL, NULL, '', '2025-10-08 11:54:41', NULL, '2026-05-31 06:23:49', 0);
|
||||
INSERT INTO `crm_product` (`id`, `product_no`, `product_name`, `category_id`, `category_name`, `model`, `unit`, `barcode`, `price`, `cost_price`, `stock`, `low_stock`, `tax_rate`, `status`, `description`, `images`, `sale_count`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('98', 'SXWL0923', '聚丙稀酰胺(阳离子)', '1975766539550879745', '水处理药剂', '20%', 'dun', NULL, 0.00, 0.00, 0, 10, 13.00, 'on', NULL, NULL, 0, 'shanxia2.0', 0, NULL, NULL, '', '2025-10-08 11:54:41', NULL, '2026-05-31 06:23:49', 0);
|
||||
INSERT INTO `crm_product` (`id`, `product_no`, `product_name`, `category_id`, `category_name`, `model`, `unit`, `barcode`, `price`, `cost_price`, `stock`, `low_stock`, `tax_rate`, `status`, `description`, `images`, `sale_count`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('99', 'SXWL00922', '聚丙稀酰胺(阳离子)', '1975766539550879745', '水处理药剂', '40%', 'dun', NULL, 0.00, 0.00, 0, 10, 13.00, 'on', NULL, NULL, 0, 'shanxia2.0', 0, NULL, NULL, '', '2025-10-08 11:54:41', NULL, '2026-05-31 06:23:49', 0);
|
||||
INSERT INTO `crm_product` (`id`, `product_no`, `product_name`, `category_id`, `category_name`, `model`, `unit`, `barcode`, `price`, `cost_price`, `stock`, `low_stock`, `tax_rate`, `status`, `description`, `images`, `sale_count`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('A6CCEAC7A7EB4427B602A75BD3C6203E', 'CP20260606002', '测试盐酸', '1975766404158746625', '有机原料', '95%', 'ping', '20260606000001', 2000.00, 120.00, 1000, 10, 13.00, 'on', '产品描述', 'crm/product/202606/06/357446e946d24867bb23a5324203df82.jpeg', 0, 'shanxia2.0', NULL, '产品备注', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 13:12:55', 'd3000000000000000000000000000001', '2026-06-06 13:13:24', 0);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@@ -1677,10 +1822,12 @@ CREATE TABLE `crm_quote` (
|
||||
-- Records of crm_quote
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `crm_quote` (`id`, `quote_no`, `quote_title`, `quote_type`, `customer_id`, `customer_name`, `opportunity_id`, `contact_id`, `contact_name`, `contact_mobile`, `contact_email`, `version`, `parent_id`, `is_latest`, `total_amount`, `discount_rate`, `discount_amount`, `final_amount`, `validity_days`, `quote_date`, `expire_date`, `status`, `reject_reason`, `pdf_url`, `pdf_generated`, `share_link`, `share_code`, `share_password`, `share_expire_time`, `view_count`, `last_view_time`, `owner_user_id`, `owner_user_name`, `supplier_id`, `supplier_name`, `contract_id`, `payment_terms`, `delivery_terms`, `freight`, `attachments`, `template_content`, `version_no`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('3CB6516EDD124862BE1015D8F6CFEBBA', 'SXDD-20260531004', '山峡-cs1(SXDD-20260531004)', 'sales', '42B2B0A78BF249FFBDAD5A833AE8A19B', '测试1', 'EF26F94ECF06435CBC3529AFCFEDA649', '1A7FD69E6AEB45FA997B5C7C0263FC5B', '12', '13099922112', '123@qq.com', 'V1.0', '0', 1, 244.00, 0.00, 0.00, 244.00, 35, '2026-05-31', '2026-07-05', 'invalid', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, NULL, 'd3000000000000000000000000000001', '系统管理员', '1', '安庆市山峡化工有限公司', NULL, '', '', 200.00, '', NULL, 0, 'shanxia2.0', NULL, '1. 以上报价含税13%、含运费 ,款到发货 ,最终价格须盖章回传。\n2. 结算以实际到货数量为准,价格随行就市 。', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 18:29:37', 'd3000000000000000000000000000001', '2026-05-31 18:30:47', 0);
|
||||
INSERT INTO `crm_quote` (`id`, `quote_no`, `quote_title`, `quote_type`, `customer_id`, `customer_name`, `opportunity_id`, `contact_id`, `contact_name`, `contact_mobile`, `contact_email`, `version`, `parent_id`, `is_latest`, `total_amount`, `discount_rate`, `discount_amount`, `final_amount`, `validity_days`, `quote_date`, `expire_date`, `status`, `reject_reason`, `pdf_url`, `pdf_generated`, `share_link`, `share_code`, `share_password`, `share_expire_time`, `view_count`, `last_view_time`, `owner_user_id`, `owner_user_name`, `supplier_id`, `supplier_name`, `contract_id`, `payment_terms`, `delivery_terms`, `freight`, `attachments`, `template_content`, `version_no`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('65EC370E2D5C4DA6B23AF463D58E376C', 'SXDD-20260531001', '山峡-cs1(SXDD-20260531001)', 'sales', '42B2B0A78BF249FFBDAD5A833AE8A19B', '测试1', 'EF26F94ECF06435CBC3529AFCFEDA649', '1A7FD69E6AEB45FA997B5C7C0263FC5B', '12', '13099922112', '123@qq.com', 'V1.0', '0', 1, 244.00, 0.00, 0.00, 244.00, 35, '2026-05-31', '2026-07-05', 'draft', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, NULL, 'd3000000000000000000000000000001', '系统管理员', '1', '安庆市山峡化工有限公司', NULL, '', '', 200.00, '', NULL, 0, 'shanxia2.0', NULL, '1. 以上报价含税13%、含运费 ,款到发货 ,最终价格须盖章回传。\n2. 结算以实际到货数量为准,价格随行就市 。', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 18:28:25', 'd3000000000000000000000000000001', '2026-05-31 18:28:25', 0);
|
||||
INSERT INTO `crm_quote` (`id`, `quote_no`, `quote_title`, `quote_type`, `customer_id`, `customer_name`, `opportunity_id`, `contact_id`, `contact_name`, `contact_mobile`, `contact_email`, `version`, `parent_id`, `is_latest`, `total_amount`, `discount_rate`, `discount_amount`, `final_amount`, `validity_days`, `quote_date`, `expire_date`, `status`, `reject_reason`, `pdf_url`, `pdf_generated`, `share_link`, `share_code`, `share_password`, `share_expire_time`, `view_count`, `last_view_time`, `owner_user_id`, `owner_user_name`, `supplier_id`, `supplier_name`, `contract_id`, `payment_terms`, `delivery_terms`, `freight`, `attachments`, `template_content`, `version_no`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('9B7E8EF5F4E545A8A3A0090C1DFB1DE6', 'SXDD-20260531002', '山峡-cs1(SXDD-20260531002)', 'sales', '42B2B0A78BF249FFBDAD5A833AE8A19B', '测试1', 'EF26F94ECF06435CBC3529AFCFEDA649', '1A7FD69E6AEB45FA997B5C7C0263FC5B', '12', '13099922112', '123@qq.com', 'V1.0', '0', 1, 244.00, 0.00, 0.00, 244.00, 35, '2026-05-31', '2026-07-05', 'draft', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, NULL, 'd3000000000000000000000000000001', '系统管理员', '1', '安庆市山峡化工有限公司', NULL, '', '', 200.00, '', NULL, 0, 'shanxia2.0', NULL, '1. 以上报价含税13%、含运费 ,款到发货 ,最终价格须盖章回传。\n2. 结算以实际到货数量为准,价格随行就市 。', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 18:28:32', 'd3000000000000000000000000000001', '2026-05-31 18:28:32', 0);
|
||||
INSERT INTO `crm_quote` (`id`, `quote_no`, `quote_title`, `quote_type`, `customer_id`, `customer_name`, `opportunity_id`, `contact_id`, `contact_name`, `contact_mobile`, `contact_email`, `version`, `parent_id`, `is_latest`, `total_amount`, `discount_rate`, `discount_amount`, `final_amount`, `validity_days`, `quote_date`, `expire_date`, `status`, `reject_reason`, `pdf_url`, `pdf_generated`, `share_link`, `share_code`, `share_password`, `share_expire_time`, `view_count`, `last_view_time`, `owner_user_id`, `owner_user_name`, `supplier_id`, `supplier_name`, `contract_id`, `payment_terms`, `delivery_terms`, `freight`, `attachments`, `template_content`, `version_no`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('F1B12EE76C7741E8B330F65CD269D863', 'SXDD-20260531003', '山峡-cs1(SXDD-20260531003)', 'sales', '42B2B0A78BF249FFBDAD5A833AE8A19B', '测试1', 'EF26F94ECF06435CBC3529AFCFEDA649', '1A7FD69E6AEB45FA997B5C7C0263FC5B', '12', '13099922112', '123@qq.com', 'V1.0', '0', 1, 244.00, 0.00, 0.00, 244.00, 35, '2026-05-31', '2026-07-05', 'submitted', NULL, '/uploads/quote/20260531/报价单-SXDD-20260531003.pdf', 1, NULL, NULL, NULL, NULL, 0, NULL, 'd3000000000000000000000000000001', '系统管理员', '1', '安庆市山峡化工有限公司', NULL, '', '', 200.00, '', NULL, 0, 'shanxia2.0', NULL, '1. 以上报价含税13%、含运费 ,款到发货 ,最终价格须盖章回传。\n2. 结算以实际到货数量为准,价格随行就市 。', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 18:29:30', 'd3000000000000000000000000000001', '2026-05-31 18:41:34', 0);
|
||||
INSERT INTO `crm_quote` (`id`, `quote_no`, `quote_title`, `quote_type`, `customer_id`, `customer_name`, `opportunity_id`, `contact_id`, `contact_name`, `contact_mobile`, `contact_email`, `version`, `parent_id`, `is_latest`, `total_amount`, `discount_rate`, `discount_amount`, `final_amount`, `validity_days`, `quote_date`, `expire_date`, `status`, `reject_reason`, `pdf_url`, `pdf_generated`, `share_link`, `share_code`, `share_password`, `share_expire_time`, `view_count`, `last_view_time`, `owner_user_id`, `owner_user_name`, `supplier_id`, `supplier_name`, `contract_id`, `payment_terms`, `delivery_terms`, `freight`, `attachments`, `template_content`, `version_no`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('39C4BB1DED1D412A9FE7CE97FDA267DD', 'YDDD-20260606005', '哇哈哈-云栋(YDDD-20260606005)', 'purchase', 'BC37973BEF3A408694162D773A541500', '安徽哇哈哈有限责任公司', '', '6520169114D2463BB646217667255E09', '李赛', '13011221112', '7718237812378@qq.com', 'V1.0', '0', 1, 444.00, 0.00, 0.00, 444.00, 30, '2026-06-06', '2026-07-06', 'draft', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, NULL, 'd3000000000000000000000000000001', '系统管理员', '2', '安徽云栋化工有限公司', NULL, '', '', 300.00, '', NULL, 0, 'shanxia2.0', NULL, '1. 以上报价含税13%、含运费 ,款到发货 ,最终价格须盖章回传。\n2. 结算以实际到货数量为准,价格随行就市 。', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:29:12', 'd3000000000000000000000000000001', '2026-06-06 18:16:15', 0);
|
||||
INSERT INTO `crm_quote` (`id`, `quote_no`, `quote_title`, `quote_type`, `customer_id`, `customer_name`, `opportunity_id`, `contact_id`, `contact_name`, `contact_mobile`, `contact_email`, `version`, `parent_id`, `is_latest`, `total_amount`, `discount_rate`, `discount_amount`, `final_amount`, `validity_days`, `quote_date`, `expire_date`, `status`, `reject_reason`, `pdf_url`, `pdf_generated`, `share_link`, `share_code`, `share_password`, `share_expire_time`, `view_count`, `last_view_time`, `owner_user_id`, `owner_user_name`, `supplier_id`, `supplier_name`, `contract_id`, `payment_terms`, `delivery_terms`, `freight`, `attachments`, `template_content`, `version_no`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('45D5DA129E104FB391A88953F3AE65FC', 'SXDD-20260606002', '山峡-(SXDD-20260606002)', 'sales', 'DCC738A8CEFE488F980264BFB6439670', '合肥市皖和化工有限公司', NULL, '166AE994C4A14FC3AC095F72AB739726', '王某', '13899002211', '988080@qq.com', 'V1.0', '0', 1, 155.52, 0.00, 0.00, 155.52, 30, '2026-06-06', '2026-07-06', 'accepted', NULL, '/uploads/quote/20260606/报价单-SXDD-20260606002.pdf', 1, NULL, NULL, NULL, NULL, 0, NULL, 'd3000000000000000000000000000001', '系统管理员', '1', '安庆市山峡化工有限公司', NULL, '', '', 200.00, '', NULL, 0, 'shanxia2.0', NULL, '1. 以上报价含税13%、含运费 ,款到发货 ,最终价格须盖章回传。\n2. 结算以实际到货数量为准,价格随行就市 。', 'BFB4CBEAB7054F48BDE82B55A985798C', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:14:29', 'd3000000000000000000000000000001', '2026-06-06 17:16:05', 0);
|
||||
INSERT INTO `crm_quote` (`id`, `quote_no`, `quote_title`, `quote_type`, `customer_id`, `customer_name`, `opportunity_id`, `contact_id`, `contact_name`, `contact_mobile`, `contact_email`, `version`, `parent_id`, `is_latest`, `total_amount`, `discount_rate`, `discount_amount`, `final_amount`, `validity_days`, `quote_date`, `expire_date`, `status`, `reject_reason`, `pdf_url`, `pdf_generated`, `share_link`, `share_code`, `share_password`, `share_expire_time`, `view_count`, `last_view_time`, `owner_user_id`, `owner_user_name`, `supplier_id`, `supplier_name`, `contract_id`, `payment_terms`, `delivery_terms`, `freight`, `attachments`, `template_content`, `version_no`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('B59BE37A43BF4394B7F5D69A0FAF543D', 'SXDD-20260606001', '山峡-哇哈哈(SXDD-20260606001)', 'sales', 'BC37973BEF3A408694162D773A541500', '安徽哇哈哈有限责任公司', NULL, '6520169114D2463BB646217667255E09', '李赛', '13011221112', '7718237812378@qq.com', 'V1.0', '0', 1, 3400.00, 0.00, 0.00, 3400.00, 30, '2026-06-06', '2026-07-06', 'rejected', '审批拒绝: 拒绝1', '/uploads/quote/20260606/报价单-SXDD-20260606001.pdf', 1, NULL, NULL, NULL, NULL, 0, NULL, 'd3000000000000000000000000000001', '系统管理员', '1', '安庆市山峡化工有限公司', NULL, '', '', 30.00, '', NULL, 0, 'shanxia2.0', NULL, '1. 以上报价含税13%、含运费 ,款到发货 ,最终价格须盖章回传。\n2. 结算以实际到货数量为准,价格随行就市 。', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 16:46:13', 'BFB4CBEAB7054F48BDE82B55A985798C', '2026-06-06 17:13:22', 0);
|
||||
INSERT INTO `crm_quote` (`id`, `quote_no`, `quote_title`, `quote_type`, `customer_id`, `customer_name`, `opportunity_id`, `contact_id`, `contact_name`, `contact_mobile`, `contact_email`, `version`, `parent_id`, `is_latest`, `total_amount`, `discount_rate`, `discount_amount`, `final_amount`, `validity_days`, `quote_date`, `expire_date`, `status`, `reject_reason`, `pdf_url`, `pdf_generated`, `share_link`, `share_code`, `share_password`, `share_expire_time`, `view_count`, `last_view_time`, `owner_user_id`, `owner_user_name`, `supplier_id`, `supplier_name`, `contract_id`, `payment_terms`, `delivery_terms`, `freight`, `attachments`, `template_content`, `version_no`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('B82902623BAA406DB0B5C4CFE6EC16D7', 'SXDD-20260606004', '山峡-哇哈哈(SXDD-20260606004)', 'sales', 'BC37973BEF3A408694162D773A541500', '安徽哇哈哈有限责任公司', '', '6520169114D2463BB646217667255E09', '李赛', '13011221112', '7718237812378@qq.com', 'V1.0', '0', 1, 666.00, 0.00, 0.00, 666.00, 30, '2026-06-06', '2026-07-06', 'draft', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, NULL, 'd3000000000000000000000000000001', '系统管理员', '1', '安庆市山峡化工有限公司', NULL, '', '', 300.00, '', NULL, 0, 'shanxia2.0', NULL, '1. 以上报价含税13%、含运费 ,款到发货 ,最终价格须盖章回传。\n2. 结算以实际到货数量为准,价格随行就市 。', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:17:43', 'd3000000000000000000000000000001', '2026-06-06 17:24:36', 0);
|
||||
INSERT INTO `crm_quote` (`id`, `quote_no`, `quote_title`, `quote_type`, `customer_id`, `customer_name`, `opportunity_id`, `contact_id`, `contact_name`, `contact_mobile`, `contact_email`, `version`, `parent_id`, `is_latest`, `total_amount`, `discount_rate`, `discount_amount`, `final_amount`, `validity_days`, `quote_date`, `expire_date`, `status`, `reject_reason`, `pdf_url`, `pdf_generated`, `share_link`, `share_code`, `share_password`, `share_expire_time`, `view_count`, `last_view_time`, `owner_user_id`, `owner_user_name`, `supplier_id`, `supplier_name`, `contract_id`, `payment_terms`, `delivery_terms`, `freight`, `attachments`, `template_content`, `version_no`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('C4F58662A9E14FE0B0C4274D15C9B4BC', 'SXDD-20260606005', '山峡-哇哈哈(SXDD-20260606005)', 'sales', 'BC37973BEF3A408694162D773A541500', '安徽哇哈哈有限责任公司', NULL, '6520169114D2463BB646217667255E09', '李赛', '13011221112', '7718237812378@qq.com', 'V1.0', '0', 1, 2.00, 0.00, 0.00, 2.00, 30, '2026-06-06', '2026-07-06', 'submitted', NULL, '/uploads/quote/20260606/报价单-SXDD-20260606005.pdf', 1, NULL, NULL, NULL, NULL, 0, NULL, 'd3000000000000000000000000000001', '系统管理员', '1', '安庆市山峡化工有限公司', NULL, '', '', 0.00, '', NULL, 0, 'shanxia2.0', NULL, '1. 以上报价含税13%、含运费 ,款到发货 ,最终价格须盖章回传。\n2. 结算以实际到货数量为准,价格随行就市 。', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:43:12', 'd3000000000000000000000000000001', '2026-06-06 19:43:14', 0);
|
||||
INSERT INTO `crm_quote` (`id`, `quote_no`, `quote_title`, `quote_type`, `customer_id`, `customer_name`, `opportunity_id`, `contact_id`, `contact_name`, `contact_mobile`, `contact_email`, `version`, `parent_id`, `is_latest`, `total_amount`, `discount_rate`, `discount_amount`, `final_amount`, `validity_days`, `quote_date`, `expire_date`, `status`, `reject_reason`, `pdf_url`, `pdf_generated`, `share_link`, `share_code`, `share_password`, `share_expire_time`, `view_count`, `last_view_time`, `owner_user_id`, `owner_user_name`, `supplier_id`, `supplier_name`, `contract_id`, `payment_terms`, `delivery_terms`, `freight`, `attachments`, `template_content`, `version_no`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DE6655EA77B34DFF9E88CE3C1A1A3308', 'SXDD-20260606003', '山峡-哇哈哈(SXDD-20260606003)', 'sales', 'BC37973BEF3A408694162D773A541500', '安徽哇哈哈有限责任公司', NULL, '6520169114D2463BB646217667255E09', '李赛', '13011221112', '7718237812378@qq.com', 'V1.0', '0', 1, 478.70, 0.00, 0.00, 478.70, 30, '2026-06-06', '2026-07-06', 'submitted', NULL, '/uploads/quote/20260606/报价单-SXDD-20260606003.pdf', 1, NULL, NULL, NULL, NULL, 0, NULL, 'd3000000000000000000000000000001', '系统管理员', '1', '安庆市山峡化工有限公司', NULL, '', '', 0.00, '', NULL, 0, 'shanxia2.0', NULL, '1. 以上报价含税13%、含运费 ,款到发货 ,最终价格须盖章回传。\n2. 结算以实际到货数量为准,价格随行就市 。', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:17:10', 'd3000000000000000000000000000001', '2026-06-06 17:17:11', 0);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@@ -1718,7 +1865,14 @@ CREATE TABLE `crm_quote_approval` (
|
||||
-- Records of crm_quote_approval
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `crm_quote_approval` (`id`, `quote_id`, `quote_no`, `step`, `approver_id`, `approver_name`, `approval_result`, `approval_opinion`, `approval_time`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('99134F1303EE4A79B35F8CE5AEC10638', 'F1B12EE76C7741E8B330F65CD269D863', 'SXDD-20260531003', 1, 'd3000000000000000000000000000001', '系统管理员', 'pending', NULL, NULL, 'shanxia2.0', NULL, NULL, NULL, 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 18:41:34', NULL, '2026-05-31 18:41:34', 0);
|
||||
INSERT INTO `crm_quote_approval` (`id`, `quote_id`, `quote_no`, `step`, `approver_id`, `approver_name`, `approval_result`, `approval_opinion`, `approval_time`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('16EC883FDC114FCAB91A2005ADEF5839', 'DE6655EA77B34DFF9E88CE3C1A1A3308', 'SXDD-20260606003', 1, 'd3000000000000000000000000000001', '系统管理员', 'pending', NULL, NULL, 'shanxia2.0', NULL, NULL, NULL, 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:17:10', NULL, '2026-06-06 17:17:10', 0);
|
||||
INSERT INTO `crm_quote_approval` (`id`, `quote_id`, `quote_no`, `step`, `approver_id`, `approver_name`, `approval_result`, `approval_opinion`, `approval_time`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('198A5A0DA8044FE3A12B5EC9AFB5E3A3', 'B59BE37A43BF4394B7F5D69A0FAF543D', 'SXDD-20260606001', 2, 'd3000000000000000000000000000001', '系统管理员', 'pending', NULL, NULL, 'shanxia2.0', NULL, NULL, NULL, 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:00:09', NULL, '2026-06-06 17:00:09', 0);
|
||||
INSERT INTO `crm_quote_approval` (`id`, `quote_id`, `quote_no`, `step`, `approver_id`, `approver_name`, `approval_result`, `approval_opinion`, `approval_time`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('55C7043EA8F04FC09F609FC1B050F3A1', '45D5DA129E104FB391A88953F3AE65FC', 'SXDD-20260606002', 1, 'BFB4CBEAB7054F48BDE82B55A985798C', '测试账号1', 'approved', '123', '2026-06-06 17:14:45', 'shanxia2.0', NULL, '123', NULL, 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:14:30', 'BFB4CBEAB7054F48BDE82B55A985798C', '2026-06-06 17:14:45', 0);
|
||||
INSERT INTO `crm_quote_approval` (`id`, `quote_id`, `quote_no`, `step`, `approver_id`, `approver_name`, `approval_result`, `approval_opinion`, `approval_time`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('B63F261D7B494CE9AE26C6678D6107DC', 'DE6655EA77B34DFF9E88CE3C1A1A3308', 'SXDD-20260606003', 2, 'BFB4CBEAB7054F48BDE82B55A985798C', '测试账号1', 'pending', NULL, NULL, 'shanxia2.0', NULL, NULL, NULL, 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:17:10', NULL, '2026-06-06 17:17:10', 0);
|
||||
INSERT INTO `crm_quote_approval` (`id`, `quote_id`, `quote_no`, `step`, `approver_id`, `approver_name`, `approval_result`, `approval_opinion`, `approval_time`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BA2141EB126543398E59CFAC3980840C', 'B59BE37A43BF4394B7F5D69A0FAF543D', 'SXDD-20260606001', 1, 'BFB4CBEAB7054F48BDE82B55A985798C', '测试账号1', 'rejected', '拒绝1', '2026-06-06 17:13:22', 'shanxia2.0', NULL, '1', NULL, 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:00:09', 'BFB4CBEAB7054F48BDE82B55A985798C', '2026-06-06 17:13:22', 0);
|
||||
INSERT INTO `crm_quote_approval` (`id`, `quote_id`, `quote_no`, `step`, `approver_id`, `approver_name`, `approval_result`, `approval_opinion`, `approval_time`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('CC2F79E06B6D4CFE9575972386811F81', 'C4F58662A9E14FE0B0C4274D15C9B4BC', 'SXDD-20260606005', 2, 'd3000000000000000000000000000001', '系统管理员', 'pending', NULL, NULL, 'shanxia2.0', NULL, NULL, NULL, 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:43:13', NULL, '2026-06-06 19:43:13', 0);
|
||||
INSERT INTO `crm_quote_approval` (`id`, `quote_id`, `quote_no`, `step`, `approver_id`, `approver_name`, `approval_result`, `approval_opinion`, `approval_time`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('D1EFB765275F4C2696F82F275A88272C', 'C4F58662A9E14FE0B0C4274D15C9B4BC', 'SXDD-20260606005', 1, 'BFB4CBEAB7054F48BDE82B55A985798C', '测试账号1', 'pending', NULL, NULL, 'shanxia2.0', NULL, NULL, NULL, 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:43:13', NULL, '2026-06-06 19:43:13', 0);
|
||||
INSERT INTO `crm_quote_approval` (`id`, `quote_id`, `quote_no`, `step`, `approver_id`, `approver_name`, `approval_result`, `approval_opinion`, `approval_time`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('D74CD7F227CC4506BBF77E788DE075F6', '45D5DA129E104FB391A88953F3AE65FC', 'SXDD-20260606002', 2, 'd3000000000000000000000000000001', '系统管理员', 'approved', '123', '2026-06-06 17:16:05', 'shanxia2.0', NULL, '123', NULL, 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:14:30', 'd3000000000000000000000000000001', '2026-06-06 17:16:05', 0);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@@ -1764,14 +1918,72 @@ CREATE TABLE `crm_quote_product` (
|
||||
-- Records of crm_quote_product
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('1B6E85F79B594CE7944171BA50EBA1E4', '9B7E8EF5F4E545A8A3A0090C1DFB1DE6', '2060282715597139969', '试剂硝酸', 'PRD20260529a466', '1975766588632625154', '其他', 'AR', 'ping', 2.0000, 111.00, 0.00, 222.00, 25.54, 13.00, '25kg/桶', '自提', '', 2, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 18:28:32', NULL, '2026-05-31 18:28:32', 0);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('4F30B7DF706A4C6A9817A98EEF27B7E5', '65EC370E2D5C4DA6B23AF463D58E376C', '2060282715597139969', '试剂硝酸', 'PRD20260529a466', '1975766588632625154', '其他', 'AR', 'ping', 2.0000, 111.00, 0.00, 222.00, 25.54, 13.00, '25kg/桶', '自提', '', 2, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 18:28:25', NULL, '2026-05-31 18:28:25', 0);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('859F0029A9BF4945844F299009CB39DB', '9B7E8EF5F4E545A8A3A0090C1DFB1DE6', '2060282814905675777', '试剂硝酸', 'PRD2026052907e3', '1975766588632625154', '其他', '98%', 'ping', 2.0000, 11.00, 0.00, 22.00, 2.53, 13.00, '20kg/袋', '一票制送到', '', 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 18:28:32', NULL, '2026-05-31 18:28:32', 0);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('8617A6461C2C4998848E9D2C1B7AE4F8', '65EC370E2D5C4DA6B23AF463D58E376C', '2060282814905675777', '试剂硝酸', 'PRD2026052907e3', '1975766588632625154', '其他', '98%', 'ping', 2.0000, 11.00, 0.00, 22.00, 2.53, 13.00, '20kg/袋', '一票制送到', '', 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 18:28:25', NULL, '2026-05-31 18:28:25', 0);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('A50853FD7AFC4CFAA169BD2062D96E6F', '3CB6516EDD124862BE1015D8F6CFEBBA', '2060282715597139969', '试剂硝酸', 'PRD20260529a466', '1975766588632625154', '其他', 'AR', 'ping', 2.0000, 111.00, 0.00, 222.00, 25.54, 13.00, '25kg/桶', '自提', '', 2, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 18:29:38', NULL, '2026-05-31 18:29:38', 0);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('D0189F474E4E4F98A1CA9451298B200B', 'F1B12EE76C7741E8B330F65CD269D863', '2060282715597139969', '试剂硝酸', 'PRD20260529a466', '1975766588632625154', '其他', 'AR', 'ping', 2.0000, 111.00, 0.00, 222.00, 25.54, 13.00, '25kg/桶', '自提', '', 2, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 18:29:31', NULL, '2026-05-31 18:29:31', 0);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('FAB6C2A8FECC4F63BE7F1EE51011C0BE', 'F1B12EE76C7741E8B330F65CD269D863', '2060282814905675777', '试剂硝酸', 'PRD2026052907e3', '1975766588632625154', '其他', '98%', 'ping', 2.0000, 11.00, 0.00, 22.00, 2.53, 13.00, '20kg/袋', '一票制送到', '', 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 18:29:30', NULL, '2026-05-31 18:29:30', 0);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('FC3C5ABCC18441D08D05CA81B8DD9C57', '3CB6516EDD124862BE1015D8F6CFEBBA', '2060282814905675777', '试剂硝酸', 'PRD2026052907e3', '1975766588632625154', '其他', '98%', 'ping', 2.0000, 11.00, 0.00, 22.00, 2.53, 13.00, '20kg/袋', '一票制送到', '', 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 18:29:37', NULL, '2026-05-31 18:29:37', 0);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('07699A72EED54855B2D6022A8E4569C8', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060281787460579330', '氨水', 'PRD202605293610', '1975766588632625154', '其他', '25%', 'kg', 1.0000, 111.00, 0.00, 111.00, 12.77, 13.00, '20kg/袋', '一票制送到', '', 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:50:40', NULL, '2026-06-06 18:02:18', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('0BEBCAB5D75F47A9B22A4C11A55697A8', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060282538849169409', '试剂氨水', 'PRD202605299a00', '', '', 'AR', 'ping', 2.0000, 222.00, 0.00, 444.00, 51.08, 13.00, '20kg/袋', '自提', '', 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 18:16:15', NULL, '2026-06-06 18:16:15', 0);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('0E717975639848148C7A32F7E1CCAFF0', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060281732267732994', '氨水', 'PRD20260529e91d', '1975766588632625154', '其他', '20%', 'kg', 3.0000, 333.00, 0.00, 999.00, 114.93, 13.00, '25kg/桶', '自提', '', 2, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 18:09:43', NULL, '2026-06-06 18:09:56', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('17121FF626514A51BA35DF941D9D6C24', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060281787460579330', '氨水', 'PRD202605293610', '1975766588632625154', '其他', '25%', 'kg', 1.0000, 111.00, 0.00, 111.00, 12.77, 13.00, '20kg/袋', '一票制送到', '', 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:32:11', NULL, '2026-06-06 17:32:49', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('2249AA1C187443B0BDF0118F24191D9D', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060281787460579330', '氨水', 'PRD202605293610', '1975766588632625154', '其他', '25%', 'kg', 1.0000, 111.00, 0.00, 111.00, 12.77, 13.00, '20kg/袋', '一票制送到', '', 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:37:57', NULL, '2026-06-06 17:47:47', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('24413D99ED5748E88A1DFD86D2F771A2', '45D5DA129E104FB391A88953F3AE65FC', '2060281732267732994', '氨水', 'PRD20260529e91d', '1975766588632625154', '其他', '20%', 'kg', 1.0000, 33.40, 0.00, 33.40, 3.84, 13.00, '20kg/袋', '一票制送到', '', 3, 'shanxia2.0', NULL, '', 'BFB4CBEAB7054F48BDE82B55A985798C', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:14:29', NULL, '2026-06-06 17:14:29', 0);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('244CC6D4B7FC406F9FE660A3FF6D96A7', 'B82902623BAA406DB0B5C4CFE6EC16D7', '2060281732267732994', '氨水', 'PRD20260529e91d', '1975766588632625154', '其他', '20%', 'kg', 1.0000, 333.00, 0.00, 333.00, 38.31, 13.00, '25kg/桶', '自提', '', 3, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:17:43', NULL, '2026-06-06 17:17:52', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('28EE55C291424C37A84BD9FFCC7DF7B5', 'B82902623BAA406DB0B5C4CFE6EC16D7', '2060281732267732994', '氨水', 'PRD20260529e91d', '1975766588632625154', '其他', '20%', 'kg', 1.0000, 333.00, 0.00, 333.00, 38.31, 13.00, '25kg/桶', '自提', '', 3, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:24:36', NULL, '2026-06-06 17:24:36', 0);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('3AC1094CE3F44857BFC44A4403842BB0', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060281732267732994', '氨水', 'PRD20260529e91d', '1975766588632625154', '其他', '20%', 'kg', 3.0000, 333.00, 0.00, 999.00, 114.93, 13.00, '25kg/桶', '自提', '', 3, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:37:32', NULL, '2026-06-06 17:37:57', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('3B91C24853B3425D979D33A8FD22D660', 'DE6655EA77B34DFF9E88CE3C1A1A3308', '2060280030110117889', '36%盐酸', 'PRD202605295237', '', '', '36%', 'kg', 1.0000, 55.40, 0.00, 55.40, 6.37, 13.00, '20kg/袋', '自提', '', 2, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:17:10', NULL, '2026-06-06 17:17:10', 0);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('4419808407E24C94AC587E91973B1B5F', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060281732267732994', '氨水', 'PRD20260529e91d', '1975766588632625154', '其他', '20%', 'kg', 3.0000, 333.00, 0.00, 999.00, 114.93, 13.00, '25kg/桶', '自提', '', 3, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:47:47', NULL, '2026-06-06 17:48:59', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('4503D8D7520B416EAFCE7F71D0AF34AB', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060281732267732994', '氨水', 'PRD20260529e91d', '1975766588632625154', '其他', '20%', 'kg', 3.0000, 333.00, 0.00, 999.00, 114.93, 13.00, '25kg/桶', '自提', '', 3, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:50:40', NULL, '2026-06-06 18:02:18', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('4818CEBDC6144044856AABA47F89B93A', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060281787460579330', '氨水', 'PRD202605293610', '1975766588632625154', '其他', '25%', 'kg', 1.0000, 111.00, 0.00, 111.00, 12.77, 13.00, '20kg/袋', '一票制送到', '', 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:49:19', NULL, '2026-06-06 17:49:40', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('49ADA459FC8B4DF2A0E3DBE8CE5DE432', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060281732267732994', '氨水', 'PRD20260529e91d', '1975766588632625154', '其他', '20%', 'kg', 3.0000, 333.00, 0.00, 999.00, 114.93, 13.00, '25kg/桶', '自提', '', 3, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:49:41', NULL, '2026-06-06 17:50:16', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('49C3EA915C9045C4A9A3450A5C224C5F', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060281732267732994', '氨水', 'PRD20260529e91d', '1975766588632625154', '其他', '20%', 'kg', 3.0000, 333.00, 0.00, 999.00, 114.93, 13.00, '25kg/桶', '自提', '', 3, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:48:59', NULL, '2026-06-06 17:49:19', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('51D24697CF6B4F09BCF6DD14BCA41BD3', 'DE6655EA77B34DFF9E88CE3C1A1A3308', '2060229752782548994', '亚硫酸钠', 'SXWL00951', '1975766588632625154', '其他', '液体', 'dun', 1.0000, 200.10, 0.00, 200.10, 23.02, 13.00, '25Kg/袋', '自提', '', 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:17:10', NULL, '2026-06-06 17:17:10', 0);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('53C3354C046E4035B7D029A25800C368', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060282538849169409', '试剂氨水', 'PRD202605299a00', '', '', 'AR', 'ping', 2.0000, 222.00, 0.00, 444.00, 51.08, 13.00, '20kg/袋', '自提', '', 2, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:32:49', NULL, '2026-06-06 17:33:22', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('54D08DFD682A4710BF8A050653839B12', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060281787460579330', '氨水', 'PRD202605293610', '1975766588632625154', '其他', '25%', 'kg', 1.0000, 111.00, 0.00, 111.00, 12.77, 13.00, '20kg/袋', '一票制送到', '', 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:37:32', NULL, '2026-06-06 17:37:57', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('578A8C06D02743F0AA9FE37A3C322BF4', 'B82902623BAA406DB0B5C4CFE6EC16D7', '2060281732267732994', '氨水', 'PRD20260529e91d', '1975766588632625154', '其他', '20%', 'kg', 1.0000, 333.00, 0.00, 333.00, 38.31, 13.00, '25kg/桶', '自提', '', 3, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:17:53', NULL, '2026-06-06 17:24:36', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('5A790A0A47244C45AB75DC1A92F4D605', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060281787460579330', '氨水', 'PRD202605293610', '1975766588632625154', '其他', '25%', 'kg', 1.0000, 111.00, 0.00, 111.00, 12.77, 13.00, '20kg/袋', '一票制送到', '', 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:47:47', NULL, '2026-06-06 17:48:59', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('5B67317C9031477AAD099418BAE934A7', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060282538849169409', '试剂氨水', 'PRD202605299a00', '', '', 'AR', 'ping', 2.0000, 222.00, 0.00, 444.00, 51.08, 13.00, '20kg/袋', '自提', '', 2, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:48:59', NULL, '2026-06-06 17:49:19', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('65CF8B4977AF4B99B35AC6CCBB31FA14', 'B82902623BAA406DB0B5C4CFE6EC16D7', '2060282538849169409', '试剂氨水', 'PRD202605299a00', '', '', 'AR', 'ping', 1.0000, 222.00, 0.00, 222.00, 25.54, 13.00, '20kg/袋', '自提', '', 2, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:17:53', NULL, '2026-06-06 17:24:36', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('66DF14029F694D94ADBB2929E71AECC5', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060281732267732994', '氨水', 'PRD20260529e91d', '1975766588632625154', '其他', '20%', 'kg', 3.0000, 333.00, 0.00, 999.00, 114.93, 13.00, '25kg/桶', '自提', '', 3, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:37:19', NULL, '2026-06-06 17:37:32', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('6756EBFDE0294F108F7E1B1A7ED966FD', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060282538849169409', '试剂氨水', 'PRD202605299a00', '', '', 'AR', 'ping', 2.0000, 222.00, 0.00, 444.00, 51.08, 13.00, '20kg/袋', '自提', '', 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 18:09:56', NULL, '2026-06-06 18:15:35', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('6E95EFB6FEFE4D30B5967B9385D48559', 'B59BE37A43BF4394B7F5D69A0FAF543D', '2060282715597139969', '试剂硝酸', 'PRD20260529a466', '1975766588632625154', '其他', 'AR', 'ping', 1.0000, 3000.00, 0.00, 3000.00, 345.13, 13.00, '20kg/袋', '一票制送到', '', 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 16:46:14', NULL, '2026-06-06 16:46:14', 0);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('701C8FD7B28448A38F24D556DC21DC9E', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060282538849169409', '试剂氨水', 'PRD202605299a00', '', '', 'AR', 'ping', 2.0000, 222.00, 0.00, 444.00, 51.08, 13.00, '20kg/袋', '自提', '', 2, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:37:32', NULL, '2026-06-06 17:37:57', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('73ABF23FF8DB4F519C6C1E874474CC24', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060282538849169409', '试剂氨水', 'PRD202605299a00', '', '', 'AR', 'ping', 2.0000, 222.00, 0.00, 444.00, 51.08, 13.00, '20kg/袋', '自提', '', 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 18:09:43', NULL, '2026-06-06 18:09:56', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('76372006D964457A857633537E978124', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060281732267732994', '氨水', 'PRD20260529e91d', '1975766588632625154', '其他', '20%', 'kg', 3.0000, 333.00, 0.00, 999.00, 114.93, 13.00, '25kg/桶', '自提', '', 3, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:29:12', NULL, '2026-06-06 17:32:11', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('7856921AC38B432B99186D98B9673B2F', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060281732267732994', '氨水', 'PRD20260529e91d', '1975766588632625154', '其他', '20%', 'kg', 3.0000, 333.00, 0.00, 999.00, 114.93, 13.00, '25kg/桶', '自提', '', 3, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:33:22', NULL, '2026-06-06 17:37:18', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('7E2AA048535E4C2CA303CB5637B3EFE1', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060281732267732994', '氨水', 'PRD20260529e91d', '1975766588632625154', '其他', '20%', 'kg', 3.0000, 333.00, 0.00, 999.00, 114.93, 13.00, '25kg/桶', '自提', '', 3, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:49:19', NULL, '2026-06-06 17:49:40', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('83CF0DA2059343B8A9DFB0C116109BE3', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060282538849169409', '试剂氨水', 'PRD202605299a00', '', '', 'AR', 'ping', 2.0000, 222.00, 0.00, 444.00, 51.08, 13.00, '20kg/袋', '自提', '', 2, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:50:16', NULL, '2026-06-06 17:50:40', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('88CC18EB52884521AA68A290A0C0B3E1', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060282538849169409', '试剂氨水', 'PRD202605299a00', '', '', 'AR', 'ping', 2.0000, 222.00, 0.00, 444.00, 51.08, 13.00, '20kg/袋', '自提', '', 2, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:33:22', NULL, '2026-06-06 17:37:18', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('8FECF6DFD4DB47028723950EF1089FD9', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060281787460579330', '氨水', 'PRD202605293610', '1975766588632625154', '其他', '25%', 'kg', 1.0000, 111.00, 0.00, 111.00, 12.77, 13.00, '20kg/袋', '一票制送到', '', 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:49:41', NULL, '2026-06-06 17:50:16', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('9331C1B1E45B4762AF17865D56322737', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060282538849169409', '试剂氨水', 'PRD202605299a00', '', '', 'AR', 'ping', 2.0000, 222.00, 0.00, 444.00, 51.08, 13.00, '20kg/袋', '自提', '', 2, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:49:19', NULL, '2026-06-06 17:49:40', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('958ED7208F8442B7AACA60495CA2ACF0', '45D5DA129E104FB391A88953F3AE65FC', '2060281787460579330', '氨水', 'PRD202605293610', '1975766588632625154', '其他', '25%', 'kg', 1.0000, 22.02, 0.00, 22.02, 2.53, 13.00, '20kg/袋', '一票制送到', '', 2, 'shanxia2.0', NULL, '', 'BFB4CBEAB7054F48BDE82B55A985798C', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:14:29', NULL, '2026-06-06 17:14:29', 0);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('9AB372771FDE4FB38311D54CCB65D1E6', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060282538849169409', '试剂氨水', 'PRD202605299a00', '', '', 'AR', 'ping', 2.0000, 222.00, 0.00, 444.00, 51.08, 13.00, '20kg/袋', '自提', '', 2, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:37:58', NULL, '2026-06-06 17:47:47', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('9D60B626F62342F6A97C8A381D18E163', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060281732267732994', '氨水', 'PRD20260529e91d', '1975766588632625154', '其他', '20%', 'kg', 3.0000, 333.00, 0.00, 999.00, 114.93, 13.00, '25kg/桶', '自提', '', 3, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:37:58', NULL, '2026-06-06 17:47:47', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('9E5CB1A04C0148059EA298E4ADF2EFAB', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060282538849169409', '试剂氨水', 'PRD202605299a00', '', '', 'AR', 'ping', 2.0000, 222.00, 0.00, 444.00, 51.08, 13.00, '20kg/袋', '自提', '', 2, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:49:41', NULL, '2026-06-06 17:50:16', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('A94A18A8236540EE930DEEFC46C22931', 'B82902623BAA406DB0B5C4CFE6EC16D7', '2060281787460579330', '氨水', 'PRD202605293610', '1975766588632625154', '其他', '25%', 'kg', 1.0000, 111.00, 0.00, 111.00, 12.77, 13.00, '20kg/袋', '一票制送到', '', 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:17:53', NULL, '2026-06-06 17:24:36', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('AF3D39AD7C5B456F81CAF4BC45157817', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060281732267732994', '氨水', 'PRD20260529e91d', '1975766588632625154', '其他', '20%', 'kg', 3.0000, 333.00, 0.00, 999.00, 114.93, 13.00, '25kg/桶', '自提', '', 3, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:50:16', NULL, '2026-06-06 17:50:40', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('B0477AB8D229460EB1F28C70FF68EC79', 'B82902623BAA406DB0B5C4CFE6EC16D7', '2060282538849169409', '试剂氨水', 'PRD202605299a00', '', '', 'AR', 'ping', 1.0000, 222.00, 0.00, 222.00, 25.54, 13.00, '20kg/袋', '自提', '', 2, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:24:36', NULL, '2026-06-06 17:24:36', 0);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('B31D8997050F4AAA909401CC1D082E08', '45D5DA129E104FB391A88953F3AE65FC', '2060282538849169409', '试剂氨水', 'PRD202605299a00', '', '', 'AR', 'ping', 1.0000, 100.10, 0.00, 100.10, 11.52, 13.00, '20kg/袋', '一票制送到', '', 1, 'shanxia2.0', NULL, '', 'BFB4CBEAB7054F48BDE82B55A985798C', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:14:29', NULL, '2026-06-06 17:14:29', 0);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('B5F4DAF1641C4CD3AB81D74F377ED9EF', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060281787460579330', '氨水', 'PRD202605293610', '1975766588632625154', '其他', '25%', 'kg', 1.0000, 111.00, 0.00, 111.00, 12.77, 13.00, '20kg/袋', '一票制送到', '', 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:32:49', NULL, '2026-06-06 17:33:22', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('B61326FBF4A140B3896E1D174BD0622B', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060281787460579330', '氨水', 'PRD202605293610', '1975766588632625154', '其他', '25%', 'kg', 1.0000, 111.00, 0.00, 111.00, 12.77, 13.00, '20kg/袋', '一票制送到', '', 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:29:12', NULL, '2026-06-06 17:32:11', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('B65BA80C162F48D68E6C2F433FD73F4A', 'C4F58662A9E14FE0B0C4274D15C9B4BC', '2060282538849169409', '试剂氨水', 'PRD202605299a00', '', '', 'AR', 'ping', 1.0000, 1.00, 0.00, 1.00, 0.12, 13.00, '20kg/袋', '一票制送到', '', 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:43:13', NULL, '2026-06-06 19:43:13', 0);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BC1D78F72982431481EB8E5184B53802', 'B82902623BAA406DB0B5C4CFE6EC16D7', '2060282538849169409', '试剂氨水', 'PRD202605299a00', '', '', 'AR', 'ping', 1.0000, 222.00, 0.00, 222.00, 25.54, 13.00, '20kg/袋', '自提', '', 2, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:17:43', NULL, '2026-06-06 17:17:52', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BFAC6EB1F2FE4D809088AFFC2492A8A9', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060281787460579330', '氨水', 'PRD202605293610', '1975766588632625154', '其他', '25%', 'kg', 1.0000, 111.00, 0.00, 111.00, 12.77, 13.00, '20kg/袋', '一票制送到', '', 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:33:22', NULL, '2026-06-06 17:37:18', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('C39E4C5F261447C1BCD20707F976E781', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060281787460579330', '氨水', 'PRD202605293610', '1975766588632625154', '其他', '25%', 'kg', 1.0000, 111.00, 0.00, 111.00, 12.77, 13.00, '20kg/袋', '一票制送到', '', 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:48:59', NULL, '2026-06-06 17:49:19', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('C5F59B6E38CD4D0EA8F2A535322FDB61', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060282538849169409', '试剂氨水', 'PRD202605299a00', '', '', 'AR', 'ping', 2.0000, 222.00, 0.00, 444.00, 51.08, 13.00, '20kg/袋', '自提', '', 2, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:50:40', NULL, '2026-06-06 18:02:18', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('C85C4A1E8E5345928F4FC9C2B75AAE0E', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060282538849169409', '试剂氨水', 'PRD202605299a00', '', '', 'AR', 'ping', 2.0000, 222.00, 0.00, 444.00, 51.08, 13.00, '20kg/袋', '自提', '', 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 18:15:35', NULL, '2026-06-06 18:16:15', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('CD67035A56A44AA7A8F7EADD1A1807A1', 'B59BE37A43BF4394B7F5D69A0FAF543D', '2060282538849169409', '试剂氨水', 'PRD202605299a00', '', '', 'AR', 'ping', 1.0000, 400.00, 0.00, 400.00, 46.02, 13.00, '25kg/桶', '自提', '', 2, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 16:46:14', NULL, '2026-06-06 16:46:14', 0);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('D1B05897EE29497D95BBFBF533AF8C6A', 'C4F58662A9E14FE0B0C4274D15C9B4BC', '2060281787460579330', '氨水', 'PRD202605293610', '1975766588632625154', '其他', '25%', 'kg', 1.0000, 1.00, 0.00, 1.00, 0.12, 13.00, '20kg/袋', '自提', '', 2, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:43:13', NULL, '2026-06-06 19:43:13', 0);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('D21189029E744F7F87597AB229ECC726', 'DE6655EA77B34DFF9E88CE3C1A1A3308', '2059901360992382977', '次氯酸钠', 'PRD20260528017d', '', '', '固体', 'dun', 1.0000, 223.20, 0.00, 223.20, 25.68, 13.00, '20kg/袋', '一票制送到', '', 3, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:17:10', NULL, '2026-06-06 17:17:10', 0);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('D4C816E86B4446429B5362665058119E', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060282538849169409', '试剂氨水', 'PRD202605299a00', '', '', 'AR', 'ping', 2.0000, 222.00, 0.00, 444.00, 51.08, 13.00, '20kg/袋', '自提', '', 2, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:29:12', NULL, '2026-06-06 17:32:11', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('D89941B6E8534187BE3CBF11E71C173F', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060281787460579330', '氨水', 'PRD202605293610', '1975766588632625154', '其他', '25%', 'kg', 1.0000, 111.00, 0.00, 111.00, 12.77, 13.00, '20kg/袋', '一票制送到', '', 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:37:18', NULL, '2026-06-06 17:37:32', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DA968C9A03B74BFCA07533815A08BDAF', 'B82902623BAA406DB0B5C4CFE6EC16D7', '2060281787460579330', '氨水', 'PRD202605293610', '1975766588632625154', '其他', '25%', 'kg', 1.0000, 111.00, 0.00, 111.00, 12.77, 13.00, '20kg/袋', '一票制送到', '', 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:24:36', NULL, '2026-06-06 17:24:36', 0);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DF252E878F5E4D0C8A420565AFA3F96F', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060282538849169409', '试剂氨水', 'PRD202605299a00', '', '', 'AR', 'ping', 2.0000, 222.00, 0.00, 444.00, 51.08, 13.00, '20kg/袋', '自提', '', 2, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:47:47', NULL, '2026-06-06 17:48:59', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('E3418413FE864F79BDB79743CA8C0227', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060281732267732994', '氨水', 'PRD20260529e91d', '1975766588632625154', '其他', '20%', 'kg', 3.0000, 333.00, 0.00, 999.00, 114.93, 13.00, '25kg/桶', '自提', '', 2, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 18:09:56', NULL, '2026-06-06 18:15:35', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('E4DC9BBE827C4CDCAECB00FBA0B3B226', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060281732267732994', '氨水', 'PRD20260529e91d', '1975766588632625154', '其他', '20%', 'kg', 3.0000, 333.00, 0.00, 999.00, 114.93, 13.00, '25kg/桶', '自提', '', 3, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:32:49', NULL, '2026-06-06 17:33:22', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('E570BD2538894E28A38CAA2ED7B50ACF', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060282538849169409', '试剂氨水', 'PRD202605299a00', '', '', 'AR', 'ping', 2.0000, 222.00, 0.00, 444.00, 51.08, 13.00, '20kg/袋', '自提', '', 2, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:37:18', NULL, '2026-06-06 17:37:32', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ECACDFAB4BA04B3D9164B0C39BEE0A1F', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060281787460579330', '氨水', 'PRD202605293610', '1975766588632625154', '其他', '25%', 'kg', 1.0000, 111.00, 0.00, 111.00, 12.77, 13.00, '20kg/袋', '一票制送到', '', 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:50:16', NULL, '2026-06-06 17:50:40', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('F61AD917473C48E59A0F59B197FB9B20', 'B82902623BAA406DB0B5C4CFE6EC16D7', '2060281787460579330', '氨水', 'PRD202605293610', '1975766588632625154', '其他', '25%', 'kg', 1.0000, 111.00, 0.00, 111.00, 12.77, 13.00, '20kg/袋', '一票制送到', '', 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:17:43', NULL, '2026-06-06 17:17:52', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('F9AD974E889B4504A9795E7FC78DD111', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060282538849169409', '试剂氨水', 'PRD202605299a00', '', '', 'AR', 'ping', 2.0000, 222.00, 0.00, 444.00, 51.08, 13.00, '20kg/袋', '自提', '', 2, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:32:11', NULL, '2026-06-06 17:32:49', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('FD16D8B37D024DB58E83A2D32ADBC9C7', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060282538849169409', '试剂氨水', 'PRD202605299a00', '', '', 'AR', 'ping', 2.0000, 222.00, 0.00, 444.00, 51.08, 13.00, '20kg/袋', '自提', '', 1, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 18:02:18', NULL, '2026-06-06 18:09:43', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('FD5A679D44BC4C1787496EE438154C4E', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060281732267732994', '氨水', 'PRD20260529e91d', '1975766588632625154', '其他', '20%', 'kg', 3.0000, 333.00, 0.00, 999.00, 114.93, 13.00, '25kg/桶', '自提', '', 2, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 18:02:18', NULL, '2026-06-06 18:09:43', 1);
|
||||
INSERT INTO `crm_quote_product` (`id`, `quote_id`, `product_id`, `product_name`, `product_no`, `category_id`, `category_name`, `model`, `unit`, `quantity`, `price`, `discount`, `subtotal`, `tax_amount`, `tax_rate`, `package_spec`, `delivery_method`, `description`, `sort`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('FE1900B8BA6B4AC7A2E02E8C92D9103E', '39C4BB1DED1D412A9FE7CE97FDA267DD', '2060281732267732994', '氨水', 'PRD20260529e91d', '1975766588632625154', '其他', '20%', 'kg', 3.0000, 333.00, 0.00, 999.00, 114.93, 13.00, '25kg/桶', '自提', '', 3, 'shanxia2.0', NULL, '', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 17:32:11', NULL, '2026-06-06 17:32:49', 1);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@@ -1851,6 +2063,215 @@ INSERT INTO `crm_supplier_info` (`id`, `supplier_name`, `short_name`, `supplier_
|
||||
INSERT INTO `crm_supplier_info` (`id`, `supplier_name`, `short_name`, `supplier_code`, `supplier_address`, `legal_person`, `agent`, `phone_fax`, `bank_name`, `bank_account`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('2', '安徽云栋化工有限公司', '云栋', 'YD', '安徽省安庆市运动', '吴', '', '0556-5348911', '中国', '340501688608000123123', '0', 'shanxia2.0', 2, NULL, NULL, '', '2025-11-13 07:25:13', NULL, NULL, 0);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for db_inbound_outbound
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `db_inbound_outbound`;
|
||||
CREATE TABLE `db_inbound_outbound` (
|
||||
`id` varchar(64) NOT NULL COMMENT '主键ID(UUID)',
|
||||
`date` date NOT NULL COMMENT '日期',
|
||||
`partner_company` varchar(255) NOT NULL COMMENT '往来单位',
|
||||
`business_type` varchar(255) NOT NULL COMMENT '业务类型(入库/出库)',
|
||||
`product_id` varchar(64) DEFAULT NULL COMMENT 'CRM产品ID(crm_product.id)',
|
||||
`product` varchar(255) NOT NULL COMMENT '产品',
|
||||
`specification` varchar(255) DEFAULT NULL COMMENT '规格(快照,来源 crm_product.model)',
|
||||
`quantity` double NOT NULL COMMENT '本次量(t)',
|
||||
`plan_no` varchar(255) DEFAULT NULL COMMENT '计划号(关联计划)',
|
||||
`batch_no` varchar(255) DEFAULT NULL COMMENT '批次号',
|
||||
`vehicle_no` varchar(255) NOT NULL COMMENT '车牌号',
|
||||
`status` varchar(50) DEFAULT NULL COMMENT '状态(待入库/待出库,已完成等)',
|
||||
`purchase_plan_id` varchar(64) DEFAULT NULL COMMENT '关联的计划ID',
|
||||
`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` smallint(6) NOT NULL DEFAULT '0' COMMENT '删除标记:0-正常 1-已删除',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
KEY `idx_plan_no` (`plan_no`) USING BTREE,
|
||||
KEY `idx_purchase_plan_id` (`purchase_plan_id`) USING BTREE,
|
||||
KEY `idx_date` (`date`) USING BTREE,
|
||||
KEY `idx_status` (`status`) USING BTREE,
|
||||
KEY `idx_vehicle_no` (`vehicle_no`) USING BTREE,
|
||||
KEY `idx_tenant` (`tenant_no`) USING BTREE,
|
||||
KEY `idx_product_id` (`product_id`) USING BTREE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='地磅-出入库单';
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of db_inbound_outbound
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `db_inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product_id`, `product`, `specification`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `purchase_plan_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('1', '2026-06-09', '安徽哇哈哈有限责任公司', '入库', '2060282538849169409', '试剂氨水', 'AR', 32, 'SX-20260609234501001', 'CRKDH0000002', '皖AT09911', '已完成', '264E5A0A1CF840B8A2C8D10E9257957C', 'shanxia2.0', NULL, '备注', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-09 23:46:46', NULL, '2026-06-10 00:05:28', 0);
|
||||
INSERT INTO `db_inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product_id`, `product`, `specification`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `purchase_plan_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('2', '2026-06-10', '安徽哇哈哈有限责任公司', '入库', '2060282538849169409', '试剂氨水', 'AR', 32, 'SX-20260609234501001', 'CRKDH0000003', '皖AT0991', '已完成', '264E5A0A1CF840B8A2C8D10E9257957C', 'shanxia2.0', NULL, '123', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-10 00:16:50', NULL, '2026-06-10 00:25:17', 0);
|
||||
INSERT INTO `db_inbound_outbound` (`id`, `date`, `partner_company`, `business_type`, `product_id`, `product`, `specification`, `quantity`, `plan_no`, `batch_no`, `vehicle_no`, `status`, `purchase_plan_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('6F98C480379B4E259D263378A4DF09F0', '2026-06-01', '安徽哇哈哈有限责任公司', '出库', NULL, '试剂硝酸', NULL, 30.2, 'SX-20260608233448001', 'CRKDH0000001', '皖AT09911', '待出库', '74005B7A389C4175B959DA5F2773A69B', 'shanxia2.0', NULL, '备注11123', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-08 23:36:47', NULL, '2026-06-08 23:55:48', 0);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for db_purchase_plan
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `db_purchase_plan`;
|
||||
CREATE TABLE `db_purchase_plan` (
|
||||
`id` varchar(64) NOT NULL COMMENT '主键ID(UUID)',
|
||||
`plan_no` varchar(255) DEFAULT NULL COMMENT '计划号(自动生成,格式:SX-YYYYMMDDMMHHSS001)',
|
||||
`plan_date` date NOT NULL COMMENT '计划日期(兼容字段)',
|
||||
`start_date` date DEFAULT NULL COMMENT '开始时间',
|
||||
`end_date` date DEFAULT NULL COMMENT '结束时间',
|
||||
`business_type` varchar(255) NOT NULL COMMENT '业务类型(入库/出库)',
|
||||
`product_id` varchar(64) DEFAULT NULL COMMENT 'CRM产品ID(crm_product.id)',
|
||||
`product` varchar(255) NOT NULL COMMENT '产品名称',
|
||||
`specification` varchar(255) DEFAULT NULL COMMENT '规格',
|
||||
`planned_quantity` double NOT NULL COMMENT '计划数量(t)',
|
||||
`vehicle_no` varchar(255) DEFAULT '' COMMENT '车牌号',
|
||||
`customer_name` varchar(255) DEFAULT NULL COMMENT '往来单位',
|
||||
`execution_status` varchar(50) DEFAULT NULL COMMENT '执行状态(待入库/待出库,入库中/出库中,已入库/已出库,已超额等)',
|
||||
`executed_at` datetime DEFAULT NULL COMMENT '执行时间',
|
||||
`last_weighing_slip_id` varchar(64) DEFAULT NULL COMMENT '最后关联的地磅单ID',
|
||||
`executed_quantity` double DEFAULT '0' COMMENT '已执行量(kg)',
|
||||
`auto_generate_enabled` smallint(6) NOT NULL DEFAULT '0' COMMENT '是否自动按月生成(0=否,1=是)',
|
||||
`auto_generate_end_month` varchar(7) DEFAULT NULL COMMENT '自动生成结束月份(YYYY-MM,NULL=一直生成)',
|
||||
`auto_generate_last_month` varchar(7) DEFAULT NULL COMMENT '最后一次自动生成的月份(YYYY-MM,用于防重复)',
|
||||
`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` smallint(6) NOT NULL DEFAULT '0' COMMENT '删除标记:0-正常 1-已删除',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
KEY `idx_plan_no` (`plan_no`) USING BTREE,
|
||||
KEY `idx_plan_date` (`plan_date`) USING BTREE,
|
||||
KEY `idx_start_date` (`start_date`) USING BTREE,
|
||||
KEY `idx_end_date` (`end_date`) USING BTREE,
|
||||
KEY `idx_business_type` (`business_type`) USING BTREE,
|
||||
KEY `idx_product` (`product`) USING BTREE,
|
||||
KEY `idx_execution_status` (`execution_status`) USING BTREE,
|
||||
KEY `idx_auto_generate_enabled` (`auto_generate_enabled`) USING BTREE,
|
||||
KEY `idx_auto_generate_end_month` (`auto_generate_end_month`) USING BTREE,
|
||||
KEY `idx_tenant` (`tenant_no`) USING BTREE,
|
||||
KEY `idx_product_id` (`product_id`) USING BTREE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='地磅-计划';
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of db_purchase_plan
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `db_purchase_plan` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product_id`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('264E5A0A1CF840B8A2C8D10E9257957C', 'SX-20260609234501001', '2026-06-09', '2026-06-09', '2026-06-30', '入库', '2060282538849169409', '试剂氨水', 'AR', 31, '', '安徽哇哈哈有限责任公司', '已入库', NULL, NULL, 75101, 0, NULL, NULL, 'shanxia2.0', NULL, '备注', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-09 23:45:02', NULL, '2026-06-10 00:25:29', 0);
|
||||
INSERT INTO `db_purchase_plan` (`id`, `plan_no`, `plan_date`, `start_date`, `end_date`, `business_type`, `product_id`, `product`, `specification`, `planned_quantity`, `vehicle_no`, `customer_name`, `execution_status`, `executed_at`, `last_weighing_slip_id`, `executed_quantity`, `auto_generate_enabled`, `auto_generate_end_month`, `auto_generate_last_month`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('74005B7A389C4175B959DA5F2773A69B', 'SX-20260608233448001', '2026-06-08', '2026-06-08', '2026-06-30', '出库', NULL, '试剂硝酸', '', 320, '', '安徽哇哈哈有限责任公司', '待入库', NULL, NULL, 0, 1, '2026-12', NULL, 'shanxia2.0', NULL, '备注信息', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-08 23:34:48', 'd3000000000000000000000000000001', '2026-06-08 23:43:29', 0);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for db_sequence
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `db_sequence`;
|
||||
CREATE TABLE `db_sequence` (
|
||||
`id` varchar(64) NOT NULL COMMENT '主键ID(UUID)',
|
||||
`tenant_no` varchar(64) NOT NULL COMMENT '租户编号',
|
||||
`seq_name` varchar(64) NOT NULL COMMENT '序号名称',
|
||||
`next_val` int(11) NOT NULL COMMENT '下一个待分配序号',
|
||||
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
UNIQUE KEY `uk_db_sequence_tenant_name` (`tenant_no`,`seq_name`) USING BTREE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='地磅-租户业务序号';
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of db_sequence
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `db_sequence` (`id`, `tenant_no`, `seq_name`, `next_val`, `update_time`) VALUES ('C14031FEEF414B069A03866970FE111F', 'shanxia2.0', 'inbound_outbound', 3, '2026-06-10 00:16:50');
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for db_vehicle
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `db_vehicle`;
|
||||
CREATE TABLE `db_vehicle` (
|
||||
`id` varchar(64) NOT NULL COMMENT '主键ID(UUID)',
|
||||
`vehicle_no` varchar(255) NOT NULL COMMENT '车牌号',
|
||||
`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` smallint(6) NOT NULL DEFAULT '0' COMMENT '删除标记:0-正常 1-已删除',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
UNIQUE KEY `uk_vehicle_no_del_flag` (`tenant_no`,`vehicle_no`,`del_flag`) USING BTREE,
|
||||
KEY `idx_vehicle_no` (`vehicle_no`) USING BTREE,
|
||||
KEY `idx_tenant` (`tenant_no`) USING BTREE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='地磅-车牌';
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of db_vehicle
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `db_vehicle` (`id`, `vehicle_no`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('698E82F917644481987BCC8C63ED4909', '皖AT09911', 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-08 23:55:48', NULL, '2026-06-08 23:55:48', 0);
|
||||
INSERT INTO `db_vehicle` (`id`, `vehicle_no`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BEA43E1B0EAC458DB8A5C32E4C731D9D', '皖AT0991', 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-08 23:36:45', NULL, '2026-06-08 23:36:45', 0);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for db_weighing_slip
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `db_weighing_slip`;
|
||||
CREATE TABLE `db_weighing_slip` (
|
||||
`id` varchar(64) NOT NULL COMMENT '主键ID(UUID)',
|
||||
`vehicle_no` varchar(255) NOT NULL COMMENT '车号',
|
||||
`plan_no` varchar(255) DEFAULT NULL COMMENT '计划单号',
|
||||
`cargo_name` varchar(255) NOT NULL COMMENT '货物名称',
|
||||
`specification` varchar(255) DEFAULT NULL COMMENT '规格(快照,来源 crm_product.model)',
|
||||
`business_type` varchar(255) NOT NULL COMMENT '业务类型(入库/出库)',
|
||||
`product_id` varchar(64) DEFAULT NULL COMMENT 'CRM产品ID(crm_product.id)',
|
||||
`batch_no` varchar(255) DEFAULT NULL COMMENT '批次号',
|
||||
`supplier` varchar(255) NOT NULL COMMENT '供货单位',
|
||||
`consignee` varchar(255) NOT NULL COMMENT '收货单位',
|
||||
`gross_weight` double NOT NULL COMMENT '毛重(kg)',
|
||||
`gross_weight_time` datetime NOT NULL COMMENT '毛重时间',
|
||||
`tare_weight` double NOT NULL COMMENT '皮重(kg)',
|
||||
`tare_weight_time` datetime DEFAULT NULL COMMENT '皮重时间',
|
||||
`deduction` double DEFAULT '0' COMMENT '扣杂(kg)',
|
||||
`net_weight` double NOT NULL COMMENT '净重(kg)',
|
||||
`planned_quantity` double DEFAULT NULL COMMENT '计划数量(kg)',
|
||||
`executed_quantity` double DEFAULT NULL COMMENT '执行数量(kg)',
|
||||
`purchase_plan_id` varchar(64) DEFAULT NULL COMMENT '关联的计划ID',
|
||||
`inbound_outbound_id` varchar(64) DEFAULT NULL COMMENT '关联的出入库单ID',
|
||||
`weighing_point` varchar(255) DEFAULT '山峡地磅' COMMENT '称重点',
|
||||
`current_quantity` double DEFAULT NULL COMMENT '本次量(kg)',
|
||||
`is_voided` smallint(6) NOT NULL DEFAULT '0' COMMENT '是否作废(0=否,1=是)',
|
||||
`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` smallint(6) NOT NULL DEFAULT '0' COMMENT '删除标记:0-正常 1-已删除',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
KEY `idx_vehicle_no` (`vehicle_no`) USING BTREE,
|
||||
KEY `idx_plan_no` (`plan_no`) USING BTREE,
|
||||
KEY `idx_cargo_name` (`cargo_name`) USING BTREE,
|
||||
KEY `idx_gross_weight_time` (`gross_weight_time`) USING BTREE,
|
||||
KEY `idx_is_voided` (`is_voided`) USING BTREE,
|
||||
KEY `idx_purchase_plan_id` (`purchase_plan_id`) USING BTREE,
|
||||
KEY `idx_inbound_outbound_id` (`inbound_outbound_id`) USING BTREE,
|
||||
KEY `idx_tenant` (`tenant_no`) USING BTREE,
|
||||
KEY `idx_product_id` (`product_id`) USING BTREE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='地磅-地磅单';
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of db_weighing_slip
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `db_weighing_slip` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `specification`, `business_type`, `product_id`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `current_quantity`, `is_voided`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('9011D24C3A2846BEAB310CDAF05B9941', '皖AT09911', 'SX-20260609234501001', '试剂氨水', 'AR', '入库', '2060282538849169409', 'CRKDH0000002', '安徽哇哈哈有限责任公司', '安庆市山峡化工有限公司', 56890, '2026-06-10 00:04:46', 10800, '2026-06-10 00:05:22', 0, 46090, 31000, 46090, '264E5A0A1CF840B8A2C8D10E9257957C', '1', '山峡化工', 32000, 0, 'shanxia2.0', NULL, '备注', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-10 00:04:49', 'd3000000000000000000000000000001', '2026-06-10 00:06:08', 0);
|
||||
INSERT INTO `db_weighing_slip` (`id`, `vehicle_no`, `plan_no`, `cargo_name`, `specification`, `business_type`, `product_id`, `batch_no`, `supplier`, `consignee`, `gross_weight`, `gross_weight_time`, `tare_weight`, `tare_weight_time`, `deduction`, `net_weight`, `planned_quantity`, `executed_quantity`, `purchase_plan_id`, `inbound_outbound_id`, `weighing_point`, `current_quantity`, `is_voided`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('AD77788B1E584E528091DDD4D176B9D1', '皖AT0991', 'SX-20260609234501001', '试剂氨水', 'AR', '入库', '2060282538849169409', 'CRKDH0000003', '安徽哇哈哈有限责任公司', '安庆市山峡化工有限公司', 56901, '2026-06-10 00:24:53', 27890, '2026-06-10 00:25:15', 0, 29011, 31000, 75101, '264E5A0A1CF840B8A2C8D10E9257957C', '2', '山峡化工', 32000, 0, 'shanxia2.0', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-10 00:24:55', 'd3000000000000000000000000000001', '2026-06-10 00:25:29', 0);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for sys_api_request_log
|
||||
-- ----------------------------
|
||||
@@ -1885,9 +2306,6 @@ CREATE TABLE `sys_api_request_log` (
|
||||
-- Records of sys_api_request_log
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `sys_api_request_log` (`id`, `http_method`, `path`, `query_string`, `request_body`, `response_body`, `status_code`, `duration_ms`, `user_id`, `username`, `role`, `ip_address`, `user_agent`, `is_del`, `create_at`, `create_by`, `create_name`, `update_at`, `update_by`) VALUES ('05958FCAEF934A3AAE98146FD5FFC6CE', 'POST', '/api/web/crm/customer/mine', NULL, '{\"page\": 1, \"pageSize\": 10}', '{\"code\": 200, \"message\": \"success\", \"data\": {\"list\": [], \"total\": 0, \"page\": 1, \"pageSize\": 10, \"totalPages\": 0}, \"timestamp\": 1780713366128}', 200, 374, 'd3000000000000000000000000000001', 'admin', 'super_admin', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36', 0, '2026-06-06 10:36:06', NULL, NULL, '2026-06-06 10:36:06', NULL);
|
||||
INSERT INTO `sys_api_request_log` (`id`, `http_method`, `path`, `query_string`, `request_body`, `response_body`, `status_code`, `duration_ms`, `user_id`, `username`, `role`, `ip_address`, `user_agent`, `is_del`, `create_at`, `create_by`, `create_name`, `update_at`, `update_by`) VALUES ('B5700B52242A40D7864F2E629BCED57D', 'GET', '/api/web/admin/users/options', NULL, NULL, '{\"code\": 200, \"message\": \"success\", \"data\": [{\"label\": \"系统管理员\", \"value\": \"d3000000000000000000000000000001\"}], \"timestamp\": 1780713366979}', 200, 157, 'd3000000000000000000000000000001', 'admin', 'super_admin', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36', 0, '2026-06-06 10:36:07', NULL, NULL, '2026-06-06 10:36:07', NULL);
|
||||
INSERT INTO `sys_api_request_log` (`id`, `http_method`, `path`, `query_string`, `request_body`, `response_body`, `status_code`, `duration_ms`, `user_id`, `username`, `role`, `ip_address`, `user_agent`, `is_del`, `create_at`, `create_by`, `create_name`, `update_at`, `update_by`) VALUES ('F98364FE1C474F70B5B5CFD51A0761BE', 'GET', '/api/web/admin/users/options', NULL, NULL, '{\"code\": 200, \"message\": \"success\", \"data\": [{\"label\": \"系统管理员\", \"value\": \"d3000000000000000000000000000001\"}], \"timestamp\": 1780713538550}', 200, 157, 'd3000000000000000000000000000001', 'admin', 'super_admin', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36', 0, '2026-06-06 10:38:59', NULL, NULL, '2026-06-06 10:38:59', NULL);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@@ -7121,6 +7539,31 @@ INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `co
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('107', '站点管理', 'SYSB000000000000000000000000000001', 'C', 'site', '/system/site/index', 'system:site:list', 1, '1', '1', 'shanxia2.0', 1, NULL, NULL, '', '2026-05-27 16:26:30', NULL, '2026-05-30 18:16:10', 1);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('108', '职位管理', 'SYSM000000000000000000000000000001', 'C', 'post', '/system/post/index', 'system:post:list', 1, '1', '1', 'shanxia2.0', 7, NULL, NULL, '', '2026-05-27 16:26:30', NULL, '2026-05-30 17:06:32', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('2', 'Web端菜单', '0', 'M', '/web', NULL, NULL, 1, '1', '1', 'shanxia2.0', 2, NULL, NULL, '', '2026-05-27 16:26:29', NULL, '2026-05-30 17:06:32', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BX00000000000000000000000000001', '报销管理', '2', 'M', '/bx', NULL, NULL, 1, '1', '1', 'shanxia2.0', 10, 'bx 报销业务模块', NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BX00000000000000000000000000002', '基础配置', 'BX00000000000000000000000000001', 'M', 'config', NULL, NULL, 1, '1', '1', 'shanxia2.0', 1, NULL, NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BX00000000000000000000000000003', '费用项目管理', 'BX00000000000000000000000000002', 'C', 'expense-item', '/bx/expense-item/index', 'bx:expenseItem:list', 1, '1', '1', 'shanxia2.0', 1, NULL, NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BX00000000000000000000000000004', '工作流配置(备用金)', 'BX00000000000000000000000000002', 'C', 'workflow-advance', '/bx/workflow/advance/index', 'bx:workflowAdvance:list', 1, '1', '1', 'shanxia2.0', 2, NULL, NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BX00000000000000000000000000005', '工作流配置(报销单)', 'BX00000000000000000000000000002', 'C', 'workflow-reimburse', '/bx/workflow/reimburse/index', 'bx:workflowReimburse:list', 1, '1', '1', 'shanxia2.0', 3, NULL, NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BX00000000000000000000000000006', '备用金', 'BX00000000000000000000000000001', 'M', 'advance', NULL, NULL, 1, '1', '1', 'shanxia2.0', 2, NULL, NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BX00000000000000000000000000007', '备用金申请', 'BX00000000000000000000000000006', 'C', 'apply', '/bx/advance/apply/index', 'bx:advanceApply:list', 1, '1', '1', 'shanxia2.0', 1, NULL, NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BX00000000000000000000000000008', '备用金审批', 'BX00000000000000000000000000006', 'C', 'approve', '/bx/advance/approve/index', 'bx:advanceApprove:list', 1, '1', '1', 'shanxia2.0', 2, NULL, NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BX00000000000000000000000000009', '备用金发放管理', 'BX00000000000000000000000000006', 'C', 'issue', '/bx/advance/issue/index', 'bx:advanceIssue:list', 1, '1', '1', 'shanxia2.0', 3, NULL, NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BX00000000000000000000000000010', '报销', 'BX00000000000000000000000000001', 'M', 'reimburse', NULL, NULL, 1, '1', '1', 'shanxia2.0', 3, NULL, NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BX00000000000000000000000000011', '报销申请', 'BX00000000000000000000000000010', 'C', 'apply', '/bx/reimburse/apply/index', 'bx:reimburseApply:list', 1, '1', '1', 'shanxia2.0', 1, NULL, NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BX00000000000000000000000000012', '报销审批', 'BX00000000000000000000000000010', 'C', 'approve', '/bx/reimburse/approve/index', 'bx:reimburseApprove:list', 1, '1', '1', 'shanxia2.0', 2, NULL, NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BX00000000000000000000000000013', '支付管理(发放/冲抵)', 'BX00000000000000000000000000010', 'C', 'payment', '/bx/payment/index', 'bx:payment:list', 1, '1', '1', 'shanxia2.0', 3, NULL, NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BX00000000000000000000000000014', '视图中心', 'BX00000000000000000000000000001', 'M', 'view', NULL, NULL, 1, '1', '1', 'shanxia2.0', 4, NULL, NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BX00000000000000000000000000015', '我的申请单', 'BX00000000000000000000000000014', 'C', 'mine', '/bx/view/mine/index', 'bx:viewMine:list', 1, '1', '1', 'shanxia2.0', 1, NULL, NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BX00000000000000000000000000016', '待我审批', 'BX00000000000000000000000000014', 'C', 'todo', '/bx/view/todo/index', 'bx:viewTodo:list', 1, '1', '1', 'shanxia2.0', 2, NULL, NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BX00000000000000000000000000017', '全部申请单(总经理)', 'BX00000000000000000000000000014', 'C', 'all', '/bx/view/all/index', 'bx:viewAll:list', 1, '1', '1', 'shanxia2.0', 3, NULL, NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BX10000000000000000000000000001', '费用项目新增', 'BX00000000000000000000000000003', 'F', '', NULL, 'bx:expenseItem:add', 1, '1', '1', 'shanxia2.0', 1, NULL, NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BX10000000000000000000000000002', '费用项目编辑', 'BX00000000000000000000000000003', 'F', '', NULL, 'bx:expenseItem:edit', 1, '1', '1', 'shanxia2.0', 2, NULL, NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BX10000000000000000000000000003', '费用项目删除', 'BX00000000000000000000000000003', 'F', '', NULL, 'bx:expenseItem:remove', 1, '1', '1', 'shanxia2.0', 3, NULL, NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BX10000000000000000000000000004', '备用金提交', 'BX00000000000000000000000000007', 'F', '', NULL, 'bx:advanceApply:submit', 1, '1', '1', 'shanxia2.0', 1, NULL, NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BX10000000000000000000000000005', '备用金审批通过', 'BX00000000000000000000000000008', 'F', '', NULL, 'bx:advanceApprove:approve', 1, '1', '1', 'shanxia2.0', 1, NULL, NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BX10000000000000000000000000006', '备用金发放', 'BX00000000000000000000000000009', 'F', '', NULL, 'bx:advanceIssue:issue', 1, '1', '1', 'shanxia2.0', 1, NULL, NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BX10000000000000000000000000007', '报销提交', 'BX00000000000000000000000000011', 'F', '', NULL, 'bx:reimburseApply:submit', 1, '1', '1', 'shanxia2.0', 1, NULL, NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BX10000000000000000000000000008', '报销支付', 'BX00000000000000000000000000013', 'F', '', NULL, 'bx:payment:pay', 1, '1', '1', 'shanxia2.0', 1, NULL, NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('CRM00000000000000000000000000001', 'CRM 管理', '2', 'M', '/crm', NULL, NULL, 1, '1', '1', 'shanxia2.0', 11, 'CRM客户关系管理模块', NULL, '', '2026-05-30 16:53:06', NULL, '2026-05-30 17:29:15', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('CRM00000000000000000000000000002', '产品分类', 'CRM00000000000000000000000000001', 'C', 'product-category', '/crm/product-category/index', 'crm:productCategory:list', 1, '1', '1', 'shanxia2.0', 1, '产品分类树形管理', NULL, '', '2026-05-30 16:53:06', NULL, '2026-05-30 17:06:32', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('CRM00000000000000000000000000003', '产品管理', 'CRM00000000000000000000000000001', 'C', 'product', '/crm/product/index', 'crm:product:list', 1, '1', '1', 'shanxia2.0', 2, '产品列表管理,含Excel导入导出', NULL, '', '2026-05-30 16:53:06', NULL, '2026-05-30 17:06:32', 0);
|
||||
@@ -7156,6 +7599,29 @@ INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `co
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('CRM2000000000000000000000003005', '商机导出', 'CRM2000000000000000000000000010', 'F', '', NULL, 'crm:opportunity:export', 1, '1', '1', 'shanxia2.0', 5, NULL, NULL, '', '2026-05-31 16:17:46', NULL, '2026-05-31 16:17:46', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('CRM2000000000000000000000003006', '商机分配', 'CRM2000000000000000000000000010', 'F', '', NULL, 'crm:opportunity:assign', 1, '1', '1', 'shanxia2.0', 6, NULL, NULL, '', '2026-05-31 16:17:46', NULL, '2026-05-31 16:17:46', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('CRM2000000000000000000000003007', '商机跟进', 'CRM2000000000000000000000000010', 'F', '', NULL, 'crm:opportunity:follow', 1, '1', '1', 'shanxia2.0', 7, NULL, NULL, '', '2026-05-31 16:17:46', NULL, '2026-05-31 16:17:46', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DB00000000000000000000000000001', '地磅管理', '2', 'M', '/db', NULL, NULL, 1, '1', '1', 'shanxia2.0', 9, '地磅业务模块(计划/出入库/地磅单/车牌)', NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DB00000000000000000000000000002', '仪表盘', 'DB00000000000000000000000000001', 'C', 'dashboard', '/db/dashboard/index', 'db:dashboard:list', 1, '1', '1', 'shanxia2.0', 1, NULL, NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DB00000000000000000000000000003', '计划管理', 'DB00000000000000000000000000001', 'C', 'plans', '/db/plans/index', 'db:plan:list', 1, '1', '1', 'shanxia2.0', 2, NULL, NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DB00000000000000000000000000004', '出入库管理', 'DB00000000000000000000000000001', 'C', 'inventory', '/db/inventory/index', 'db:inventory:list', 1, '1', '1', 'shanxia2.0', 3, NULL, NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DB00000000000000000000000000005', '地磅单管理', 'DB00000000000000000000000000001', 'C', 'weighing', '/db/weighing/index', 'db:weighing:list', 1, '1', '1', 'shanxia2.0', 4, NULL, NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DB00000000000000000000000000006', '车牌管理', 'DB00000000000000000000000000001', 'C', 'vehicles', '/db/vehicles/index', 'db:vehicle:list', 1, '1', '1', 'shanxia2.0', 5, NULL, NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DB10000000000000000000000000001', '计划新增', 'DB00000000000000000000000000003', 'F', '', NULL, 'db:plan:add', 1, '1', '1', 'shanxia2.0', 1, NULL, NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DB10000000000000000000000000002', '计划编辑', 'DB00000000000000000000000000003', 'F', '', NULL, 'db:plan:edit', 1, '1', '1', 'shanxia2.0', 2, NULL, NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DB10000000000000000000000000003', '计划删除', 'DB00000000000000000000000000003', 'F', '', NULL, 'db:plan:remove', 1, '1', '1', 'shanxia2.0', 3, NULL, NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DB10000000000000000000000000004', '计划查看', 'DB00000000000000000000000000003', 'F', '', NULL, 'db:plan:query', 1, '1', '1', 'shanxia2.0', 4, NULL, NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DB10000000000000000000000000005', '出入库新增', 'DB00000000000000000000000000004', 'F', '', NULL, 'db:inventory:add', 1, '1', '1', 'shanxia2.0', 1, NULL, NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DB10000000000000000000000000006', '出入库编辑', 'DB00000000000000000000000000004', 'F', '', NULL, 'db:inventory:edit', 1, '1', '1', 'shanxia2.0', 2, NULL, NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DB10000000000000000000000000007', '出入库删除', 'DB00000000000000000000000000004', 'F', '', NULL, 'db:inventory:remove', 1, '1', '1', 'shanxia2.0', 3, NULL, NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DB10000000000000000000000000008', '出入库查看', 'DB00000000000000000000000000004', 'F', '', NULL, 'db:inventory:query', 1, '1', '1', 'shanxia2.0', 4, NULL, NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DB10000000000000000000000000009', '地磅单新增', 'DB00000000000000000000000000005', 'F', '', NULL, 'db:weighing:add', 1, '1', '1', 'shanxia2.0', 1, NULL, NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DB10000000000000000000000000010', '地磅单编辑', 'DB00000000000000000000000000005', 'F', '', NULL, 'db:weighing:edit', 1, '1', '1', 'shanxia2.0', 2, NULL, NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DB10000000000000000000000000011', '地磅单删除', 'DB00000000000000000000000000005', 'F', '', NULL, 'db:weighing:remove', 1, '1', '1', 'shanxia2.0', 3, NULL, NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DB10000000000000000000000000012', '地磅单查看', 'DB00000000000000000000000000005', 'F', '', NULL, 'db:weighing:query', 1, '1', '1', 'shanxia2.0', 4, NULL, NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DB10000000000000000000000000013', '地磅单作废', 'DB00000000000000000000000000005', 'F', '', NULL, 'db:weighing:void', 1, '1', '1', 'shanxia2.0', 5, NULL, NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DB10000000000000000000000000014', '车牌新增', 'DB00000000000000000000000000006', 'F', '', NULL, 'db:vehicle:add', 1, '1', '1', 'shanxia2.0', 1, NULL, NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DB10000000000000000000000000015', '车牌编辑', 'DB00000000000000000000000000006', 'F', '', NULL, 'db:vehicle:edit', 1, '1', '1', 'shanxia2.0', 2, NULL, NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DB10000000000000000000000000016', '车牌删除', 'DB00000000000000000000000000006', 'F', '', NULL, 'db:vehicle:remove', 1, '1', '1', 'shanxia2.0', 3, NULL, NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DB10000000000000000000000000017', '车牌查看', 'DB00000000000000000000000000006', 'F', '', NULL, 'db:vehicle:query', 1, '1', '1', 'shanxia2.0', 4, NULL, NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('PIL00000000000000000000000000001', '中试服务', '2', 'M', '/pilot-service', '/index/index', NULL, 1, '1', '1', 'shanxia2.0', 3, NULL, NULL, '', '2026-05-27 16:26:30', NULL, '2026-05-30 18:15:56', 1);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('SYSB000000000000000000000000000001', '系统基础信息', '2', 'M', '/system-base', '/index/index', NULL, 1, '1', '1', 'shanxia2.0', 11, NULL, NULL, '', '2026-05-27 16:26:30', NULL, '2026-05-30 18:16:14', 1);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('SYSM000000000000000000000000000001', '系统管理', '2', 'M', '/system', '/index/index', NULL, 1, '1', '1', 'shanxia2.0', 13, NULL, NULL, '', '2026-05-27 16:26:30', NULL, '2026-05-30 17:06:32', 0);
|
||||
@@ -7199,25 +7665,44 @@ CREATE TABLE `sys_oss` (
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('096BD47B0F6C436CA1D284A9E977D5FF', 'shanxia2.0', NULL, NULL, '653246e0827c4adc9453f770a4c0440b.png', 'Snipaste_2026-05-31_10-14-13.png', 'png', 'crm/customer/permit/202605/31/653246e0827c4adc9453f770a4c0440b.png', 208566, 'image/png', 'attachment', 0, 'minio', 'crm/customer/permit', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 13:21:40', NULL, '2026-05-31 13:21:40', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('0A44751F07564879B6BA758B0F6B066D', 'shanxia2.0', NULL, NULL, 'ecabd780c6cf4b3c889d87d9123cff11.jpeg', '3da59d5558511a753100fd845c1f2ba8.jpeg', 'jpeg', 'crm/clue/follow/202606/06/ecabd780c6cf4b3c889d87d9123cff11.jpeg', 21893, 'image/jpeg', 'attachment', 0, 'minio', 'crm/clue/follow', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 13:33:33', NULL, '2026-06-06 13:33:33', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('0E74E47F4B1D442BA34521709E8DD488', 'shanxia2.0', 'crm_contract_attachment', NULL, 'd6bbe8b4aa524926b26ba8ea7c0869b4.pdf', '云栋-云栋(YDDD-20260606005)报价单.pdf', 'pdf', 'crm/contract/202606/06/d6bbe8b4aa524926b26ba8ea7c0869b4.pdf', 505588, 'application/pdf', 'attachment', 0, 'minio', 'crm/contract', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:14:22', NULL, '2026-06-06 19:14:22', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('0FE86D2AF6C64081B78A3BCE4D4D7DE1', 'shanxia2.0', 'crm_contract_attachment', NULL, 'b4c4e231fd3d4d8d8206c43fdfc4948a.jpeg', '3da59d5558511a753100fd845c1f2ba8.jpeg', 'jpeg', 'crm/contract/202606/06/b4c4e231fd3d4d8d8206c43fdfc4948a.jpeg', 21893, 'image/jpeg', 'attachment', 0, 'minio', 'crm/contract', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 18:40:26', NULL, '2026-06-06 18:40:26', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('13235F289E6540868DB5F6AA3E82730E', 'shanxia2.0', 'crm_contract_attachment', NULL, '49a14b8d1c274c3585804fe30ce97414.png', 'Snipaste_2026-05-31_10-14-13.png', 'png', 'crm/contract/202606/02/49a14b8d1c274c3585804fe30ce97414.png', 208566, 'image/png', 'attachment', 0, 'minio', 'crm/contract', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-02 08:39:28', NULL, '2026-06-02 08:39:28', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('16F24E5A65D64240AC8EC3889F189AC9', 'shanxia2.0', NULL, NULL, '648f348b9bfd4e69961eb75cd367a09e.png', 'Snipaste_2026-05-31_10-14-13.png', 'png', 'crm/contract/price-letter/202605/31/648f348b9bfd4e69961eb75cd367a09e.png', 208566, 'image/png', 'attachment', 0, 'minio', 'crm/contract/price-letter', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 22:22:52', NULL, '2026-05-31 22:22:52', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('19C907BDDA8D4EA7BE6FCF94E6D91B5A', 'shanxia2.0', NULL, NULL, '357446e946d24867bb23a5324203df82.jpeg', '3da59d5558511a753100fd845c1f2ba8.jpeg', 'jpeg', 'crm/product/202606/06/357446e946d24867bb23a5324203df82.jpeg', 21893, 'image/jpeg', 'attachment', 0, 'minio', 'crm/product', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 13:12:18', NULL, '2026-06-06 13:12:18', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('26DE735F807C42D5A2637186BAFE3920', 'shanxia2.0', 'crm_contract_attachment', NULL, '64db738e813e43f8a23b93dcf2494a9c.png', 'Snipaste_2026-05-31_10-14-13.png', 'png', 'crm/contract/202606/02/64db738e813e43f8a23b93dcf2494a9c.png', 208566, 'image/png', 'attachment', 0, 'minio', 'crm/contract', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-02 08:49:07', NULL, '2026-06-02 08:49:07', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('2EF56BD32BF143F18AE44B693F314AC3', 'shanxia2.0', 'crm_contract_attachment', NULL, '10e4634b733d4937b9938648b92e6912.png', 'Snipaste_2026-05-31_10-14-13.png', 'png', 'crm/contract/202606/02/10e4634b733d4937b9938648b92e6912.png', 208566, 'image/png', 'attachment', 0, 'minio', 'crm/contract', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-02 08:43:00', NULL, '2026-06-02 08:43:00', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('331CFA5D84294010BB230E7DE3645F6C', 'shanxia2.0', NULL, NULL, '781073912123495f849e7d65c042d56d.png', 'Snipaste_2026-05-31_10-14-13.png', 'png', 'crm/customer/cert/202605/31/781073912123495f849e7d65c042d56d.png', 208566, 'image/png', 'attachment', 0, 'minio', 'crm/customer/cert', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 10:27:34', NULL, '2026-05-31 10:27:34', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('37AEBA23E91949BEAFED8198983A4D44', 'shanxia2.0', 'crm_contract_attachment', NULL, 'fa3450236ace4960b72ab77365179651.png', 'Snipaste_2026-05-31_10-14-13.png', 'png', 'crm/contract/202606/02/fa3450236ace4960b72ab77365179651.png', 208566, 'image/png', 'attachment', 0, 'minio', 'crm/contract', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-02 08:37:43', NULL, '2026-06-02 08:37:43', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('3DFC044B58BA4D058DF27845FAE5D684', 'shanxia2.0', NULL, NULL, 'a68c972e48054ebead0ba65de4d890df.jpeg', '3da59d5558511a753100fd845c1f2ba8.jpeg', 'jpeg', 'crm/customer/follow/202606/06/a68c972e48054ebead0ba65de4d890df.jpeg', 21893, 'image/jpeg', 'attachment', 0, 'minio', 'crm/customer/follow', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 16:03:28', NULL, '2026-06-06 16:03:28', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('4A4FCFD534A347CFA78FC5345C63243B', 'shanxia2.0', NULL, NULL, '9628be10581a441d9b43327eacc59b51.jpeg', '3da59d5558511a753100fd845c1f2ba8.jpeg', 'jpeg', 'crm/product/202606/06/9628be10581a441d9b43327eacc59b51.jpeg', 21893, 'image/jpeg', 'attachment', 0, 'minio', 'crm/product', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 13:09:17', NULL, '2026-06-06 13:09:17', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('596C191EBBFC4659B58EBEDD80DFDA68', 'shanxia2.0', NULL, NULL, '0fa7b23bd5ec45619545d11639732739.png', 'Snipaste_2026-05-31_10-14-13.png', 'png', 'crm/customer/license/202605/31/0fa7b23bd5ec45619545d11639732739.png', 208566, 'image/png', 'attachment', 0, 'minio', 'crm/customer/license', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 10:27:27', NULL, '2026-05-31 10:27:27', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('5C8B0B213F384381985C7EC4F35F586E', 'shanxia2.0', NULL, NULL, 'cf9fc1d110cd4074a810694e9f408049.png', 'Snipaste_2026-05-31_10-14-13.png', 'png', 'crm/contract/attachment/202605/31/cf9fc1d110cd4074a810694e9f408049.png', 208566, 'image/png', 'attachment', 0, 'minio', 'crm/contract/attachment', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 22:22:11', NULL, '2026-05-31 22:22:11', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('624A5059E38945DC8BC454AED3F47897', 'shanxia2.0', 'crm_quote_attachment', NULL, '47ad686a795d4284a6e7af2471529d86.jpeg', '3da59d5558511a753100fd845c1f2ba8.jpeg', 'jpeg', 'crm/quote/202606/06/47ad686a795d4284a6e7af2471529d86.jpeg', 21893, 'image/jpeg', 'attachment', 0, 'minio', 'crm/quote', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 18:05:19', NULL, '2026-06-06 18:05:19', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('65232D8CDA964248B4EFF14C87FFC2C5', 'shanxia2.0', NULL, NULL, 'd8fe33c0e0fb4f6ea54a40c14a01b861.png', 'Snipaste_2026-05-31_10-14-13.png', 'png', 'crm/contract/file/202605/31/d8fe33c0e0fb4f6ea54a40c14a01b861.png', 208566, 'image/png', 'attachment', 0, 'minio', 'crm/contract/file', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 22:23:55', NULL, '2026-05-31 22:23:55', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('6AF3FD8C6D4C478CA2C36BEE3EBFFC14', 'shanxia2.0', 'crm_contract_attachment', NULL, 'ca76fcb2051046b6bd19a77e85c2c758.jpeg', '3da59d5558511a753100fd845c1f2ba8.jpeg', 'jpeg', 'crm/contract/202606/06/ca76fcb2051046b6bd19a77e85c2c758.jpeg', 21893, 'image/jpeg', 'attachment', 0, 'minio', 'crm/contract', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 19:01:38', NULL, '2026-06-06 19:01:38', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('71F499C221A24C4C9FCF52BA44D5A753', 'shanxia2.0', 'crm_contract_attachment', NULL, '50e9e66b044746759a0eb7926ef3797d.png', 'Snipaste_2026-05-31_10-14-13.png', 'png', 'crm/contract/202606/02/50e9e66b044746759a0eb7926ef3797d.png', 208566, 'image/png', 'attachment', 0, 'minio', 'crm/contract', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-02 08:40:01', NULL, '2026-06-02 08:40:01', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('744480E7116041FEBCF3642270E533C6', 'shanxia2.0', 'crm_contract_attachment', NULL, '3a2c01d5c4404f1fb82fddba348acadc.pdf', '山峡-cs1(SXDD-20260531003)报价单.pdf', 'pdf', 'crm/contract/202606/02/3a2c01d5c4404f1fb82fddba348acadc.pdf', 466110, 'application/pdf', 'attachment', 0, 'minio', 'crm/contract', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-02 20:12:24', NULL, '2026-06-02 20:12:24', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('892E84BB4FAD4C77B52D7FE5D20DE647', 'shanxia2.0', 'crm_contract_attachment', NULL, '17a0c4d5b9014c469e72b0de3da96121.png', 'Snipaste_2026-05-31_10-14-13.png', 'png', 'crm/contract/202606/02/17a0c4d5b9014c469e72b0de3da96121.png', 208566, 'image/png', 'attachment', 0, 'minio', 'crm/contract', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-02 08:42:46', NULL, '2026-06-02 08:42:46', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('A0B61177CA7D490FAD2CCDD64477457E', 'shanxia2.0', NULL, NULL, 'd7e88772e8e14203abae6ae77fb925f9.jpeg', '3da59d5558511a753100fd845c1f2ba8.jpeg', 'jpeg', 'crm/customer/license/202606/06/d7e88772e8e14203abae6ae77fb925f9.jpeg', 21893, 'image/jpeg', 'attachment', 0, 'minio', 'crm/customer/license', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 16:07:46', NULL, '2026-06-06 16:07:46', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('AE64A41380054936915303090E25394A', 'shanxia2.0', NULL, NULL, 'dd5dbeec2d1240ae9d3f8419a80cdeda.png', 'Snipaste_2026-05-31_10-14-13.png', 'png', 'crm/contract/202606/02/dd5dbeec2d1240ae9d3f8419a80cdeda.png', 208566, 'image/png', 'attachment', 0, 'minio', 'crm/contract', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-02 08:36:38', NULL, '2026-06-02 08:36:38', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('B859A2A716E0463CBF1003A15E741C16', 'shanxia2.0', NULL, NULL, 'fb5e192e4e6d4b469bca202b1acdb6f4.jpeg', '3da59d5558511a753100fd845c1f2ba8.jpeg', 'jpeg', 'crm/clue/follow/202606/06/fb5e192e4e6d4b469bca202b1acdb6f4.jpeg', 21893, 'image/jpeg', 'attachment', 0, 'minio', 'crm/clue/follow', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 13:38:24', NULL, '2026-06-06 13:38:24', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BAFB7BC5792546B88A98D1C6442EB86F', 'shanxia2.0', NULL, NULL, '895bb540b54f4cf3a76dd6aad26aad5a.png', 'Snipaste_2026-05-31_10-14-13.png', 'png', 'crm/opportunity/follow/202605/31/895bb540b54f4cf3a76dd6aad26aad5a.png', 208566, 'image/png', 'attachment', 0, 'minio', 'crm/opportunity/follow', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 16:30:48', NULL, '2026-05-31 16:30:48', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BDA6A481F02046C1BCF13AFFD7E92DBF', 'shanxia2.0', NULL, NULL, 'e67a919217ba47bdb3d1974efa0b402f.jpeg', '3da59d5558511a753100fd845c1f2ba8.jpeg', 'jpeg', 'crm/customer/license/202606/06/e67a919217ba47bdb3d1974efa0b402f.jpeg', 21893, 'image/jpeg', 'attachment', 0, 'minio', 'crm/customer/license', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 16:14:49', NULL, '2026-06-06 16:14:49', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('C62F8ED4FB704B888ABCAE693ADF7E8D', 'shanxia2.0', NULL, NULL, 'd3fbc67918974eb8b267b9d617bbb197.jpeg', '3da59d5558511a753100fd845c1f2ba8.jpeg', 'jpeg', 'crm/clue/follow/202606/06/d3fbc67918974eb8b267b9d617bbb197.jpeg', 21893, 'image/jpeg', 'attachment', 0, 'minio', 'crm/clue/follow', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 13:33:51', NULL, '2026-06-06 13:33:51', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('CA3435CFC64246AFAC19EE5F6335F364', 'shanxia2.0', NULL, NULL, 'd529d104ce484b9da70d9f2ea1a72acc.jpeg', '3da59d5558511a753100fd845c1f2ba8.jpeg', 'jpeg', 'crm/clue/follow/202606/06/d529d104ce484b9da70d9f2ea1a72acc.jpeg', 21893, 'image/jpeg', 'attachment', 0, 'minio', 'crm/clue/follow', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 14:51:19', NULL, '2026-06-06 14:51:19', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('CB8E1E9A031B478AB2A732D8109987DB', 'shanxia2.0', NULL, NULL, '8c566ce49fdd476890888c1765eb7334.png', 'Snipaste_2026-05-31_10-14-13.png', 'png', 'crm/customer/follow/202605/31/8c566ce49fdd476890888c1765eb7334.png', 208566, 'image/png', 'attachment', 0, 'minio', 'crm/customer/follow', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 10:32:57', NULL, '2026-05-31 10:32:57', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('D01C8C75551440B9A9C758AE2EDC2FDF', 'shanxia2.0', NULL, NULL, 'e706381e88e6463896da5b4bcaad36a3.png', 'Snipaste_2026-05-31_10-14-13.png', 'png', 'crm/customer/license/202605/31/e706381e88e6463896da5b4bcaad36a3.png', 208566, 'image/png', 'attachment', 0, 'minio', 'crm/customer/license', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 13:21:37', NULL, '2026-05-31 13:21:37', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('D70016C06F624CB898DBBF01D5EB2A2A', 'shanxia2.0', 'crm_contract_attachment', NULL, '35fc46a91b0e471180a2716c1edc2e1c.pdf', '山峡-哇哈哈(SXDD-20260606005)报价单.pdf', 'pdf', 'crm/contract/202606/06/35fc46a91b0e471180a2716c1edc2e1c.pdf', 531884, 'application/pdf', 'attachment', 0, 'minio', 'crm/contract', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 18:40:26', NULL, '2026-06-06 18:40:26', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('D7A90952C77141AA9F4895309B40AFED', 'shanxia2.0', NULL, NULL, 'e16cb5c2102746ebbecbfc71eaaf7ecd.jpeg', '3da59d5558511a753100fd845c1f2ba8.jpeg', 'jpeg', 'crm/customer/permit/202606/06/e16cb5c2102746ebbecbfc71eaaf7ecd.jpeg', 21893, 'image/jpeg', 'attachment', 0, 'minio', 'crm/customer/permit', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 16:14:52', NULL, '2026-06-06 16:14:52', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('D8E962CA0C7B4B5C9D9FA2542B583AA2', 'shanxia2.0', NULL, NULL, 'dc3b9a84120444ea81ddebca3d515aaa.png', 'Snipaste_2026-05-31_10-14-13.png', 'png', 'crm/contract/202606/02/dc3b9a84120444ea81ddebca3d515aaa.png', 208566, 'image/png', 'attachment', 0, 'minio', 'crm/contract', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-02 08:34:02', NULL, '2026-06-02 08:34:02', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DB524026B41B4D1E8891AAEEAC83B22A', 'shanxia2.0', 'crm_contract_attachment', NULL, 'f6920469a7f841fa917f7ea8c932bc18.png', 'Snipaste_2026-05-31_10-14-13.png', 'png', 'crm/contract/202606/02/f6920469a7f841fa917f7ea8c932bc18.png', 208566, 'image/png', 'attachment', 0, 'minio', 'crm/contract', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-02 08:45:33', NULL, '2026-06-02 08:45:33', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('E743F5D92F994E91929B9F4C08BDA874', 'shanxia2.0', NULL, NULL, '6555748c5bec485c87894a5cf61022ae.png', 'Snipaste_2026-05-31_10-14-13.png', 'png', 'crm/customer/permit/202605/31/6555748c5bec485c87894a5cf61022ae.png', 208566, 'image/png', 'attachment', 0, 'minio', 'crm/customer/permit', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-31 10:27:31', NULL, '2026-05-31 10:27:31', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('F54F79D94FF547BBB56E4A3A73C3E6DF', 'shanxia2.0', 'crm_contract_attachment', NULL, '4c9f5dd97bf4476fb42eaf1f7a585121.jpeg', '3da59d5558511a753100fd845c1f2ba8.jpeg', 'jpeg', 'crm/contract/202606/06/4c9f5dd97bf4476fb42eaf1f7a585121.jpeg', 21893, 'image/jpeg', 'attachment', 0, 'minio', 'crm/contract', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 18:29:15', NULL, '2026-06-06 18:29:15', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('F6B73A3C1487478789F77DACBE826D72', 'shanxia2.0', NULL, NULL, '3383fbfb5b6746bfa9ea97ee09596ed5.jpeg', '3da59d5558511a753100fd845c1f2ba8.jpeg', 'jpeg', 'crm/clue/follow/202606/06/3383fbfb5b6746bfa9ea97ee09596ed5.jpeg', 21893, 'image/jpeg', 'attachment', 0, 'minio', 'crm/clue/follow', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 14:51:50', NULL, '2026-06-06 14:51:50', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('F9A7465FEE3C42859190DB019597D985', 'shanxia2.0', NULL, NULL, 'a902ce45761344e4b28efc81febc06ec.jpeg', '3da59d5558511a753100fd845c1f2ba8.jpeg', 'jpeg', 'crm/clue/follow/202606/06/a902ce45761344e4b28efc81febc06ec.jpeg', 21893, 'image/jpeg', 'attachment', 0, 'minio', 'crm/clue/follow', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 13:33:28', NULL, '2026-06-06 13:33:28', 0);
|
||||
INSERT INTO `sys_oss` (`id`, `tenant_no`, `biz_type`, `biz_id`, `file_name`, `original_name`, `file_suffix`, `url`, `file_size`, `file_type`, `attach_type`, `sort_order`, `service`, `ext1`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('FBFFB66CAB98496E847C73E6BCCE9E94', 'shanxia2.0', NULL, NULL, '1bae853007fd47238308b2a6da5e0dc5.jpeg', '3da59d5558511a753100fd845c1f2ba8.jpeg', 'jpeg', 'crm/customer/cert/202606/06/1bae853007fd47238308b2a6da5e0dc5.jpeg', 21893, 'image/jpeg', 'attachment', 0, 'minio', 'crm/customer/cert', NULL, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 16:14:55', NULL, '2026-06-06 16:14:55', 0);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@@ -7333,6 +7818,54 @@ CREATE TABLE `sys_role_menu` (
|
||||
-- Records of sys_role_menu
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BXRM0000000000000000000000000001', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'BX00000000000000000000000000001', 'shanxia2.0', 10, 'bx P5 init', NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BXRM0000000000000000000000000002', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'BX00000000000000000000000000002', 'shanxia2.0', 1, 'bx P5 init', NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BXRM0000000000000000000000000003', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'BX00000000000000000000000000003', 'shanxia2.0', 1, 'bx P5 init', NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BXRM0000000000000000000000000004', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'BX00000000000000000000000000004', 'shanxia2.0', 2, 'bx P5 init', NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BXRM0000000000000000000000000005', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'BX00000000000000000000000000005', 'shanxia2.0', 3, 'bx P5 init', NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BXRM0000000000000000000000000006', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'BX00000000000000000000000000006', 'shanxia2.0', 2, 'bx P5 init', NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BXRM0000000000000000000000000007', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'BX00000000000000000000000000007', 'shanxia2.0', 1, 'bx P5 init', NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BXRM0000000000000000000000000008', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'BX00000000000000000000000000008', 'shanxia2.0', 2, 'bx P5 init', NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BXRM0000000000000000000000000009', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'BX00000000000000000000000000009', 'shanxia2.0', 3, 'bx P5 init', NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BXRM0000000000000000000000000010', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'BX00000000000000000000000000010', 'shanxia2.0', 3, 'bx P5 init', NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BXRM0000000000000000000000000011', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'BX00000000000000000000000000011', 'shanxia2.0', 1, 'bx P5 init', NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BXRM0000000000000000000000000012', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'BX00000000000000000000000000012', 'shanxia2.0', 2, 'bx P5 init', NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BXRM0000000000000000000000000013', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'BX00000000000000000000000000013', 'shanxia2.0', 3, 'bx P5 init', NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BXRM0000000000000000000000000014', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'BX00000000000000000000000000014', 'shanxia2.0', 4, 'bx P5 init', NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BXRM0000000000000000000000000015', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'BX00000000000000000000000000015', 'shanxia2.0', 1, 'bx P5 init', NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BXRM0000000000000000000000000016', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'BX00000000000000000000000000016', 'shanxia2.0', 2, 'bx P5 init', NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BXRM0000000000000000000000000017', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'BX00000000000000000000000000017', 'shanxia2.0', 3, 'bx P5 init', NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BXRM0000000000000000000000000018', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'BX10000000000000000000000000001', 'shanxia2.0', 1, 'bx P5 init', NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BXRM0000000000000000000000000019', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'BX10000000000000000000000000002', 'shanxia2.0', 2, 'bx P5 init', NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BXRM0000000000000000000000000020', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'BX10000000000000000000000000003', 'shanxia2.0', 3, 'bx P5 init', NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BXRM0000000000000000000000000021', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'BX10000000000000000000000000004', 'shanxia2.0', 1, 'bx P5 init', NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BXRM0000000000000000000000000022', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'BX10000000000000000000000000005', 'shanxia2.0', 1, 'bx P5 init', NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BXRM0000000000000000000000000023', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'BX10000000000000000000000000006', 'shanxia2.0', 1, 'bx P5 init', NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BXRM0000000000000000000000000024', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'BX10000000000000000000000000007', 'shanxia2.0', 1, 'bx P5 init', NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BXRM0000000000000000000000000025', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'BX10000000000000000000000000008', 'shanxia2.0', 1, 'bx P5 init', NULL, '', '2026-06-06 21:22:32', NULL, '2026-06-06 21:22:32', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DBRM0000000000000000000000000001', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'DB00000000000000000000000000001', 'shanxia2.0', 9, 'db P5 init', NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DBRM0000000000000000000000000002', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'DB00000000000000000000000000002', 'shanxia2.0', 1, 'db P5 init', NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DBRM0000000000000000000000000003', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'DB00000000000000000000000000003', 'shanxia2.0', 2, 'db P5 init', NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DBRM0000000000000000000000000004', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'DB00000000000000000000000000004', 'shanxia2.0', 3, 'db P5 init', NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DBRM0000000000000000000000000005', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'DB00000000000000000000000000005', 'shanxia2.0', 4, 'db P5 init', NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DBRM0000000000000000000000000006', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'DB00000000000000000000000000006', 'shanxia2.0', 5, 'db P5 init', NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DBRM0000000000000000000000000007', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'DB10000000000000000000000000001', 'shanxia2.0', 1, 'db P5 init', NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DBRM0000000000000000000000000008', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'DB10000000000000000000000000002', 'shanxia2.0', 2, 'db P5 init', NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DBRM0000000000000000000000000009', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'DB10000000000000000000000000003', 'shanxia2.0', 3, 'db P5 init', NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DBRM0000000000000000000000000010', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'DB10000000000000000000000000004', 'shanxia2.0', 4, 'db P5 init', NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DBRM0000000000000000000000000011', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'DB10000000000000000000000000005', 'shanxia2.0', 1, 'db P5 init', NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DBRM0000000000000000000000000012', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'DB10000000000000000000000000006', 'shanxia2.0', 2, 'db P5 init', NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DBRM0000000000000000000000000013', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'DB10000000000000000000000000007', 'shanxia2.0', 3, 'db P5 init', NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DBRM0000000000000000000000000014', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'DB10000000000000000000000000008', 'shanxia2.0', 4, 'db P5 init', NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DBRM0000000000000000000000000015', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'DB10000000000000000000000000009', 'shanxia2.0', 1, 'db P5 init', NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DBRM0000000000000000000000000016', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'DB10000000000000000000000000010', 'shanxia2.0', 2, 'db P5 init', NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DBRM0000000000000000000000000017', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'DB10000000000000000000000000011', 'shanxia2.0', 3, 'db P5 init', NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DBRM0000000000000000000000000018', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'DB10000000000000000000000000012', 'shanxia2.0', 4, 'db P5 init', NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DBRM0000000000000000000000000019', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'DB10000000000000000000000000013', 'shanxia2.0', 5, 'db P5 init', NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DBRM0000000000000000000000000020', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'DB10000000000000000000000000014', 'shanxia2.0', 1, 'db P5 init', NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DBRM0000000000000000000000000021', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'DB10000000000000000000000000015', 'shanxia2.0', 2, 'db P5 init', NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DBRM0000000000000000000000000022', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'DB10000000000000000000000000016', 'shanxia2.0', 3, 'db P5 init', NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
INSERT INTO `sys_role_menu` (`id`, `role_id`, `menu_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DBRM0000000000000000000000000023', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'DB10000000000000000000000000017', 'shanxia2.0', 4, 'db P5 init', NULL, '', '2026-06-07 10:00:00', NULL, '2026-06-07 10:00:00', 0);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@@ -7396,6 +7929,7 @@ CREATE TABLE `sys_user` (
|
||||
-- Records of sys_user
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `sys_user` (`id`, `dept_id`, `user_no`, `nick_name`, `email`, `phone_no`, `sex`, `avatar`, `password`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('BFB4CBEAB7054F48BDE82B55A985798C', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', 'ceshi1', '测试账号1', '99000@qq.com', '13099001221', '0', NULL, '$2b$12$RVpezE.7OcGf70jlthkG.eSbCgnY/LyCL8SxRGYEtvS1hMVWEo3QO', '1', 'shanxia2.0', 0, '123', 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 14:39:27', 'd3000000000000000000000000000001', '2026-06-06 14:39:27', 0);
|
||||
INSERT INTO `sys_user` (`id`, `dept_id`, `user_no`, `nick_name`, `email`, `phone_no`, `sex`, `avatar`, `password`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('d3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', 'admin', '系统管理员', 'admin@zkxw.local', '19115582687', '0', NULL, '$2b$12$L46r3OQL6UW0gTkA2V1xae/d1cgCsTZnUiQuXwbGSjMmCbKE7m2Su', '1', 'shanxia2.0', 1, '初始超级管理员', NULL, '', '2026-05-12 17:28:38', 'd3000000000000000000000000000001', '2026-05-30 18:23:59', 0);
|
||||
COMMIT;
|
||||
|
||||
@@ -7450,6 +7984,7 @@ CREATE TABLE `sys_user_role` (
|
||||
-- Records of sys_user_role
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `sys_user_role` (`id`, `user_id`, `role_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('87EF179985BC4FF0A79AB83541C0C349', 'BFB4CBEAB7054F48BDE82B55A985798C', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'shanxia2.0', 0, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-06 14:39:27', 'd3000000000000000000000000000001', '2026-06-06 14:39:27', 0);
|
||||
INSERT INTO `sys_user_role` (`id`, `user_id`, `role_id`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('DCDE49DD80FF493188AB321417E5CC35', 'd3000000000000000000000000000001', '097bd2c6-4e72-11f1-9f47-00163e3bdd96', 'shanxia2.0', 0, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-05-30 18:23:59', 'd3000000000000000000000000000001', '2026-05-30 18:23:59', 0);
|
||||
COMMIT;
|
||||
|
||||
|
||||
@@ -0,0 +1,445 @@
|
||||
/*
|
||||
Navicat Premium Dump SQL
|
||||
|
||||
Source Server : 47.99.164.66 hn02le.34lkdLKD
|
||||
Source Server Type : MySQL
|
||||
Source Server Version : 50736 (5.7.36)
|
||||
Source Host : 47.99.164.66:3306
|
||||
Source Schema : vehicle_management
|
||||
|
||||
Target Server Type : MySQL
|
||||
Target Server Version : 50736 (5.7.36)
|
||||
File Encoding : 65001
|
||||
|
||||
Date: 05/05/2026 10:14:43
|
||||
*/
|
||||
|
||||
SET NAMES utf8mb4;
|
||||
SET FOREIGN_KEY_CHECKS = 0;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for certificates
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `certificates`;
|
||||
CREATE TABLE `certificates` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`user_id` int(11) NOT NULL COMMENT '用户ID',
|
||||
`certificate_type` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '证件类型: driving_license(驾驶证), escort_license(押运证)等',
|
||||
`file_url` varchar(500) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '文件URL',
|
||||
`file_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '原文件名',
|
||||
`expiry_date` date DEFAULT NULL COMMENT '证件过期日期',
|
||||
`uploaded_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '上传时间',
|
||||
`is_deleted` tinyint(1) DEFAULT '0' COMMENT '是否删除: 0-正常, 1-删除',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `idx_user_id` (`user_id`),
|
||||
KEY `idx_certificates_expiry` (`expiry_date`),
|
||||
CONSTRAINT `certificates_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='证件表';
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of certificates
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `certificates` (`id`, `user_id`, `certificate_type`, `file_url`, `file_name`, `expiry_date`, `uploaded_at`, `is_deleted`) VALUES (5, 11, 'driving_license', 'http://localhost:8000/files/uploads/general/2026/01/15/7cbec2b6-6bef-4b57-90fc-b85460f99fd8.png', 'Snipaste_2025-12-27_16-03-25.png', '2026-01-21', '2026-01-15 16:50:44', 0);
|
||||
INSERT INTO `certificates` (`id`, `user_id`, `certificate_type`, `file_url`, `file_name`, `expiry_date`, `uploaded_at`, `is_deleted`) VALUES (6, 12, 'driving_license', 'http://121.43.228.102:9000/clgl/ed678c29-239d-46d4-a03b-75d1bbca6d1c.png', 'Snipaste_2025-12-27_16-03-21.png', '2026-02-04', '2026-01-15 17:05:56', 0);
|
||||
INSERT INTO `certificates` (`id`, `user_id`, `certificate_type`, `file_url`, `file_name`, `expiry_date`, `uploaded_at`, `is_deleted`) VALUES (7, 12, 'id_card', 'http://121.43.228.102:9000/clgl/4dbae2be-ab0b-43ca-b7f1-d9f1cdf9bbc1.png', 'Snipaste_2025-12-27_16-03-11.png', '2025-12-30', '2026-01-15 17:06:14', 1);
|
||||
INSERT INTO `certificates` (`id`, `user_id`, `certificate_type`, `file_url`, `file_name`, `expiry_date`, `uploaded_at`, `is_deleted`) VALUES (8, 12, 'escort_license', 'http://121.43.228.102:9000/clgl/6f20a27a-7399-47f3-aa23-5e30d74f507b.png', 'Snipaste_2025-12-27_16-03-06.png', '2026-01-14', '2026-01-15 17:10:05', 1);
|
||||
INSERT INTO `certificates` (`id`, `user_id`, `certificate_type`, `file_url`, `file_name`, `expiry_date`, `uploaded_at`, `is_deleted`) VALUES (9, 12, 'id_card', 'http://121.43.228.102:9000/clgl/736349d7-9443-4677-aacf-8ced1396c14c.png', 'Snipaste_2025-12-27_16-03-33.png', '2026-01-21', '2026-01-15 17:10:13', 0);
|
||||
INSERT INTO `certificates` (`id`, `user_id`, `certificate_type`, `file_url`, `file_name`, `expiry_date`, `uploaded_at`, `is_deleted`) VALUES (10, 12, 'id_card', 'http://121.43.228.102:9000/clgl/5e3203df-b0c3-45d5-a6b2-0a83c6ea7cda.png', 'Snipaste_2025-12-27_16-03-21.png', '2025-12-30', '2026-01-15 17:10:40', 0);
|
||||
INSERT INTO `certificates` (`id`, `user_id`, `certificate_type`, `file_url`, `file_name`, `expiry_date`, `uploaded_at`, `is_deleted`) VALUES (11, 12, 'qualification_certificate', 'http://121.43.228.102:9000/clgl/3b3bf250-62ab-42b9-920e-79401538ead2.png', 'Snipaste_2025-12-27_16-03-17.png', '2025-12-30', '2026-01-15 17:10:47', 0);
|
||||
INSERT INTO `certificates` (`id`, `user_id`, `certificate_type`, `file_url`, `file_name`, `expiry_date`, `uploaded_at`, `is_deleted`) VALUES (12, 12, 'escort_license', 'http://121.43.228.102:9000/clgl/bb416d90-8ce1-43bb-841d-ff86bb192190.png', 'Snipaste_2025-12-27_16-03-21.png', '2026-01-14', '2026-01-15 17:10:56', 0);
|
||||
INSERT INTO `certificates` (`id`, `user_id`, `certificate_type`, `file_url`, `file_name`, `expiry_date`, `uploaded_at`, `is_deleted`) VALUES (13, 9, 'driving_license', 'http://121.43.228.102:9000/clgl/ac003234-a437-4a18-92cf-5260ac71ec07.png', 'Snipaste_2025-12-27_16-03-33.png', '2026-01-14', '2026-01-15 22:53:09', 0);
|
||||
INSERT INTO `certificates` (`id`, `user_id`, `certificate_type`, `file_url`, `file_name`, `expiry_date`, `uploaded_at`, `is_deleted`) VALUES (14, 10, 'escort_license', 'http://121.43.228.102:9000/clgl/4907c641-d10e-4016-a517-65d1824df918.png', 'Snipaste_2025-12-27_16-03-21.png', '2025-12-31', '2026-01-15 22:53:21', 0);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for manufacturers
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `manufacturers`;
|
||||
CREATE TABLE `manufacturers` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '厂商名称',
|
||||
`safety_notice` text COLLATE utf8mb4_unicode_ci COMMENT '厂商安全须知',
|
||||
`address` varchar(500) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '厂商地址',
|
||||
`is_active` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否启用',
|
||||
`created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||
`updated_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
||||
`is_deleted` tinyint(1) DEFAULT '0' COMMENT '是否删除: 0-正常, 1-删除',
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `name` (`name`),
|
||||
KEY `idx_name` (`name`),
|
||||
KEY `idx_is_active` (`is_active`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='厂商表';
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of manufacturers
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `manufacturers` (`id`, `name`, `safety_notice`, `address`, `is_active`, `created_at`, `updated_at`, `is_deleted`) VALUES (1, '山峡水泥厂', '注意安全,戴好安全帽,禁止在装卸区吸烟', '山峡市工业区A区', 1, '2026-01-13 07:14:49', '2026-01-13 07:14:49', 0);
|
||||
INSERT INTO `manufacturers` (`id`, `name`, `safety_notice`, `address`, `is_active`, `created_at`, `updated_at`, `is_deleted`) VALUES (2, '山峡钢材厂', '注意防火,禁止明火,穿戴好防护装备', '山峡市工业区B区', 1, '2026-01-13 07:14:49', '2026-01-13 07:14:49', 0);
|
||||
INSERT INTO `manufacturers` (`id`, `name`, `safety_notice`, `address`, `is_active`, `created_at`, `updated_at`, `is_deleted`) VALUES (3, '山峡物流中心', '注意交通安全,服从指挥', '山峡市物流园区', 1, '2026-01-13 07:14:49', '2026-01-13 07:14:49', 0);
|
||||
INSERT INTO `manufacturers` (`id`, `name`, `safety_notice`, `address`, `is_active`, `created_at`, `updated_at`, `is_deleted`) VALUES (4, 'a s d f da s', '<h1><span style=\"color: rgb(225, 60, 57);\">123123123123123123213</span></h1><p><br></p><p>1额啊范德萨范德萨</p>', '啊是否撒点发三顿饭撒的范德萨发撒点饭撒的饭都是法师123123123123', 1, '2026-01-16 00:20:08', '2026-01-16 00:20:24', 1);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for plan_photos
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `plan_photos`;
|
||||
CREATE TABLE `plan_photos` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`plan_id` int(11) NOT NULL COMMENT '计划ID',
|
||||
`photo_type` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '照片类型: loading_arrival(装货到场), loading_departure(装货离场), unloading_arrival(卸货到场), unloading_departure(卸货离场), waybill(运单)',
|
||||
`file_url` varchar(500) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '文件URL',
|
||||
`file_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '原文件名',
|
||||
`uploaded_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '上传时间',
|
||||
`is_deleted` tinyint(1) DEFAULT '0' COMMENT '是否删除: 0-正常, 1-删除',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `idx_plan_id` (`plan_id`),
|
||||
CONSTRAINT `plan_photos_ibfk_1` FOREIGN KEY (`plan_id`) REFERENCES `vehicle_plans` (`id`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='计划照片表';
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of plan_photos
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for products
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `products`;
|
||||
CREATE TABLE `products` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '商品名称',
|
||||
`specification` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '商品规格',
|
||||
`is_active` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否启用',
|
||||
`created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||
`updated_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
||||
`is_deleted` tinyint(1) DEFAULT '0' COMMENT '是否删除: 0-正常, 1-删除',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `idx_name` (`name`),
|
||||
KEY `idx_is_active` (`is_active`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='商品表';
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of products
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `products` (`id`, `name`, `specification`, `is_active`, `created_at`, `updated_at`, `is_deleted`) VALUES (1, '水泥', '425号普通硅酸盐水泥', 1, '2026-01-13 07:14:49', '2026-01-13 07:14:49', 0);
|
||||
INSERT INTO `products` (`id`, `name`, `specification`, `is_active`, `created_at`, `updated_at`, `is_deleted`) VALUES (2, '钢筋', '直径12mm HRB400钢筋', 1, '2026-01-13 07:14:49', '2026-01-13 07:14:49', 0);
|
||||
INSERT INTO `products` (`id`, `name`, `specification`, `is_active`, `created_at`, `updated_at`, `is_deleted`) VALUES (3, '砂石', '中砂(细度模数2.3-1.6)', 1, '2026-01-13 07:14:49', '2026-01-13 07:14:49', 0);
|
||||
INSERT INTO `products` (`id`, `name`, `specification`, `is_active`, `created_at`, `updated_at`, `is_deleted`) VALUES (4, '混凝土', 'C30商品混凝土', 1, '2026-01-13 07:14:49', '2026-01-16 00:33:18', 1);
|
||||
INSERT INTO `products` (`id`, `name`, `specification`, `is_active`, `created_at`, `updated_at`, `is_deleted`) VALUES (5, '12344', '12344', 0, '2026-01-16 00:36:27', '2026-01-16 00:36:34', 1);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for schema_version
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `schema_version`;
|
||||
CREATE TABLE `schema_version` (
|
||||
`version` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '数据库版本',
|
||||
`description` text COLLATE utf8mb4_unicode_ci COMMENT '版本描述',
|
||||
`applied_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '应用时间',
|
||||
PRIMARY KEY (`version`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of schema_version
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `schema_version` (`version`, `description`, `applied_at`) VALUES ('2.0.0', '添加证件过期时间管理功能,完善车辆证件分类系统', '2026-01-13 07:14:49');
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for users
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `users`;
|
||||
CREATE TABLE `users` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`username` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '登录工号',
|
||||
`password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '密码',
|
||||
`role` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'operator' COMMENT '角色: operator(操作员), admin(管理员), driver(司机), escort(押运员)',
|
||||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '姓名',
|
||||
`phone` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '手机号码(司机、押运员必填)',
|
||||
`id_card` varchar(18) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '身份证号(司机、押运员必填)',
|
||||
`is_active` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否启用',
|
||||
`created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||
`updated_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
||||
`is_deleted` tinyint(1) DEFAULT '0' COMMENT '是否删除: 0-正常, 1-删除',
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `username` (`username`),
|
||||
KEY `idx_username` (`username`),
|
||||
KEY `idx_role` (`role`),
|
||||
KEY `idx_is_active` (`is_active`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='用户表';
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of users
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `users` (`id`, `username`, `password`, `role`, `name`, `phone`, `id_card`, `is_active`, `created_at`, `updated_at`, `is_deleted`) VALUES (1, 'admin', 'admin123', 'admin', '系统管理员', NULL, NULL, 1, '2026-01-13 07:14:49', '2026-01-13 07:14:49', 0);
|
||||
INSERT INTO `users` (`id`, `username`, `password`, `role`, `name`, `phone`, `id_card`, `is_active`, `created_at`, `updated_at`, `is_deleted`) VALUES (2, 'testuser1768458386083', '123456', 'operator', '测试用户', NULL, NULL, 1, '2026-01-15 14:26:26', '2026-01-15 14:26:26', 0);
|
||||
INSERT INTO `users` (`id`, `username`, `password`, `role`, `name`, `phone`, `id_card`, `is_active`, `created_at`, `updated_at`, `is_deleted`) VALUES (3, 'testuser1768458429763', '123456', 'operator', '测试用户', NULL, NULL, 1, '2026-01-15 14:27:09', '2026-01-15 14:27:09', 0);
|
||||
INSERT INTO `users` (`id`, `username`, `password`, `role`, `name`, `phone`, `id_card`, `is_active`, `created_at`, `updated_at`, `is_deleted`) VALUES (7, 'test422', '123456', 'operator', '测试422', '13877711221', NULL, 1, '2026-01-15 14:37:18', '2026-01-15 14:37:18', 0);
|
||||
INSERT INTO `users` (`id`, `username`, `password`, `role`, `name`, `phone`, `id_card`, `is_active`, `created_at`, `updated_at`, `is_deleted`) VALUES (8, 'czy03', '123456', 'operator', '操作员03', '13899001122', NULL, 1, '2026-01-15 14:39:18', '2026-01-15 14:39:18', 0);
|
||||
INSERT INTO `users` (`id`, `username`, `password`, `role`, `name`, `phone`, `id_card`, `is_active`, `created_at`, `updated_at`, `is_deleted`) VALUES (9, '1231', '123456', 'escort', '王五', '13899112232', '340822198111221122', 1, '2026-01-15 14:43:18', '2026-01-15 19:01:50', 0);
|
||||
INSERT INTO `users` (`id`, `username`, `password`, `role`, `name`, `phone`, `id_card`, `is_active`, `created_at`, `updated_at`, `is_deleted`) VALUES (10, '3', '123456', 'driver', 'lisan', '13877112211', '340822198811223344', 1, '2026-01-15 14:43:41', '2026-01-15 15:09:56', 0);
|
||||
INSERT INTO `users` (`id`, `username`, `password`, `role`, `name`, `phone`, `id_card`, `is_active`, `created_at`, `updated_at`, `is_deleted`) VALUES (11, '4', '123456', 'operator', '4', '13511223311', NULL, 1, '2026-01-15 14:49:14', '2026-01-15 14:49:14', 0);
|
||||
INSERT INTO `users` (`id`, `username`, `password`, `role`, `name`, `phone`, `id_card`, `is_active`, `created_at`, `updated_at`, `is_deleted`) VALUES (12, '5', '123456', 'operator', '5', '13611332211', NULL, 0, '2026-01-15 14:49:23', '2026-01-15 17:19:18', 0);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for vehicle_certificates
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `vehicle_certificates`;
|
||||
CREATE TABLE `vehicle_certificates` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`vehicle_id` int(11) NOT NULL COMMENT '车辆ID',
|
||||
`certificate_category` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '证件类别: license(车牌), registration(行驶证), transport(运输证), insurance(保险), inspection(罐检)',
|
||||
`vehicle_part` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '车辆部位: head(车头), tail(车尾), tank(罐体)',
|
||||
`file_url` varchar(500) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '文件URL',
|
||||
`file_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '原文件名',
|
||||
`expiry_date` date DEFAULT NULL COMMENT '证件过期日期',
|
||||
`uploaded_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '上传时间',
|
||||
`is_deleted` tinyint(1) DEFAULT '0' COMMENT '是否删除: 0-正常, 1-删除',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `idx_vehicle_id` (`vehicle_id`),
|
||||
KEY `idx_vehicle_certificates_expiry` (`expiry_date`),
|
||||
KEY `idx_vehicle_certificates_part_category` (`vehicle_part`,`certificate_category`),
|
||||
CONSTRAINT `vehicle_certificates_ibfk_1` FOREIGN KEY (`vehicle_id`) REFERENCES `vehicles` (`id`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='车辆证件表';
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of vehicle_certificates
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `vehicle_certificates` (`id`, `vehicle_id`, `certificate_category`, `vehicle_part`, `file_url`, `file_name`, `expiry_date`, `uploaded_at`, `is_deleted`) VALUES (1, 1, 'license', 'head', 'http://121.43.228.102:9000/clgl/77ccdee8-1e0e-47fc-a34f-d9d06574a335.png', 'Snipaste_2025-12-27_16-03-25.png', '2026-01-13', '2026-01-15 20:00:52', 1);
|
||||
INSERT INTO `vehicle_certificates` (`id`, `vehicle_id`, `certificate_category`, `vehicle_part`, `file_url`, `file_name`, `expiry_date`, `uploaded_at`, `is_deleted`) VALUES (2, 1, 'registration', 'head', 'http://example.com/test.pdf', 'test.pdf', '2025-12-31', '2026-01-15 20:01:02', 1);
|
||||
INSERT INTO `vehicle_certificates` (`id`, `vehicle_id`, `certificate_category`, `vehicle_part`, `file_url`, `file_name`, `expiry_date`, `uploaded_at`, `is_deleted`) VALUES (3, 1, 'registration', 'head', 'http://121.43.228.102:9000/clgl/40194dc8-62f9-49eb-9e13-b5a7fefb9ed0.png', 'Snipaste_2025-12-27_16-03-25.png', '2026-01-21', '2026-01-15 20:28:36', 0);
|
||||
INSERT INTO `vehicle_certificates` (`id`, `vehicle_id`, `certificate_category`, `vehicle_part`, `file_url`, `file_name`, `expiry_date`, `uploaded_at`, `is_deleted`) VALUES (4, 1, 'inspection', 'head', 'http://121.43.228.102:9000/clgl/56f3c3a2-355f-4ffb-b59a-63db99d82ad3.png', 'Snipaste_2025-12-27_16-03-21.png', '2026-01-06', '2026-01-15 20:32:47', 1);
|
||||
INSERT INTO `vehicle_certificates` (`id`, `vehicle_id`, `certificate_category`, `vehicle_part`, `file_url`, `file_name`, `expiry_date`, `uploaded_at`, `is_deleted`) VALUES (5, 1, 'insurance', 'head', 'http://121.43.228.102:9000/clgl/350bad8b-ce21-42f4-913c-b279a0347f92.png', 'Snipaste_2025-12-27_16-03-33.png', '2025-12-30', '2026-01-15 20:33:01', 1);
|
||||
INSERT INTO `vehicle_certificates` (`id`, `vehicle_id`, `certificate_category`, `vehicle_part`, `file_url`, `file_name`, `expiry_date`, `uploaded_at`, `is_deleted`) VALUES (6, 1, 'registration', 'head', 'http://121.43.228.102:9000/clgl/b799d8e6-8b94-439a-8402-1fc11016b90e.png', 'Snipaste_2025-12-27_16-03-25.png', '2025-12-30', '2026-01-15 20:52:21', 1);
|
||||
INSERT INTO `vehicle_certificates` (`id`, `vehicle_id`, `certificate_category`, `vehicle_part`, `file_url`, `file_name`, `expiry_date`, `uploaded_at`, `is_deleted`) VALUES (7, 1, 'transport', 'tail', 'http://121.43.228.102:9000/clgl/86b2b5f4-938f-4bac-9621-eebcc5522b08.png', 'Snipaste_2025-12-27_16-03-25.png', '2026-01-28', '2026-01-15 21:28:56', 0);
|
||||
INSERT INTO `vehicle_certificates` (`id`, `vehicle_id`, `certificate_category`, `vehicle_part`, `file_url`, `file_name`, `expiry_date`, `uploaded_at`, `is_deleted`) VALUES (8, 1, 'registration', 'tail', 'http://121.43.228.102:9000/clgl/9468380e-9f5d-44a3-ba22-b5805570e8bc.png', 'Snipaste_2025-12-27_16-03-17.png', '2026-01-07', '2026-01-15 21:29:10', 0);
|
||||
INSERT INTO `vehicle_certificates` (`id`, `vehicle_id`, `certificate_category`, `vehicle_part`, `file_url`, `file_name`, `expiry_date`, `uploaded_at`, `is_deleted`) VALUES (9, 1, 'license', 'tail', 'http://121.43.228.102:9000/clgl/b17330dc-1c32-4408-8f2d-bbcae00a3046.jpg', 'avatar.jpg', '2026-01-22', '2026-01-15 21:29:21', 0);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for vehicle_heads
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `vehicle_heads`;
|
||||
CREATE TABLE `vehicle_heads` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`plate_number` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`is_active` tinyint(1) DEFAULT '1',
|
||||
`is_deleted` tinyint(1) DEFAULT '0',
|
||||
`created_at` datetime DEFAULT CURRENT_TIMESTAMP,
|
||||
`updated_at` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
`category` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT 'owned' COMMENT '车辆分类: owned(自有车辆), other(其他车辆)',
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `plate_number` (`plate_number`),
|
||||
KEY `idx_plate_number` (`plate_number`),
|
||||
KEY `idx_is_active` (`is_active`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='车头表';
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of vehicle_heads
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `vehicle_heads` (`id`, `plate_number`, `is_active`, `is_deleted`, `created_at`, `updated_at`, `category`) VALUES (1, '皖P13231', 1, 0, '2026-01-15 19:18:40', '2026-01-15 19:18:40', 'owned');
|
||||
INSERT INTO `vehicle_heads` (`id`, `plate_number`, `is_active`, `is_deleted`, `created_at`, `updated_at`, `category`) VALUES (2, '皖D13223', 1, 1, '2026-01-15 21:16:13', '2026-01-15 21:30:24', 'owned');
|
||||
INSERT INTO `vehicle_heads` (`id`, `plate_number`, `is_active`, `is_deleted`, `created_at`, `updated_at`, `category`) VALUES (3, '皖S12222', 1, 0, '2026-01-15 22:28:32', '2026-01-15 22:28:32', 'owned');
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for vehicle_plans
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `vehicle_plans`;
|
||||
CREATE TABLE `vehicle_plans` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`plan_date` date NOT NULL COMMENT '计划日期',
|
||||
`start_time` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '开始时间 (HH:MM格式)',
|
||||
`end_time` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '结束时间 (HH:MM格式)',
|
||||
`customer_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '客户名称',
|
||||
`product_id` int(11) NOT NULL COMMENT '商品ID',
|
||||
`quantity` float NOT NULL COMMENT '数量',
|
||||
`unit` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '单位',
|
||||
`loading_manufacturer_id` int(11) NOT NULL COMMENT '装货厂商ID',
|
||||
`unloading_manufacturer_id` int(11) NOT NULL COMMENT '卸货厂商ID',
|
||||
`vehicle_id` int(11) NOT NULL COMMENT '车辆ID',
|
||||
`driver_id` int(11) NOT NULL COMMENT '司机ID',
|
||||
`escort_id` int(11) NOT NULL COMMENT '押运员ID',
|
||||
`loading_arrival_time` datetime DEFAULT NULL COMMENT '装货到场时间',
|
||||
`loading_departure_time` datetime DEFAULT NULL COMMENT '装货离场时间',
|
||||
`unloading_arrival_time` datetime DEFAULT NULL COMMENT '卸货到场时间',
|
||||
`unloading_departure_time` datetime DEFAULT NULL COMMENT '卸货离场时间',
|
||||
`status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending' COMMENT '状态: pending(待开始), loading(装货中), unloading(卸货中), completed(已完成)',
|
||||
`created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||
`updated_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
||||
`is_deleted` tinyint(1) DEFAULT '0' COMMENT '是否删除: 0-正常, 1-删除',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `idx_plan_date` (`plan_date`),
|
||||
KEY `idx_status` (`status`),
|
||||
KEY `idx_driver_id` (`driver_id`),
|
||||
KEY `idx_escort_id` (`escort_id`),
|
||||
KEY `product_id` (`product_id`),
|
||||
KEY `loading_manufacturer_id` (`loading_manufacturer_id`),
|
||||
KEY `unloading_manufacturer_id` (`unloading_manufacturer_id`),
|
||||
KEY `vehicle_id` (`vehicle_id`),
|
||||
KEY `idx_vehicle_plans_date_status` (`plan_date`,`status`),
|
||||
KEY `idx_vehicle_plans_driver_escort` (`driver_id`,`escort_id`),
|
||||
CONSTRAINT `vehicle_plans_ibfk_1` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`),
|
||||
CONSTRAINT `vehicle_plans_ibfk_2` FOREIGN KEY (`loading_manufacturer_id`) REFERENCES `manufacturers` (`id`),
|
||||
CONSTRAINT `vehicle_plans_ibfk_3` FOREIGN KEY (`unloading_manufacturer_id`) REFERENCES `manufacturers` (`id`),
|
||||
CONSTRAINT `vehicle_plans_ibfk_4` FOREIGN KEY (`vehicle_id`) REFERENCES `vehicles` (`id`),
|
||||
CONSTRAINT `vehicle_plans_ibfk_5` FOREIGN KEY (`driver_id`) REFERENCES `users` (`id`),
|
||||
CONSTRAINT `vehicle_plans_ibfk_6` FOREIGN KEY (`escort_id`) REFERENCES `users` (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='车辆计划表';
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of vehicle_plans
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for vehicle_tails
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `vehicle_tails`;
|
||||
CREATE TABLE `vehicle_tails` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`plate_number` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`is_active` tinyint(1) DEFAULT '1',
|
||||
`is_deleted` tinyint(1) DEFAULT '0',
|
||||
`created_at` datetime DEFAULT CURRENT_TIMESTAMP,
|
||||
`updated_at` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
`category` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT 'owned' COMMENT '车辆分类: owned(自有车辆), other(其他车辆)',
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `plate_number` (`plate_number`),
|
||||
KEY `idx_plate_number` (`plate_number`),
|
||||
KEY `idx_is_active` (`is_active`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='车尾表';
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of vehicle_tails
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `vehicle_tails` (`id`, `plate_number`, `is_active`, `is_deleted`, `created_at`, `updated_at`, `category`) VALUES (1, '皖A09871', 0, 0, '2026-01-15 19:18:41', '2026-01-15 21:29:50', 'owned');
|
||||
INSERT INTO `vehicle_tails` (`id`, `plate_number`, `is_active`, `is_deleted`, `created_at`, `updated_at`, `category`) VALUES (2, '皖A12333', 1, 0, '2026-01-15 22:28:39', '2026-01-15 22:28:39', 'owned');
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for vehicles
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `vehicles`;
|
||||
CREATE TABLE `vehicles` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`category` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '分类: owned(自有车辆), other(其他车辆)',
|
||||
`head_id` int(11) DEFAULT NULL,
|
||||
`tail_id` int(11) DEFAULT NULL,
|
||||
`default_driver_id` int(11) DEFAULT NULL COMMENT '默认司机ID',
|
||||
`default_escort_id` int(11) DEFAULT NULL COMMENT '默认押运员ID',
|
||||
`is_active` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否启用',
|
||||
`created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||
`updated_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
||||
`is_deleted` tinyint(1) DEFAULT '0' COMMENT '是否删除: 0-正常, 1-删除',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `idx_category` (`category`),
|
||||
KEY `idx_is_active` (`is_active`),
|
||||
KEY `default_driver_id` (`default_driver_id`),
|
||||
KEY `default_escort_id` (`default_escort_id`),
|
||||
KEY `fk_vehicle_head` (`head_id`),
|
||||
KEY `fk_vehicle_tail` (`tail_id`),
|
||||
CONSTRAINT `fk_vehicle_head` FOREIGN KEY (`head_id`) REFERENCES `vehicle_heads` (`id`),
|
||||
CONSTRAINT `fk_vehicle_tail` FOREIGN KEY (`tail_id`) REFERENCES `vehicle_tails` (`id`) ON DELETE SET NULL,
|
||||
CONSTRAINT `vehicles_ibfk_1` FOREIGN KEY (`default_driver_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||||
CONSTRAINT `vehicles_ibfk_2` FOREIGN KEY (`default_escort_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='车辆表';
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of vehicles
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `vehicles` (`id`, `category`, `head_id`, `tail_id`, `default_driver_id`, `default_escort_id`, `is_active`, `created_at`, `updated_at`, `is_deleted`) VALUES (1, 'owned', 1, 1, 10, 9, 1, '2026-01-15 19:02:06', '2026-01-15 22:35:59', 1);
|
||||
INSERT INTO `vehicles` (`id`, `category`, `head_id`, `tail_id`, `default_driver_id`, `default_escort_id`, `is_active`, `created_at`, `updated_at`, `is_deleted`) VALUES (2, 'other', 1, 1, 10, 9, 1, '2026-01-15 22:28:10', '2026-01-15 22:43:35', 0);
|
||||
INSERT INTO `vehicles` (`id`, `category`, `head_id`, `tail_id`, `default_driver_id`, `default_escort_id`, `is_active`, `created_at`, `updated_at`, `is_deleted`) VALUES (3, 'owned', 3, 2, 10, 9, 0, '2026-01-15 22:29:18', '2026-01-15 23:45:59', 0);
|
||||
INSERT INTO `vehicles` (`id`, `category`, `head_id`, `tail_id`, `default_driver_id`, `default_escort_id`, `is_active`, `created_at`, `updated_at`, `is_deleted`) VALUES (4, 'owned', 1, 2, 10, 9, 1, '2026-01-15 22:33:46', '2026-01-15 22:33:46', 0);
|
||||
INSERT INTO `vehicles` (`id`, `category`, `head_id`, `tail_id`, `default_driver_id`, `default_escort_id`, `is_active`, `created_at`, `updated_at`, `is_deleted`) VALUES (5, 'owned', 1, 2, 10, 9, 1, '2026-01-15 22:33:58', '2026-01-15 22:33:58', 0);
|
||||
INSERT INTO `vehicles` (`id`, `category`, `head_id`, `tail_id`, `default_driver_id`, `default_escort_id`, `is_active`, `created_at`, `updated_at`, `is_deleted`) VALUES (6, 'owned', 1, 2, 10, 9, 1, '2026-01-15 22:35:36', '2026-01-15 22:35:36', 0);
|
||||
INSERT INTO `vehicles` (`id`, `category`, `head_id`, `tail_id`, `default_driver_id`, `default_escort_id`, `is_active`, `created_at`, `updated_at`, `is_deleted`) VALUES (7, 'owned', 1, 2, 10, 9, 1, '2026-01-15 22:35:54', '2026-01-15 22:35:54', 0);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Triggers structure for table manufacturers
|
||||
-- ----------------------------
|
||||
DROP TRIGGER IF EXISTS `update_manufacturers_timestamp`;
|
||||
delimiter ;;
|
||||
CREATE TRIGGER `vehicle_management`.`update_manufacturers_timestamp` BEFORE UPDATE ON `manufacturers` FOR EACH ROW BEGIN
|
||||
SET NEW.updated_at = CURRENT_TIMESTAMP;
|
||||
END
|
||||
;;
|
||||
delimiter ;
|
||||
|
||||
-- ----------------------------
|
||||
-- Triggers structure for table products
|
||||
-- ----------------------------
|
||||
DROP TRIGGER IF EXISTS `update_products_timestamp`;
|
||||
delimiter ;;
|
||||
CREATE TRIGGER `vehicle_management`.`update_products_timestamp` BEFORE UPDATE ON `products` FOR EACH ROW BEGIN
|
||||
SET NEW.updated_at = CURRENT_TIMESTAMP;
|
||||
END
|
||||
;;
|
||||
delimiter ;
|
||||
|
||||
-- ----------------------------
|
||||
-- Triggers structure for table users
|
||||
-- ----------------------------
|
||||
DROP TRIGGER IF EXISTS `update_users_timestamp`;
|
||||
delimiter ;;
|
||||
CREATE TRIGGER `vehicle_management`.`update_users_timestamp` BEFORE UPDATE ON `users` FOR EACH ROW BEGIN
|
||||
SET NEW.updated_at = CURRENT_TIMESTAMP;
|
||||
END
|
||||
;;
|
||||
delimiter ;
|
||||
|
||||
-- ----------------------------
|
||||
-- Triggers structure for table vehicle_heads
|
||||
-- ----------------------------
|
||||
DROP TRIGGER IF EXISTS `update_vehicle_heads_timestamp`;
|
||||
delimiter ;;
|
||||
CREATE TRIGGER `vehicle_management`.`update_vehicle_heads_timestamp` BEFORE UPDATE ON `vehicle_heads` FOR EACH ROW SET NEW.updated_at = CURRENT_TIMESTAMP
|
||||
;;
|
||||
delimiter ;
|
||||
|
||||
-- ----------------------------
|
||||
-- Triggers structure for table vehicle_plans
|
||||
-- ----------------------------
|
||||
DROP TRIGGER IF EXISTS `update_vehicle_plans_timestamp`;
|
||||
delimiter ;;
|
||||
CREATE TRIGGER `vehicle_management`.`update_vehicle_plans_timestamp` BEFORE UPDATE ON `vehicle_plans` FOR EACH ROW BEGIN
|
||||
SET NEW.updated_at = CURRENT_TIMESTAMP;
|
||||
END
|
||||
;;
|
||||
delimiter ;
|
||||
|
||||
-- ----------------------------
|
||||
-- Triggers structure for table vehicle_tails
|
||||
-- ----------------------------
|
||||
DROP TRIGGER IF EXISTS `update_vehicle_tails_timestamp`;
|
||||
delimiter ;;
|
||||
CREATE TRIGGER `vehicle_management`.`update_vehicle_tails_timestamp` BEFORE UPDATE ON `vehicle_tails` FOR EACH ROW SET NEW.updated_at = CURRENT_TIMESTAMP
|
||||
;;
|
||||
delimiter ;
|
||||
|
||||
-- ----------------------------
|
||||
-- Triggers structure for table vehicles
|
||||
-- ----------------------------
|
||||
DROP TRIGGER IF EXISTS `update_vehicles_timestamp`;
|
||||
delimiter ;;
|
||||
CREATE TRIGGER `vehicle_management`.`update_vehicles_timestamp` BEFORE UPDATE ON `vehicles` FOR EACH ROW BEGIN
|
||||
SET NEW.updated_at = CURRENT_TIMESTAMP;
|
||||
END
|
||||
;;
|
||||
delimiter ;
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
Reference in new issue
Block a user