fix(系统设置): 查询项目接口支持根据Jira和Zentao的关联ID查询

--bug=1021965 --user=李玉号 【系统管理】github#20961,升级到2.4.1 后 /project/list
查询接口不支持参数过滤 https://www.tapd.cn/55049933/s/1328388

Closes #20961
This commit is contained in:
shiziyuan9527 2023-01-28 13:49:48 +08:00 committed by lyh
parent 95f1fd1450
commit 794053d211
1 changed files with 2 additions and 2 deletions

View File

@ -93,14 +93,14 @@
</when>
<when test="key == 'jira_key'">
AND p.platform = 'Jira'
AND p.jira_key IN
AND p.issue_config -> '$.jiraKey' IN
<foreach collection="values" item="value" separator="," open="(" close=")">
#{value}
</foreach>
</when>
<when test="key == 'zentao_id'">
AND p.platform = 'Zentao'
AND p.zentao_id IN
AND p.issue_config -> '$.zentaoId' IN
<foreach collection="values" item="value" separator="," open="(" close=")">
#{value}
</foreach>