feat(projects): 服务机构筛选改 IN 精确查询
- BizProject: 加 List<Long> execAdminUserIds (多选 select IN 透传), execOrgName 标 @Deprecated (兼容老 API) - BizProjectMapper: selectList 替换 3 列 OR LIKE (org_name/user_name/nick_name) → EXISTS + bpa.exec_user_id IN (精确, 跟 sponsorAdminUserIds 对称) - BizOrgMapper: selectExecutorOrgOptions 加 LIMIT 5 (跟 sponsor 对齐)
This commit is contained in:
@@ -142,6 +142,7 @@
|
||||
<if test="userId != null">and o.user_id = #{userId}</if>
|
||||
<if test="orgName != null and orgName != ''">and o.org_name like concat('%', #{orgName}, '%')</if>
|
||||
order by o.org_id desc
|
||||
LIMIT 5
|
||||
</select>
|
||||
|
||||
<!--
|
||||
|
||||
Reference in New Issue
Block a user