添加日志
This commit is contained in:
@@ -20,6 +20,7 @@ import com.mybatisflex.core.paginate.Page;
|
||||
import com.mybatisflex.core.query.QueryWrapper;
|
||||
import com.mybatisflex.core.update.UpdateChain;
|
||||
import com.mybatisflex.spring.service.impl.ServiceImpl;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.dubbo.config.annotation.DubboReference;
|
||||
import org.springframework.cache.annotation.CacheEvict;
|
||||
import org.springframework.stereotype.Service;
|
||||
@@ -35,6 +36,7 @@ import java.util.List;
|
||||
* @author gyj
|
||||
* @since 2025-12-18
|
||||
*/
|
||||
@Slf4j
|
||||
@Service
|
||||
public class PpPackageServiceImpl extends ServiceImpl<PpPackageMapper, PpPackage> implements PpPackageService {
|
||||
|
||||
@@ -153,6 +155,7 @@ public class PpPackageServiceImpl extends ServiceImpl<PpPackageMapper, PpPackage
|
||||
// 如果没有开启操作,直接返回空数据
|
||||
ShopConfig shopConfig = shopConfigService.getById(shopId);
|
||||
if (SystemConstants.OneZero.ZERO == shopConfig.getIsPackagePromotion()) {
|
||||
log.info("没有开启套餐推广");
|
||||
return new Page<>();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user