@@ -9201,6 +9201,10 @@ FROM
mobileInfo.DiId = dto.DiId;
mobileInfo.Currencys = await EnterExitCostMobileGetCurrencyInit();
if (eecInfo == null) return Ok(mobileInfo);
+ //验证查看、操作权限
+
mobileInfo = _mapper.Map<EnterExitCostMobileParentInfoView>(eecInfo);
@@ -89,6 +89,12 @@ namespace OASystem.Infrastructure.Repositories.Groups
return result;
}
+ enterExitCostInfoView.ViewUsers = await _sqlSugar
+ .Queryable<Grp_EnterExitCostDraftPermission>()
+ .Where(x => x.DraftId == id)
+ .Select(x => x.UserId)
+ .ToArrayAsync();
var dayAndCostDraftSql = string.Format(@"Select ntf.Country,ntf.City,ssd.Name CurremcyCode,ssd.Remark CurrencyName,gdac.* From Grp_DayAndCostDraft gdac
Left Join Grp_NationalTravelFee ntf On ntf.Id = gdac.NationalTravelFeeId