package com.template.services.impl; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.template.mapper.TotalCardMapper; import com.template.model.pojo.TotalCard; import com.template.model.result.PageUtils; import com.template.model.vo.TotalCardPageVo; import com.template.services.TotalCardService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; /** *

* 服务实现类 *

* * @author ceshi * @since 2024-09-27 */ @Service public class TotalCardServiceImpl extends ServiceImpl implements TotalCardService { @Autowired TotalCardMapper totalCardMapper; @Override public PageUtils totalCardPage(Integer page, Integer size, String employeeName, Integer buildingId, String startTime, String endTime) { Page pageVo = new Page<>(page,size); IPage result=totalCardMapper.totalCardPage(pageVo,employeeName,buildingId,startTime,endTime); return new PageUtils(result); } }