|
@@ -1,6 +1,7 @@
|
|
|
package com.github.zuihou.business.classSchedule.service.impl;
|
|
|
|
|
|
import cn.hutool.core.util.StrUtil;
|
|
|
+import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
import com.github.zuihou.business.classSchedule.dao.ScheduleMonthMapper;
|
|
|
import com.github.zuihou.business.classSchedule.dto.ScheduleMonthSaveDTO;
|
|
|
import com.github.zuihou.business.classSchedule.dto.ScheduleMonthUpdateDTO;
|
|
@@ -9,7 +10,9 @@ import com.github.zuihou.business.classSchedule.service.ScheduleMonthService;
|
|
|
import com.github.zuihou.base.service.SuperServiceImpl;
|
|
|
|
|
|
import com.github.zuihou.business.modelingCenter.entity.MModuleInfo;
|
|
|
+import com.github.zuihou.database.mybatis.auth.DataScope;
|
|
|
import com.github.zuihou.database.mybatis.conditions.Wraps;
|
|
|
+import com.github.zuihou.database.mybatis.conditions.query.QueryWrap;
|
|
|
import com.github.zuihou.utils.BeanPlusUtil;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.stereotype.Service;
|
|
@@ -87,4 +90,9 @@ public class ScheduleMonthServiceImpl extends SuperServiceImpl<ScheduleMonthMapp
|
|
|
public Boolean delete(ScheduleMonth model) {
|
|
|
return removeById(model.getId());
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public IPage<ScheduleMonth> pageList(IPage<ScheduleMonth> page, QueryWrap<ScheduleMonth> wrapper) {
|
|
|
+ return baseMapper.pageList(page, wrapper, new DataScope());
|
|
|
+ }
|
|
|
}
|