소스 검색

1.其他费用录入 DecreasePaymentsList 列表 审核字段更改
(IsAuditDM --> IsAuditGM)

leiy 10 달 전
부모
커밋
e6fff6ad36
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 5 5
      OASystem/OASystem.Infrastructure/Repositories/Groups/DecreasePaymentsRepository.cs

+ 5 - 5
OASystem/OASystem.Infrastructure/Repositories/Groups/DecreasePaymentsRepository.cs

@@ -54,11 +54,11 @@ namespace OASystem.Infrastructure.Repositories.Groups
 
                 //雷怡 2024-5-8 15:14 新增View字段 CreateTime
                 string sql = string.Format(@" Select gdp.Id,gdp.DiId,gdp.PriceName,gdp.Price,sd1.[Name] as Currency,gdp.FilePath,su.CnName as CreateUserName,
-ccp.IsAuditDM as isAudit,ccp.IsPay,gdp.CreateTime
-From Grp_DecreasePayments as gdp With(Nolock) Left Join Grp_CreditCardPayment as ccp With(Nolock) On gdp.Id = ccp.CId
-Left Join Sys_SetData as sd1 On gdp.Currency = sd1.Id
-Left Join Sys_Users as su On gdp.CreateUserId = su.Id
-Where gdp.DiId = {0} And ccp.CTable = 98 {2} And ccp.IsDel = 0 And gdp.IsDel = 0 And gdp.CreateUserId in ({1}) ", dto.DiId, dto.UserId, sqlWhere);
+                                              ccp.IsAuditGM as isAudit,ccp.IsPay,gdp.CreateTime
+                                              From Grp_DecreasePayments as gdp With(Nolock) Left Join Grp_CreditCardPayment as ccp With(Nolock) On gdp.Id = ccp.CId
+                                              Left Join Sys_SetData as sd1 On gdp.Currency = sd1.Id
+                                              Left Join Sys_Users as su On gdp.CreateUserId = su.Id
+                                              Where gdp.DiId = {0} And ccp.CTable = 98 {2} And ccp.IsDel = 0 And gdp.IsDel = 0 And gdp.CreateUserId in ({1}) ", dto.DiId, dto.UserId, sqlWhere);
                 List<DecreasePaymentsView> _DecreasePayments = await _sqlSugar.SqlQueryable<DecreasePaymentsView>(sql).ToListAsync();
                 if (_DecreasePayments.Count > 0)
                 {