feat(esppOrderManager): уз ЕСПП изменена на выделенную для ПАРР
This commit is contained in:
@@ -35,8 +35,11 @@
|
|||||||
},
|
},
|
||||||
"EsppOrderSettings": {
|
"EsppOrderSettings": {
|
||||||
"Url": "http://rzd-espp-t-rpa-app-1.gvc.oao.rzd:8080/espp_api/OperationExecutor/",
|
"Url": "http://rzd-espp-t-rpa-app-1.gvc.oao.rzd:8080/espp_api/OperationExecutor/",
|
||||||
"UserName": "Auto-PTK-DVS",
|
//"UserName": "Auto-PTK-DVS",
|
||||||
"AccountName": "АВТО ТЕХНОЛОГ ПТК-ДВС (AUTO-PTK-DVS)",
|
//"AccountName": "АВТО ТЕХНОЛОГ ПТК-ДВС (AUTO-PTK-DVS)",
|
||||||
|
//"Password": "123456789",
|
||||||
|
"UserName": "Auto-PTK-INFO-0002-DVS",
|
||||||
|
"AccountName": "АВТО ТЕХНОЛОГ ПТК-ИНФО-0002-ДВС (AUTO-PTK-INFO-0002-DVS)",
|
||||||
"Password": "123456789",
|
"Password": "123456789",
|
||||||
"EsppUserTimeZone": 10,
|
"EsppUserTimeZone": 10,
|
||||||
"RobotEk": "РПА-РОБИН-ГВЦ-ЕСПП-ТС-513-ДВС",
|
"RobotEk": "РПА-РОБИН-ГВЦ-ЕСПП-ТС-513-ДВС",
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ namespace PARR.Test
|
|||||||
private async Task TestEsppApi()
|
private async Task TestEsppApi()
|
||||||
{
|
{
|
||||||
//var result = await esppApiService.FindOrdersAsync(new FindOrdersQuery { DescriptionContains = "Полное", GenerateDateStart = new DateTime(2023, 10, 10) , GenerateDateEnd = new DateTime(2023, 10, 24) });
|
//var result = await esppApiService.FindOrdersAsync(new FindOrdersQuery { DescriptionContains = "Полное", GenerateDateStart = new DateTime(2023, 10, 10) , GenerateDateEnd = new DateTime(2023, 10, 24) });
|
||||||
var recordId = "НАР23-00058421";
|
var recordId = "НАР23-00058467";
|
||||||
|
|
||||||
var result = await esppApiService.FindOrderByRecordIdAsync(recordId);
|
var result = await esppApiService.FindOrderByRecordIdAsync(recordId);
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@ namespace PARR.Test
|
|||||||
var inWorkResult = await esppApiService.SetStatusInWorkAsync(recordId, "Выполнено."); //"Решение...\nС новой строки"
|
var inWorkResult = await esppApiService.SetStatusInWorkAsync(recordId, "Выполнено."); //"Решение...\nС новой строки"
|
||||||
if (!inWorkResult.IsSuccess)
|
if (!inWorkResult.IsSuccess)
|
||||||
{
|
{
|
||||||
_logger.LogError(inWorkResult.Exception, $"Не удалось взять в работу наряда{recordId}");
|
_logger.LogError(inWorkResult.Exception, $"Не удалось взять в работу наряд {recordId}");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
//"UserName": "Auto-PTK-DVS",
|
//"UserName": "Auto-PTK-DVS",
|
||||||
//"AccountName": "АВТО ТЕХНОЛОГ ПТК-ДВС (AUTO-PTK-DVS)",
|
//"AccountName": "АВТО ТЕХНОЛОГ ПТК-ДВС (AUTO-PTK-DVS)",
|
||||||
//"Password": "123456789",
|
//"Password": "123456789",
|
||||||
"UserName": "AUTO-PTK-INFO-0002-DVS",
|
"UserName": "Auto-PTK-INFO-0002-DVS",
|
||||||
"AccountName": "АВТО ТЕХНОЛОГ ПТК-ИНФО-0002-ДВС (AUTO-PTK-INFO-0002-DVS)",
|
"AccountName": "АВТО ТЕХНОЛОГ ПТК-ИНФО-0002-ДВС (AUTO-PTK-INFO-0002-DVS)",
|
||||||
"Password": "123456789",
|
"Password": "123456789",
|
||||||
"EsppUserTimeZone": 10,
|
"EsppUserTimeZone": 10,
|
||||||
|
|||||||
Reference in New Issue
Block a user