| | |
| | | package com.ycl.platform.service.impl; |
| | | |
| | | import com.ycl.platform.domain.entity.CheckRule; |
| | | import com.ycl.platform.domain.query.CheckRuleQuery; |
| | | import com.ycl.platform.domain.vo.CheckRuleVO; |
| | | import com.ycl.platform.mapper.CheckRuleMapper; |
| | | import com.ycl.platform.service.ICheckRuleService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | * @return 考核规则 |
| | | */ |
| | | @Override |
| | | public CheckRule selectCheckRuleById(Long id) |
| | | public CheckRuleVO selectCheckRuleById(Long id) |
| | | { |
| | | return checkRuleMapper.selectCheckRuleById(id); |
| | | } |
| | |
| | | /** |
| | | * 查询考核规则列表 |
| | | * |
| | | * @param checkRule 考核规则 |
| | | * @param checkRuleQuery 考核规则 |
| | | * @return 考核规则 |
| | | */ |
| | | @Override |
| | | public List<CheckRule> selectCheckRuleList(CheckRule checkRule) |
| | | public List<CheckRuleVO> selectCheckRuleList(CheckRuleQuery checkRuleQuery) |
| | | { |
| | | return checkRuleMapper.selectCheckRuleList(checkRule); |
| | | return checkRuleMapper.selectCheckRuleList(checkRuleQuery); |
| | | } |
| | | |
| | | /** |