From 7b1772169b274e87fe441923f0dbf5e25ee30a72 Mon Sep 17 00:00:00 2001
From: huliguo <2023611923@qq.com>
Date: 星期四, 31 七月 2025 14:05:56 +0800
Subject: [PATCH] 优化

---
 pt-errand/src/main/java/com/ruoyi/errand/service/impl/EvaluationServiceImpl.java |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/pt-errand/src/main/java/com/ruoyi/errand/service/impl/EvaluationServiceImpl.java b/pt-errand/src/main/java/com/ruoyi/errand/service/impl/EvaluationServiceImpl.java
index 5207bb7..917dbee 100644
--- a/pt-errand/src/main/java/com/ruoyi/errand/service/impl/EvaluationServiceImpl.java
+++ b/pt-errand/src/main/java/com/ruoyi/errand/service/impl/EvaluationServiceImpl.java
@@ -64,6 +64,7 @@
         evaluation.setRating(addEvaluationDTO.getRating());
         evaluation.setContent(addEvaluationDTO.getContent());
         evaluation.setCreateTime(LocalDateTime.now());
+        evaluation.setImgUrl(addEvaluationDTO.getImgUrl());
         this.save(evaluation);
     }
 
@@ -76,6 +77,7 @@
         evaluation.setRating(addEvaluationDTO.getRating());
         evaluation.setContent(addEvaluationDTO.getContent());
         evaluation.setUpdateTime(LocalDateTime.now());
+        evaluation.setImgUrl(addEvaluationDTO.getImgUrl());
         this.updateById(evaluation);
     }
 }
\ No newline at end of file

--
Gitblit v1.7.1