package thyyxxk.webserver.dao.his.dictionary.clinicalPathway;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import thyyxxk.webserver.entity.dictionary.pathwayTemplates.dto.ClinicalPathwayWork;


@Mapper
public interface ClinicalPathwayWorkDao extends BaseMapper<ClinicalPathwayWork> {

    @Select("select count(1)\n" +
            "from clinical_pathway_work\n" +
            "where day_id = #{dayId}")
    int getSortByDayId(String dayId);

}
