zoukankan      html  css  js  c++  java
  • 禅道分析

    整理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;

    * 雪紫 *
  • 相关阅读:
    杜教筛
    虚树
    带修莫队
    线性基
    区间修改区间求和cdq分治
    矩阵快速幂求斐波那契数列
    点分治成品
    Codeforces Round #542 [Alex Lopashev Thanks-Round] (Div. 1) C(二分+KMP)
    线性筛
    矩阵快速幂
  • 原文地址:https://www.cnblogs.com/shirleyxuezi/p/14325410.html
Copyright © 2011-2022 走看看