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:
parent
95f1fd1450
commit
794053d211
|
@ -93,14 +93,14 @@
|
||||||
</when>
|
</when>
|
||||||
<when test="key == 'jira_key'">
|
<when test="key == 'jira_key'">
|
||||||
AND p.platform = 'Jira'
|
AND p.platform = 'Jira'
|
||||||
AND p.jira_key IN
|
AND p.issue_config -> '$.jiraKey' IN
|
||||||
<foreach collection="values" item="value" separator="," open="(" close=")">
|
<foreach collection="values" item="value" separator="," open="(" close=")">
|
||||||
#{value}
|
#{value}
|
||||||
</foreach>
|
</foreach>
|
||||||
</when>
|
</when>
|
||||||
<when test="key == 'zentao_id'">
|
<when test="key == 'zentao_id'">
|
||||||
AND p.platform = 'Zentao'
|
AND p.platform = 'Zentao'
|
||||||
AND p.zentao_id IN
|
AND p.issue_config -> '$.zentaoId' IN
|
||||||
<foreach collection="values" item="value" separator="," open="(" close=")">
|
<foreach collection="values" item="value" separator="," open="(" close=")">
|
||||||
#{value}
|
#{value}
|
||||||
</foreach>
|
</foreach>
|
||||||
|
|
Loading…
Reference in New Issue