소스 정리

main
이범준 5 months ago
parent aa4d1b7f59
commit cd56ef75f7

@ -111,19 +111,7 @@ public interface OgdpMapper extends AbstractMapper {
DataObject selectOgdpInfoOfUser(String userId); DataObject selectOgdpInfoOfUser(String userId);
/** .<br />
* @param
* @return
*/
@Select(SQLUtil.SCRIPT_START+"""
/* 모든 기관 조회(ogdpMapper.selectAllInstList) */
SELECT INST_CD
, INST_NM
, (SELECT (CASE WHEN COUNT(*) > 0 THEN 'Y' ELSE 'N' END) FROM TB_USER WHERE NSTT_CD = A.INST_CD) AS USER_USE_YN
FROM TB_SGG A
WHERE USE_YN = 'Y'
"""+SQLUtil.SCRIPT_END)
List<DataObject> selectAllInstList();
/** .<br /> /** .<br />
* @param * @param

@ -26,10 +26,6 @@ public abstract class AbstractOgdpBean extends AbstractBean {
return ogdpMapper.selectAbleOgdpList(params); return ogdpMapper.selectAbleOgdpList(params);
} }
public List<DataObject> selectAllInstList() {
return ogdpMapper.selectAllInstList();
}
public List<DataObject> selectAllSggList(){ public List<DataObject> selectAllSggList(){
return ogdpMapper.selectAllSggList(); return ogdpMapper.selectAllSggList();
} }

Loading…
Cancel
Save