package com.ycl.service;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.ycl.common.base.Result;
|
import com.ycl.domain.entity.ProjectPlanInfo;
|
import com.ycl.domain.form.ProjectPlanInfoForm;
|
import com.ycl.domain.query.ProjectPlanInfoQuery;
|
import com.ycl.domain.vo.ProjectPlanInfoRequest;
|
|
import java.util.List;
|
|
/**
|
* 项目计划项 服务类
|
*
|
* @author lhr
|
* @since 2024-11-22
|
*/
|
public interface ProjectPlanInfoService extends IService<ProjectPlanInfo> {
|
|
/**
|
* 添加
|
* @param form
|
* @return
|
*/
|
Result add(ProjectPlanInfoForm form);
|
|
/**
|
* 修改
|
* @param form
|
* @return
|
*/
|
Result update(ProjectPlanInfoForm form);
|
|
/**
|
* 批量删除
|
* @param ids
|
* @return
|
*/
|
Result remove(List<String> ids);
|
|
/**
|
* id删除
|
* @param id
|
* @return
|
*/
|
Result removeById(String id);
|
|
/**
|
* 分页查询
|
* @param query
|
* @return
|
*/
|
Result page(ProjectPlanInfoQuery query);
|
|
/**
|
* 根据id查找
|
* @param id
|
* @return
|
*/
|
Result detail(Integer id);
|
|
/**
|
* 新增计划项
|
* @return
|
*/
|
Result all();
|
|
/**
|
* 新增计划项
|
* @return
|
*/
|
Result addPlanInfo(ProjectPlanInfoRequest request);
|
|
/**
|
* 保存计划项
|
* @return
|
*/
|
Result savePlanInfo(ProjectPlanInfo item, Integer planRecordId);
|
|
/**
|
* 延期
|
* @return
|
*/
|
Result delayPlanInfo(ProjectPlanInfoForm request);
|
|
Result resubmitPlanInfo(ProjectPlanInfoForm form);
|
}
|