feat(系统设置): 项目管理高级查询接口优化
#14443 /project/listAll 需要支持 带jirakey/tapdId等的高级查询
This commit is contained in:
parent
0e6af9affd
commit
ddb157eeb0
|
@ -83,6 +83,34 @@
|
|||
#{value}
|
||||
</foreach>
|
||||
</when>
|
||||
<when test="key == 'tapd_id'">
|
||||
AND p.platform = 'Tapd'
|
||||
AND p.tapd_id IN
|
||||
<foreach collection="values" item="value" separator="," open="(" close=")">
|
||||
#{value}
|
||||
</foreach>
|
||||
</when>
|
||||
<when test="key == 'jira_key'">
|
||||
AND p.platform = 'Jira'
|
||||
AND p.jira_key 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
|
||||
<foreach collection="values" item="value" separator="," open="(" close=")">
|
||||
#{value}
|
||||
</foreach>
|
||||
</when>
|
||||
<when test="key == 'azure_devops_id'">
|
||||
AND p.platform = 'AzureDevops'
|
||||
AND p.azure_devops_id IN
|
||||
<foreach collection="values" item="value" separator="," open="(" close=")">
|
||||
#{value}
|
||||
</foreach>
|
||||
</when>
|
||||
</choose>
|
||||
</if>
|
||||
</foreach>
|
||||
|
|
Loading…
Reference in New Issue