fix 手动添加软删除
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user