|
@@ -48,7 +48,7 @@ public interface UserDao extends MyRepository<UserEntity, Long> {
|
|
@Query(value = "select u.* from T_YJPT_USER u,T_YJPT_ROLE_USER ru where u.id = ru.userid and ru.roleid = 1 and u.record_status<>9", nativeQuery = true)
|
|
@Query(value = "select u.* from T_YJPT_USER u,T_YJPT_ROLE_USER ru where u.id = ru.userid and ru.roleid = 1 and u.record_status<>9", nativeQuery = true)
|
|
public List<UserEntity> findAdmin();
|
|
public List<UserEntity> findAdmin();
|
|
|
|
|
|
- @Query(value = "select u.* from t_yjpt_user u,t_yjpt_aqpjjgxx j,t_yjpt_role_user r where u.id=r.userid and u.aqpjjgid=j.id and r.roleid=7 j.jgmc=?1 and u.record_status<>9 and j.record_status<>9", nativeQuery = true)
|
|
|
|
|
|
+ @Query(value = "select u.* from t_yjpt_user u,t_yjpt_aqpjjgxx j,t_yjpt_role_user r where u.id=r.userid and u.aqpjjgid=j.id and r.roleid=7 and j.jgmc=?1 and u.record_status<>9 and j.record_status<>9", nativeQuery = true)
|
|
public List<UserEntity> findJgAdmin(String jgmc);
|
|
public List<UserEntity> findJgAdmin(String jgmc);
|
|
|
|
|
|
@Query("from UserEntity where szd=?1 and sfjyr='N'")
|
|
@Query("from UserEntity where szd=?1 and sfjyr='N'")
|