From b25009c986ae9dfc2f50a84d45b565bdf2342488 Mon Sep 17 00:00:00 2001 From: sxu <602087911@qq.com> Date: Thu, 8 May 2025 11:16:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=95=E8=AF=89=E5=9B=BE=E7=89=87=E5=9B=9E?= =?UTF-8?q?=E6=98=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../canteen/core/alloc/domain/AllocCanteenSuggestion.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/alloc/domain/AllocCanteenSuggestion.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/alloc/domain/AllocCanteenSuggestion.java index 8b74637..c2973fa 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/alloc/domain/AllocCanteenSuggestion.java +++ b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/alloc/domain/AllocCanteenSuggestion.java @@ -1,5 +1,6 @@ package com.bonus.canteen.core.alloc.domain; +import com.bonus.canteen.core.common.utils.FileUrlUtil; import com.bonus.common.core.annotation.Excel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; @@ -68,5 +69,7 @@ public class AllocCanteenSuggestion extends BaseEntity { @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") private Long replyState; - + public String getComplaintPicture() { + return FileUrlUtil.getFileUrl(this.complaintPicture); + } }