|
@@ -535,7 +535,7 @@ namespace GxPress.Service.Implement.Note
|
|
|
{
|
|
|
//修改笔记
|
|
|
note.IsDelete = true;
|
|
|
- await _noteRepository.UpdateAsync(note);
|
|
|
+ await _noteRepository.DeleteAsync(id);
|
|
|
//获取middle修改middle
|
|
|
var middle = await _middleRepository.GetMiddleAsync(Q.Where(nameof(Entity.Middle.Middle.MiddleId), id).Where(nameof(Entity.Middle.Middle.UserId), userId));
|
|
|
await _middleRepository.DeleteAsync(Q.Where(nameof(Entity.Middle.Middle.Id), middle.Id));
|