|
@@ -45,6 +45,6 @@ public interface UserRepo extends JpaRepository<User,Long>,QueryByExampleExecuto
|
|
|
"And us.root_org_id = ? And ur.role_code = 'MARKER' And us.enable = 1 ORDER BY ?#{#pageable}",nativeQuery = true)
|
|
|
Page<User> findMarkerByRootOrgId(Long rootOrgId, Pageable pageable);
|
|
|
|
|
|
- @Query(nativeQuery = true,value = "SELECT DISTINCT * FROM ecs_core_user us, ecs_core_user_role ur WHERE us.user_type = 'PRINT' and us.id = ur.user_id and ur.role_code = 'PROJECT_MANAGER' And us.enable = 1")
|
|
|
+ @Query(nativeQuery = true,value = "SELECT DISTINCT * FROM ecs_core_user us, ecs_core_user_role ur WHERE us.type = 'PRINT' and us.id = ur.user_id and ur.role_code = 'PROJECT_MANAGER' And us.enable = 1")
|
|
|
List<User> findPrintPm();
|
|
|
}
|