Merge pull request '社区动态总数去除评论数' (#1050) from wanjia9506/microservices:dev_monitoring_import_ach into dev_monitoring
This commit is contained in:
commit
4513ae20d6
|
|
@ -186,6 +186,7 @@ public class SchoolEnterpriseAchievements extends BaseEntity {
|
|||
)
|
||||
private String achievementCurStatus;
|
||||
//团队名称
|
||||
@Excel(name = "成果团队名称")
|
||||
private String teamName;
|
||||
|
||||
private List<AchievementTeam> teamList;
|
||||
|
|
|
|||
|
|
@ -222,6 +222,7 @@ public class SchoolEnterpriseAchievementsServiceImpl implements ISchoolEnterpris
|
|||
private String handleAchievementImage(SchoolEnterpriseAchievements achievement, Map<String, MultipartFile> imageMap) {
|
||||
String imageCellKey = achievement.getImages();
|
||||
if (StringUtils.isEmpty(imageCellKey) || !imageMap.containsKey(imageCellKey)) {
|
||||
achievement.setImages("[]");
|
||||
return "无图片,跳过处理";
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -473,7 +473,7 @@
|
|||
from (
|
||||
(select count(1) as "auditSum"
|
||||
from memos
|
||||
where destroy_status is null and hidden = 0 and published_at is not null) a,
|
||||
where destroy_status is null and hidden = 0 and published_at is not null AND root_id IS NULL) a,
|
||||
(select count(1) as "allSum" from memos) b,
|
||||
(select count(1) as "currentYearSum"
|
||||
from memos
|
||||
|
|
|
|||
Loading…
Reference in New Issue