package com.dg.core.service.impl; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.dg.core.db.gen.entity.AutomessageSmartConsulting; import com.dg.core.db.gen.mapper.AutomessageSmartConsultingMapper; import com.dg.core.service.IAutomessageSmartConsultingService; import org.springframework.stereotype.Service; @Service public class IAutomessageSmartConsultingServiceImpl extends ServiceImpl implements IAutomessageSmartConsultingService { @Override public int add(AutomessageSmartConsulting automessageSmartConsulting){ return baseMapper.insert(automessageSmartConsulting); } @Override public Long countSmartConsulting(){ return baseMapper.selectCount(new QueryWrapper().lambda()); } }