EvaluateRuleMapper.java 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. package com.ims.eval.dao;
  2. import com.baomidou.mybatisplus.core.metadata.IPage;
  3. import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
  4. import com.ims.eval.entity.EvaluateRule;
  5. import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  6. import com.ims.eval.entity.dto.response.EvaluateRuleInfoResDTO;
  7. import org.apache.ibatis.annotations.Param;
  8. import java.util.List;
  9. /**
  10. * <p>
  11. * 考评规则表 Mapper 接口
  12. * </p>
  13. *
  14. * @author wang
  15. * @since 2023-02-27
  16. */
  17. public interface EvaluateRuleMapper extends BaseMapper<EvaluateRule> {
  18. IPage<EvaluateRule> selectListPage(Page page, @Param("id") String id,
  19. @Param("des") String des,
  20. @Param("binSection") String binSection,
  21. @Param("binStage") String binStage,
  22. @Param("checkCycle") String checkCycle,
  23. @Param("year") String year);
  24. List<EvaluateRuleInfoResDTO> selectListInIdsInfos(List<String> ids, String binSection, String binStage);
  25. List<EvaluateRule> selectEvaluateRuleList(@Param("binSection") String binSection,
  26. @Param("binStage") String binStage,
  27. @Param("checkCycle") String checkCycle,
  28. @Param("year") String year);
  29. EvaluateRule getEvaluateRuleListByYear(@Param("year") String year, @Param("checkCycle") String checkCycle, @Param("manageCategory") String manageCategory);
  30. }