|
@@ -744,8 +744,46 @@ namespace OASystem.API.Controllers
|
|
|
Left Join Sys_SetData sd1 On ccp.PaymentCurrency = sd1.Id
|
|
|
Left Join Sys_SetData sd2 On ccp.PayDId = sd2.Id
|
|
|
Left Join Sys_Users u On ccp.CreateUserId = u.Id
|
|
|
- Where dp.IsDel = 0 And ccp.IsAuditGM = 1 And ccp.IsPay = 1 And dp.Diid = {0}",_dto.DiId);
|
|
|
+ Where dp.IsDel = 0 And ccp.IsAuditGM = 1 And ccp.IsPay = 1 And dp.Diid = {0}",_dto.DiId);
|
|
|
groupDecreaseFeeViews = await _sqlSugar.SqlQueryable<GroupDecreaseFeeView>(groupDecreaseFeeSql).ToListAsync();
|
|
|
+
|
|
|
+ //模拟数据
|
|
|
+ if (groupDecreaseFeeViews.Count < 1)
|
|
|
+ {
|
|
|
+ groupDecreaseFeeViews.Add(new GroupDecreaseFeeView()
|
|
|
+ {
|
|
|
+ DPId = 0,
|
|
|
+ DPDiId = 2334,
|
|
|
+ PriceName = "模拟数据-费用名称",
|
|
|
+ PayMoney = 1000.00M,
|
|
|
+ PayMoneyCurrency = "CNY",
|
|
|
+ DayRate = 1.0000M,
|
|
|
+ CNYPrice = 1.0000M,
|
|
|
+ AuditGMDate = "2023-12-10 12:13:00",
|
|
|
+ Payee = "模拟数据-付款方",
|
|
|
+ OrbitalPrivateTransfer = 1,
|
|
|
+ PayWay = "现金",
|
|
|
+ IsPay = 1,
|
|
|
+ Applicant = "刘华举"
|
|
|
+ });
|
|
|
+ groupDecreaseFeeViews.Add(new GroupDecreaseFeeView()
|
|
|
+ {
|
|
|
+ DPId = 0,
|
|
|
+ DPDiId = 2334,
|
|
|
+ PriceName = "模拟数据-费用名称",
|
|
|
+ PayMoney = 1000.00M,
|
|
|
+ PayMoneyCurrency = "CNY",
|
|
|
+ DayRate = 1.0000M,
|
|
|
+ CNYPrice = 1.0000M,
|
|
|
+ AuditGMDate = "2023-12-10 12:13:00",
|
|
|
+ Payee = "模拟数据-付款方",
|
|
|
+ OrbitalPrivateTransfer = 1,
|
|
|
+ PayWay = "现金",
|
|
|
+ IsPay = 1,
|
|
|
+ Applicant = "刘华举"
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
decimal DecreaseCNYTotalPrice = 0.00M;
|
|
|
foreach (var item in groupDecreaseFeeViews)
|
|
|
{
|