• 禅道分析


    整理excel语句
    1、=G2&"("&A2&")"
    2、=AN2&"、"&G2&"("&A2&")"


    3、查数据语句
    select b.keywords, count(*)
    from zt_bug b,zt_build v
    where b.openedbuild=v.id
    and v.name='初始版本2'
    and b.severity in (1,2,3)
    and b.module in (
    select id
    from zt_module
    where path like ',1,3,%'
    or path like ',2,%'
    )
    group by b.keywords
    order by keywords;


    4、查模块信息
    (1)查企业端
    select id
    from zt_module
    where path like ',1,3,%'
    (2)查审批端
    select id
    from zt_module
    where path like ',2,%'

    5、版本表
    zt_build
    值:
    id name
    1 初始版本
    2 初始版本2


    6、查版本问题数目
    select openedbuild,count(*)
    from zt_bug
    group by openedbuild;

    目前结果为:

    openedbuild count(*)
    1 497
    1, 3
    2 86
    trunk 17

    7、查未关闭,解决方案为空的
    select b.keywords, count(*)
    from zt_bug b,zt_build v
    where b.openedbuild=v.id
    and b.status in ('active','resolved')
    and resolution is null
    #and b.severity in (1,2,3)
    and b.module in (
    select id
    from zt_module
    where path like ',1,3,%'
    or path like ',2,%'
    )
    group by b.keywords
    order by keywords;

    * 雪紫 *
  • 相关阅读:
    php基本语法学习
    mac下charles使用
    python--logging模块
    CSS样式(二)
    CSS样式(一)
    HTML、CSS基础知识(四)
    HTML、CSS基础知识(三)
    HTML、CSS基础知识(二)
    HTML、CSS基础知识(一)
    python学习(三十四)第一个框架
  • 原文地址:https://www.cnblogs.com/shirleyxuezi/p/14325410.html
Copyright © 2020-2023  润新知