|
@@ -1837,6 +1837,20 @@ FROM
|
|
|
else _detail.CardType = initDatas.Find(it => it.Id == entity.CTDId)?.Name ?? "-";
|
|
|
|
|
|
|
|
|
+
|
|
|
+ //处理金额
|
|
|
+ if (entity.CTable == 1015)
|
|
|
+ {
|
|
|
+ var czInfo = _GroupExtraCosts.Find(x => entity.CId == x.Id);
|
|
|
+
|
|
|
+ if (czInfo != null)
|
|
|
+ {
|
|
|
+ entity.PayMoney = czInfo.Price * czInfo.PriceCount;
|
|
|
+ entity.RMBPrice = czInfo.Price * czInfo.PriceCount * entity.DayRate;
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
/*
|
|
|
* 应付款金额
|
|
|
*/
|
|
@@ -4884,7 +4898,7 @@ FROM
|
|
|
string md5Sign = GeneralMethod.Encrypt($"{sign}&fileName={fileUrl}");
|
|
|
string url = string.Format("http://oa.pan-american-intl.com:4399/#/Sankunginfo?sign={0}&fileName={1}", sign, fileUrl);
|
|
|
await AppNoticeLibrary.SendUserMsg_GroupShare_ToGM(dto.DiId, new List<string>() { "208", "233", "21" }, dto.UserId, url);
|
|
|
- //保存 汇率信息记录
|
|
|
+ //汇率信息记录
|
|
|
await GeneralMethod.RateRecordSave(dto.UserId,sign,"出入境费用");
|
|
|
|
|
|
return Ok(JsonView(true, data.Msg, data.Data));
|
|
@@ -15225,7 +15239,7 @@ And (UnitName != '' Or UnitName != null) {sqlWhere}");
|
|
|
|
|
|
#region 团组接待意见调查 Grp_ReceptionOpinionSurvey
|
|
|
/// <summary>
|
|
|
- /// 团组接待意见调查
|
|
|
+ /// 团组接待意见调查 - 信息管理
|
|
|
/// 基础数据(团组)
|
|
|
/// </summary>
|
|
|
/// <param name="dto"></param>
|
|
@@ -15246,6 +15260,34 @@ And (UnitName != '' Or UnitName != null) {sqlWhere}");
|
|
|
return Ok(JsonView(groupData, groupData.Count));
|
|
|
}
|
|
|
|
|
|
+ /// <summary>
|
|
|
+ /// 团组接待意见调查 - 信息管理
|
|
|
+ /// 信息列表
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="groupId"></param>
|
|
|
+ /// <returns></returns>
|
|
|
+ [HttpGet("{groupId}")]
|
|
|
+ [ProducesResponseType(typeof(JsonView), StatusCodes.Status200OK)]
|
|
|
+ public async Task<IActionResult> OpinionaireManageList(int groupId)
|
|
|
+ {
|
|
|
+ if (groupId < 1) Ok(JsonView(false,"请传入有效的diId"));
|
|
|
+
|
|
|
+ var data = await _opinionaireRep.Query(x => x.IsDel == 0 && x.DiId == groupId)
|
|
|
+ .LeftJoin<Sys_Users>((x,u) => x.CreateUserId == u.Id)
|
|
|
+ .Select((x, u) => new
|
|
|
+ {
|
|
|
+ x.Id,
|
|
|
+ x.TourGuideName,
|
|
|
+ x.CityName,
|
|
|
+ CreateUserName = u.CnName,
|
|
|
+ x.CreateTime
|
|
|
+ })
|
|
|
+ .OrderByDescending(x => x.Id)
|
|
|
+ .ToListAsync();
|
|
|
+ return Ok(JsonView(data));
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
#endregion
|
|
|
|
|
|
// /// <summary>
|