package com.hotent.project.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hotent.project.model.CostProjectMemo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 监审项目备忘录表 Mapper 接口
 *
 * @company 山西清众科技股份有限公司
 * @author 超级管理员
 * @since 2025-09-25
 */
public interface CostProjectMemoDao extends BaseMapper<CostProjectMemo> {

    void updateMemo(CostProjectMemo copy);

    Page<CostProjectMemo> getCostProjectMemoPage(Page<CostProjectMemo> objectPage
            , @Param("dataScope") Integer dataScope
            , @Param("provinceCode") String provinceCode
            , @Param("cityCode") String cityCode
            , @Param("countyCode") String countyCode
            , @Param("projectId") Long projectId
            , @Param("year") String year
            , @Param("content") String content
            , @Param("memoDate") String memoDate
            , @Param("startTime") String startTime
            , @Param("endTime") String endTime);

    Page<CostProjectMemo> getIndexList(Page<CostProjectMemo> objectPage,@Param("userId") String userId,@Param("content") String content,@Param("memoDate") String memoDate);

    List<CostProjectMemo> getDataMonth(@Param("dataScope") Integer dataScope, @Param("provinceCode") String provinceCode,@Param("cityCode") String cityCode, @Param("countyCode") String countyCode, @Param("memoDate") String memoDate);

    List<CostProjectMemo> getIndexDataMonth(@Param("userId") String userId, @Param("memoDate") String memoDate);
}
