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; }