Example #1
0
 private void Handle(StoreCreatedEvent evnt)
 {
     _info               = evnt.Info;
     _subjectInfo        = evnt.SubjectInfo;
     _userId             = evnt.UserId;
     _sectionId          = Guid.Empty;
     _orderIds           = new HashSet <Guid>();
     _isLocked           = false;
     _storeStatisticInfo = new StoreStatisticInfo(
         0,
         0,
         0,
         0,
         0,
         DateTime.Now);
     _status = StoreStatus.Apply;
     _type   = StoreType.ThirdParty;//默认为第三方店铺
 }
Example #2
0
 private void Handle(StoreStatisticInfoChangedEvent evnt)
 {
     _storeStatisticInfo = evnt.StatisticInfo;
 }