weicd
2023-11-07 d38392f1bc5b437feaec39da315926e1f5bdccf2
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/repository/SysUserLevelWageRepository.java
@@ -16,6 +16,7 @@
package me.zhengjie.modules.system.repository;
import me.zhengjie.modules.system.domain.SysUserLevelWage;
import me.zhengjie.modules.treatment.domain.UserLevelWage;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
@@ -51,7 +52,7 @@
     * @param userId /
     * @return /
     */
    @Query(value = "SELECT * FROM sys_user_level_wage WHERE user_id = ?1", nativeQuery = true)
    @Query(value = "SELECT * FROM sys_user_level_wage WHERE user_id = ?1 ORDER BY start_date", nativeQuery = true)
    List<SysUserLevelWage> findByUserId(Long userId);
    /**