From 0837cd6264e4b0ca436766f89553a93607229618 Mon Sep 17 00:00:00 2001 From: cjw Date: Mon, 14 Oct 2024 10:39:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E6=A1=A3=E6=A1=88=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=9B=BE=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/dromara/scale/domain/vo/ArchiveStatisticVo.java | 5 +++++ .../src/main/resources/mapper/scale/ArchiveMapper.xml | 1 + 2 files changed, 6 insertions(+) diff --git a/ruoyi-modules/rouyi-scale/src/main/java/org/dromara/scale/domain/vo/ArchiveStatisticVo.java b/ruoyi-modules/rouyi-scale/src/main/java/org/dromara/scale/domain/vo/ArchiveStatisticVo.java index f124673..359677f 100644 --- a/ruoyi-modules/rouyi-scale/src/main/java/org/dromara/scale/domain/vo/ArchiveStatisticVo.java +++ b/ruoyi-modules/rouyi-scale/src/main/java/org/dromara/scale/domain/vo/ArchiveStatisticVo.java @@ -1,6 +1,8 @@ package org.dromara.scale.domain.vo; import lombok.Data; +import org.dromara.common.translation.annotation.Translation; +import org.dromara.common.translation.constant.TransConstant; import java.io.Serial; import java.io.Serializable; @@ -31,4 +33,7 @@ public class ArchiveStatisticVo implements Serializable { private Integer situation; private String createTime; + + @Translation(type = TransConstant.OSS_ID_TO_URL) + private Long appCoverUrl; } diff --git a/ruoyi-modules/rouyi-scale/src/main/resources/mapper/scale/ArchiveMapper.xml b/ruoyi-modules/rouyi-scale/src/main/resources/mapper/scale/ArchiveMapper.xml index edc6e74..35a0f2f 100644 --- a/ruoyi-modules/rouyi-scale/src/main/resources/mapper/scale/ArchiveMapper.xml +++ b/ruoyi-modules/rouyi-scale/src/main/resources/mapper/scale/ArchiveMapper.xml @@ -29,6 +29,7 @@ sp.session_name, s.scale_id, s.scale_name, + s.app_cover as appCoverUrl, MAX(sfr.situation) as `situation`, er.create_time, er.record_id