|
@@ -410,8 +410,9 @@ namespace OASystem.Infrastructure.Repositories.Financial
|
|
|
//应收款项
|
|
|
string groupReceivedSql = string.Format(@"Select *,su.CnName As AuditorName, ssd.Name as 'CurrencyStr' From Fin_ForeignReceivables ffr
|
|
|
Left Join Sys_Users su On ffr.Auditor = su.Id
|
|
|
-Where ffr.IsDel=0 And ffr.Diid={0}
|
|
|
-LEFT JOIN Sys_SetData ssd on ffr.Currency = ssd.Id AND ssd.IsDel = 0", dto.DiId);
|
|
|
+LEFT JOIN Sys_SetData ssd on ffr.Currency = ssd.Id AND ssd.IsDel = 0
|
|
|
+Where ffr.IsDel=0 And ffr.Diid={0}", dto.DiId);
|
|
|
+
|
|
|
var groupReceivedList = await _sqlSugar.SqlQueryable<ProceedsReceivedNewView>(groupReceivedSql).ToListAsync();
|
|
|
|
|
|
result.Code = 200;
|