|
|
@@ -189,6 +189,14 @@ public class StoreMembershipCardJob {
|
|
|
storeInfo.getId(), storeInfo.getStoreName(), logoutTime);
|
|
|
|
|
|
invalidateStoreCoupons(storeInfo.getId());
|
|
|
+
|
|
|
+
|
|
|
+ // 修改店铺状态,从7天内的暂停营业,变成7天之后的永久关门
|
|
|
+ StoreInfo storeInfoNew = new StoreInfo();
|
|
|
+ storeInfoNew.setBusinessStatus(99);
|
|
|
+ storeInfoNew.setId(storeInfo.getId());
|
|
|
+ storeInfoMapper.updateById(storeInfo);
|
|
|
+
|
|
|
|
|
|
// 先清理关联的商户用户注销状态,确保可以重新入驻
|
|
|
List<StoreUser> relatedStoreUsers = storeUserMapper.selectList(
|