This commit is contained in:
2022-03-11 16:08:00 +00:00
parent d7d8e9340c
commit 3363a5ae43
4 changed files with 30 additions and 17 deletions

View File

@@ -623,17 +623,7 @@ namespace AyaNova.Api.Controllers
using (var dr = await cmd.ExecuteReaderAsync())
{
while (dr.Read())
{
// var v = new FileAttachmentListItem();
// v.Id = dr.GetInt64(0);
// v.DisplayFileName = dr.GetString(1);
// v.ContentType = dr.GetString(2);
// v.LastModified = dr.GetDateTime(3);
// v.Notes = dr.GetString(4);
// v.AttachedByUser = dr.GetString(5);
// v.Size = dr.GetInt64(6);
// retList.Add(v);
{
retList.Add(new FileAttachmentListItem()
{
Id = dr.GetInt64(0),