|
@@ -1,98 +1,35 @@
|
|
|
using Aspose.Cells;
|
|
|
-using Aspose.Cells.Drawing.Texts;
|
|
|
using Aspose.Words;
|
|
|
using Aspose.Words.Tables;
|
|
|
-using NPOI.Util;
|
|
|
+using Microsoft.AspNetCore.SignalR;
|
|
|
+using NPOI.HSSF.UserModel;
|
|
|
+using NPOI.SS.UserModel;
|
|
|
+using NPOI.SS.Util;
|
|
|
+using NPOI.XSSF.UserModel;
|
|
|
using OASystem.API.OAMethodLib;
|
|
|
using OASystem.API.OAMethodLib.File;
|
|
|
+using OASystem.API.OAMethodLib.Hub.HubClients;
|
|
|
+using OASystem.API.OAMethodLib.Hub.Hubs;
|
|
|
+using OASystem.API.OAMethodLib.JuHeAPI;
|
|
|
+using OASystem.API.OAMethodLib.QiYeWeChatAPI.AppNotice;
|
|
|
+using OASystem.Domain.Dtos.CRM;
|
|
|
+using OASystem.Domain.Dtos.FileDto;
|
|
|
using OASystem.Domain.Dtos.Groups;
|
|
|
+using OASystem.Domain.Entities.Customer;
|
|
|
+using OASystem.Domain.Entities.Financial;
|
|
|
using OASystem.Domain.Entities.Groups;
|
|
|
using OASystem.Domain.ViewModels.Groups;
|
|
|
using OASystem.Infrastructure.Repositories.Groups;
|
|
|
-using TencentCloud.Ocr.V20181119.Models;
|
|
|
-using OASystem.Infrastructure.Tools;
|
|
|
-using System.Web;
|
|
|
+using Quartz.Util;
|
|
|
+using SqlSugar.Extensions;
|
|
|
+using System.Collections;
|
|
|
using System.Data;
|
|
|
-using static OASystem.Infrastructure.Repositories.Groups.AirTicketResRepository;
|
|
|
-using static OpenAI.GPT3.ObjectModels.SharedModels.IOpenAiModels;
|
|
|
-using Cell = Aspose.Words.Tables.Cell;
|
|
|
-using Row = Aspose.Words.Tables.Row;
|
|
|
-using System.Runtime.Intrinsics.Arm;
|
|
|
-using Microsoft.AspNetCore.Mvc.Filters;
|
|
|
-using OASystem.Domain.Entities.Customer;
|
|
|
-using NPOI.SS.Formula.Functions;
|
|
|
-using OASystem.Domain.Dtos.CRM;
|
|
|
using System.Diagnostics;
|
|
|
-using MathNet.Numerics.Statistics.Mcmc;
|
|
|
-using AlibabaCloud.OpenApiClient.Models;
|
|
|
-using System;
|
|
|
-using NPOI.HPSF;
|
|
|
-using SqlSugar;
|
|
|
-using System.Collections;
|
|
|
-using Org.BouncyCastle.Ocsp;
|
|
|
using System.Globalization;
|
|
|
-using static QRCoder.PayloadGenerator;
|
|
|
+using static OASystem.Infrastructure.Repositories.Groups.AirTicketResRepository;
|
|
|
using Bookmark = Aspose.Words.Bookmark;
|
|
|
-using Aspose.Words.Fields;
|
|
|
-using NPOI.POIFS.FileSystem;
|
|
|
-using Microsoft.AspNetCore.Mvc.ViewEngines;
|
|
|
-using OASystem.Domain.ViewModels.QiYeWeChat;
|
|
|
-using OASystem.Domain.Entities.Financial;
|
|
|
-using NPOI.POIFS.Crypt.Dsig;
|
|
|
-using System.Diagnostics.Eventing.Reader;
|
|
|
-using System.IO;
|
|
|
-using StackExchange.Redis;
|
|
|
-using Org.BouncyCastle.Utilities;
|
|
|
-using Aspose.Words.Drawing;
|
|
|
-using Aspose.Cells.Charts;
|
|
|
-using static NPOI.HSSF.Util.HSSFColor;
|
|
|
-using Quartz.Util;
|
|
|
-using Google.Protobuf.WellKnownTypes;
|
|
|
-using Microsoft.AspNetCore.SignalR;
|
|
|
-using OASystem.API.OAMethodLib.Hub.HubClients;
|
|
|
-using OASystem.API.OAMethodLib.Hub.Hubs;
|
|
|
-using System.Collections.Generic;
|
|
|
-using OASystem.API.OAMethodLib.JuHeAPI;
|
|
|
-using static Microsoft.EntityFrameworkCore.DbLoggerCategory;
|
|
|
-using SixLabors.Fonts.Tables.AdvancedTypographic;
|
|
|
-using Microsoft.EntityFrameworkCore;
|
|
|
-using System.Security.Cryptography.Xml;
|
|
|
-using MathNet.Numerics;
|
|
|
-using System.Security.Policy;
|
|
|
-using System.Xml;
|
|
|
-using OASystem.Domain.Dtos.QiYeWeChat;
|
|
|
-using static NPOI.POIFS.Crypt.CryptoFunctions;
|
|
|
-using Aspose.Words.Lists;
|
|
|
-using OASystem.API.OAMethodLib.YouDaoAPI;
|
|
|
-using NPOI.XSSF.Streaming.Values;
|
|
|
-using OASystem.API.OAMethodLib.Quartz.Business;
|
|
|
-using System.Linq;
|
|
|
-using NPOI.POIFS.NIO;
|
|
|
-using OASystem.API.OAMethodLib.QiYeWeChatAPI.AppNotice;
|
|
|
-using OASystem.Domain.ViewModels.Statistics;
|
|
|
-using NPOI.XSSF.Model;
|
|
|
-using NetTaste;
|
|
|
-using Microsoft.AspNetCore.Http;
|
|
|
-using EyeSoft.Collections.Generic;
|
|
|
-using NPOI.HSSF.Util;
|
|
|
-using NPOI.HSSF.UserModel;
|
|
|
-using NPOI.SS.UserModel;
|
|
|
-using NPOI.XSSF.UserModel;
|
|
|
-using MySqlX.XDevAPI.Relational;
|
|
|
-using SqlSugar.Extensions;
|
|
|
+using Cell = Aspose.Words.Tables.Cell;
|
|
|
using Table = Aspose.Words.Tables.Table;
|
|
|
-using Aspose.Cells.Tables;
|
|
|
-using NPOI.SS.Util;
|
|
|
-using RestSharp.Extensions;
|
|
|
-using Microsoft.AspNetCore.WebUtilities;
|
|
|
-using K4os.Compression.LZ4.Internal;
|
|
|
-using static Pipelines.Sockets.Unofficial.SocketConnection;
|
|
|
-using System.Diagnostics.PerformanceData;
|
|
|
-using System.Drawing.Printing;
|
|
|
-using OASystem.Domain.Dtos.FileDto;
|
|
|
-using Microsoft.VisualBasic;
|
|
|
-using Microsoft.EntityFrameworkCore.Query.Internal;
|
|
|
-using MathNet.Numerics.Distributions;
|
|
|
|
|
|
namespace OASystem.API.Controllers
|
|
|
{
|
|
@@ -4847,7 +4784,9 @@ namespace OASystem.API.Controllers
|
|
|
Aspose.Words.Tables.Table table4 = allTables[3] as Aspose.Words.Tables.Table;
|
|
|
if (_EnterExitCosts.ChoiceSix == 1)
|
|
|
{
|
|
|
- dic.Add("SubPX", tainFeeTotal.ToString("#0.00"));
|
|
|
+
|
|
|
+ string pxStr = $"六、培训费合计: {tainFeeTotal.ToString("#0.00")} 元/人";
|
|
|
+ dic.Add("SubPX", pxStr);
|
|
|
|
|
|
table4Row = dac4.Count;
|
|
|
#region 填充word表格内容
|
|
@@ -4886,7 +4825,7 @@ namespace OASystem.API.Controllers
|
|
|
|
|
|
#endregion
|
|
|
}
|
|
|
- else dic.Add("SubPX","0.00");
|
|
|
+ //else dic.Add("SubPX","0.00");
|
|
|
//删除多余行
|
|
|
while (table4.Rows.Count > table4Row)
|
|
|
{
|