| | |
| | | import me.zhengjie.modules.treatment.domain.MeritWage; |
| | | import org.springframework.data.jpa.repository.JpaRepository; |
| | | import org.springframework.data.jpa.repository.JpaSpecificationExecutor; |
| | | import org.springframework.data.jpa.repository.Modifying; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | /** |
| | | * @website https://eladmin.vip |
| | | * @author 初瑞峰 |
| | | * @date 2023-09-07 |
| | | **/ |
| | | @Transactional |
| | | public interface MeritWageRepository extends JpaRepository<MeritWage, Long>, JpaSpecificationExecutor<MeritWage> { |
| | | MeritWage findByLevelId(Long LevelId); |
| | | MeritWage findByLevelId(Long levelId); |
| | | |
| | | @Modifying |
| | | int deleteByLevelId(Long LevelId); |
| | | } |