//--------临时,后期移除,使用连接查询并入 public int GetSumCount(int pid) { return(DBCenter.Count(TbName, "pid=" + pid + " AND Status>0")); }