示例#1
0
 public static string PlanableDefectFilter()
 {
     lock (_lock)
     {
         if (_planwhere != null)
         {
             return(_planwhere);
         }
         List <int> pl = DefectSeverity.EnumPlanable();
         if (pl.Count > 0)
         {
             _planwhere = string.Format(" AND  ({0} in ({1}))", Defect._Seve, string.Join(",", pl));
         }
         return(_planwhere);
     }
 }