From db3163464801544774bab2cddd284e1f618e8da4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BD=87=E9=98=B3=20=E9=82=B9?= Date: Wed, 27 Dec 2023 18:56:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E5=AF=BC=E5=85=A5=E6=97=B6=E8=B5=8B?= =?UTF-8?q?=E5=80=BC=E5=BE=8B=E5=B8=88=E4=BA=8B=E5=8A=A1=E6=89=80=E8=AF=81?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Common/LawyerArchivesController.cs | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/24Hour/Controllers/Common/LawyerArchivesController.cs b/24Hour/Controllers/Common/LawyerArchivesController.cs index 86fa6c7..f0bd98f 100644 --- a/24Hour/Controllers/Common/LawyerArchivesController.cs +++ b/24Hour/Controllers/Common/LawyerArchivesController.cs @@ -1076,8 +1076,6 @@ namespace _24Hour.Controllers.Common } }; /// 1423000000100-律师执业证书,1423000000200-律师事务所证, 1423000000300- 授权委托书, 1423000000400- 法律援助公函,1423000000500-身份证件 ,1423000000600-关系证明材料, 1423000000700- 其他 - - await UploadPhoto(lawyer.identityphoto, "1423000000100"); await UploadPhoto(lawyersvc.departmentPhoto, "1423000000200"); await UploadPhoto(lawyersvc.annex, "1423000000300"); @@ -1085,8 +1083,6 @@ namespace _24Hour.Controllers.Common await UploadPhoto(lawyer.cardIdphoto, "1423000000500"); await UploadPhoto(lawyersvc.relationshipProofPhoto, "1423000000600"); await UploadPhoto(lawyersvc.otherPhoto, "1423000000700"); - - var markinginput = new ApplyMarKingDto() { bhdlbh = registerinfo.bhdlbh, @@ -1104,8 +1100,6 @@ namespace _24Hour.Controllers.Common sxlxdm = "1405187400001", sxlxmc = "申请阅卷", zrrmc = party, - - }; var applymarkingrequest = await ApplyMarKing(markinginput); @@ -1803,15 +1797,6 @@ namespace _24Hour.Controllers.Common .Replace(@"\", @"/")) .ToList() .ConvertToJsonStr(); - - var departmentPhotos = Path.Combine(zipusers, userim.cardId, "departmentPhotos"); - var departments = new DirectoryInfo(departmentPhotos) - .GetFiles() - .Select(x => "/CaseFile/imports/" + Path.GetRelativePath(dir, x.FullName) - .Replace(@"\", @"/")) - .ToList() - .ConvertToJsonStr(); - var cardidphotos = Path.Combine(zipusers, userim.cardId, "cardids"); var cardids = new DirectoryInfo(cardidphotos) .GetFiles() @@ -1819,7 +1804,6 @@ namespace _24Hour.Controllers.Common .Replace(@"\", @"/")) .ToList() .ConvertToJsonStr(); - if (user == null) { userim.cardIdphoto = cardids; @@ -1867,7 +1851,6 @@ namespace _24Hour.Controllers.Common .ToList() .ConvertToJsonStr(); - var legalAidPhoto = Path.Combine(ziplawyersvcs, lawyersvc.Id, "legalAidPhoto"); var legalAidPhotos = new DirectoryInfo(legalAidPhoto) .GetFiles() @@ -1934,6 +1917,7 @@ namespace _24Hour.Controllers.Common svc.legalAidPhoto = legalAidPhotos; svc.relationshipProofPhoto = relationshipProofPhotos; svc.otherPhoto = otherPhotos; + svc.departmentPhoto = departmentPhotos; svc.IsAssigned = false; svc.IsDeleted = 0; _db.BeginTran();