Sfoglia il codice sorgente

Merge branch 'han' of uskycloud/usky-cloud into system-165

hanzhengyi 10 mesi fa
parent
commit
ca8d9aff97

+ 1 - 1
base-modules/service-system/service-system-biz/src/main/java/com/usky/system/service/impl/MceReceiveServiceImpl.java

@@ -122,7 +122,7 @@ public class MceReceiveServiceImpl extends AbstractCrudService<MceReceiveMapper,
             queryWrapper.select("content_id AS contentId","COUNT(read_flag=0 or null) as notReadCount","COUNT" +
                     "(read_flag=1 or null) as readCount","issuer_name AS issuerName")
                     .in("content_id",contentIds)
-                    .groupBy("content_id");
+                    .groupBy("content_id","issuer_name");
             List<Map<String,Object>> readStatisticList = this.listMaps(queryWrapper);
             for (int i = 0; i < page.getRecords().size(); i++) {
                 Map<String, Object> map = new HashMap<>();