mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-03 04:28:51 +08:00
fix(工作台): 仪表盘待办缺陷数目统计有误
--bug=1025659 --user=宋昌昌 [我的工作台]项目集成jira平台-同步缺陷后我的仪表盘-“我的待办”-缺陷管理数量是0,但是“我的待办”tab是584条 https://www.tapd.cn/55049933/s/1365030
This commit is contained in:
parent
e07de33f38
commit
1c0aea3cdb
@ -18,7 +18,18 @@
|
|||||||
<foreach collection="projectIds" item="projectId" separator="," open="(" close=")">
|
<foreach collection="projectIds" item="projectId" separator="," open="(" close=")">
|
||||||
#{projectId}
|
#{projectId}
|
||||||
</foreach>
|
</foreach>
|
||||||
and ss.status = 'new'
|
<!-- 过滤出非完成状态的issue(目前第三方平台的状态写死, 和列表页面一致, 后续插件可优化扩展) -->
|
||||||
|
and (
|
||||||
|
(
|
||||||
|
ss.platform != 'Local' and
|
||||||
|
ss.platform_status not in ('closed','已关闭','已完成','完成','拒绝','已拒绝','rejected','delete','resolved','Done','verified','已验证')
|
||||||
|
)
|
||||||
|
or
|
||||||
|
(
|
||||||
|
ss.platform = 'Local' and
|
||||||
|
ss.status not in ('closed','已关闭','已完成','完成','拒绝','已拒绝','rejected','delete','resolved','Done','verified','已验证')
|
||||||
|
)
|
||||||
|
)
|
||||||
and ss.creator = #{userId,jdbcType=VARCHAR}
|
and ss.creator = #{userId,jdbcType=VARCHAR}
|
||||||
</select>
|
</select>
|
||||||
<select id="getCountCreat" resultType="java.lang.Integer">
|
<select id="getCountCreat" resultType="java.lang.Integer">
|
||||||
|
Loading…
Reference in New Issue
Block a user