|
@@ -104,6 +104,10 @@ namespace MySystem
|
|
|
MerchantInfo merchant = db.MerchantInfo.FirstOrDefault(m => m.Id == sign.MerchantAddInfoId);
|
|
|
if (merchant != null)
|
|
|
{
|
|
|
+ if(merchant.Status < 2 && merchant.QueryCount < 2)
|
|
|
+ {
|
|
|
+ RedisDbconn.Instance.AddList("MpMerchantActQueue", "{\"userId\":\"" + merchant.UserId + "\",\"statDate\":\"" + DateTime.Now.ToString("yyyyMMdd") + "\",\"statMonth\":\"" + DateTime.Now.ToString("yyyyMM") + "\"}");
|
|
|
+ }
|
|
|
merchant.QueryCount = 2;
|
|
|
if (merchant.SignDate == null)
|
|
|
{
|
|
@@ -123,6 +127,10 @@ namespace MySystem
|
|
|
MerchantInfo merchant = db.MerchantInfo.FirstOrDefault(m => m.Id == sign.MerchantAddInfoId);
|
|
|
if (merchant != null)
|
|
|
{
|
|
|
+ if(merchant.Status < 2 && merchant.QueryCount < 2)
|
|
|
+ {
|
|
|
+ RedisDbconn.Instance.AddList("MpMerchantActQueue", "{\"userId\":\"" + merchant.UserId + "\",\"statDate\":\"" + DateTime.Now.ToString("yyyyMMdd") + "\",\"statMonth\":\"" + DateTime.Now.ToString("yyyyMM") + "\"}");
|
|
|
+ }
|
|
|
merchant.QueryCount = 2;
|
|
|
if (merchant.SignDate == null)
|
|
|
{
|