SubjectTestPublishGradeService.java 922 Bytes
package com.meishu.service;

import com.meishu.dto.grade.AddGradeDTO;
import com.meishu.model.SubjectRuleDO;
import com.meishu.model.SubjectTestPublishGradeDO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.meishu.vo.grade.QueryOneGradeVO;

import java.util.List;

/**
 * <p>
 * 档次表 服务类
 * </p>
 *
 * @author Tuyp
 * @since 2021-06-21
 */
public interface SubjectTestPublishGradeService extends IService<SubjectTestPublishGradeDO> {

    String addGrade(AddGradeDTO addGradeDTO);

    String deleteGrade(SubjectTestPublishGradeDO subjectTestPublishGradeDO);

    List<QueryOneGradeVO> queryGrade(SubjectTestPublishGradeDO subjectTestPublishGradeDO);

    QueryOneGradeVO queryOneGrade(SubjectTestPublishGradeDO subjectTestPublishGradeDO);

    String updateGrade(AddGradeDTO addGradeDTO);

    SubjectRuleDO getRuleIdByPublishId(SubjectTestPublishGradeDO subjectTestPublishGradeDO);

}