fix shopClose

This commit is contained in:
shuo.wang
2025-01-17 16:24:50 +08:00
parent 984f94492a
commit 789d3702ca

View File

@@ -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);
}
//只有跟进中才能结束跟进