|
@@ -73,7 +73,7 @@
|
|
|
|
|
|
<select id="selectListByDepartId" resultType="SapUser">
|
|
|
select * from sap_user
|
|
|
- where result = 'SUCCESS' and (
|
|
|
+ where result = 'SUCCESS' and isPrimary = 1 and (
|
|
|
firstOrgWxDepartId = #{departId} or secondOrgWxDepartId = #{departId}
|
|
|
or thirdOrgWxDepartId = #{departId} or fourthOrgWxDepartId = #{departId})
|
|
|
order by sortNumber ASC
|