From 55ea37a1f565b87c98802b9b554a1f954fb642fe Mon Sep 17 00:00:00 2001 From: b110212000 Date: Fri, 27 Aug 2021 09:16:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E5=BB=BA=E7=AB=8B?= =?UTF-8?q?=E9=9B=BB=E7=AB=99=E7=95=B0=E5=B8=B8=E8=A8=AD=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SolarPower/Repository/Implement/CompanyRepository.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SolarPower/Repository/Implement/CompanyRepository.cs b/SolarPower/Repository/Implement/CompanyRepository.cs index 179f1f8..8f713bf 100644 --- a/SolarPower/Repository/Implement/CompanyRepository.cs +++ b/SolarPower/Repository/Implement/CompanyRepository.cs @@ -620,9 +620,9 @@ namespace SolarPower.Repository.Implement `Id` int(10) unsigned NOT NULL AUTO_INCREMENT, `Deleted` tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否刪除, 0:否 1:是', `PowerStationId` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '電站編號', - `Type` tinyint(4) NOT NULL DEFAULT '0' COMMENT '類型,0:PR值', - `UpperLimit` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '上限值', - `LowerLimit` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '下限值', + `Type` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT '0' COMMENT '類型,PR值', + `UpperLimit` decimal(10,2) DEFAULT NULL COMMENT '上限值', + `LowerLimit` decimal(10,2) DEFAULT NULL COMMENT '下限值', `Alarm` tinyint(4) NOT NULL DEFAULT '0' COMMENT '警報方式,0:email通知', `CreatedBy` int(10) unsigned NOT NULL COMMENT '建立者', `CreatedAt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '建立時間',