|
|
@@ -41,6 +41,7 @@
|
|
|
<result column="username" jdbcType="VARCHAR" property="username" />
|
|
|
<result column="authentication" jdbcType="INTEGER" property="authentication" />
|
|
|
<result column="level" jdbcType="INTEGER" property="level" />
|
|
|
+ <result column="integrity" jdbcType="FLOAT" property="integrity" />
|
|
|
</resultMap>
|
|
|
<sql id="Example_Where_Clause">
|
|
|
<!--
|
|
|
@@ -120,7 +121,7 @@
|
|
|
source, update_time, company_logo_url, head_portrait_url, society_tag, introduction,
|
|
|
value_added_tag, organization_id, identify_name, background_url, audit_opinion, audit_status,
|
|
|
share_type, aid, transfer_time, information_maintainer, core_technology, accomplish_situation,
|
|
|
- intellectual_property, credit_rating, username, authentication, level
|
|
|
+ intellectual_property, credit_rating, username, authentication, level,integrity
|
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.goafanti.common.model.UserExample" resultMap="BaseResultMap">
|
|
|
<!--
|
|
|
@@ -189,7 +190,7 @@
|
|
|
transfer_time, information_maintainer,
|
|
|
core_technology, accomplish_situation, intellectual_property,
|
|
|
credit_rating, username, authentication,
|
|
|
- level)
|
|
|
+ level,integrity)
|
|
|
values (#{id,jdbcType=VARCHAR}, #{mobile,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR},
|
|
|
#{nickname,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
|
|
|
#{number,jdbcType=BIGINT}, #{lvl,jdbcType=INTEGER}, #{type,jdbcType=INTEGER}, #{mid,jdbcType=VARCHAR},
|
|
|
@@ -201,7 +202,7 @@
|
|
|
#{transferTime,jdbcType=TIMESTAMP}, #{informationMaintainer,jdbcType=VARCHAR},
|
|
|
#{coreTechnology,jdbcType=VARCHAR}, #{accomplishSituation,jdbcType=VARCHAR}, #{intellectualProperty,jdbcType=VARCHAR},
|
|
|
#{creditRating,jdbcType=INTEGER}, #{username,jdbcType=VARCHAR}, #{authentication,jdbcType=INTEGER},
|
|
|
- #{level,jdbcType=INTEGER})
|
|
|
+ #{level,jdbcType=INTEGER},#{integrity,jdbcType=FLOAT})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.goafanti.common.model.User">
|
|
|
<!--
|
|
|
@@ -313,6 +314,9 @@
|
|
|
<if test="level != null">
|
|
|
level,
|
|
|
</if>
|
|
|
+ <if test="integrity != null">
|
|
|
+ integrity,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">
|
|
|
@@ -417,6 +421,9 @@
|
|
|
<if test="level != null">
|
|
|
#{level,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="integrity != null">
|
|
|
+ #{integrity,jdbcType=FLOAT}
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<select id="countByExample" parameterType="com.goafanti.common.model.UserExample" resultType="java.lang.Long">
|
|
|
@@ -585,7 +592,8 @@
|
|
|
credit_rating = #{record.creditRating,jdbcType=INTEGER},
|
|
|
username = #{record.username,jdbcType=VARCHAR},
|
|
|
authentication = #{record.authentication,jdbcType=INTEGER},
|
|
|
- level = #{record.level,jdbcType=INTEGER}
|
|
|
+ level = #{record.level,jdbcType=INTEGER},
|
|
|
+ integrity = #{integrity ,jdbcType=FLOAT}
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
|
@@ -697,6 +705,9 @@
|
|
|
<if test="level != null">
|
|
|
level = #{level,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="integrity != null">
|
|
|
+ integrity = #{integrity ,jdbcType=FLOAT}
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
@@ -739,7 +750,8 @@
|
|
|
credit_rating = #{creditRating,jdbcType=INTEGER},
|
|
|
username = #{username,jdbcType=VARCHAR},
|
|
|
authentication = #{authentication,jdbcType=INTEGER},
|
|
|
- level = #{level,jdbcType=INTEGER}
|
|
|
+ level = #{level,jdbcType=INTEGER},
|
|
|
+ integrity = #{integrity ,jdbcType=FLOAT}
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
|