문화원 시작종료 시간 조회 보완

This commit is contained in:
KNKIM 2021-12-21 10:13:43 +09:00
parent 9ad0e95bc5
commit 8e31a9b478
2 changed files with 349 additions and 345 deletions

View File

@ -115,6 +115,10 @@ public class ReadServiceImpl implements ReadService {
// 해당 문화원의 업무시간 조회 // 해당 문화원의 업무시간 조회
HashMap<String, String> operation = informService.selectNCultureOpenTime(readVO.getMngOrgCd()); HashMap<String, String> operation = informService.selectNCultureOpenTime(readVO.getMngOrgCd());
if(operation == null) {
log.error("insertReadItems > 지방문화원 정보를 확인할 수 없습니다.");
return null;
}
// API 호출 // API 호출
/* /*

View File

@ -17,9 +17,9 @@
<select id="selectNCultureOpenTime" parameterType="String" resultType="HashMap"> <select id="selectNCultureOpenTime" parameterType="String" resultType="HashMap">
SELECT SELECT
OPEN_TIME IFNULL(OPEN_TIME,'09:00')
, CLOSED_TIME , IFNULL(CLOSED_TIME,'18:00')
, CLOSING_INFO , IFNULL(CLOSING_INFO, '관공서의 휴관일 및 국가가 정한 임시 공휴일 휴관')
FROM SM_DEPT A FROM SM_DEPT A
WHERE A.ORG_CD = #{orgCd} WHERE A.ORG_CD = #{orgCd}
</select> </select>