|
@@ -31,6 +31,7 @@
|
|
<result column="qualifier_pic_path" jdbcType="VARCHAR" property="qualifierPicPath"/>
|
|
<result column="qualifier_pic_path" jdbcType="VARCHAR" property="qualifierPicPath"/>
|
|
<result column="update_user" jdbcType="VARCHAR" property="updateUser"/>
|
|
<result column="update_user" jdbcType="VARCHAR" property="updateUser"/>
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime"/>
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime"/>
|
|
|
|
+ <result column="professional_pic_path" jdbcType="TIMESTAMP" property="professionalPicPath"/>
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<resultMap id="lazyLoadRoles" type="com.jiuzhekan.cbkj.beans.sysBeans.AdminInfo" extends="BaseResultMap">
|
|
<resultMap id="lazyLoadRoles" type="com.jiuzhekan.cbkj.beans.sysBeans.AdminInfo" extends="BaseResultMap">
|
|
@@ -46,7 +47,7 @@
|
|
|
|
|
|
<sql id="Base_Column_List">
|
|
<sql id="Base_Column_List">
|
|
user_id,user_name,password,sex,status,create_date,CREATE_USER,last_ip,phone,address,name_zh,user_heand,email,APP_ID,INS_CODE,dept_id,dept_name,EXPIRE_DATE,create_user_name,is_qualifier,dept_id_his,dept_name_his,qualifier_pic_path,personal_share,
|
|
user_id,user_name,password,sex,status,create_date,CREATE_USER,last_ip,phone,address,name_zh,user_heand,email,APP_ID,INS_CODE,dept_id,dept_name,EXPIRE_DATE,create_user_name,is_qualifier,dept_id_his,dept_name_his,qualifier_pic_path,personal_share,
|
|
-update_user,update_time,professional
|
|
|
|
|
|
+update_user,update_time,professional,professional_pic_path
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
<select id="selectAdminRoleById" parameterType="java.lang.String" resultMap="lazyLoadRoles">
|
|
<select id="selectAdminRoleById" parameterType="java.lang.String" resultMap="lazyLoadRoles">
|
|
@@ -138,6 +139,9 @@ update_user,update_time,professional
|
|
<if test="qualifierPicPath != null">
|
|
<if test="qualifierPicPath != null">
|
|
,qualifier_pic_path
|
|
,qualifier_pic_path
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="professionalPicPath != null">
|
|
|
|
+ ,professional_pic_path
|
|
|
|
+ </if>
|
|
)
|
|
)
|
|
select #{userId,jdbcType=VARCHAR}, #{userName,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR},
|
|
select #{userId,jdbcType=VARCHAR}, #{userName,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR},
|
|
#{sex,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR},now(),
|
|
#{sex,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR},now(),
|
|
@@ -171,6 +175,9 @@ update_user,update_time,professional
|
|
<if test="qualifierPicPath != null">
|
|
<if test="qualifierPicPath != null">
|
|
,#{qualifierPicPath}
|
|
,#{qualifierPicPath}
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="professionalPicPath != null">
|
|
|
|
+ ,#{professionalPicPath}
|
|
|
|
+ </if>
|
|
FROM DUAL ;
|
|
FROM DUAL ;
|
|
</insert>
|
|
</insert>
|
|
<!--上述sql删除了 WHERE NOT EXISTS(SELECT name FROM sys_admin_info WHERE name = #{name,jdbcType=VARCHAR} ) -->
|
|
<!--上述sql删除了 WHERE NOT EXISTS(SELECT name FROM sys_admin_info WHERE name = #{name,jdbcType=VARCHAR} ) -->
|
|
@@ -361,6 +368,9 @@ update_user,update_time,professional
|
|
<if test="professional != null">
|
|
<if test="professional != null">
|
|
professional = #{professional,jdbcType=VARCHAR},
|
|
professional = #{professional,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="professionalPicPath != null">
|
|
|
|
+ professional_pic_path = #{professionalPicPath,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -433,6 +443,7 @@ update_user,update_time,professional
|
|
a.password,
|
|
a.password,
|
|
a.sex,
|
|
a.sex,
|
|
a.status,
|
|
a.status,
|
|
|
|
+ a.professional_pic_path,
|
|
DATE_FORMAT(
|
|
DATE_FORMAT(
|
|
a.create_date,
|
|
a.create_date,
|
|
'%Y-%m-%d %H:%i:%s'
|
|
'%Y-%m-%d %H:%i:%s'
|