Exemple #1
0
        public int GetSRecordCountTo(string strWhere)
        {
            string sql = "select count(1) from sys_stock_code {0}";

            return(Convert.ToInt32(DbHelperMySQL.GetSingleTo(string.Format(sql, strWhere.Length > 0 ? "where " + strWhere : ""))));
        }