Преглед изворни кода

Merge branch 'develop' of http://132.232.92.186:3000/XinXiBu/OA2023 into develop

leiy пре 1 година
родитељ
комит
7b8b00f0c3

+ 5 - 4
OASystem/OASystem.Api/Controllers/GroupsController.cs

@@ -470,13 +470,14 @@ namespace OASystem.API.Controllers
         /// <returns></returns>
         [HttpPost]
         [ProducesResponseType(typeof(JsonView), StatusCodes.Status200OK)]
-        public async Task<ActionResult> PostIOSVisaProgressContent(int diId)
+        public async Task<ActionResult> PostIOSVisaProgressContent(IOS_VisaCustomerListDto dto)
         {
-            if (diId < 1) {
-                return Ok(JsonView(false, "id错误:" + diId.ToString()));
+            if (dto == null)
+            {
+                return Ok(JsonView(false, "请求错误:"));
             }
 
-            List<DelegationVisaProgressView> list = _delegationVisaRep.GetDelegationProgressList(diId);
+            List<DelegationVisaProgressView> list = _delegationVisaRep.GetDelegationProgressList(dto.diId);
 
             return Ok(JsonView(list));
         }

+ 5 - 0
OASystem/OASystem.Domain/Dtos/Groups/VisaDto.cs

@@ -10,4 +10,9 @@ namespace OASystem.Domain.Dtos.Groups
     {
 
     }
+
+    public class IOS_VisaCustomerListDto:DtoBase
+    {
+        public int diId { get; set; }
+    }
 }