|
@@ -49,6 +49,7 @@ using System.IO.Compression;
|
|
|
using System.Linq.Expressions;
|
|
|
using System.Text.Json;
|
|
|
using System.Text.RegularExpressions;
|
|
|
+using System.Threading.Tasks;
|
|
|
using System.Web;
|
|
|
using static OASystem.API.OAMethodLib.JWTHelper;
|
|
|
using static OASystem.Infrastructure.Repositories.Groups.AirTicketResRepository;
|
|
@@ -3289,7 +3290,7 @@ FROM
|
|
|
WorkState = (string)jsonData.GetType().GetProperty("工作职责")!.GetValue(jsonData)!,
|
|
|
WorkDate = (string)jsonData.GetType().GetProperty("入职/入学时间(详细到月)")!.GetValue(jsonData)!,
|
|
|
USAAddress = (string)jsonData.GetType().GetProperty("请提供美国详细住址")!.GetValue(jsonData)!,
|
|
|
- PurposeUSA = (string)jsonData.GetType().GetProperty("赴美目的")!.GetValue(jsonData)!,
|
|
|
+ USAPurpose = (string)jsonData.GetType().GetProperty("赴美目的")!.GetValue(jsonData)!,
|
|
|
CostBearers = (string)jsonData.GetType().GetProperty("费用谁付")!.GetValue(jsonData)!,
|
|
|
USAContact = (string)jsonData.GetType().GetProperty("美国联系人或组织")!.GetValue(jsonData)!,
|
|
|
USAContactTel = usa_phone,
|
|
@@ -3783,10 +3784,6 @@ FROM
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
/// <summary>
|
|
|
/// 根据团组Id获取签证客户信息List
|
|
|
/// </summary>
|
|
@@ -4045,6 +4042,7 @@ FROM
|
|
|
return Ok(JsonView(true, msg));
|
|
|
}
|
|
|
|
|
|
+ #endregion
|
|
|
#endregion
|
|
|
|
|
|
#region 团组任务分配
|
|
@@ -9023,8 +9021,9 @@ FROM
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
+ var guid = CommonFun.GUID.Substring(0,8);
|
|
|
//文件名
|
|
|
- string strFileName = $"{_DelegationInfo.TeamName}出入境费用{Guid.NewGuid().ToString()}.docx";
|
|
|
+ string strFileName = CommonFun.ValidFileName($"{_DelegationInfo.TeamName}出入境费用{guid}.docx");
|
|
|
AsposeHelper.removewatermark_v2180();
|
|
|
doc.Save(AppSettingsHelper.Get("WordBasePath") + "EnterExitCost/File/" + strFileName);
|
|
|
string url = AppSettingsHelper.Get("WordBaseUrl") + "Office/Word/EnterExitCost/File/" + strFileName;
|
|
@@ -28502,6 +28501,13 @@ WHERE
|
|
|
return Ok(jw);
|
|
|
}
|
|
|
|
|
|
+ [HttpPost]
|
|
|
+ public async Task<IActionResult> TimeTest1()
|
|
|
+ {
|
|
|
+ var infos = await _sqlSugar.Queryable<Crm_DeleClient>().ToListAsync();
|
|
|
+
|
|
|
+ return Ok(infos);
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
-#endregion
|