xiangpei
2025-02-11 cd6de797868cd3ba10b4bd7fad0d3fdea208b2d5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
package com.ycl.mapper;
 
import com.ycl.domain.entity.ProjectPlanRecord;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ycl.domain.query.ProjectPlanRecordQuery;
import com.ycl.domain.vo.ProjectPlanRecordVO;
import com.ycl.domain.form.ProjectPlanRecordForm;
import java.util.List;
 
import com.ycl.domain.vo.ProjetPlanRecordItem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
/**
 * 项目计划记录 Mapper 接口
 *
 * @author lhr
 * @since 2024-11-22
 */
@Mapper
public interface ProjectPlanRecordMapper extends BaseMapper<ProjectPlanRecord> {
 
    /**
     * id查找项目计划记录
     * @param id
     * @return
     */
    ProjectPlanRecordVO getById(Integer id);
 
    /**
    *  分页
    */
    IPage getPage(IPage page, @Param("query") ProjectPlanRecordQuery query);
 
 
    /**
     *  根据项目id和标志查询计划列表
     */
    List<ProjetPlanRecordItem> selectPlanList(@Param("id") Long id, @Param("flag") Integer flag);
 
    void insertItem(ProjectPlanRecord item);
}