From 673cffb7665ae94a454c9e332b3a63665e4b3c39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BD=87=E9=98=B3=20=E9=82=B9?= Date: Mon, 4 Dec 2023 15:24:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 24Hour/Controllers/Common/LawyerArchivesController.cs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/24Hour/Controllers/Common/LawyerArchivesController.cs b/24Hour/Controllers/Common/LawyerArchivesController.cs index 39d3ad3..f13b865 100644 --- a/24Hour/Controllers/Common/LawyerArchivesController.cs +++ b/24Hour/Controllers/Common/LawyerArchivesController.cs @@ -854,7 +854,7 @@ namespace _24Hour.Controllers.Common logger.LogInformation($"get lawyerinfo:{lawyer.ConvertToJsonStr()}"); logger.LogInformation($"get departmenginfo:{departmenginfo.ConvertToJsonStr()}"); - var bmsah= lawyerArchives.bmsah; + var bmsah = lawyerArchives.bmsah; var partyIDcard = lawyersvc.partyIDcard; var party = lawyersvc.party; var identitycardId = lawyer.identitycardId; @@ -1871,7 +1871,7 @@ namespace _24Hour.Controllers.Common try { var lawyerarchives = await _db.Queryable() - .In(info => info.Id, ids) + .Where(x => ids.Contains(x.Id)) .ToListAsync(); var userids = lawyerarchives .Select(x => x.createuserId) @@ -1896,7 +1896,10 @@ namespace _24Hour.Controllers.Common { lawyerservices = lawyerarchives, users = users - }.ConvertToJsonStr().ConvertToBase64(); + } + .ConvertToJsonStr() + .ConvertToBase64(); + System.IO.File.WriteAllText(jsonfilepath, jsonstr); //存储预约申请的相关附件 foreach (var item in lawyerarchives) @@ -2068,7 +2071,7 @@ namespace _24Hour.Controllers.Common return result; } - + public class DecodeQRDataModel { public string QRData { get; set; }