You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

750 lines
28 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.sztzjy.digital_credit.mapper.StuUserPortraitMapper">
<resultMap id="BaseResultMap" type="com.sztzjy.digital_credit.entity.StuUserPortrait">
<id column="id" jdbcType="INTEGER" property="id" />
<result column="step_one_a" jdbcType="VARCHAR" property="stepOneA" />
<result column="step_one_b" jdbcType="VARCHAR" property="stepOneB" />
<result column="step_one_c" jdbcType="VARCHAR" property="stepOneC" />
<result column="step_one_d" jdbcType="VARCHAR" property="stepOneD" />
<result column="step_two_a" jdbcType="VARCHAR" property="stepTwoA" />
<result column="step_two_b" jdbcType="VARCHAR" property="stepTwoB" />
<result column="step_two_c" jdbcType="VARCHAR" property="stepTwoC" />
<result column="step_three_a" jdbcType="VARCHAR" property="stepThreeA" />
<result column="step_three_b" jdbcType="VARCHAR" property="stepThreeB" />
<result column="step_three_c" jdbcType="VARCHAR" property="stepThreeC" />
<result column="step_three_d" jdbcType="VARCHAR" property="stepThreeD" />
<result column="step_four_a" jdbcType="VARCHAR" property="stepFourA" />
<result column="step_four_b" jdbcType="VARCHAR" property="stepFourB" />
<result column="step_four_c" jdbcType="VARCHAR" property="stepFourC" />
<result column="step_four_d" jdbcType="VARCHAR" property="stepFourD" />
<result column="step_five_a" jdbcType="VARCHAR" property="stepFiveA" />
<result column="step_five_b" jdbcType="VARCHAR" property="stepFiveB" />
<result column="step_five_c" jdbcType="VARCHAR" property="stepFiveC" />
<result column="step_five_d" jdbcType="VARCHAR" property="stepFiveD" />
<result column="step_six_a" jdbcType="VARCHAR" property="stepSixA" />
<result column="step_six_b" jdbcType="VARCHAR" property="stepSixB" />
<result column="step_six_c" jdbcType="VARCHAR" property="stepSixC" />
<result column="step_six_d" jdbcType="VARCHAR" property="stepSixD" />
<result column="step_seven_a" jdbcType="VARCHAR" property="stepSevenA" />
<result column="step_seven_b" jdbcType="VARCHAR" property="stepSevenB" />
<result column="step_seven_c" jdbcType="VARCHAR" property="stepSevenC" />
<result column="step_seven_d" jdbcType="VARCHAR" property="stepSevenD" />
<result column="step_eight_a" jdbcType="VARCHAR" property="stepEightA" />
<result column="step_eight_b" jdbcType="VARCHAR" property="stepEightB" />
<result column="step_eight_c" jdbcType="VARCHAR" property="stepEightC" />
<result column="step_eight_d" jdbcType="VARCHAR" property="stepEightD" />
<result column="step_nine_a" jdbcType="VARCHAR" property="stepNineA" />
<result column="step_nine_b" jdbcType="VARCHAR" property="stepNineB" />
<result column="step_nine_c" jdbcType="VARCHAR" property="stepNineC" />
<result column="step_nine_d" jdbcType="VARCHAR" property="stepNineD" />
<result column="user_id" jdbcType="VARCHAR" property="userId" />
<result column="sub_state" jdbcType="INTEGER" property="subState" />
<result column="module" jdbcType="VARCHAR" property="module" />
</resultMap>
<sql id="Example_Where_Clause">
<where>
<foreach collection="oredCriteria" item="criteria" separator="or">
<if test="criteria.valid">
<trim prefix="(" prefixOverrides="and" suffix=")">
<foreach collection="criteria.criteria" item="criterion">
<choose>
<when test="criterion.noValue">
and ${criterion.condition}
</when>
<when test="criterion.singleValue">
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue">
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue">
and ${criterion.condition}
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Update_By_Example_Where_Clause">
<where>
<foreach collection="example.oredCriteria" item="criteria" separator="or">
<if test="criteria.valid">
<trim prefix="(" prefixOverrides="and" suffix=")">
<foreach collection="criteria.criteria" item="criterion">
<choose>
<when test="criterion.noValue">
and ${criterion.condition}
</when>
<when test="criterion.singleValue">
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue">
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue">
and ${criterion.condition}
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Base_Column_List">
id, step_one_a, step_one_b, step_one_c, step_one_d, step_two_a, step_two_b, step_two_c,
step_three_a, step_three_b, step_three_c, step_three_d, step_four_a, step_four_b,
step_four_c, step_four_d, step_five_a, step_five_b, step_five_c, step_five_d, step_six_a,
step_six_b, step_six_c, step_six_d, step_seven_a, step_seven_b, step_seven_c, step_seven_d,
step_eight_a, step_eight_b, step_eight_c, step_eight_d, step_nine_a, step_nine_b,
step_nine_c, step_nine_d, user_id, sub_state, module
</sql>
<select id="selectByExample" parameterType="com.sztzjy.digital_credit.entity.StuUserPortraitExample" resultMap="BaseResultMap">
select
<if test="distinct">
distinct
</if>
<include refid="Base_Column_List" />
from stu_user_portrait
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null">
order by ${orderByClause}
</if>
</select>
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from stu_user_portrait
where id = #{id,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
delete from stu_user_portrait
where id = #{id,jdbcType=INTEGER}
</delete>
<delete id="deleteByExample" parameterType="com.sztzjy.digital_credit.entity.StuUserPortraitExample">
delete from stu_user_portrait
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="com.sztzjy.digital_credit.entity.StuUserPortrait">
insert into stu_user_portrait (id, step_one_a, step_one_b,
step_one_c, step_one_d, step_two_a,
step_two_b, step_two_c, step_three_a,
step_three_b, step_three_c, step_three_d,
step_four_a, step_four_b, step_four_c,
step_four_d, step_five_a, step_five_b,
step_five_c, step_five_d, step_six_a,
step_six_b, step_six_c, step_six_d,
step_seven_a, step_seven_b, step_seven_c,
step_seven_d, step_eight_a, step_eight_b,
step_eight_c, step_eight_d, step_nine_a,
step_nine_b, step_nine_c, step_nine_d,
user_id, sub_state, module
)
values (#{id,jdbcType=INTEGER}, #{stepOneA,jdbcType=VARCHAR}, #{stepOneB,jdbcType=VARCHAR},
#{stepOneC,jdbcType=VARCHAR}, #{stepOneD,jdbcType=VARCHAR}, #{stepTwoA,jdbcType=VARCHAR},
#{stepTwoB,jdbcType=VARCHAR}, #{stepTwoC,jdbcType=VARCHAR}, #{stepThreeA,jdbcType=VARCHAR},
#{stepThreeB,jdbcType=VARCHAR}, #{stepThreeC,jdbcType=VARCHAR}, #{stepThreeD,jdbcType=VARCHAR},
#{stepFourA,jdbcType=VARCHAR}, #{stepFourB,jdbcType=VARCHAR}, #{stepFourC,jdbcType=VARCHAR},
#{stepFourD,jdbcType=VARCHAR}, #{stepFiveA,jdbcType=VARCHAR}, #{stepFiveB,jdbcType=VARCHAR},
#{stepFiveC,jdbcType=VARCHAR}, #{stepFiveD,jdbcType=VARCHAR}, #{stepSixA,jdbcType=VARCHAR},
#{stepSixB,jdbcType=VARCHAR}, #{stepSixC,jdbcType=VARCHAR}, #{stepSixD,jdbcType=VARCHAR},
#{stepSevenA,jdbcType=VARCHAR}, #{stepSevenB,jdbcType=VARCHAR}, #{stepSevenC,jdbcType=VARCHAR},
#{stepSevenD,jdbcType=VARCHAR}, #{stepEightA,jdbcType=VARCHAR}, #{stepEightB,jdbcType=VARCHAR},
#{stepEightC,jdbcType=VARCHAR}, #{stepEightD,jdbcType=VARCHAR}, #{stepNineA,jdbcType=VARCHAR},
#{stepNineB,jdbcType=VARCHAR}, #{stepNineC,jdbcType=VARCHAR}, #{stepNineD,jdbcType=VARCHAR},
#{userId,jdbcType=VARCHAR}, #{subState,jdbcType=INTEGER}, #{module,jdbcType=VARCHAR}
)
</insert>
<insert id="insertSelective" parameterType="com.sztzjy.digital_credit.entity.StuUserPortrait">
insert into stu_user_portrait
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">
id,
</if>
<if test="stepOneA != null">
step_one_a,
</if>
<if test="stepOneB != null">
step_one_b,
</if>
<if test="stepOneC != null">
step_one_c,
</if>
<if test="stepOneD != null">
step_one_d,
</if>
<if test="stepTwoA != null">
step_two_a,
</if>
<if test="stepTwoB != null">
step_two_b,
</if>
<if test="stepTwoC != null">
step_two_c,
</if>
<if test="stepThreeA != null">
step_three_a,
</if>
<if test="stepThreeB != null">
step_three_b,
</if>
<if test="stepThreeC != null">
step_three_c,
</if>
<if test="stepThreeD != null">
step_three_d,
</if>
<if test="stepFourA != null">
step_four_a,
</if>
<if test="stepFourB != null">
step_four_b,
</if>
<if test="stepFourC != null">
step_four_c,
</if>
<if test="stepFourD != null">
step_four_d,
</if>
<if test="stepFiveA != null">
step_five_a,
</if>
<if test="stepFiveB != null">
step_five_b,
</if>
<if test="stepFiveC != null">
step_five_c,
</if>
<if test="stepFiveD != null">
step_five_d,
</if>
<if test="stepSixA != null">
step_six_a,
</if>
<if test="stepSixB != null">
step_six_b,
</if>
<if test="stepSixC != null">
step_six_c,
</if>
<if test="stepSixD != null">
step_six_d,
</if>
<if test="stepSevenA != null">
step_seven_a,
</if>
<if test="stepSevenB != null">
step_seven_b,
</if>
<if test="stepSevenC != null">
step_seven_c,
</if>
<if test="stepSevenD != null">
step_seven_d,
</if>
<if test="stepEightA != null">
step_eight_a,
</if>
<if test="stepEightB != null">
step_eight_b,
</if>
<if test="stepEightC != null">
step_eight_c,
</if>
<if test="stepEightD != null">
step_eight_d,
</if>
<if test="stepNineA != null">
step_nine_a,
</if>
<if test="stepNineB != null">
step_nine_b,
</if>
<if test="stepNineC != null">
step_nine_c,
</if>
<if test="stepNineD != null">
step_nine_d,
</if>
<if test="userId != null">
user_id,
</if>
<if test="subState != null">
sub_state,
</if>
<if test="module != null">
module,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">
#{id,jdbcType=INTEGER},
</if>
<if test="stepOneA != null">
#{stepOneA,jdbcType=VARCHAR},
</if>
<if test="stepOneB != null">
#{stepOneB,jdbcType=VARCHAR},
</if>
<if test="stepOneC != null">
#{stepOneC,jdbcType=VARCHAR},
</if>
<if test="stepOneD != null">
#{stepOneD,jdbcType=VARCHAR},
</if>
<if test="stepTwoA != null">
#{stepTwoA,jdbcType=VARCHAR},
</if>
<if test="stepTwoB != null">
#{stepTwoB,jdbcType=VARCHAR},
</if>
<if test="stepTwoC != null">
#{stepTwoC,jdbcType=VARCHAR},
</if>
<if test="stepThreeA != null">
#{stepThreeA,jdbcType=VARCHAR},
</if>
<if test="stepThreeB != null">
#{stepThreeB,jdbcType=VARCHAR},
</if>
<if test="stepThreeC != null">
#{stepThreeC,jdbcType=VARCHAR},
</if>
<if test="stepThreeD != null">
#{stepThreeD,jdbcType=VARCHAR},
</if>
<if test="stepFourA != null">
#{stepFourA,jdbcType=VARCHAR},
</if>
<if test="stepFourB != null">
#{stepFourB,jdbcType=VARCHAR},
</if>
<if test="stepFourC != null">
#{stepFourC,jdbcType=VARCHAR},
</if>
<if test="stepFourD != null">
#{stepFourD,jdbcType=VARCHAR},
</if>
<if test="stepFiveA != null">
#{stepFiveA,jdbcType=VARCHAR},
</if>
<if test="stepFiveB != null">
#{stepFiveB,jdbcType=VARCHAR},
</if>
<if test="stepFiveC != null">
#{stepFiveC,jdbcType=VARCHAR},
</if>
<if test="stepFiveD != null">
#{stepFiveD,jdbcType=VARCHAR},
</if>
<if test="stepSixA != null">
#{stepSixA,jdbcType=VARCHAR},
</if>
<if test="stepSixB != null">
#{stepSixB,jdbcType=VARCHAR},
</if>
<if test="stepSixC != null">
#{stepSixC,jdbcType=VARCHAR},
</if>
<if test="stepSixD != null">
#{stepSixD,jdbcType=VARCHAR},
</if>
<if test="stepSevenA != null">
#{stepSevenA,jdbcType=VARCHAR},
</if>
<if test="stepSevenB != null">
#{stepSevenB,jdbcType=VARCHAR},
</if>
<if test="stepSevenC != null">
#{stepSevenC,jdbcType=VARCHAR},
</if>
<if test="stepSevenD != null">
#{stepSevenD,jdbcType=VARCHAR},
</if>
<if test="stepEightA != null">
#{stepEightA,jdbcType=VARCHAR},
</if>
<if test="stepEightB != null">
#{stepEightB,jdbcType=VARCHAR},
</if>
<if test="stepEightC != null">
#{stepEightC,jdbcType=VARCHAR},
</if>
<if test="stepEightD != null">
#{stepEightD,jdbcType=VARCHAR},
</if>
<if test="stepNineA != null">
#{stepNineA,jdbcType=VARCHAR},
</if>
<if test="stepNineB != null">
#{stepNineB,jdbcType=VARCHAR},
</if>
<if test="stepNineC != null">
#{stepNineC,jdbcType=VARCHAR},
</if>
<if test="stepNineD != null">
#{stepNineD,jdbcType=VARCHAR},
</if>
<if test="userId != null">
#{userId,jdbcType=VARCHAR},
</if>
<if test="subState != null">
#{subState,jdbcType=INTEGER},
</if>
<if test="module != null">
#{module,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.sztzjy.digital_credit.entity.StuUserPortraitExample" resultType="java.lang.Long">
select count(*) from stu_user_portrait
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map">
update stu_user_portrait
<set>
<if test="record.id != null">
id = #{record.id,jdbcType=INTEGER},
</if>
<if test="record.stepOneA != null">
step_one_a = #{record.stepOneA,jdbcType=VARCHAR},
</if>
<if test="record.stepOneB != null">
step_one_b = #{record.stepOneB,jdbcType=VARCHAR},
</if>
<if test="record.stepOneC != null">
step_one_c = #{record.stepOneC,jdbcType=VARCHAR},
</if>
<if test="record.stepOneD != null">
step_one_d = #{record.stepOneD,jdbcType=VARCHAR},
</if>
<if test="record.stepTwoA != null">
step_two_a = #{record.stepTwoA,jdbcType=VARCHAR},
</if>
<if test="record.stepTwoB != null">
step_two_b = #{record.stepTwoB,jdbcType=VARCHAR},
</if>
<if test="record.stepTwoC != null">
step_two_c = #{record.stepTwoC,jdbcType=VARCHAR},
</if>
<if test="record.stepThreeA != null">
step_three_a = #{record.stepThreeA,jdbcType=VARCHAR},
</if>
<if test="record.stepThreeB != null">
step_three_b = #{record.stepThreeB,jdbcType=VARCHAR},
</if>
<if test="record.stepThreeC != null">
step_three_c = #{record.stepThreeC,jdbcType=VARCHAR},
</if>
<if test="record.stepThreeD != null">
step_three_d = #{record.stepThreeD,jdbcType=VARCHAR},
</if>
<if test="record.stepFourA != null">
step_four_a = #{record.stepFourA,jdbcType=VARCHAR},
</if>
<if test="record.stepFourB != null">
step_four_b = #{record.stepFourB,jdbcType=VARCHAR},
</if>
<if test="record.stepFourC != null">
step_four_c = #{record.stepFourC,jdbcType=VARCHAR},
</if>
<if test="record.stepFourD != null">
step_four_d = #{record.stepFourD,jdbcType=VARCHAR},
</if>
<if test="record.stepFiveA != null">
step_five_a = #{record.stepFiveA,jdbcType=VARCHAR},
</if>
<if test="record.stepFiveB != null">
step_five_b = #{record.stepFiveB,jdbcType=VARCHAR},
</if>
<if test="record.stepFiveC != null">
step_five_c = #{record.stepFiveC,jdbcType=VARCHAR},
</if>
<if test="record.stepFiveD != null">
step_five_d = #{record.stepFiveD,jdbcType=VARCHAR},
</if>
<if test="record.stepSixA != null">
step_six_a = #{record.stepSixA,jdbcType=VARCHAR},
</if>
<if test="record.stepSixB != null">
step_six_b = #{record.stepSixB,jdbcType=VARCHAR},
</if>
<if test="record.stepSixC != null">
step_six_c = #{record.stepSixC,jdbcType=VARCHAR},
</if>
<if test="record.stepSixD != null">
step_six_d = #{record.stepSixD,jdbcType=VARCHAR},
</if>
<if test="record.stepSevenA != null">
step_seven_a = #{record.stepSevenA,jdbcType=VARCHAR},
</if>
<if test="record.stepSevenB != null">
step_seven_b = #{record.stepSevenB,jdbcType=VARCHAR},
</if>
<if test="record.stepSevenC != null">
step_seven_c = #{record.stepSevenC,jdbcType=VARCHAR},
</if>
<if test="record.stepSevenD != null">
step_seven_d = #{record.stepSevenD,jdbcType=VARCHAR},
</if>
<if test="record.stepEightA != null">
step_eight_a = #{record.stepEightA,jdbcType=VARCHAR},
</if>
<if test="record.stepEightB != null">
step_eight_b = #{record.stepEightB,jdbcType=VARCHAR},
</if>
<if test="record.stepEightC != null">
step_eight_c = #{record.stepEightC,jdbcType=VARCHAR},
</if>
<if test="record.stepEightD != null">
step_eight_d = #{record.stepEightD,jdbcType=VARCHAR},
</if>
<if test="record.stepNineA != null">
step_nine_a = #{record.stepNineA,jdbcType=VARCHAR},
</if>
<if test="record.stepNineB != null">
step_nine_b = #{record.stepNineB,jdbcType=VARCHAR},
</if>
<if test="record.stepNineC != null">
step_nine_c = #{record.stepNineC,jdbcType=VARCHAR},
</if>
<if test="record.stepNineD != null">
step_nine_d = #{record.stepNineD,jdbcType=VARCHAR},
</if>
<if test="record.userId != null">
user_id = #{record.userId,jdbcType=VARCHAR},
</if>
<if test="record.subState != null">
sub_state = #{record.subState,jdbcType=INTEGER},
</if>
<if test="record.module != null">
module = #{record.module,jdbcType=VARCHAR},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map">
update stu_user_portrait
set id = #{record.id,jdbcType=INTEGER},
step_one_a = #{record.stepOneA,jdbcType=VARCHAR},
step_one_b = #{record.stepOneB,jdbcType=VARCHAR},
step_one_c = #{record.stepOneC,jdbcType=VARCHAR},
step_one_d = #{record.stepOneD,jdbcType=VARCHAR},
step_two_a = #{record.stepTwoA,jdbcType=VARCHAR},
step_two_b = #{record.stepTwoB,jdbcType=VARCHAR},
step_two_c = #{record.stepTwoC,jdbcType=VARCHAR},
step_three_a = #{record.stepThreeA,jdbcType=VARCHAR},
step_three_b = #{record.stepThreeB,jdbcType=VARCHAR},
step_three_c = #{record.stepThreeC,jdbcType=VARCHAR},
step_three_d = #{record.stepThreeD,jdbcType=VARCHAR},
step_four_a = #{record.stepFourA,jdbcType=VARCHAR},
step_four_b = #{record.stepFourB,jdbcType=VARCHAR},
step_four_c = #{record.stepFourC,jdbcType=VARCHAR},
step_four_d = #{record.stepFourD,jdbcType=VARCHAR},
step_five_a = #{record.stepFiveA,jdbcType=VARCHAR},
step_five_b = #{record.stepFiveB,jdbcType=VARCHAR},
step_five_c = #{record.stepFiveC,jdbcType=VARCHAR},
step_five_d = #{record.stepFiveD,jdbcType=VARCHAR},
step_six_a = #{record.stepSixA,jdbcType=VARCHAR},
step_six_b = #{record.stepSixB,jdbcType=VARCHAR},
step_six_c = #{record.stepSixC,jdbcType=VARCHAR},
step_six_d = #{record.stepSixD,jdbcType=VARCHAR},
step_seven_a = #{record.stepSevenA,jdbcType=VARCHAR},
step_seven_b = #{record.stepSevenB,jdbcType=VARCHAR},
step_seven_c = #{record.stepSevenC,jdbcType=VARCHAR},
step_seven_d = #{record.stepSevenD,jdbcType=VARCHAR},
step_eight_a = #{record.stepEightA,jdbcType=VARCHAR},
step_eight_b = #{record.stepEightB,jdbcType=VARCHAR},
step_eight_c = #{record.stepEightC,jdbcType=VARCHAR},
step_eight_d = #{record.stepEightD,jdbcType=VARCHAR},
step_nine_a = #{record.stepNineA,jdbcType=VARCHAR},
step_nine_b = #{record.stepNineB,jdbcType=VARCHAR},
step_nine_c = #{record.stepNineC,jdbcType=VARCHAR},
step_nine_d = #{record.stepNineD,jdbcType=VARCHAR},
user_id = #{record.userId,jdbcType=VARCHAR},
sub_state = #{record.subState,jdbcType=INTEGER},
module = #{record.module,jdbcType=VARCHAR}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.digital_credit.entity.StuUserPortrait">
update stu_user_portrait
<set>
<if test="stepOneA != null">
step_one_a = #{stepOneA,jdbcType=VARCHAR},
</if>
<if test="stepOneB != null">
step_one_b = #{stepOneB,jdbcType=VARCHAR},
</if>
<if test="stepOneC != null">
step_one_c = #{stepOneC,jdbcType=VARCHAR},
</if>
<if test="stepOneD != null">
step_one_d = #{stepOneD,jdbcType=VARCHAR},
</if>
<if test="stepTwoA != null">
step_two_a = #{stepTwoA,jdbcType=VARCHAR},
</if>
<if test="stepTwoB != null">
step_two_b = #{stepTwoB,jdbcType=VARCHAR},
</if>
<if test="stepTwoC != null">
step_two_c = #{stepTwoC,jdbcType=VARCHAR},
</if>
<if test="stepThreeA != null">
step_three_a = #{stepThreeA,jdbcType=VARCHAR},
</if>
<if test="stepThreeB != null">
step_three_b = #{stepThreeB,jdbcType=VARCHAR},
</if>
<if test="stepThreeC != null">
step_three_c = #{stepThreeC,jdbcType=VARCHAR},
</if>
<if test="stepThreeD != null">
step_three_d = #{stepThreeD,jdbcType=VARCHAR},
</if>
<if test="stepFourA != null">
step_four_a = #{stepFourA,jdbcType=VARCHAR},
</if>
<if test="stepFourB != null">
step_four_b = #{stepFourB,jdbcType=VARCHAR},
</if>
<if test="stepFourC != null">
step_four_c = #{stepFourC,jdbcType=VARCHAR},
</if>
<if test="stepFourD != null">
step_four_d = #{stepFourD,jdbcType=VARCHAR},
</if>
<if test="stepFiveA != null">
step_five_a = #{stepFiveA,jdbcType=VARCHAR},
</if>
<if test="stepFiveB != null">
step_five_b = #{stepFiveB,jdbcType=VARCHAR},
</if>
<if test="stepFiveC != null">
step_five_c = #{stepFiveC,jdbcType=VARCHAR},
</if>
<if test="stepFiveD != null">
step_five_d = #{stepFiveD,jdbcType=VARCHAR},
</if>
<if test="stepSixA != null">
step_six_a = #{stepSixA,jdbcType=VARCHAR},
</if>
<if test="stepSixB != null">
step_six_b = #{stepSixB,jdbcType=VARCHAR},
</if>
<if test="stepSixC != null">
step_six_c = #{stepSixC,jdbcType=VARCHAR},
</if>
<if test="stepSixD != null">
step_six_d = #{stepSixD,jdbcType=VARCHAR},
</if>
<if test="stepSevenA != null">
step_seven_a = #{stepSevenA,jdbcType=VARCHAR},
</if>
<if test="stepSevenB != null">
step_seven_b = #{stepSevenB,jdbcType=VARCHAR},
</if>
<if test="stepSevenC != null">
step_seven_c = #{stepSevenC,jdbcType=VARCHAR},
</if>
<if test="stepSevenD != null">
step_seven_d = #{stepSevenD,jdbcType=VARCHAR},
</if>
<if test="stepEightA != null">
step_eight_a = #{stepEightA,jdbcType=VARCHAR},
</if>
<if test="stepEightB != null">
step_eight_b = #{stepEightB,jdbcType=VARCHAR},
</if>
<if test="stepEightC != null">
step_eight_c = #{stepEightC,jdbcType=VARCHAR},
</if>
<if test="stepEightD != null">
step_eight_d = #{stepEightD,jdbcType=VARCHAR},
</if>
<if test="stepNineA != null">
step_nine_a = #{stepNineA,jdbcType=VARCHAR},
</if>
<if test="stepNineB != null">
step_nine_b = #{stepNineB,jdbcType=VARCHAR},
</if>
<if test="stepNineC != null">
step_nine_c = #{stepNineC,jdbcType=VARCHAR},
</if>
<if test="stepNineD != null">
step_nine_d = #{stepNineD,jdbcType=VARCHAR},
</if>
<if test="userId != null">
user_id = #{userId,jdbcType=VARCHAR},
</if>
<if test="subState != null">
sub_state = #{subState,jdbcType=INTEGER},
</if>
<if test="module != null">
module = #{module,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey" parameterType="com.sztzjy.digital_credit.entity.StuUserPortrait">
update stu_user_portrait
set step_one_a = #{stepOneA,jdbcType=VARCHAR},
step_one_b = #{stepOneB,jdbcType=VARCHAR},
step_one_c = #{stepOneC,jdbcType=VARCHAR},
step_one_d = #{stepOneD,jdbcType=VARCHAR},
step_two_a = #{stepTwoA,jdbcType=VARCHAR},
step_two_b = #{stepTwoB,jdbcType=VARCHAR},
step_two_c = #{stepTwoC,jdbcType=VARCHAR},
step_three_a = #{stepThreeA,jdbcType=VARCHAR},
step_three_b = #{stepThreeB,jdbcType=VARCHAR},
step_three_c = #{stepThreeC,jdbcType=VARCHAR},
step_three_d = #{stepThreeD,jdbcType=VARCHAR},
step_four_a = #{stepFourA,jdbcType=VARCHAR},
step_four_b = #{stepFourB,jdbcType=VARCHAR},
step_four_c = #{stepFourC,jdbcType=VARCHAR},
step_four_d = #{stepFourD,jdbcType=VARCHAR},
step_five_a = #{stepFiveA,jdbcType=VARCHAR},
step_five_b = #{stepFiveB,jdbcType=VARCHAR},
step_five_c = #{stepFiveC,jdbcType=VARCHAR},
step_five_d = #{stepFiveD,jdbcType=VARCHAR},
step_six_a = #{stepSixA,jdbcType=VARCHAR},
step_six_b = #{stepSixB,jdbcType=VARCHAR},
step_six_c = #{stepSixC,jdbcType=VARCHAR},
step_six_d = #{stepSixD,jdbcType=VARCHAR},
step_seven_a = #{stepSevenA,jdbcType=VARCHAR},
step_seven_b = #{stepSevenB,jdbcType=VARCHAR},
step_seven_c = #{stepSevenC,jdbcType=VARCHAR},
step_seven_d = #{stepSevenD,jdbcType=VARCHAR},
step_eight_a = #{stepEightA,jdbcType=VARCHAR},
step_eight_b = #{stepEightB,jdbcType=VARCHAR},
step_eight_c = #{stepEightC,jdbcType=VARCHAR},
step_eight_d = #{stepEightD,jdbcType=VARCHAR},
step_nine_a = #{stepNineA,jdbcType=VARCHAR},
step_nine_b = #{stepNineB,jdbcType=VARCHAR},
step_nine_c = #{stepNineC,jdbcType=VARCHAR},
step_nine_d = #{stepNineD,jdbcType=VARCHAR},
user_id = #{userId,jdbcType=VARCHAR},
sub_state = #{subState,jdbcType=INTEGER},
module = #{module,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>