fix 手动添加软删除

This commit is contained in:
2025-03-27 14:41:41 +08:00
parent 3592e4565e
commit fa0a051047

View File

@@ -16,7 +16,9 @@ public class SyncController : ControllerBase
private readonly IJinkoSapService _jinkoSapService;
private readonly ISapBusinessTripService _sapBusinessTripService;
public SyncController(IGainfoUpdateService gainfoUpdateService, IJinkoSapService jinkoSapService, ISapBusinessTripService sapBusinessTripService)
public SyncController(IGainfoUpdateService gainfoUpdateService,
IJinkoSapService jinkoSapService,
ISapBusinessTripService sapBusinessTripService)
{
_gainfoUpdateService = gainfoUpdateService;
_jinkoSapService = jinkoSapService;
@@ -52,7 +54,7 @@ public class SyncController : ControllerBase
[HttpPost("/api/sync/businessTrips")]
[IgnoreTenant]
public async Task GetPositionsAsync(CodeRequest request)
public async Task GetBusinessTripsAsync(CodeRequest request)
{
await _sapBusinessTripService.HandlerBusinessTripsByFactoryAsync(request.Code);
}