郑永安
2023-06-19 9d488beac4ff8bdb47f90e2ddd5fd9d907371797
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
44
45
46
47
48
49
50
51
52
package com.gkhy.labRiskManage.domain.experiment.service;
 
 
import com.gkhy.labRiskManage.application.experiment.dto.bo.ExperimentAppInsertBO;
import com.gkhy.labRiskManage.commons.domain.SearchResult;
import com.gkhy.labRiskManage.commons.model.PageQuery;
import com.gkhy.labRiskManage.domain.experiment.entity.ExperimentInfo;
import com.gkhy.labRiskManage.domain.experiment.model.bo.ExperimentDevelopUpdateBO;
import com.gkhy.labRiskManage.domain.experiment.model.bo.ExperimentInfoQueryBO;
import com.gkhy.labRiskManage.domain.experiment.model.dto.ExperimentInfoDTO;
import com.gkhy.labRiskManage.domain.riskReport.model.bo.UpdateExperimentInfoBO;
 
import java.util.List;
 
/**
 * 实验信息
 */
public interface ExperimentInfoService {
 
    ExperimentInfoDTO save(Long currentUserId, ExperimentAppInsertBO experimentAppInsertBO);
    ExperimentInfoDTO developSave(Long currentUserId, ExperimentAppInsertBO experimentAppInsertBO);
 
    boolean deleteById(Long id,Long currentUserId);
    ExperimentInfoDTO getExperimentById(Long id);
    ExperimentInfoDTO getExperimentByName(String experimentName);
 
    List<ExperimentInfoDTO> getExperimentInfoByIds(List<Long> idList);
 
    boolean updateDevelop(Long currentUserId, List<ExperimentDevelopUpdateBO> developUpdateBOList);
 
    boolean applyEvaluation(Long currentUserId, List<Long> ids);
 
    SearchResult<List<ExperimentInfoDTO>> listByPage(PageQuery<ExperimentInfoQueryBO> pageQuery,Long currentUserId);
    /**
     * 实验信息 - 修改实验状态
     */
    ExperimentInfoDTO updateExperimentStage(Long id, Byte stage);
 
    boolean revokeApplyEvaluation(Long currentUserId, List<Long> ids);
 
    /**
     * 获取实验信息列表
     * @return
     */
    List<ExperimentInfoDTO> getExperimentInfoList(Long currentUserId);
 
    boolean updateRectify(Long experimentId);
 
    List<ExperimentInfoDTO>  getExperimentByUser(Long currentUserId);
 
    ExperimentInfo updateExperimentStatus(UpdateExperimentInfoBO updateBO);
}