您的位置:軟件測試 > 軟件項目管理 > 項目管理軟件 > 禪道項目管理軟件
使用純SQL實現禪道報表設計
作者:ktide 發(fā)布時間:[ 2016/7/12 14:04:41 ] 推薦標簽:項目管理軟件 禪道

  · 禪道中按產品計劃統(tǒng)計需求階段分布表

  · 使用純sql替代報表設計
  sql 語句
  select t2.title, sum(t1.stage='wait') as PRD中, sum(t1.stage='planned') as PRD評審, sum(t1.stage='projected') as PRD完成, sum(t1.stage='developing') as 研發(fā)中, sum(t1.stage='developed') as 研發(fā)完畢,sum(t1.stage='testing') as 測試中, sum(t1.stage='tested') as 測試完畢, sum(t1.stage='verified') as 已驗收, sum(t1.stage='released') as 已發(fā)布, count(t2.title) as 總計 from zt_story as t1, zt_productplan as t2 where t1.plan=t2.id and t1.product='43' and t2.product='43' group by t2.title

軟件測試工具 | 聯系我們 | 投訴建議 | 誠聘英才 | 申請使用列表 | 網站地圖
滬ICP備07036474 2003-2017 版權所有 上海澤眾軟件科技有限公司 Shanghai ZeZhong Software Co.,Ltd