Browse Source

打印修改

同煤学院(新)
dao 1 month ago
parent
commit
4527967b4e
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/DispatchController.cs

+ 4
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/DispatchController.cs View File

@@ -240,6 +240,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
if (dispatchEntity.AttachmentName != null)
{
string str = "";
var str1 = "";
string[] array = annexesFileIBLL.GetFileNames(dispatchEntity.AttachmentName).Split(',');
if (array.Length > 0)
{
@@ -248,10 +249,13 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
if (array[i].Trim() != "")
{
str += array[i].Substring(0, array[i].IndexOf(".")) + ",";
str1 += array[i] + ",";
}
}
str.TrimEnd(',');
str1.TrimEnd(',');
}
dispatchEntity.AttachmentName = string.Empty;
dispatchEntity.Reasons = str;
}
#endregion


Loading…
Cancel
Save