fix shopClose
This commit is contained in:
@@ -343,7 +343,7 @@ public class ShopServiceImpl implements ShopService {
|
||||
public Boolean shopClose(Long shopId) {
|
||||
log.info("shopClose shopId:{}", shopId);
|
||||
ShopInfoDO shopInfo = shopInfoDAO.getShopInfo(shopId);
|
||||
if (Objects.nonNull(shopInfo)) {
|
||||
if (Objects.isNull(shopInfo)) {
|
||||
throw new ServiceException(ErrorCodeEnum.PARAMS_VALIDATE_ERROR);
|
||||
}
|
||||
//只有跟进中才能结束跟进
|
||||
|
||||
Reference in New Issue
Block a user