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