20240430 质量综合管理导入导出

This commit is contained in:
2024-04-30 23:33:49 +08:00
parent 475d273bc5
commit 5a47e8145b
106 changed files with 2666 additions and 498 deletions
@@ -45,7 +45,8 @@ namespace FineUIPro.Web.Comprehensive
C.ImplementationFrontState,
CN.ProfessionalName,
C.Status,
C.CompleteDate
C.CompleteDate,
C.RemarkCode
from Comprehensive_DesignChangeOrder C "
+ @" left join Base_CNProfessional CN on C.CNProfessionalId=CN.CNProfessionalId "
+ @" where C.ProjectId = @ProjectId";
@@ -314,7 +315,7 @@ namespace FineUIPro.Web.Comprehensive
lists = lists.OrderBy(x => x.RemarkCode);
if (lists != null)
{
string projectName = BLL.ProjectService.GetProjectNameByProjectId(this.CurrUser.LoginProjectId);
string projectName = BLL.ProjectService.GetShortNameByProjectId(this.CurrUser.LoginProjectId);
newUrl = uploadfilepath.Replace("设计变更单导入模板", "设计变更单(" + projectName + DateTime.Now.ToString("yyyyMMdd") + ")");
File.Copy(uploadfilepath, newUrl);
// 第一步:读取文件流