|
|
@@ -24,6 +24,7 @@
|
|
|
<result column="stu_nation" property="stu_nation" jdbcType="VARCHAR" />
|
|
|
<result column="stu_political" property="stu_political" jdbcType="VARCHAR" />
|
|
|
<result property="stu_cardNo" column="stu_cardNo" jdbcType="VARCHAR"/>
|
|
|
+ <result property="stu_img" column="stu_img" jdbcType="VARCHAR"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="Base_Column_List" >
|
|
|
@@ -124,6 +125,9 @@
|
|
|
<if test="stu_cardNo != null" >
|
|
|
stu_cardNo,
|
|
|
</if>
|
|
|
+ <if test="stu_img != null" >
|
|
|
+ stu_img,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
|
<if test="stu_number != null" >
|
|
|
@@ -189,6 +193,9 @@
|
|
|
<if test="stu_cardNo != null" >
|
|
|
#{stu_cardNo,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="stu_img != null" >
|
|
|
+ #{stu_img,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.usoftchina.smartschool.school.po.SysStudent" >
|
|
|
@@ -257,6 +264,9 @@
|
|
|
<if test="stu_cardNo != null" >
|
|
|
stu_cardNo = #{stu_cardNo,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="stu_img != null" >
|
|
|
+ stu_img = #{stu_img,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where stu_id = #{stu_id,jdbcType=BIGINT}
|
|
|
</update>
|