|
@ -199,7 +199,7 @@ module.exports = function (app, opts) { |
|
|
ON vacateCountStatistic.pepUserId = member.pep_user_id |
|
|
ON vacateCountStatistic.pepUserId = member.pep_user_id |
|
|
`: ''}
|
|
|
`: ''}
|
|
|
WHERE |
|
|
WHERE |
|
|
member.del = 0 |
|
|
member.del = false |
|
|
${keywordTarget == 'role' && keyword ? ` |
|
|
${keywordTarget == 'role' && keyword ? ` |
|
|
AND user.id IN ( |
|
|
AND user.id IN ( |
|
|
SELECT user_role.user |
|
|
SELECT user_role.user |
|
|