fix:1
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user