whycxzp
2021-09-28 7d64716cb0d406f21cde03976fd273bd07fdc06f
src/main/java/com/whyc/mapper/ProjectArchiveManageMapper.java
@@ -1,7 +1,9 @@
package com.whyc.mapper;
import com.whyc.pojo.ProjectArchiveExperiment;
import com.whyc.pojo.ProjectArchiveManage;
import com.whyc.pojo.ProjectManage;
import org.apache.ibatis.annotations.Select;
import java.util.List;
@@ -21,4 +23,22 @@
    List<ProjectArchiveManage> searchByCondition(ProjectArchiveManage projectArchiveManage);
    int delDocumentation(ProjectArchiveManage projectArchiveManage);
    List<ProjectArchiveManage> searchByConditionDocumentPath(ProjectManage projectManage);
    //文档管理
    List<ProjectArchiveManage> searchProjectDocByCondition(ProjectArchiveManage projectArchiveManage);
    //试验数据
    List<ProjectArchiveExperiment> searchArchiveExperimentData(ProjectArchiveManage pam);
    //科技成果
    List<ProjectArchiveManage> searchArchiveTechnologicalAchievements(ProjectArchiveManage projectArchiveManage);
    //归档时间更新
    int updateProjectProgress(ProjectManage progress);
    @Select("SELECT COUNT(*) FROM db_experiment.tb_project_archive_manage WHERE pro_file_path=#{filePath}")
    int checkFileExist(String filePath);
}