Преглед изворни кода

其他款项,费用审核bug更改

leiy пре 9 месеци
родитељ
комит
ef4aee61c8

+ 1 - 1
OASystem/OASystem.Api/Controllers/GroupsController.cs

@@ -1593,7 +1593,7 @@ namespace OASystem.API.Controllers
                             if (visaInfo != null)
                             {
                                 _detail.PriceNameContent = getClientNameStr(clientNameList, visaInfo.VisaClient);
-                                _detail.PriceMsgContent =  $"签证描述:{visaInfo.VisaDescription}\r\n 备注:{visaInfo.Remark}";
+                                _detail.PriceMsgContent =  $"签证描述:{visaInfo.VisaDescription}<br/> 备注:{visaInfo.Remark}";
                             }
 
                             break;

+ 1 - 1
OASystem/OASystem.Api/Middlewares/ExceptionHandlingMiddleware.cs

@@ -71,7 +71,7 @@ namespace OASystem.API.Middlewares
                     break;
                 default:
                     response.StatusCode = StatusCodes.Status500InternalServerError;
-                    errorResponse.Msg = "Internal Server errors. Check Logs!";
+                    errorResponse.Msg = exception.Message;
                     break;
             }
             _logger.LogError(exception.Message);

+ 3 - 3
OASystem/OASystem.Domain/ViewModels/Groups/DecreasePaymentsView.cs

@@ -134,9 +134,9 @@ namespace OASystem.Domain.ViewModels.Groups
         /// </summary>
         public int orbitalPrivateTransfer { get; set; }
 
-        public int OtherBankName { get; set; }
-        public int OtherSideName { get; set; }
-        public int OtherSideNo { get; set; }
+        public string OtherBankName { get; set; }
+        public string OtherSideName { get; set; }
+        public string OtherSideNo { get; set; }
 
         /// <summary>
         /// 备注

+ 1 - 1
OASystem/OASystem.Infrastructure/Repositories/Groups/DecreasePaymentsRepository.cs

@@ -459,7 +459,7 @@ namespace OASystem.Infrastructure.Repositories.Groups
 
             var info = await _sqlSugar.SqlQueryable<DecreasePaymentsInfoView>(sql).FirstAsync();
 
-            return new JsonView() { Code = 200, Msg = MsgTips.Fail, Data = info };
+            return new JsonView() { Code = 200, Msg = MsgTips.Succeed, Data = info };
         }
 
         /// <summary>