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 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 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); } }