|
@@ -3231,7 +3231,9 @@ namespace OASystem.API.Controllers
|
|
|
if (changeStatus)
|
|
|
{
|
|
|
_sqlSugar.CommitTran();
|
|
|
-
|
|
|
+ //todo:日志记录
|
|
|
+ _logger.LogInformation("【付款申请】【状态:操作成功!】请求参数: OpUserId: {UserId}, GroupIds: {GroupIds}, DailyPaymentIds: {DailyPaymentIds}, HotelSubIds: {HotelSubIds}",
|
|
|
+ dto.UserId, string.Join(",", groupIds), string.Join(",", dailyPaymentIds), string.Join(",", hotelSubIds));
|
|
|
#region 应用推送
|
|
|
try
|
|
|
{
|
|
@@ -3255,6 +3257,9 @@ namespace OASystem.API.Controllers
|
|
|
return Ok(JsonView(true, "操作成功!"));
|
|
|
}
|
|
|
_sqlSugar.RollbackTran();
|
|
|
+ //todo:日志记录
|
|
|
+ _logger.LogWarning("【付款申请】【状态:操作失败!】 请求参数:OpUserId: {UserId}, GroupIds: {GroupIds}, DailyPaymentIds: {DailyPaymentIds}, HotelSubIds: {HotelSubIds}",
|
|
|
+ dto.UserId, string.Join(",", groupIds), string.Join(",", dailyPaymentIds), string.Join(",", hotelSubIds));
|
|
|
return Ok(JsonView(false, "付款状态修改失败!"));
|
|
|
|
|
|
}
|
|
@@ -3440,7 +3445,6 @@ namespace OASystem.API.Controllers
|
|
|
_appliedAmount = $"公转:CNY {(groupGZAmout + dailyGZAmout).ToString("#0.00")}\r\n私转:CNY {(groupSZAmout + dailySZAmout).ToString("#0.00")}";
|
|
|
#endregion
|
|
|
|
|
|
-
|
|
|
WorkbookDesigner designer = new WorkbookDesigner();
|
|
|
designer.Workbook = new Workbook(AppSettingsHelper.Get("ExcelBasePath") + "Template/付款申请书.xls");
|
|
|
designer.SetDataSource("Date", _requestPaymentDt);
|