|
@@ -1740,7 +1740,8 @@ namespace MySystem
|
|
}
|
|
}
|
|
function.WritePage("/ProfitStat/", Month + ".txt", DateTime.Now.ToString());
|
|
function.WritePage("/ProfitStat/", Month + ".txt", DateTime.Now.ToString());
|
|
WebCMSEntities db = new WebCMSEntities();
|
|
WebCMSEntities db = new WebCMSEntities();
|
|
- for (int i = 1; i <= 12; i++) //品牌
|
|
|
|
|
|
+ List<int> BrandIds = db.KqProducts.OrderBy(m => m.Id).ToList().Select(m => m.Id).ToList();
|
|
|
|
+ foreach (int i in BrandIds) //品牌
|
|
{
|
|
{
|
|
for (int j = 0; j <= 1; j++) //卡类型
|
|
for (int j = 0; j <= 1; j++) //卡类型
|
|
{
|
|
{
|