forked from ddrilling/AsbCloudServer
Правка инициализации request в методе GetByUid контроллера ProcessMapPlanBaseController
This commit is contained in:
parent
b41f25913e
commit
d414fad58c
@ -189,10 +189,10 @@ public abstract class ProcessMapPlanBaseController<TDto> : ControllerBase
|
|||||||
if (idWell < 0)
|
if (idWell < 0)
|
||||||
return this.ValidationBadRequest(nameof(uid), "Скважина по uid не найдена");
|
return this.ValidationBadRequest(nameof(uid), "Скважина по uid не найдена");
|
||||||
|
|
||||||
var serviceRequest = new ProcessMapPlanBaseRequestWithWell(new ProcessMapPlanBaseRequest()
|
var serviceRequest = new ProcessMapPlanBaseRequestWithWell(idWell)
|
||||||
{
|
{
|
||||||
UpdateFrom = updateFrom,
|
UpdateFrom = updateFrom,
|
||||||
}, idWell);
|
};
|
||||||
|
|
||||||
var result = await repository.GetChangeLog(serviceRequest, null, token);
|
var result = await repository.GetChangeLog(serviceRequest, null, token);
|
||||||
return Ok(result);
|
return Ok(result);
|
||||||
|
Loading…
Reference in New Issue
Block a user