weicd
2023-09-28 d0c51ac702c57f2cae84a8d879a5b605f2dab630
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/treatment/repository/UserLevelWageRepository.java
@@ -21,6 +21,8 @@
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import java.util.List;
/**
* @website https://eladmin.vip
* @author 姚增春
@@ -31,7 +33,7 @@
   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);
}