|
@@ -61,9 +61,12 @@ namespace MySystem
|
|
|
{
|
|
|
foreach(PosMerchantInfo merchant in merchants)
|
|
|
{
|
|
|
+ function.WriteLog("商户ID:" + merchant.Id, "每月统计押金达标情况");
|
|
|
// string start = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff");
|
|
|
int StandardMonths = merchant.StandardMonths;
|
|
|
- int StandardStatus = merchant.StandardStatus;
|
|
|
+ int StandardStatus = merchant.StandardStatus;
|
|
|
+ function.WriteLog("StandardMonths:" + StandardMonths, "每月统计押金达标情况");
|
|
|
+ function.WriteLog("StandardStatus:" + StandardStatus, "每月统计押金达标情况");
|
|
|
DateTime ActDate = merchant.CreateDate.Value;
|
|
|
if(merchant.MerStandardDate == null)
|
|
|
{
|
|
@@ -100,10 +103,12 @@ namespace MySystem
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ function.WriteLog("MonthNum:" + MonthNum, "每月统计押金达标情况");
|
|
|
if(MonthNum >= 10)
|
|
|
{
|
|
|
StandardStatus = 4;
|
|
|
}
|
|
|
+ function.WriteLog("StandardStatus:" + StandardStatus + "\n\n", "每月统计押金达标情况");
|
|
|
PosMerchantInfo edit = db.PosMerchantInfo.FirstOrDefault(m => m.Id == merchant.Id);
|
|
|
if(edit != null)
|
|
|
{
|