@@ -90,4 +90,12 @@ public class FindEvaluateResponseDTO {
@Schema(description = "是否匿名 0-匿名 1-不匿名")
private Integer isAnonymous;
+ /**回复内容*/
+ @Schema(description = "场地名称")
+ private String siteName;
+
+ @Schema(description = "回复内容")
+ private String siteId;
}
@@ -3,7 +3,7 @@
<mapper namespace="org.jeecg.modules.system.app.mapper.EvaluateMapper">
<select id="findPage" resultType="org.jeecg.modules.system.app.dto.evaluate.FindEvaluateResponseDTO">
- select ne.id,
+ select ne.id,ns.id as siteId,ns.name as siteName,
ne.score,ne.evaluate_content,su.avatar,ne.images,ne.check_status,ne.reply_status,ne.reply_content,ne.reply_time,ne.type,ne.create_time,sd.depart_name,ns.address,su.username,su.phone,ne.is_anonymous
from nm_evaluate ne
left join sys_depart sd on ne.dept_id = sd.id