赞
踩
目录
功 能 太 复 杂
目前主流ERP厂商提供的系统较复杂、笨 重 ,企业迫切需要轻量化、贴合企业实 际需求的信息系统
实 施 成 本 高
当前国内以中小型企业为主 ,如何以高 性价比帮助企业提高效率 ,加速向智造转变
全 链 路 不 通
当前沉淀大量客户资源 ,协同客户实现上下游供应链闭环 ,达成双赢局面
- SaaS云端部署,租户模式
- 灵活的审批流程配置
- 支持个性化配置内容
- 预 置对 外 接 口:预置头部企业对接接口设计
- 预 置生 产 监 控:为头部企业提供查看订单 生产进度
公有云部署: 企业注册即使用,无额外的操作
私有化部署: 所有数据均在企业内部,用户自备云服务器或我方代处理
定 制 化 服 务:为了更好的实现企业业务流,本系统支持定制
金 牌顾问:专业的ERP开发 、 实施团队, 深 耕行业二十余年, 为您提供高效 可靠的服务
- -- ----------------------------
- -- Table structure for erp_customer
- -- ----------------------------
- DROP TABLE IF EXISTS `erp_customer`;
- CREATE TABLE `erp_customer` (
- `id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'ID主键',
- `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '编号',
- `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '名称',
- `category_id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '客户类别ID',
- `level` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '10' COMMENT '客户等级ID',
- `balance_time` timestamp NULL DEFAULT NULL COMMENT '余额日期',
- `begin_receivable_amount` decimal(20, 2) NULL DEFAULT NULL COMMENT '期初应收款',
- `begin_prepaid_amount` decimal(20, 2) NULL DEFAULT NULL COMMENT '期初预收款',
- `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
- `active` bit(1) NULL DEFAULT b'1' COMMENT '是否启用',
- `created_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
- `updated_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
- `tenant_id` int NULL DEFAULT NULL COMMENT '租户id',
- PRIMARY KEY (`id`) USING BTREE
- ) EN
- -- ----------------------------
- -- Table structure for erp_customer
- -- ----------------------------
- DROP TABLE IF EXISTS `erp_customer`;
- CREATE TABLE `erp_customer` (
- `id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'ID主键',
- `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '编号',
- `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '名称',
- `category_id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '客户类别ID',
- `level` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '10' COMMENT '客户等级ID',
- `balance_time` timestamp NULL DEFAULT NULL COMMENT '余额日期',
- `begin_receivable_amount` decimal(20, 2) NULL DEFAULT NULL COMMENT '期初应收款',
- `begin_prepaid_amount` decimal(20, 2) NULL DEFAULT NULL COMMENT '期初预收款',
- `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
- `active` bit(1) NULL DEFAULT b'1' COMMENT '是否启用',
- `created_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
- `updated_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
- `tenant_id` int NULL DEFAULT NULL COMMENT '租户id',
- PRIMARY KEY (`id`) USING BTREE
- ) EN
- -- ----------------------------
- -- Table structure for erp_finance_invoice
- -- ----------------------------
- DROP TABLE IF EXISTS `erp_finance_invoice`;
- CREATE TABLE `erp_finance_invoice` (
- `id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '主键ID',
- `type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '' COMMENT '发票类型(income:进项,cancellation:销项)',
- `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '' COMMENT '单据编号',
- `business_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '' COMMENT '供应商/客户ID',
- `business_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '' COMMENT '供应商/客户名称',
- `invoice_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '' COMMENT '发票类型',
- `invoice_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '' COMMENT '发票时间',
- `invoice_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '' COMMENT '发票抬头',
- `invoice_tax_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '' COMMENT '纳税人识别号',
- `invoice_phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '' COMMENT '注册电话',
- `invoice_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '' COMMENT '注册地址',
- `invoice_bank` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '' COMMENT '开户银行',
- `invoice_bank_account` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '' COMMENT '开户账号',
- `invoice_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '' COMMENT '发票代码',
- `invoice_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '' COMMENT '发票号码',
- `invoice_amount` decimal(20, 2) NULL DEFAULT 0.00 COMMENT '发票金额',
- `remarks` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '' COMMENT '备注',
- `file` text CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL COMMENT '附件',
- `state` int NULL DEFAULT 0 COMMENT '状态(0:否,1:是)',
- `examine_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '审核时间',
- `examine_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '操作人ID',
- `examine_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '操作人名称',
- `created_time` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
- `updated_time` datetime NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
- `tenant_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '' COMMENT '租户ID',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '财务发票管理' ROW_FORMAT = Dynamic;
- -- ----------------------------
- -- Table structure for erp_customer_contact
- -- ----------------------------
- DROP TABLE IF EXISTS `erp_customer_contact`;
- CREATE TABLE `erp_customer_contact` (
- `id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'ID主键',
- `customer_id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '客户ID',
- `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '联系人',
- `mobile` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '手机号',
- `phone` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '座机',
- `position` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '职位',
- `qq` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'QQ',
- `address` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '地址',
- `is_primary` bit(1) NULL DEFAULT b'0' COMMENT '是否首要联系人',
- `created_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
- `updated_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
- `tenant_id` int NULL DEFAULT NULL COMMENT '租户id',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '客户联系人' ROW_FORMAT = DYNAMIC;
- -- ----------------------------
- -- Table structure for erp_account_detailed
- -- ----------------------------
- DROP TABLE IF EXISTS `erp_account_detailed`;
- CREATE TABLE `erp_account_detailed` (
- `id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键ID',
- `code_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '单据日期',
- `business_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '业务ID',
- `business_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '业务类型(recharge:充值,consume:消费)',
- `price` decimal(20, 2) NULL DEFAULT 0.00 COMMENT '交易金额',
- `account_amount` decimal(20, 2) NULL DEFAULT 0.00 COMMENT '交易后账户余额',
- `tenant_id` bigint NULL DEFAULT NULL COMMENT '租户ID',
- `created_time` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
- `updated_time` datetime NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户账户余额明细' ROW_FORMAT = Dynamic;
- -- ----------------------------
- -- Table structure for erp_employee
- -- ----------------------------
- DROP TABLE IF EXISTS `erp_employee`;
- CREATE TABLE `erp_employee` (
- `id` bigint NOT NULL COMMENT 'ID主键',
- `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '编号',
- `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '名称',
- `active` bit(1) NULL DEFAULT b'1' COMMENT '是否启用',
- `created_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
- `updated_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
- `tenant_id` int NULL DEFAULT NULL COMMENT '租户id',
- `position` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '职务',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '职员' ROW_FORMAT = DYNAMIC;
- -- ----------------------------
- -- Table structure for erp_category
- -- ----------------------------
- DROP TABLE IF EXISTS `erp_category`;
- CREATE TABLE `erp_category` (
- `id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'ID主键',
- `type` smallint NULL DEFAULT NULL COMMENT '类型',
- `parent_id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '父ID',
- `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '名称',
- `sort_number` int NULL DEFAULT NULL COMMENT '排序',
- `created_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
- `updated_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
- `tenant_id` int NULL DEFAULT NULL COMMENT '租户id',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '类别' ROW_FORMAT = DYNAMIC;
-
- -- ----------------------------
- -- Table structure for erp_collection
- -- ----------------------------
- DROP TABLE IF EXISTS `erp_collection`;
- CREATE TABLE `erp_collection` (
- `id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'ID主键',
- `issue_date` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '单据日期',
- `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '单据编号',
- `business_id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '销货单位ID',
- `amount` decimal(20, 2) NULL DEFAULT NULL COMMENT '收款金额',
- `issue_amount` decimal(20, 2) NULL DEFAULT NULL COMMENT '单据金额',
- `discount_amount` decimal(20, 2) NULL DEFAULT NULL COMMENT '整单折扣金额',
- `verified_amount` decimal(20, 2) NULL DEFAULT NULL COMMENT '已核销金额',
- `unverified_amount` decimal(20, 2) NULL DEFAULT NULL COMMENT '未核销金额',
- `current_verified_amount` decimal(20, 2) NULL DEFAULT NULL COMMENT '本次核销金额',
- `advance_collect_amount` decimal(20, 2) NULL DEFAULT NULL COMMENT '预收款',
- `lister_id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '制单人ID',
- `auditor_id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '审核人ID',
- `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
- `state` int NULL DEFAULT 0 COMMENT '收款单状态:0未审核,1已审核',
- `created_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
- `updated_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
- `tenant_id` int NULL DEFAULT NULL COMMENT '租户id',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '收款单' ROW_FORMAT = DYNAMIC;
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。