churf
2023-09-06 988982dbaf75aa9d728522f1331a250e612fb506
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);
}