|
@@ -2864,6 +2864,7 @@ namespace OASystem.API.Controllers
|
|
|
#endregion
|
|
|
|
|
|
#region 签证费用录入
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -2940,6 +2941,47 @@ namespace OASystem.API.Controllers
|
|
|
throw;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ [HttpPost]
|
|
|
+ [ProducesResponseType(typeof(JsonView), StatusCodes.Status200OK)]
|
|
|
+ public async Task<IActionResult> VisaPriceAddSelect()
|
|
|
+ {
|
|
|
+ try
|
|
|
+ {
|
|
|
+
|
|
|
+ List<Sys_SetData> Payment = _sqlSugar.Queryable<Sys_SetData>().Where(a => a.STid == 14 && a.IsDel == 0).ToList();
|
|
|
+ List<SetDataInfoView> _Payment = _mapper.Map<List<SetDataInfoView>>(Payment);
|
|
|
+
|
|
|
+
|
|
|
+ List<Sys_SetData> CurrencyList = _sqlSugar.Queryable<Sys_SetData>().Where(a => a.STid == 66 && a.IsDel == 0).ToList();
|
|
|
+ List<SetDataInfoView> _CurrencyList = _mapper.Map<List<SetDataInfoView>>(CurrencyList);
|
|
|
+
|
|
|
+
|
|
|
+ List<Sys_SetData> PassengerType = _sqlSugar.Queryable<Sys_SetData>().Where(a => a.STid == 69 && a.IsDel == 0).ToList();
|
|
|
+ List<SetDataInfoView> _PassengerType = _mapper.Map<List<SetDataInfoView>>(PassengerType);
|
|
|
+
|
|
|
+
|
|
|
+ List<Sys_SetData> BankCard = _sqlSugar.Queryable<Sys_SetData>().Where(a => a.STid == 15 && a.IsDel == 0).ToList();
|
|
|
+ List<SetDataInfoView> _BankCard = _mapper.Map<List<SetDataInfoView>>(BankCard);
|
|
|
+
|
|
|
+ var data = new
|
|
|
+ {
|
|
|
+ Payment = _Payment,
|
|
|
+ CurrencyList = _CurrencyList,
|
|
|
+ PassengerType = _PassengerType,
|
|
|
+ BankCard = _BankCard
|
|
|
+ };
|
|
|
+ return Ok(JsonView(true, "查询成功!",data));
|
|
|
+ }
|
|
|
+ catch (Exception ex)
|
|
|
+ {
|
|
|
+ return Ok(JsonView(false, "程序错误!"));
|
|
|
+ throw;
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|