网评表新增字段

dongdingding
董丁丁 2 years ago
parent c9bfa9e9f0
commit fe9f4a94c1

@ -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;
}

@ -24,10 +24,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
<result property="appraiserType" column="appraiser_type" />
</resultMap>
<sql id="selectTcNetworkEvaluateVo">
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
</sql>
<select id="selectTcNetworkEvaluateList" parameterType="TcNetworkEvaluate" resultMap="TcNetworkEvaluateResult">
@ -46,6 +47,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="pjTime != null "> and pj_time = #{pjTime}</if>
<if test="createId != null "> and create_id = #{createId}</if>
<if test="updateId != null "> and update_id = #{updateId}</if>
<if test="appraiserType != null "> and appraiser_type = #{appraiserType}</if>
</where>
</select>
@ -75,6 +77,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
<if test="appraiserType != null">appraiser_type,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="areaId != null">#{areaId},</if>
@ -95,6 +98,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
<if test="appraiserType != null">#{appraiserType},</if>
</trim>
</insert>
@ -119,6 +123,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
<if test="appraiserType != null">appraiser_type = #{appraiserType},</if>
</trim>
where id = #{id}
</update>

Loading…
Cancel
Save