/*******************************************************************************
 * Copyright (c) 2005, 2014 springside.github.io
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 *******************************************************************************/
package com.yihu.wlyy.repository.job;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.yihu.wlyy.entity.doctor.profile.JobTitle;
import com.yihu.wlyy.entity.address.Province;

public interface JobDao extends PagingAndSortingRepository<Province, Long> {
	// 根據CODE查詢职称名
	@Query("select p from JobTitle p where p.code = ?1")
    JobTitle findByCode(String code);
}
