| | |
| | | import com.ruoyi.compensationperformance.mapper.CompensationPerformanceMapper; |
| | | import com.ruoyi.compensationperformance.pojo.CompensationPerformance; |
| | | import com.ruoyi.compensationperformance.service.CompensationPerformanceService; |
| | | import lombok.RequiredArgsConstructor; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author :yys |
| | |
| | | */ |
| | | @Service |
| | | @Slf4j |
| | | @RequiredArgsConstructor |
| | | public class CompensationPerformanceServiceImpl extends ServiceImpl<CompensationPerformanceMapper, CompensationPerformance> implements CompensationPerformanceService { |
| | | |
| | | @Autowired |
| | | private CompensationPerformanceMapper compensationPerformanceMapper; |
| | | private final CompensationPerformanceMapper compensationPerformanceMapper; |
| | | |
| | | |
| | | @Override |
| | | public IPage<CompensationPerformance> listPage(Page page, CompensationPerformance compensationPerformance) { |
| | | IPage<CompensationPerformance> compensationPerformanceIPage = compensationPerformanceMapper.listPage(page, compensationPerformance); |
| | | return compensationPerformanceIPage; |
| | | public IPage<CompensationPerformance> listPage(Page page, String staffName, String payDateStr) { |
| | | return compensationPerformanceMapper.listPage(page, staffName, payDateStr); |
| | | } |
| | | |
| | | @Override |
| | | public List<CompensationPerformance> exportList() { |
| | | return compensationPerformanceMapper.exportList(); |
| | | } |
| | | } |