|
@@ -64,7 +64,7 @@ public interface UserKnockRecordRepository extends BaseRepository<UserKnockRecor
|
|
|
"ur.create_date = ?1 " +
|
|
|
"GROUP BY ur.open_id " +
|
|
|
") AS un " +
|
|
|
- "ON ui.open_id = un.open_id " +
|
|
|
+ "ON ui.open_id = un.open_id WHERE num > 0 " +
|
|
|
"ORDER BY num DESC ",
|
|
|
nativeQuery = true)
|
|
|
List<Map<String,Integer>> orderByCurrentDateNum(String createDate);
|
|
@@ -88,7 +88,7 @@ public interface UserKnockRecordRepository extends BaseRepository<UserKnockRecor
|
|
|
|
|
|
"GROUP BY ur.open_id " +
|
|
|
") AS un " +
|
|
|
- "ON ui.open_id = un.open_id " +
|
|
|
+ "ON ui.open_id = un.open_id WHERE num > 0 " +
|
|
|
"ORDER BY num DESC ",
|
|
|
nativeQuery = true)
|
|
|
List<Map<String,Integer>> orderByTotalNum();
|