修复错误
This commit is contained in:
parent
8e5ffc0652
commit
5d5c7843b7
@ -169,7 +169,7 @@ public class TrackPullService : ApplicationService, ITransientDependency
|
||||
await _trackPullConfigRepository.UpdateAsync(oldTrackPullEntity);
|
||||
await _trackPullConfigRepository.UpdateParamsAsync(oldTrackPullParamsEntity);
|
||||
|
||||
if (oldTrackPullEntity.TrackTemplateId != input.TrackTemplateId)
|
||||
if (trackPullContentEntities.Count > 0)
|
||||
{
|
||||
await _trackPullConfigRepository.SoftDeleteContentAsync(x => x.TrackPullConfigId == input.Id);
|
||||
await _trackPullConfigRepository.InsertContentRangeAsync(trackPullContentEntities);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user