|
@@ -7,13 +7,13 @@
|
|
|
firstOrgName,secondOrgName,thirdOrgName,fourthOrgName,
|
|
|
firstOrgWxDepartId,secondOrgWxDepartId,thirdOrgWxDepartId,fourthOrgWxDepartId,
|
|
|
position,formatPosition,mobile,formatMobile,businessPhone,formatBusinessPhone,gender,
|
|
|
- email,formatEmail,isPrimary,delFlag,createDate)
|
|
|
+ email,formatEmail,isPrimary,delFlag,createDate,sortNumber)
|
|
|
values (#{userId},#{personId},#{username},#{name},
|
|
|
#{firstOrgId},#{secondOrgId},#{thirdOrgId},#{fourthOrgId},
|
|
|
#{firstOrgName},#{secondOrgName},#{thirdOrgName},#{fourthOrgName},
|
|
|
#{firstOrgWxDepartId},#{secondOrgWxDepartId},#{thirdOrgWxDepartId},#{fourthOrgWxDepartId},
|
|
|
#{position},#{formatPosition},#{mobile},#{formatMobile},#{businessPhone},#{formatBusinessPhone},#{gender},
|
|
|
- #{email},#{formatEmail},#{isPrimary},#{delFlag},#{createDate})
|
|
|
+ #{email},#{formatEmail},#{isPrimary},#{delFlag},#{createDate},#{sortNumber})
|
|
|
</insert>
|
|
|
|
|
|
<update id="updateOne">
|
|
@@ -68,5 +68,6 @@
|
|
|
<select id="getUserListByName" resultType="SapUser">
|
|
|
select * from sap_user
|
|
|
where result = 'SUCCESS' and name like CONCAT(CONCAT('%', #{name}),'%')
|
|
|
+ order by sortNumber ASC
|
|
|
</select>
|
|
|
</mapper>
|