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