This commit is contained in:
geh
2025-05-06 15:21:24 +08:00
parent 5d52ebd488
commit 6a7a44f9da
5 changed files with 42 additions and 13 deletions
@@ -88,7 +88,7 @@ namespace WebAPI.Controllers.HSSE
Model.ToDoItem toDoItem = new Model.ToDoItem
{
MenuId = Const.PersonListMenuId,
DataId = item.PersonId + "_1",
DataId = item.PersonId + "_2",
UrlStr = item.AttachUrl1,
};
if (!string.IsNullOrEmpty(item.AttachUrl1))
@@ -96,21 +96,21 @@ namespace WebAPI.Controllers.HSSE
APIUpLoadFileService.SaveAttachUrl(toDoItem);
}
toDoItem.DataId = item.PersonId + "_2";
toDoItem.DataId = item.PersonId + "_3";
toDoItem.UrlStr = item.AttachUrl2;
if (!string.IsNullOrEmpty(item.AttachUrl2))
{
APIUpLoadFileService.SaveAttachUrl(toDoItem);
}
toDoItem.DataId = item.PersonId + "_3";
toDoItem.DataId = item.PersonId + "_4";
toDoItem.UrlStr = item.AttachUrl3;
if (!string.IsNullOrEmpty(item.AttachUrl3))
{
APIUpLoadFileService.SaveAttachUrl(toDoItem);
}
toDoItem.DataId = item.PersonId + "_4";
toDoItem.DataId = item.PersonId + "_5";
toDoItem.UrlStr = item.AttachUrl4;
if (!string.IsNullOrEmpty(item.AttachUrl4))
{