项目进度控制

This commit is contained in:
2025-05-08 20:42:58 +08:00
parent a1e2b71141
commit ca3724ff32
42 changed files with 2487 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
package com.ruoyi.oa.mapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.oa.domain.OaProjectSchedule;
import com.ruoyi.oa.domain.vo.OaProjectScheduleVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;
/**
* 项目进度Mapper接口
*
* @author haka
* @date 2025-05-08
*/
public interface OaProjectScheduleMapper extends BaseMapperPlus<OaProjectScheduleMapper, OaProjectSchedule, OaProjectScheduleVo> {
Page<OaProjectScheduleVo> selectVoPagePlus(@Param("page") Page<OaProjectScheduleVo> build,@Param(Constants.WRAPPER) QueryWrapper<OaProjectSchedule> lqw);
}

View File

@@ -0,0 +1,27 @@
package com.ruoyi.oa.mapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.oa.domain.OaProjectScheduleStep;
import com.ruoyi.oa.domain.vo.OaProjectScheduleStepVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.toolkit.Constants;
/**
* 项目进度步骤跟踪Mapper接口
*
* @author hdka
* @date 2025-05-08
*/
public interface OaProjectScheduleStepMapper extends BaseMapperPlus<OaProjectScheduleStepMapper, OaProjectScheduleStep, OaProjectScheduleStepVo> {
Page<OaProjectScheduleStepVo> selectVoPagePlus(@Param("page")Page<Object> build, @Param(Constants.WRAPPER) QueryWrapper<OaProjectScheduleStep> lqw);
OaProjectScheduleStepVo selectVoPlusById(Long trackId);
OaProjectScheduleStepVo maxStepByScheduleId(Long scheduleId);
void updateByStepAndScheduleId(@Param("currentStep") Long currentStep, @Param("scheduleId") Long scheduleId);
OaProjectScheduleStepVo selectByCurrentStepAndScheduleId(@Param("currentStep") Long currentStep, @Param("scheduleId") Long scheduleId);
}

View File

@@ -0,0 +1,15 @@
package com.ruoyi.oa.mapper;
import com.ruoyi.oa.domain.OaScheduleTemplate;
import com.ruoyi.oa.domain.vo.OaScheduleTemplateVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
/**
* 进度模板主Mapper接口
*
* @author hdka
* @date 2025-05-08
*/
public interface OaScheduleTemplateMapper extends BaseMapperPlus<OaScheduleTemplateMapper, OaScheduleTemplate, OaScheduleTemplateVo> {
}

View File

@@ -0,0 +1,20 @@
package com.ruoyi.oa.mapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.oa.domain.OaScheduleTemplateStep;
import com.ruoyi.oa.domain.vo.OaScheduleTemplateStepVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;
/**
* 进度模板步骤Mapper接口
*
* @author hdka
* @date 2025-05-08
*/
public interface OaScheduleTemplateStepMapper extends BaseMapperPlus<OaScheduleTemplateStepMapper, OaScheduleTemplateStep, OaScheduleTemplateStepVo> {
Page<OaScheduleTemplateStepVo> selectVoPagePlus(@Param("page")Page<OaScheduleTemplateStepVo> build,@Param(Constants.WRAPPER) QueryWrapper<OaScheduleTemplateStep> lqw);
}