guoshilong
2023-03-29 9e4491b4307992dd3f816cff6771c7a7ea7fee51
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package cn.gistack.sm.patrol.service.impl;
 
import cn.gistack.sm.patrol.entity.PatrolType;
import cn.gistack.sm.patrol.mapper.PatrolTypeMapper;
import cn.gistack.sm.patrol.service.IPatrolTypeService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springblade.core.mp.base.BaseServiceImpl;
import org.springframework.stereotype.Service;
 
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
 
/**
 * @Description: 巡查类型
 */
@Service
public class PatrolTypeServiceImpl extends BaseServiceImpl<PatrolTypeMapper, PatrolType> implements IPatrolTypeService {
 
    @Override
    public IPage<PatrolType> selectPatrolType(IPage<PatrolType> page, PatrolType patrolType) {
        return page.setRecords(baseMapper.selectPatrolType(patrolType));
    }
}