|
@@ -20,6 +20,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="idNumber" column="id_number" />
|
|
|
<result property="accountId" column="account_id" />
|
|
|
<result property="isAuthentication" column="is_authentication" />
|
|
|
+ <result property="personAttestationTime" column="person_attestation_time" />
|
|
|
<result property="receiveUrlMobileNo" column="receive_url_mobile_no" />
|
|
|
<result property="status" column="status" />
|
|
|
<result property="delFlag" column="del_flag" />
|
|
@@ -80,7 +81,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
<sql id="selectUserVo">
|
|
|
select u.user_id,u.company_id, u.dept_id, u.login_name, u.user_name, u.email, u.avatar, u.phonenumber, u.sex, u.password, u.salt,u.id_type,u.id_number,u.account_id,u.is_authentication,u.receive_url_mobile_no, u.status,
|
|
|
- u.del_flag, u.login_ip, u.login_date, u.create_time, u.remark,
|
|
|
+ u.del_flag, u.login_ip, u.login_date, u.create_time, u.remark,u.is_consignee,u.person_attestation_time,
|
|
|
c.company_name,
|
|
|
d.dept_id, d.parent_id, d.dept_name, d.order_num, d.leader, d.status as dept_status,
|
|
|
r.role_id, r.role_name, r.role_key, r.role_sort, r.data_scope, r.status as role_status,
|
|
@@ -243,6 +244,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="idNumber != null and idNumber != ''">id_number = #{idNumber},</if>
|
|
|
<if test="accountId != null and accountId != ''">account_id = #{accountId},</if>
|
|
|
<if test="isAuthentication != null and isAuthentication != ''">is_authentication = #{isAuthentication},</if>
|
|
|
+ <if test="personAttestationTime != null and personAttestationTime != ''">person_attestation_time = #{personAttestationTime},</if>
|
|
|
<if test="receiveUrlMobileNo != null and receiveUrlMobileNo != ''">receive_url_mobile_no = #{receiveUrlMobileNo},</if>
|
|
|
<if test="status != null and status != ''">status = #{status},</if>
|
|
|
<if test="loginIp != null and loginIp != ''">login_ip = #{loginIp},</if>
|
|
@@ -256,7 +258,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</update>
|
|
|
|
|
|
<update id="updateIsAuthentication" parameterType="String">
|
|
|
- update sys_user set is_authentication = #{isAuthentication}
|
|
|
+ update sys_user set is_authentication = #{isAuthentication} ,person_attestation_time = now()
|
|
|
where account_id = #{accountId}
|
|
|
</update>
|
|
|
|