26 lines
828 B
Java
26 lines
828 B
Java
package com.gunshi.project.ss.service;
|
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
import com.gunshi.project.ss.entity.so.RotaLogPageSo;
|
|
import com.gunshi.project.ss.mapper.RotaLogMapper;
|
|
import com.gunshi.project.ss.model.RotaLog;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
/**
|
|
* Description:
|
|
* Created by wanyan on 2024/3/25
|
|
*
|
|
* @author wanyan
|
|
* @version 1.0
|
|
*/
|
|
@Service
|
|
@Transactional(rollbackFor = Exception.class)
|
|
public class RotaLogService extends ServiceImpl<RotaLogMapper, RotaLog> {
|
|
|
|
public Page<RotaLog> queryPage(RotaLogPageSo rotaLogPageSo) {
|
|
return this.baseMapper.queryPage(rotaLogPageSo.getPageSo().toPage(),rotaLogPageSo);
|
|
}
|
|
}
|