From fe9f4a94c14d9453ac9767d988938372f8eddb25 Mon Sep 17 00:00:00 2001
From: ASxx <2075995406@qq.com>
Date: Tue, 22 Aug 2023 11:15:48 +0800
Subject: [PATCH] =?UTF-8?q?=E7=BD=91=E8=AF=84=E8=A1=A8=E6=96=B0=E5=A2=9E?=
=?UTF-8?q?=E5=AD=97=E6=AE=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../com/ruoyi/zongzhi/domain/TcNetworkEvaluate.java | 10 ++++++++++
.../mapper/zongzhi/TcNetworkEvaluateMapper.xml | 7 ++++++-
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zongzhi/domain/TcNetworkEvaluate.java b/ruoyi-admin/src/main/java/com/ruoyi/zongzhi/domain/TcNetworkEvaluate.java
index e53af3c..b0ba04c 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/zongzhi/domain/TcNetworkEvaluate.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/zongzhi/domain/TcNetworkEvaluate.java
@@ -3,6 +3,7 @@ package com.ruoyi.zongzhi.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
+import io.swagger.models.auth.In;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
@@ -116,4 +117,13 @@ public class TcNetworkEvaluate extends BaseEntity {
@ApiModelProperty(value = "修改人ID")
private Long updateId;
+
+ /**
+ * 网评类型 1:本级网评 2:上级网评
+ */
+ @Excel(name = "网评类型")
+ @ApiModelProperty(value = "网评类型 1:本级网评 2:上级网评")
+ private Integer appraiserType;
+
+
}
diff --git a/ruoyi-system/src/main/resources/mapper/zongzhi/TcNetworkEvaluateMapper.xml b/ruoyi-system/src/main/resources/mapper/zongzhi/TcNetworkEvaluateMapper.xml
index 9ffa067..63b7efe 100644
--- a/ruoyi-system/src/main/resources/mapper/zongzhi/TcNetworkEvaluateMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/zongzhi/TcNetworkEvaluateMapper.xml
@@ -24,10 +24,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+
- select id, area_id, article_id, article_type, appraiser_id, appraiser_name, article_title, article_content, article_source, article_url, pj_content, pj_time, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_network_evaluate
+ select id, area_id, article_id, article_type, appraiser_type,appraiser_id, appraiser_name, article_title, article_content, article_source, article_url, pj_content, pj_time, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_network_evaluate
@@ -75,6 +77,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
update_by,
update_time,
remark,
+ appraiser_type,
#{areaId},
@@ -95,6 +98,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
#{updateBy},
#{updateTime},
#{remark},
+ #{appraiserType},
@@ -119,6 +123,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
update_by = #{updateBy},
update_time = #{updateTime},
remark = #{remark},
+ appraiser_type = #{appraiserType},
where id = #{id}