From 44d3cd0326d5b8e4c348ff2bf1ed53430005c937 Mon Sep 17 00:00:00 2001 From: wanghu Date: Wed, 9 Sep 2026 19:01:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E5=B0=8F=E6=95=B0=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/YhCore.Service/Impl/WYSHRoleService.cs | 4 ++-- src/YhCore.WebApi/appsettings.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/YhCore.Service/Impl/WYSHRoleService.cs b/src/YhCore.Service/Impl/WYSHRoleService.cs index c0f6102..ef21c1f 100644 --- a/src/YhCore.Service/Impl/WYSHRoleService.cs +++ b/src/YhCore.Service/Impl/WYSHRoleService.cs @@ -1214,10 +1214,11 @@ namespace YhCore.Service.Impl var listpic = new List(); foreach (var t in item.SHTea) { + teaname += teaname == "" ? t.SHTeaName : "," + t.SHTeaName; var fdsh = listSHInfo.Where(a => a.actionuserid == t.SHTeaID && a.stepid == item.SerID).ToList(); if (fdsh.Count > 0) - listpic.Add(await GetSignatureValueAsync(schSerId, t.SHTeaID.ToString())); + listpic.Add(await GetSignatureValueAsync(schSerId, t.SHTeaID?.ToString("F0"))); } var fd = item.SHTea.Where(a => a.inserttime.HasValue).Select(a => a.inserttime).DefaultIfEmpty().Max(); @@ -2000,7 +2001,6 @@ namespace YhCore.Service.Impl { var dir = Path.Combine(FileService.StorageRoot(), "Signature"); - if (!Directory.Exists(dir)) Directory.CreateDirectory(dir); diff --git a/src/YhCore.WebApi/appsettings.json b/src/YhCore.WebApi/appsettings.json index bc9cb33..6751f69 100644 --- a/src/YhCore.WebApi/appsettings.json +++ b/src/YhCore.WebApi/appsettings.json @@ -4,7 +4,7 @@ "AutoCreateMissingTables": true }, "ConnectionStrings": { - "SqlServer": "Server=localhost;Database=EduCloudDocPrint;User Id=sa;Password=Password01!;MultipleActiveResultSets=true", + "SqlServer": "Server=localhost;Database=EduCloudDocPrint2;User Id=sa;Password=Password01!;MultipleActiveResultSets=true", "Mysql": "Server=localhost;Port=3306;Database=EduCloudDocPrint;User Id=root;Password=123123;CharSet=utf8mb4" }, "Redis": {