|
|
@@ -20,6 +20,7 @@
|
|
|
<result column="VCI_MODIFY_USER" jdbcType="VARCHAR" property="modifyUser" />
|
|
|
<result column="VCI_MODIFY_TIME" jdbcType="VARCHAR" property="modifyTime" />
|
|
|
<result column="VCI_STATUS" jdbcType="CHAR" property="status" />
|
|
|
+ <result column="VCI_ROLE" jdbcType="VARCHAR" property="role" />
|
|
|
</resultMap>
|
|
|
<sql id="Example_Where_Clause">
|
|
|
<!--
|
|
|
@@ -94,7 +95,7 @@
|
|
|
-->
|
|
|
VCI_ID, VCI_CHANNEL, VCI_NAME, VCI_TYPE, VCI_PHONE, VCI_OPENID, VCI_HEADPATH, VCI_IS_USER,
|
|
|
VCI_USER_ID, VCI_CREATE_USER, VCI_CREATE_TIME, VCI_MODIFY_USER, VCI_MODIFY_TIME,
|
|
|
- VCI_STATUS
|
|
|
+ VCI_STATUS, VCI_ROLE
|
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.minpay.db.table.model.VmPersonInfExample" resultMap="BaseResultMap">
|
|
|
<!--
|
|
|
@@ -151,12 +152,12 @@
|
|
|
VCI_TYPE, VCI_PHONE, VCI_OPENID, VCI_HEADPATH,
|
|
|
VCI_IS_USER, VCI_USER_ID, VCI_CREATE_USER,
|
|
|
VCI_CREATE_TIME, VCI_MODIFY_USER, VCI_MODIFY_TIME,
|
|
|
- VCI_STATUS)
|
|
|
+ VCI_STATUS, VCI_ROLE)
|
|
|
values (#{id,jdbcType=VARCHAR}, #{channel,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
|
|
|
#{type,jdbcType=CHAR}, #{phone,jdbcType=VARCHAR}, #{openid,jdbcType=VARCHAR}, #{headpath,jdbcType=VARCHAR},
|
|
|
#{isUser,jdbcType=VARCHAR}, #{userId,jdbcType=VARCHAR}, #{createUser,jdbcType=VARCHAR},
|
|
|
#{createTime,jdbcType=VARCHAR}, #{modifyUser,jdbcType=VARCHAR}, #{modifyTime,jdbcType=VARCHAR},
|
|
|
- #{status,jdbcType=CHAR})
|
|
|
+ #{status,jdbcType=CHAR}, #{role,jdbcType=VARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.minpay.db.table.model.VmPersonInf">
|
|
|
<!--
|
|
|
@@ -207,6 +208,9 @@
|
|
|
<if test="status != null">
|
|
|
VCI_STATUS,
|
|
|
</if>
|
|
|
+ <if test="role != null">
|
|
|
+ VCI_ROLE,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">
|
|
|
@@ -251,6 +255,9 @@
|
|
|
<if test="status != null">
|
|
|
#{status,jdbcType=CHAR},
|
|
|
</if>
|
|
|
+ <if test="role != null">
|
|
|
+ #{role,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<select id="countByExample" parameterType="com.minpay.db.table.model.VmPersonInfExample" resultType="java.lang.Integer">
|
|
|
@@ -312,6 +319,9 @@
|
|
|
<if test="record.status != null">
|
|
|
VCI_STATUS = #{record.status,jdbcType=CHAR},
|
|
|
</if>
|
|
|
+ <if test="record.role != null">
|
|
|
+ VCI_ROLE = #{record.role,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
@@ -336,7 +346,8 @@
|
|
|
VCI_CREATE_TIME = #{record.createTime,jdbcType=VARCHAR},
|
|
|
VCI_MODIFY_USER = #{record.modifyUser,jdbcType=VARCHAR},
|
|
|
VCI_MODIFY_TIME = #{record.modifyTime,jdbcType=VARCHAR},
|
|
|
- VCI_STATUS = #{record.status,jdbcType=CHAR}
|
|
|
+ VCI_STATUS = #{record.status,jdbcType=CHAR},
|
|
|
+ VCI_ROLE = #{record.role,jdbcType=VARCHAR}
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
|
@@ -387,6 +398,9 @@
|
|
|
<if test="status != null">
|
|
|
VCI_STATUS = #{status,jdbcType=CHAR},
|
|
|
</if>
|
|
|
+ <if test="role != null">
|
|
|
+ VCI_ROLE = #{role,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where VCI_ID = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
@@ -408,7 +422,8 @@
|
|
|
VCI_CREATE_TIME = #{createTime,jdbcType=VARCHAR},
|
|
|
VCI_MODIFY_USER = #{modifyUser,jdbcType=VARCHAR},
|
|
|
VCI_MODIFY_TIME = #{modifyTime,jdbcType=VARCHAR},
|
|
|
- VCI_STATUS = #{status,jdbcType=CHAR}
|
|
|
+ VCI_STATUS = #{status,jdbcType=CHAR},
|
|
|
+ VCI_ROLE = #{role,jdbcType=VARCHAR}
|
|
|
where VCI_ID = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
</mapper>
|