config: config set
parent
420302fee9
commit
5ed807b717
@ -1,30 +0,0 @@
|
||||
package com.xit.biz.ctgy.repository;
|
||||
|
||||
import com.xit.biz.ctgy.CtgyConstants;
|
||||
import com.xit.biz.ctgy.entity.MinUserinfo;
|
||||
import com.xit.core.oauth2.utils.SecurityUtil;
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
import org.springframework.data.jpa.repository.Query;
|
||||
import org.springframework.data.repository.query.Param;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Optional;
|
||||
|
||||
public interface IMinUserRepository extends JpaRepository<MinUserinfo, String> {
|
||||
Optional<MinUserinfo> findByUserid(final String userid);
|
||||
|
||||
@Query(value = "SELECT TRAFFIC.ECL_ENCRYPT(?1) AS passwd FROM DUAL C", nativeQuery = true)
|
||||
//@Query(value = "SELECT ECL_ENCRYPT(?1) AS passwd", nativeQuery = true)
|
||||
String queryGetPasswdEncode(@Param("passwd") final String passwd);
|
||||
|
||||
@Query(value = "SELECT ECL_DECRYPT(MU.passwd) AS passwd FROM min_userinfo MU WHERE MU.userid = ?1", nativeQuery = true)
|
||||
String queryGetPasswd(@Param("userid") final String userid);
|
||||
|
||||
MinUserinfo findMinUserinfoByUserid(final String userid);
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
// 주정차위반 심사대상 등록 - 등록 대상 심사자 조회
|
||||
//-------------------------------------------------------------------------
|
||||
List<MinUserinfo> findAllByTeamAndIsenableAndAccesstype(String msuTeam, String isenabled, String accesstype);
|
||||
}
|
Loading…
Reference in New Issue