|
@@ -101,7 +101,7 @@ namespace MySystem
|
|
|
if(Utils.Instance.IsHaoDa(pos.BrandId))
|
|
|
{
|
|
|
int CheckDays = 30;
|
|
|
- DateTime now = act.ActivateDate == null ? DateTime.Now : act.ActivateDate.Value;
|
|
|
+ DateTime now = string.IsNullOrEmpty(act.Field3) ? DateTime.Now : DateTime.Parse(act.Field3);
|
|
|
PxcModels.PosMerchantInfo merchant = db.PosMerchantInfo.FirstOrDefault(m => m.Id == pos.BindMerchantId) ?? new PxcModels.PosMerchantInfo();
|
|
|
if(pos.BindingTime > now.AddDays(-CheckDays))
|
|
|
{
|