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

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());
if(operation == null) {
log.error("insertReadItems > 지방문화원 정보를 확인할 수 없습니다.");
return null;
}
// API 호출
/*

View File

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