|
@@ -177,6 +177,11 @@ namespace Hotline.Api.Controllers
|
|
|
else
|
|
|
order.EventTypeName = null;
|
|
|
|
|
|
+ if (!string.IsNullOrEmpty(dto.EventTypeSpliceName))
|
|
|
+ order.EventTypeSpliceName = dto.EventTypeSpliceName;
|
|
|
+ else
|
|
|
+ order.EventTypeSpliceName = null;
|
|
|
+
|
|
|
if (!string.IsNullOrEmpty(dto.EventTypeId))
|
|
|
{
|
|
|
order.EventTypeOneLevelId = dto.EventTypeId.Substring(0, 2);
|
|
@@ -186,7 +191,6 @@ namespace Hotline.Api.Controllers
|
|
|
{
|
|
|
order.EventTypeOneLevelId = null;
|
|
|
order.EventTypeId = null;
|
|
|
- order.EventTypeSpliceName = null;
|
|
|
}
|
|
|
await _enforcementOrdersRepository.UpdateAsync(order, HttpContext.RequestAborted);
|
|
|
}
|