-
禅道中按产品计划统计需求阶段分布表
-
使用纯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 研发中, sum(t1.stage='developed') as 研发完毕,sum(t1.stage='testing') as 测试中, sum(t1.stage='tested') as 测试完毕, sum(t1.stage='verified') as 已验收, sum(t1.stage='released') as 已发布, 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
使用纯sql实现禅道报表设计
最后编辑于 :
©著作权归作者所有,转载或内容合作请联系作者
- 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
- 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
- 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
推荐阅读更多精彩内容
- Spark SQL, DataFrames and Datasets Guide Overview SQL Dat...
- Spark SQL, DataFrames and Datasets Guide Overview SQL Dat...