表sql语句新增

20240109-yw
anthonywj 1 year ago
parent 41c94f1554
commit 1f110f022d

@ -267,10 +267,9 @@ public class SupCertController extends BaseController {
return ResultVOUtils.success("成功"); return ResultVOUtils.success("成功");
} }
//撤回单据
@AuthRuleAnnotation("") @AuthRuleAnnotation("")
@PostMapping("/sale/sup/cert/revoke") @PostMapping("/sale/sup/cert/revoke")
@Log(title = "单据管理", businessType = BusinessType.UPDATE) @Log(title = "资质证书", businessType = BusinessType.UPDATE)
public BaseResponse revokeSupCert(@RequestBody SupCertEntity supCertEntity) { public BaseResponse revokeSupCert(@RequestBody SupCertEntity supCertEntity) {
supCertEntity.setCreateTime(new Date()); supCertEntity.setCreateTime(new Date());
supCertEntity.setUpdateTime(new Date()); supCertEntity.setUpdateTime(new Date());

@ -13,7 +13,6 @@ public interface BasicProductSetService {
Map<String, BasicProductSetEntity> filterAllEnable(); Map<String, BasicProductSetEntity> filterAllEnable();
boolean updateSetup(BasicProductSetEntity basicProductSetEntity); boolean updateSetup(BasicProductSetEntity basicProductSetEntity);
} }

@ -347,3 +347,64 @@ SET FOREIGN_KEY_CHECKS = 1;
CALL Pro_Temp_ColumnWork('user_company_online', 'offlineStat', 'int', 1); CALL Pro_Temp_ColumnWork('user_company_online', 'offlineStat', 'int', 1);
CALL Pro_Temp_ColumnWork('basic_udi_product', 'manuCerditCode', 'varchar(255)', 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;

Loading…
Cancel
Save