From f770f08c09b6e622242a73550b31b273f92e3444 Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期五, 06 六月 2025 16:45:06 +0800 Subject: [PATCH] 保洁巡检本周代码 --- ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TLocationTypeServiceImpl.java | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TLocationTypeServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TLocationTypeServiceImpl.java index 6285219..894b540 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TLocationTypeServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TLocationTypeServiceImpl.java @@ -1,10 +1,16 @@ package com.ruoyi.system.service.impl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.ruoyi.common.basic.PageInfo; import com.ruoyi.system.mapper.TLocationTypeMapper; import com.ruoyi.system.model.TLocationType; +import com.ruoyi.system.query.LocationTypeListQuery; import com.ruoyi.system.service.TLocationTypeService; +import com.ruoyi.system.vo.system.LocationTypeListVO; +import com.ruoyi.system.vo.system.ProjectDeptListVO; import org.springframework.stereotype.Service; + +import java.util.List; /** * <p> @@ -17,4 +23,11 @@ @Service public class TLocationTypeServiceImpl extends ServiceImpl<TLocationTypeMapper, TLocationType> implements TLocationTypeService { + @Override + public PageInfo<LocationTypeListVO> pageList(LocationTypeListQuery query) { + PageInfo<LocationTypeListVO> pageInfo = new PageInfo<>(query.getPageNum(), query.getPageSize()); + List<LocationTypeListVO> list = this.baseMapper.pageList(query,pageInfo); + pageInfo.setRecords(list); + return pageInfo; + } } -- Gitblit v1.7.1