From 1f110f022d9e90b5ce26740aa51765c8ffc521d5 Mon Sep 17 00:00:00 2001 From: anthonywj Date: Fri, 23 Feb 2024 16:25:01 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A8sql=E8=AF=AD=E5=8F=A5=E6=96=B0?= =?UTF-8?q?=E5=A2=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../purchase/SupCertController.java | 3 +- .../service/basic/BasicProductSetService.java | 1 - src/main/resources/schemas/schema_v2.1.sql | 61 +++++++++++++++++++ 3 files changed, 62 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/glxp/api/controller/purchase/SupCertController.java b/src/main/java/com/glxp/api/controller/purchase/SupCertController.java index eab6c88..7c73e22 100644 --- a/src/main/java/com/glxp/api/controller/purchase/SupCertController.java +++ b/src/main/java/com/glxp/api/controller/purchase/SupCertController.java @@ -267,10 +267,9 @@ public class SupCertController extends BaseController { return ResultVOUtils.success("成功"); } - //撤回单据 @AuthRuleAnnotation("") @PostMapping("/sale/sup/cert/revoke") - @Log(title = "单据管理", businessType = BusinessType.UPDATE) + @Log(title = "资质证书", businessType = BusinessType.UPDATE) public BaseResponse revokeSupCert(@RequestBody SupCertEntity supCertEntity) { supCertEntity.setCreateTime(new Date()); supCertEntity.setUpdateTime(new Date()); diff --git a/src/main/java/com/glxp/api/service/basic/BasicProductSetService.java b/src/main/java/com/glxp/api/service/basic/BasicProductSetService.java index 5d1ca9a..c3fcf03 100644 --- a/src/main/java/com/glxp/api/service/basic/BasicProductSetService.java +++ b/src/main/java/com/glxp/api/service/basic/BasicProductSetService.java @@ -13,7 +13,6 @@ public interface BasicProductSetService { Map filterAllEnable(); - boolean updateSetup(BasicProductSetEntity basicProductSetEntity); } diff --git a/src/main/resources/schemas/schema_v2.1.sql b/src/main/resources/schemas/schema_v2.1.sql index ec2cfe7..691a29b 100644 --- a/src/main/resources/schemas/schema_v2.1.sql +++ b/src/main/resources/schemas/schema_v2.1.sql @@ -347,3 +347,64 @@ SET FOREIGN_KEY_CHECKS = 1; CALL Pro_Temp_ColumnWork('user_company_online', 'offlineStat', 'int', 1); CALL Pro_Temp_ColumnWork('basic_udi_product', 'manuCerditCode', 'varchar(255)', 1); + +/* + Navicat Premium Data Transfer + + Source Server : localhost + Source Server Type : MySQL + Source Server Version : 80021 + Source Host : localhost:3306 + Source Schema : udi_cpt3 + + Target Server Type : MySQL + Target Server Version : 80021 + File Encoding : 65001 + + Date: 23/02/2024 16:23:46 +*/ + +-- ---------------------------- +CREATE TABLE IF NOT EXISTS `stat_corp_offline` +( + `id` int NOT NULL AUTO_INCREMENT, + `companyId` int NULL DEFAULT NULL COMMENT '企业ID', + `statDate` datetime(0) NULL DEFAULT NULL COMMENT '统计日期', + `statType` tinyint NULL DEFAULT NULL COMMENT '1:按日统计', + `createTime` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', + `updateTime` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', + `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '备注', + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB + AUTO_INCREMENT = 1 + CHARACTER SET = utf8mb4 + COLLATE = utf8mb4_0900_ai_ci COMMENT = '企业每日离线汇总' + ROW_FORMAT = Dynamic; + +-- ---------------------------- +-- Table structure for user_company_pilot +-- ---------------------------- +CREATE TABLE IF NOT EXISTS `user_company_pilot` +( + `id` int NOT NULL AUTO_INCREMENT, + `companyIdFk` bigint NULL DEFAULT NULL COMMENT '试点单位已注册企业Id', + `companyName` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '单位名称', + `creditNum` int NULL DEFAULT NULL COMMENT '统一社会信用代码', + `bussinessStatus` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '企业类型', + `spell` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '拼音简称', + `addr` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '地址', + `status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '状态', + `contacts` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '联系人', + `mobile` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '联系电话', + `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '备注', + `createTime` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', + `updateTime` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB + AUTO_INCREMENT = 1 + CHARACTER SET = utf8mb4 + COLLATE = utf8mb4_0900_ai_ci COMMENT = '试点单位表' + ROW_FORMAT = Dynamic; + + +