Browse Source

调整消息管理字段返回

hanzhengyi 10 months ago
parent
commit
f438c0c555

+ 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<>();