2
13693261870
2022-09-16 653761a31dfeb50dd3d007e892d69c90bf0cdafc
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
package com.landtool.lanbase.modules.res.service.impl;
 
import java.util.List;
 
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
import com.landtool.lanbase.modules.res.dao.Res_EvaluationMapper;
import com.landtool.lanbase.modules.res.entity.Res_Evaluation;
import com.landtool.lanbase.modules.res.entity.UserDefined.MainInfoJoinEvaluation;
import com.landtool.lanbase.modules.res.service.ResEvaluationService;
 
@Service("ResEvaluationService")
public class ResEvaluationServiceImpl implements ResEvaluationService {
    @Autowired
    private Res_EvaluationMapper res_evaluationMapper;
 
    @Override
    public int deleteByPrimaryKey(Integer evalid) {
        return res_evaluationMapper.deleteByPrimaryKey(evalid);
    }
 
    @Override
    public int insert(Res_Evaluation record) {
        return res_evaluationMapper.insert(record);
    }
 
    @Override
    public int insertSelective(Res_Evaluation record) {
        return res_evaluationMapper.insertSelective(record);
    }
 
    @Override
    public Res_Evaluation selectByPrimaryKey(Integer evalid) {
        return res_evaluationMapper.selectByPrimaryKey(evalid);
    }
 
    @Override
    public int updateByPrimaryKeySelective(Res_Evaluation record) {
        return res_evaluationMapper.updateByPrimaryKeySelective(record);
    }
 
    @Override
    public int updateByPrimaryKey(Res_Evaluation record) {
        return res_evaluationMapper.updateByPrimaryKey(record);
    }
    
    @Override
    public Res_Evaluation selectByResourceidAndUserid(Integer resourceid,Integer userid) {
        Res_Evaluation record = new Res_Evaluation();
        record.setResourceid(resourceid);
        record.setEvaluserid(userid);
        return res_evaluationMapper.selectByResourceidAndUserid(record);
    }
    
    @Override
    public List<MainInfoJoinEvaluation> selectResEvaluation(Res_Evaluation record){
        return res_evaluationMapper.selectResEvaluation(record);
    }
    
    @Override
    public int selectResEvaluationCount(Res_Evaluation record){
        return res_evaluationMapper.selectResEvaluationCount(record);
    }
    
    @Override
    public int updateResEvaluationResult(Res_Evaluation record) {
        return res_evaluationMapper.updateResEvaluationResult(record);
    }
    
    @Override
    public List<Res_Evaluation> selectOtherByResourceid(Res_Evaluation evaluation) {
        return res_evaluationMapper.selectOtherByResourceid(evaluation);
    }
    
    @Override
    public Res_Evaluation selectByResourceidAndUseridNoShengHe(Integer resourceid,Integer userid) {
        Res_Evaluation record = new Res_Evaluation();
        record.setResourceid(resourceid);
        record.setEvaluserid(userid);
        return res_evaluationMapper.selectByResourceidAndUseridNoShengHe(record);
    }
 
 
    @Override
    public int deleteByResourceid(Integer resourceid) {
        return res_evaluationMapper.deleteByResourceid(resourceid);
    }
 
    @Override
    public int selectCountByResourceid(Integer resourceid) {
        return res_evaluationMapper.selectCountByResourceid(resourceid);
    }
}