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));
|
}
|
}
|