|
@@ -33,6 +33,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="remark" column="remark" />
|
|
<result property="remark" column="remark" />
|
|
|
<result property="isConsignee" column="is_consignee" />
|
|
<result property="isConsignee" column="is_consignee" />
|
|
|
<result property="isIndependently" column="is_independently" />
|
|
<result property="isIndependently" column="is_independently" />
|
|
|
|
|
+ <result property="isSelfDelivery" column="is_self_delivery" />
|
|
|
<result property="isSync" column="is_sync" />
|
|
<result property="isSync" column="is_sync" />
|
|
|
<result property="quit" column="quit" />
|
|
<result property="quit" column="quit" />
|
|
|
<result property="isAuthentication" column="is_authentication" />
|
|
<result property="isAuthentication" column="is_authentication" />
|
|
@@ -89,7 +90,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
|
|
<sql id="selectUserVo">
|
|
<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,
|
|
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.is_consignee,u.person_attestation_time,u.is_independently,is_sync,
|
|
|
|
|
|
|
+ u.del_flag, u.login_ip, u.login_date, u.create_time, u.remark,u.is_consignee,u.person_attestation_time,u.is_independently,u.is_self_delivery,is_sync,
|
|
|
c.company_name,u.quit,
|
|
c.company_name,u.quit,
|
|
|
d.dept_id, d.parent_id, d.dept_name, d.order_num, d.leader, d.status as dept_status,
|
|
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,
|
|
r.role_id, r.role_name, r.role_key, r.role_sort, r.data_scope, r.status as role_status,
|
|
@@ -105,7 +106,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
|
|
<select id="selectUserList" parameterType="SysUser" resultMap="SysUserResult">
|
|
<select id="selectUserList" parameterType="SysUser" resultMap="SysUserResult">
|
|
|
select u.user_id,u.company_id, u.dept_id, u.login_name, u.user_name,u.id_type,u.id_number,u.account_id,u.is_authentication,u.receive_url_mobile_no, u.email, u.avatar,
|
|
select u.user_id,u.company_id, u.dept_id, u.login_name, u.user_name,u.id_type,u.id_number,u.account_id,u.is_authentication,u.receive_url_mobile_no, u.email, u.avatar,
|
|
|
- u.phonenumber, u.password, u.sex, u.salt, u.status, u.del_flag,u.quit,u.is_independently,
|
|
|
|
|
|
|
+ u.phonenumber, u.password, u.sex, u.salt, u.status, u.del_flag,u.quit,u.is_independently,u.is_self_delivery,
|
|
|
u.login_ip, u.login_date, u.create_by, u.create_time, u.remark,
|
|
u.login_ip, u.login_date, u.create_by, u.create_time, u.remark,
|
|
|
d.dept_name, d.leader,
|
|
d.dept_name, d.leader,
|
|
|
suse.identity,suse.sales_level,suse.org_name,suse.org_code,suse.post_name,suse.is_customer_manager,ce.is_authentication is_org_authentication,ce.org_attestation_time
|
|
suse.identity,suse.sales_level,suse.org_name,suse.org_code,suse.post_name,suse.is_customer_manager,ce.is_authentication is_org_authentication,ce.org_attestation_time
|
|
@@ -250,6 +251,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
u.account_id,
|
|
u.account_id,
|
|
|
u.is_authentication,
|
|
u.is_authentication,
|
|
|
u.is_independently,
|
|
u.is_independently,
|
|
|
|
|
+ u.is_self_delivery,
|
|
|
u.receive_url_mobile_no,
|
|
u.receive_url_mobile_no,
|
|
|
u.STATUS,
|
|
u.STATUS,
|
|
|
u.del_flag,
|
|
u.del_flag,
|
|
@@ -337,6 +339,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="accountId != null and accountId != ''">account_id = #{accountId},</if>
|
|
<if test="accountId != null and accountId != ''">account_id = #{accountId},</if>
|
|
|
<if test="isAuthentication != null and isAuthentication != ''">is_authentication = #{isAuthentication},</if>
|
|
<if test="isAuthentication != null and isAuthentication != ''">is_authentication = #{isAuthentication},</if>
|
|
|
<if test="isIndependently != null ">is_independently = #{isIndependently},</if>
|
|
<if test="isIndependently != null ">is_independently = #{isIndependently},</if>
|
|
|
|
|
+ <if test="isSelfDelivery !=null">is_self_delivery =#{isSelfDelivery},</if>
|
|
|
<if test="personAttestationTime != null">person_attestation_time = #{personAttestationTime},</if>
|
|
<if test="personAttestationTime != null">person_attestation_time = #{personAttestationTime},</if>
|
|
|
<if test="receiveUrlMobileNo != null and receiveUrlMobileNo != ''">receive_url_mobile_no = #{receiveUrlMobileNo},</if>
|
|
<if test="receiveUrlMobileNo != null and receiveUrlMobileNo != ''">receive_url_mobile_no = #{receiveUrlMobileNo},</if>
|
|
|
<if test="status != null and status != ''">status = #{status},</if>
|
|
<if test="status != null and status != ''">status = #{status},</if>
|
|
@@ -377,6 +380,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="isConsignee != null">is_consignee = #{isConsignee},</if>
|
|
<if test="isConsignee != null">is_consignee = #{isConsignee},</if>
|
|
|
<if test="isSync != null">is_sync = #{isSync},</if>
|
|
<if test="isSync != null">is_sync = #{isSync},</if>
|
|
|
<if test="isIndependently != null ">is_independently = #{isIndependently},</if>
|
|
<if test="isIndependently != null ">is_independently = #{isIndependently},</if>
|
|
|
|
|
+ <if test="isSelfDelivery !=null">is_self_delivery =#{isSelfDelivery},</if>
|
|
|
update_time = sysdate()
|
|
update_time = sysdate()
|
|
|
</set>
|
|
</set>
|
|
|
where login_name = #{loginName}
|
|
where login_name = #{loginName}
|
|
@@ -535,6 +539,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
u.user_name,
|
|
u.user_name,
|
|
|
u.is_consignee,
|
|
u.is_consignee,
|
|
|
u.is_independently,
|
|
u.is_independently,
|
|
|
|
|
+ u.is_self_delivery,
|
|
|
v.sap_employee_id,
|
|
v.sap_employee_id,
|
|
|
v.is_customer_manager,
|
|
v.is_customer_manager,
|
|
|
v.org_code
|
|
v.org_code
|