LEIYI 5 月之前
父节点
当前提交
f4ee6de7ae
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      OASystem/OASystem.Infrastructure/Repositories/Resource/MediaSuppliersRepository.cs

+ 1 - 1
OASystem/OASystem.Infrastructure/Repositories/Resource/MediaSuppliersRepository.cs

@@ -165,7 +165,7 @@ namespace OASystem.Infrastructure.Repositories.Resource
             if (id < 1) { result.Msg = MsgTips.Id; return result; }
 
             var status = await _sqlSugar.Updateable<Res_MediaSuppliers>()
-                .SetColumns(x => new Res_MediaSuppliers() { DeleteUserId = userId, DeleteTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") })
+                .SetColumns(x => new Res_MediaSuppliers() { IsDel = 1, DeleteUserId = userId, DeleteTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") })
                 .Where(x => x.Id == id)
                 .ExecuteCommandAsync();
             if (status > 0)