|  | @@ -25,12 +25,13 @@ namespace OASystem.API.Controllers
 | 
	
		
			
				|  |  |          private readonly SqlSugarClient _sqlSugar;
 | 
	
		
			
				|  |  |          private readonly SetDataTypeRepository _setDataTypeRep;
 | 
	
		
			
				|  |  |          private readonly DailyFeePaymentRepository _daiRep;    //日付申请仓库
 | 
	
		
			
				|  |  | -        private readonly TeamRateRepository _teamRateRep;    //团组汇率仓库
 | 
	
		
			
				|  |  | +        private readonly TeamRateRepository _teamRateRep;      //团组汇率仓库
 | 
	
		
			
				|  |  | +        private readonly ForeignReceivablesRepository _ForForeignReceivablesRep;  //对外收款账单仓库
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          /// <summary>
 | 
	
		
			
				|  |  |          /// 初始化
 | 
	
		
			
				|  |  |          /// </summary>
 | 
	
		
			
				|  |  | -        public FinancialController(IMapper mapper, IConfiguration configuration, DailyFeePaymentRepository daiRep, SqlSugarClient sqlSugar, SetDataTypeRepository setDataTypeRep, TeamRateRepository teamRateRep) 
 | 
	
		
			
				|  |  | +        public FinancialController(IMapper mapper, IConfiguration configuration, DailyFeePaymentRepository daiRep, SqlSugarClient sqlSugar, SetDataTypeRepository setDataTypeRep, TeamRateRepository teamRateRep, ForeignReceivablesRepository ForForeignReceivablesRep) 
 | 
	
		
			
				|  |  |          {
 | 
	
		
			
				|  |  |              _mapper = mapper;
 | 
	
		
			
				|  |  |              _config = configuration;
 | 
	
	
		
			
				|  | @@ -38,6 +39,7 @@ namespace OASystem.API.Controllers
 | 
	
		
			
				|  |  |              _sqlSugar = sqlSugar;
 | 
	
		
			
				|  |  |              _setDataTypeRep = setDataTypeRep;
 | 
	
		
			
				|  |  |              _teamRateRep = teamRateRep;
 | 
	
		
			
				|  |  | +            _ForForeignReceivablesRep = ForForeignReceivablesRep;
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          #region 日付申请
 | 
	
	
		
			
				|  | @@ -371,5 +373,34 @@ namespace OASystem.API.Controllers
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          #endregion
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        #region 对外收款账单
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        /// <summary>
 | 
	
		
			
				|  |  | +        /// 对外收款账单 Select数据源(团组名,币种,汇款方式)
 | 
	
		
			
				|  |  | +        /// </summary>
 | 
	
		
			
				|  |  | +        /// <param name="dto"></param>
 | 
	
		
			
				|  |  | +        /// <returns></returns>
 | 
	
		
			
				|  |  | +        [HttpPost]
 | 
	
		
			
				|  |  | +        [ProducesResponseType(typeof(JsonView), StatusCodes.Status200OK)]
 | 
	
		
			
				|  |  | +        public async Task<IActionResult> GetForeignReceivablesDataSources()
 | 
	
		
			
				|  |  | +        {
 | 
	
		
			
				|  |  | +            try
 | 
	
		
			
				|  |  | +            {
 | 
	
		
			
				|  |  | +                Result ffrData = await _ForForeignReceivablesRep.GetDataSource();
 | 
	
		
			
				|  |  | +                if (ffrData.Code != 0)
 | 
	
		
			
				|  |  | +                {
 | 
	
		
			
				|  |  | +                    return Ok(JsonView(false, ffrData.Msg));
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +                return Ok(JsonView(true, ffrData.Msg, ffrData.Data));
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +            catch (Exception ex)
 | 
	
		
			
				|  |  | +            {
 | 
	
		
			
				|  |  | +                return Ok(JsonView(false, ex.Message));
 | 
	
		
			
				|  |  | +                throw;
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        #endregion
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  }
 |