|
@@ -31,6 +31,7 @@
|
|
|
<result column="qualifier_pic_path" jdbcType="VARCHAR" property="qualifierPicPath"/>
|
|
|
<result column="update_user" jdbcType="VARCHAR" property="updateUser"/>
|
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime"/>
|
|
|
+ <result column="professional" jdbcType="TIMESTAMP" property="professional"/>
|
|
|
<result column="professional_pic_path" jdbcType="TIMESTAMP" property="professionalPicPath"/>
|
|
|
</resultMap>
|
|
|
|
|
@@ -95,13 +96,13 @@ update_user,update_time,professional,professional_pic_path
|
|
|
<insert id="insertAdminInfoList" parameterType="List">
|
|
|
insert into sys_admin_info (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) values
|
|
|
+ ,create_user_name,is_qualifier,dept_id_his,dept_name_his,qualifier_pic_path,personal_share,professional) values
|
|
|
<foreach collection="list" item="item" index="index" separator="," >
|
|
|
(#{item.userId},#{item.userName},#{item.password},#{item.sex},#{item.status},#{item.createDate}
|
|
|
,#{item.createUser},#{item.lastIp},#{item.phone},#{item.address},#{item.nameZh},#{item.userHeand}
|
|
|
,#{item.email},#{item.appId},#{item.insCode},#{item.deptId},#{item.deptName},#{item.expireDate}
|
|
|
,#{item.createUsername}
|
|
|
- ,#{item.isQualifier},#{item.deptIdHis},#{item.deptNameHis},#{item.qualifierPicPath},#{item.personalShare})
|
|
|
+ ,#{item.isQualifier},#{item.deptIdHis},#{item.deptNameHis},#{item.qualifierPicPath},#{item.personalShare},#{item.professional})
|
|
|
</foreach>
|
|
|
</insert>
|
|
|
|
|
@@ -139,6 +140,9 @@ update_user,update_time,professional,professional_pic_path
|
|
|
<if test="qualifierPicPath != null">
|
|
|
,qualifier_pic_path
|
|
|
</if>
|
|
|
+ <if test="professional != null">
|
|
|
+ ,professional
|
|
|
+ </if>
|
|
|
<if test="professionalPicPath != null">
|
|
|
,professional_pic_path
|
|
|
</if>
|
|
@@ -439,7 +443,7 @@ update_user,update_time,professional,professional_pic_path
|
|
|
<select id="getPageDatas" parameterType="AdminInfo" resultType="Map">
|
|
|
SELECT
|
|
|
a.user_id as userId,
|
|
|
- a.user_name as useName,
|
|
|
+ a.user_name as userName,
|
|
|
a.password,
|
|
|
a.sex,
|
|
|
a.status,
|