From 44e1a193cb67c437a61fefb0d1ad4a36fe964cbd Mon Sep 17 00:00:00 2001 From: chenlin Date: Tue, 3 Feb 2026 16:51:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E6=97=B6=E4=BA=A7=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DOAN.Admin.WebApi/Controllers/MES/report/ReportController.cs | 4 ++-- DOAN.Admin.WebApi/appsettings.Development.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/DOAN.Admin.WebApi/Controllers/MES/report/ReportController.cs b/DOAN.Admin.WebApi/Controllers/MES/report/ReportController.cs index efa6f95..da571f8 100644 --- a/DOAN.Admin.WebApi/Controllers/MES/report/ReportController.cs +++ b/DOAN.Admin.WebApi/Controllers/MES/report/ReportController.cs @@ -65,8 +65,8 @@ namespace DOAN.WebApi.Controllers [HttpGet("productionCompletionRate")] public IActionResult ProductionCompletionRate([FromQuery] string groupName) { - DateTime dt = new DateTime(2026, 1, 27); - var response = _ReportService.ProductionCompletionRate(groupName,dt ); //DateTime.Today + //DateTime dt = new DateTime(2026, 1, 27); + var response = _ReportService.ProductionCompletionRate(groupName, DateTime.Today); //DateTime.Today return SUCCESS(response); } diff --git a/DOAN.Admin.WebApi/appsettings.Development.json b/DOAN.Admin.WebApi/appsettings.Development.json index 5d0ffcb..c8d585e 100644 --- a/DOAN.Admin.WebApi/appsettings.Development.json +++ b/DOAN.Admin.WebApi/appsettings.Development.json @@ -9,8 +9,8 @@ "dbConfigs": [ { // "Conn": "Data Source=139.224.232.211;User ID=root;Password=doantech123;Initial Catalog=GXAssembly;Port=3308", - //"Conn": "Data Source=47.101.40.214;User ID=root;Password=Rizo123456@;Initial Catalog=gxassembly2;Port=3306;AllowLoadLocalInfile=true", - "Conn": "Data Source=192.168.1.48;User ID=root;Password=123456;Initial Catalog=GXAssembly;Port=3306;AllowLoadLocalInfile=true", + "Conn": "Data Source=47.101.40.214;User ID=root;Password=Rizo123456@;Initial Catalog=gxassembly2;Port=3306;AllowLoadLocalInfile=true", + //"Conn": "Data Source=192.168.1.48;User ID=root;Password=123456;Initial Catalog=GXAssembly;Port=3306;AllowLoadLocalInfile=true", // "Conn": "Data Source=127.0.0.1;User ID=root;Password=123456;Initial Catalog=GXAssembly;Port=3306", //"Conn": "Data Source=192.168.50.163;User ID=root;Password=123456;Initial Catalog=GXAssembly;Port=3306", "DbType": 0, //数据库类型 MySql = 0, SqlServer = 1, Oracle = 3,PgSql = 4