| | |
| | | import org.springframework.data.jpa.repository.JpaSpecificationExecutor; |
| | | import org.springframework.data.jpa.repository.Query; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @website https://eladmin.vip |
| | | * @author 姚增春 |
| | |
| | | UserLevelWage findByUserIdAndYearMonth(Long userId, String yearMonth); |
| | | |
| | | @Query(value = "(select performance_coefficient from new_user_level_wage where user_id = ?1) order by `year_month` DESC",nativeQuery = true) |
| | | Double findPerformanceCoefficientByUserId(Long userId); |
| | | List<Double> findPerformanceCoefficientByUserId(Long userId); |
| | | |
| | | |
| | | } |