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.
969 lines
38 KiB
XML
969 lines
38 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.marketing.mapper.StuUploadExcelUserMapper">
|
|
<resultMap id="BaseResultMap" type="com.sztzjy.marketing.entity.StuUploadExcelUser">
|
|
<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="success_number" jdbcType="INTEGER" property="successNumber" />
|
|
<result column="user_id" jdbcType="VARCHAR" property="userId" />
|
|
<result column="sub_state" jdbcType="INTEGER" property="subState" />
|
|
<result column="module" jdbcType="VARCHAR" property="module" />
|
|
<result column="step_nine_d" jdbcType="VARCHAR" property="stepNineD" />
|
|
<result column="step_ten_a" jdbcType="VARCHAR" property="stepTenA" />
|
|
<result column="step_ten_b" jdbcType="VARCHAR" property="stepTenB" />
|
|
<result column="step_ten_c" jdbcType="VARCHAR" property="stepTenC" />
|
|
<result column="step_ten_d" jdbcType="VARCHAR" property="stepTenD" />
|
|
<result column="step_eleven_a" jdbcType="VARCHAR" property="stepElevenA" />
|
|
<result column="step_eleven_b" jdbcType="VARCHAR" property="stepElevenB" />
|
|
<result column="step_eleven_c" jdbcType="VARCHAR" property="stepElevenC" />
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
|
<result column="error_field" jdbcType="VARCHAR" property="errorField" />
|
|
</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, success_number, user_id, sub_state, module, step_nine_d, step_ten_a,
|
|
step_ten_b, step_ten_c, step_ten_d, step_eleven_a, step_eleven_b, step_eleven_c,
|
|
create_time, update_time, error_field
|
|
</sql>
|
|
<select id="selectByExample" parameterType="com.sztzjy.marketing.entity.StuUploadExcelUserExample" resultMap="BaseResultMap">
|
|
select
|
|
<if test="distinct">
|
|
distinct
|
|
</if>
|
|
<include refid="Base_Column_List" />
|
|
from stu_upload_excel_user
|
|
<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_upload_excel_user
|
|
where id = #{id,jdbcType=INTEGER}
|
|
</select>
|
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
|
|
delete from stu_upload_excel_user
|
|
where id = #{id,jdbcType=INTEGER}
|
|
</delete>
|
|
<delete id="deleteByExample" parameterType="com.sztzjy.marketing.entity.StuUploadExcelUserExample">
|
|
delete from stu_upload_excel_user
|
|
<if test="_parameter != null">
|
|
<include refid="Example_Where_Clause" />
|
|
</if>
|
|
</delete>
|
|
<insert id="insert" parameterType="com.sztzjy.marketing.entity.StuUploadExcelUser">
|
|
insert into stu_upload_excel_user (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, success_number,
|
|
user_id, sub_state, module,
|
|
step_nine_d, step_ten_a, step_ten_b,
|
|
step_ten_c, step_ten_d, step_eleven_a,
|
|
step_eleven_b, step_eleven_c, create_time,
|
|
update_time, error_field)
|
|
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}, #{successNumber,jdbcType=INTEGER},
|
|
#{userId,jdbcType=VARCHAR}, #{subState,jdbcType=INTEGER}, #{module,jdbcType=VARCHAR},
|
|
#{stepNineD,jdbcType=VARCHAR}, #{stepTenA,jdbcType=VARCHAR}, #{stepTenB,jdbcType=VARCHAR},
|
|
#{stepTenC,jdbcType=VARCHAR}, #{stepTenD,jdbcType=VARCHAR}, #{stepElevenA,jdbcType=VARCHAR},
|
|
#{stepElevenB,jdbcType=VARCHAR}, #{stepElevenC,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
|
|
#{updateTime,jdbcType=TIMESTAMP}, #{errorField,jdbcType=VARCHAR})
|
|
</insert>
|
|
<insert id="insertSelective" parameterType="com.sztzjy.marketing.entity.StuUploadExcelUser">
|
|
insert into stu_upload_excel_user
|
|
<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="successNumber != null">
|
|
success_number,
|
|
</if>
|
|
<if test="userId != null">
|
|
user_id,
|
|
</if>
|
|
<if test="subState != null">
|
|
sub_state,
|
|
</if>
|
|
<if test="module != null">
|
|
module,
|
|
</if>
|
|
<if test="stepNineD != null">
|
|
step_nine_d,
|
|
</if>
|
|
<if test="stepTenA != null">
|
|
step_ten_a,
|
|
</if>
|
|
<if test="stepTenB != null">
|
|
step_ten_b,
|
|
</if>
|
|
<if test="stepTenC != null">
|
|
step_ten_c,
|
|
</if>
|
|
<if test="stepTenD != null">
|
|
step_ten_d,
|
|
</if>
|
|
<if test="stepElevenA != null">
|
|
step_eleven_a,
|
|
</if>
|
|
<if test="stepElevenB != null">
|
|
step_eleven_b,
|
|
</if>
|
|
<if test="stepElevenC != null">
|
|
step_eleven_c,
|
|
</if>
|
|
<if test="createTime != null">
|
|
create_time,
|
|
</if>
|
|
<if test="updateTime != null">
|
|
update_time,
|
|
</if>
|
|
<if test="errorField != null">
|
|
error_field,
|
|
</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="successNumber != null">
|
|
#{successNumber,jdbcType=INTEGER},
|
|
</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>
|
|
<if test="stepNineD != null">
|
|
#{stepNineD,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="stepTenA != null">
|
|
#{stepTenA,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="stepTenB != null">
|
|
#{stepTenB,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="stepTenC != null">
|
|
#{stepTenC,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="stepTenD != null">
|
|
#{stepTenD,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="stepElevenA != null">
|
|
#{stepElevenA,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="stepElevenB != null">
|
|
#{stepElevenB,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="stepElevenC != null">
|
|
#{stepElevenC,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="createTime != null">
|
|
#{createTime,jdbcType=TIMESTAMP},
|
|
</if>
|
|
<if test="updateTime != null">
|
|
#{updateTime,jdbcType=TIMESTAMP},
|
|
</if>
|
|
<if test="errorField != null">
|
|
#{errorField,jdbcType=VARCHAR},
|
|
</if>
|
|
</trim>
|
|
</insert>
|
|
|
|
<select id="countByExample" parameterType="com.sztzjy.marketing.entity.StuUploadExcelUserExample" resultType="java.lang.Long">
|
|
select count(*) from stu_upload_excel_user
|
|
<if test="_parameter != null">
|
|
<include refid="Example_Where_Clause" />
|
|
</if>
|
|
</select>
|
|
|
|
<update id="updateByExampleSelective" parameterType="map">
|
|
update stu_upload_excel_user
|
|
<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.successNumber != null">
|
|
success_number = #{record.successNumber,jdbcType=INTEGER},
|
|
</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>
|
|
<if test="record.stepNineD != null">
|
|
step_nine_d = #{record.stepNineD,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="record.stepTenA != null">
|
|
step_ten_a = #{record.stepTenA,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="record.stepTenB != null">
|
|
step_ten_b = #{record.stepTenB,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="record.stepTenC != null">
|
|
step_ten_c = #{record.stepTenC,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="record.stepTenD != null">
|
|
step_ten_d = #{record.stepTenD,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="record.stepElevenA != null">
|
|
step_eleven_a = #{record.stepElevenA,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="record.stepElevenB != null">
|
|
step_eleven_b = #{record.stepElevenB,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="record.stepElevenC != null">
|
|
step_eleven_c = #{record.stepElevenC,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="record.createTime != null">
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
</if>
|
|
<if test="record.updateTime != null">
|
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
|
</if>
|
|
<if test="record.errorField != null">
|
|
error_field = #{record.errorField,jdbcType=VARCHAR},
|
|
</if>
|
|
</set>
|
|
<if test="_parameter != null">
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
</if>
|
|
</update>
|
|
<update id="updateByExample" parameterType="map">
|
|
update stu_upload_excel_user
|
|
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},
|
|
success_number = #{record.successNumber,jdbcType=INTEGER},
|
|
user_id = #{record.userId,jdbcType=VARCHAR},
|
|
sub_state = #{record.subState,jdbcType=INTEGER},
|
|
module = #{record.module,jdbcType=VARCHAR},
|
|
step_nine_d = #{record.stepNineD,jdbcType=VARCHAR},
|
|
step_ten_a = #{record.stepTenA,jdbcType=VARCHAR},
|
|
step_ten_b = #{record.stepTenB,jdbcType=VARCHAR},
|
|
step_ten_c = #{record.stepTenC,jdbcType=VARCHAR},
|
|
step_ten_d = #{record.stepTenD,jdbcType=VARCHAR},
|
|
step_eleven_a = #{record.stepElevenA,jdbcType=VARCHAR},
|
|
step_eleven_b = #{record.stepElevenB,jdbcType=VARCHAR},
|
|
step_eleven_c = #{record.stepElevenC,jdbcType=VARCHAR},
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
|
error_field = #{record.errorField,jdbcType=VARCHAR}
|
|
<if test="_parameter != null">
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
</if>
|
|
</update>
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.marketing.entity.StuUploadExcelUser">
|
|
update stu_upload_excel_user
|
|
<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="successNumber != null">
|
|
success_number = #{successNumber,jdbcType=INTEGER},
|
|
</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>
|
|
<if test="stepNineD != null">
|
|
step_nine_d = #{stepNineD,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="stepTenA != null">
|
|
step_ten_a = #{stepTenA,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="stepTenB != null">
|
|
step_ten_b = #{stepTenB,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="stepTenC != null">
|
|
step_ten_c = #{stepTenC,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="stepTenD != null">
|
|
step_ten_d = #{stepTenD,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="stepElevenA != null">
|
|
step_eleven_a = #{stepElevenA,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="stepElevenB != null">
|
|
step_eleven_b = #{stepElevenB,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="stepElevenC != null">
|
|
step_eleven_c = #{stepElevenC,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="createTime != null">
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
</if>
|
|
<if test="updateTime != null">
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
|
</if>
|
|
<if test="errorField != null">
|
|
error_field = #{errorField,jdbcType=VARCHAR},
|
|
</if>
|
|
</set>
|
|
where id = #{id,jdbcType=INTEGER}
|
|
</update>
|
|
<update id="updateByPrimaryKey" parameterType="com.sztzjy.marketing.entity.StuUploadExcelUser">
|
|
update stu_upload_excel_user
|
|
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},
|
|
success_number = #{successNumber,jdbcType=INTEGER},
|
|
user_id = #{userId,jdbcType=VARCHAR},
|
|
sub_state = #{subState,jdbcType=INTEGER},
|
|
module = #{module,jdbcType=VARCHAR},
|
|
step_nine_d = #{stepNineD,jdbcType=VARCHAR},
|
|
step_ten_a = #{stepTenA,jdbcType=VARCHAR},
|
|
step_ten_b = #{stepTenB,jdbcType=VARCHAR},
|
|
step_ten_c = #{stepTenC,jdbcType=VARCHAR},
|
|
step_ten_d = #{stepTenD,jdbcType=VARCHAR},
|
|
step_eleven_a = #{stepElevenA,jdbcType=VARCHAR},
|
|
step_eleven_b = #{stepElevenB,jdbcType=VARCHAR},
|
|
step_eleven_c = #{stepElevenC,jdbcType=VARCHAR},
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
|
error_field = #{errorField,jdbcType=VARCHAR}
|
|
where id = #{id,jdbcType=INTEGER}
|
|
</update>
|
|
|
|
<insert id="insertBatch" parameterType="java.util.List">
|
|
INSERT INTO stu_upload_excel_user (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, success_number, user_id,
|
|
sub_state, module, step_nine_d, step_ten_a, step_ten_b,
|
|
step_ten_c, step_ten_d, step_eleven_a, step_eleven_b,
|
|
step_eleven_c, create_time, update_time, error_field)
|
|
VALUES
|
|
<foreach collection="list" item="item" index="index" separator=",">
|
|
(#{item.id,jdbcType=INTEGER}, #{item.stepOneA,jdbcType=VARCHAR}, #{item.stepOneB,jdbcType=VARCHAR},
|
|
#{item.stepOneC,jdbcType=VARCHAR}, #{item.stepOneD,jdbcType=VARCHAR}, #{item.stepTwoA,jdbcType=VARCHAR},
|
|
#{item.stepTwoB,jdbcType=VARCHAR}, #{item.stepTwoC,jdbcType=VARCHAR}, #{item.stepThreeA,jdbcType=VARCHAR},
|
|
#{item.stepThreeB,jdbcType=VARCHAR}, #{item.stepThreeC,jdbcType=VARCHAR}, #{item.stepThreeD,jdbcType=VARCHAR},
|
|
#{item.stepFourA,jdbcType=VARCHAR}, #{item.stepFourB,jdbcType=VARCHAR}, #{item.stepFourC,jdbcType=VARCHAR},
|
|
#{item.stepFourD,jdbcType=VARCHAR}, #{item.stepFiveA,jdbcType=VARCHAR}, #{item.stepFiveB,jdbcType=VARCHAR},
|
|
#{item.stepFiveC,jdbcType=VARCHAR}, #{item.stepFiveD,jdbcType=VARCHAR}, #{item.stepSixA,jdbcType=VARCHAR},
|
|
#{item.stepSixB,jdbcType=VARCHAR}, #{item.stepSixC,jdbcType=VARCHAR}, #{item.stepSixD,jdbcType=VARCHAR},
|
|
#{item.stepSevenA,jdbcType=VARCHAR}, #{item.stepSevenB,jdbcType=VARCHAR}, #{item.stepSevenC,jdbcType=VARCHAR},
|
|
#{item.stepSevenD,jdbcType=VARCHAR}, #{item.stepEightA,jdbcType=VARCHAR}, #{item.stepEightB,jdbcType=VARCHAR},
|
|
#{item.stepEightC,jdbcType=VARCHAR}, #{item.stepEightD,jdbcType=VARCHAR}, #{item.stepNineA,jdbcType=VARCHAR},
|
|
#{item.stepNineB,jdbcType=VARCHAR}, #{item.stepNineC,jdbcType=VARCHAR}, #{item.successNumber,jdbcType=INTEGER},
|
|
#{item.userId,jdbcType=VARCHAR}, #{item.subState,jdbcType=INTEGER}, #{item.module,jdbcType=VARCHAR},
|
|
#{item.stepNineD,jdbcType=VARCHAR}, #{item.stepTenA,jdbcType=VARCHAR}, #{item.stepTenB,jdbcType=VARCHAR},
|
|
#{item.stepTenC,jdbcType=VARCHAR}, #{item.stepTenD,jdbcType=VARCHAR}, #{item.stepElevenA,jdbcType=VARCHAR},
|
|
#{item.stepElevenB,jdbcType=VARCHAR}, #{item.stepElevenC,jdbcType=VARCHAR}, #{item.createTime,jdbcType=TIMESTAMP},
|
|
#{item.updateTime,jdbcType=TIMESTAMP}, #{item.errorField,jdbcType=VARCHAR})
|
|
</foreach>
|
|
</insert>
|
|
<select id="selectDistModuleName" parameterType="java.lang.String" resultType="java.lang.String">
|
|
SELECT DISTINCT module
|
|
FROM stu_upload_excel_user
|
|
WHERE user_id = #{userId}
|
|
</select>
|
|
<select id="selectByString" resultType="java.lang.String">
|
|
select DISTINCT step_eleven_c from stu_upload_excel_user where user_id = #{userId} and module=#{tableName}
|
|
</select>
|
|
|
|
</mapper> |