|
@@ -36,14 +36,14 @@ namespace OASystem.API.Controllers
|
|
|
/// <returns></returns>
|
|
|
[HttpPost]
|
|
|
[ProducesResponseType(typeof(JsonView), StatusCodes.Status200OK)]
|
|
|
- public async Task<IActionResult> PostSearchGrpSchedule(string paras)
|
|
|
+ public async Task<IActionResult> PostSearchGrpSchedule(JsonDtoBase _jsonDto)
|
|
|
{
|
|
|
- if (string.IsNullOrEmpty(paras))
|
|
|
+ if (string.IsNullOrEmpty(_jsonDto.Paras))
|
|
|
{
|
|
|
return Ok(JsonView(false, "参数为空"));
|
|
|
}
|
|
|
|
|
|
- Grp_ScheduleDto _ScheduleDto = JsonConvert.DeserializeObject<Grp_ScheduleDto>(paras);
|
|
|
+ Grp_ScheduleDto _ScheduleDto = JsonConvert.DeserializeObject<Grp_ScheduleDto>(_jsonDto.Paras);
|
|
|
if (_ScheduleDto != null)
|
|
|
{
|
|
|
if (_ScheduleDto.SearchType == 2)//获取列表
|