...
|
...
|
@@ -43,6 +43,11 @@ public class StoredSellerServiceImpl implements IStoredSellerService { |
|
|
throw new ServiceException(400,"商户入驻状态变化,不允许申请退出!");
|
|
|
}
|
|
|
|
|
|
//只能操作自己的uid
|
|
|
if(!uid.equals(storedSeller.getUid())){
|
|
|
throw new ServiceException(400,"商户入驻操作错误,不允许申请退出!");
|
|
|
}
|
|
|
|
|
|
int num = storedSellerDao.updateStatusByPrimaryKey(storedSeller.getId(),StoredSellerStatusEnum.apply_quit.getId());
|
|
|
//清掉缓存
|
|
|
cacheService.removeStoredSeller(uid);
|
...
|
...
|
|