개정판 3ccb1a8d
issue #0000
- Total Count 쿼리 수정
- Selected/Total 적용
- SummaryRow 삭제
Change-Id: Iaaa67a8396b34e3c0414c67fa06edbd74e4b299a
ID2.Manager/ID2.Manager.Dapper/Repository/DocumentRepository.cs | ||
---|---|---|
117 | 117 |
where doc.IsDeleted=0 {sbWhere} |
118 | 118 |
order by doc.Seq |
119 | 119 |
|
120 |
select @Total=count(*) from dbo.Documents doc where 1=1 {sbTotalWhere}
|
|
120 |
select @Total=count(*) from dbo.Documents doc where doc.IsDeleted=0 {sbTotalWhere}
|
|
121 | 121 |
select @Total;"; |
122 | 122 |
|
123 | 123 |
if (parameters.Count > 0) |
내보내기 Unified diff