2025-09-30 15:00 설문 기간이 있는 경우 해당 기간 이후 오픈 하도록 수정
This commit is contained in:
parent
ce74596290
commit
e87f50bd8a
@ -1132,6 +1132,12 @@
|
|||||||
vpap.edu_strt_pnttm AS eduStrtPnttm ,
|
vpap.edu_strt_pnttm AS eduStrtPnttm ,
|
||||||
vpap.edu_ddln_pnttm AS eduDdlnPnttm ,
|
vpap.edu_ddln_pnttm AS eduDdlnPnttm ,
|
||||||
|
|
||||||
|
case
|
||||||
|
when to_char(now(),'YYYY.MM.DD HH24') >= concat(vpap.qustnr_strt_pnttm, ' ', vpap.qustnr_tm) and vpap.qustnr_tm>'' then 1
|
||||||
|
else 0
|
||||||
|
end as qustnrTm,
|
||||||
|
|
||||||
|
|
||||||
CASE
|
CASE
|
||||||
WHEN to_char(now(), 'YYYY.MM.DD') > COALESCE(vpap.edu_ddln_pnttm,vpap.edu_strt_pnttm) THEN 1
|
WHEN to_char(now(), 'YYYY.MM.DD') > COALESCE(vpap.edu_ddln_pnttm,vpap.edu_strt_pnttm) THEN 1
|
||||||
ELSE 0
|
ELSE 0
|
||||||
|
|||||||
@ -266,14 +266,22 @@
|
|||||||
대상설문없음
|
대상설문없음
|
||||||
</c:when>
|
</c:when>
|
||||||
|
|
||||||
<c:when test="${empty list.qestnrId10Cnt or list.qestnrId10Cnt eq 0}">
|
<c:when test="${(empty list.qestnrId10Cnt or list.qestnrId10Cnt eq 0) and list.qustnrTm eq '0'}">
|
||||||
<!-- 작성된 설문이 없다 -->
|
<!-- 작성된 설문이 없다 -->
|
||||||
<button type="button" class="btnType01 sur_bt" data-info="${list.eduAplctOrd}" data-tooltip="sub36_pop02"
|
<button type="button" class="btnType01 sur_bt" data-info="${list.eduAplctOrd}" data-tooltip="sub36_pop02"
|
||||||
onclick="fncQustnrList('${list.eduAplctOrd}','${list.eduChasiOrd}','10','insert'
|
onclick="fncQustnrList('${list.eduAplctOrd}','${list.eduChasiOrd}','10','insert'
|
||||||
,'${list.qustnrTmplatId}','${list.qestnrId10}',''
|
,'${list.qustnrTmplatId}','${list.qestnrId10}',''
|
||||||
)" title="팝업 열림">설문등록</button>
|
)" title="팝업 열림">설문등록</button>
|
||||||
</c:when>
|
</c:when>
|
||||||
|
|
||||||
|
<c:when test="${list.qustnrTm eq '1'}">
|
||||||
|
<!-- 작성된 설문이 없다 -->
|
||||||
|
<button type="button" class="btnType01 sur_bt" data-info="${list.eduAplctOrd}" data-tooltip="sub36_pop02"
|
||||||
|
onclick="fncQustnrList('${list.eduAplctOrd}','${list.eduChasiOrd}','10','insert'
|
||||||
|
,'${list.qustnrTmplatId}','${list.qestnrId10}',''
|
||||||
|
)" title="팝업 열림">설문등록</button>
|
||||||
|
</c:when>
|
||||||
|
|
||||||
<c:otherwise>
|
<c:otherwise>
|
||||||
-
|
-
|
||||||
</c:otherwise>
|
</c:otherwise>
|
||||||
|
|||||||
@ -266,7 +266,15 @@
|
|||||||
대상설문없음
|
대상설문없음
|
||||||
</c:when>
|
</c:when>
|
||||||
|
|
||||||
<c:when test="${empty list.qestnrId10Cnt or list.qestnrId10Cnt eq 0}">
|
<c:when test="${(empty list.qestnrId10Cnt or list.qestnrId10Cnt eq 0) and list.qustnrTm eq '0'}">
|
||||||
|
<!-- 작성된 설문이 없다 -->
|
||||||
|
<button type="button" class="btnType01 sur_bt" data-info="${list.eduAplctOrd}" data-tooltip="sub36_pop02"
|
||||||
|
onclick="fncQustnrList('${list.eduAplctOrd}','${list.eduChasiOrd}','10','insert'
|
||||||
|
,'${list.qustnrTmplatId}','${list.qestnrId10}',''
|
||||||
|
)" title="팝업 열림">설문등록</button>
|
||||||
|
</c:when>
|
||||||
|
|
||||||
|
<c:when test="${list.qustnrTm eq '1'}">
|
||||||
<!-- 작성된 설문이 없다 -->
|
<!-- 작성된 설문이 없다 -->
|
||||||
<button type="button" class="btnType01 sur_bt" data-info="${list.eduAplctOrd}" data-tooltip="sub36_pop02"
|
<button type="button" class="btnType01 sur_bt" data-info="${list.eduAplctOrd}" data-tooltip="sub36_pop02"
|
||||||
onclick="fncQustnrList('${list.eduAplctOrd}','${list.eduChasiOrd}','10','insert'
|
onclick="fncQustnrList('${list.eduAplctOrd}','${list.eduChasiOrd}','10','insert'
|
||||||
|
|||||||
@ -269,14 +269,22 @@
|
|||||||
대상설문없음
|
대상설문없음
|
||||||
</c:when>
|
</c:when>
|
||||||
|
|
||||||
<c:when test="${empty list.qestnrId10Cnt or list.qestnrId10Cnt eq 0}">
|
<c:when test="${(empty list.qestnrId10Cnt or list.qestnrId10Cnt eq 0) and list.qustnrTm eq '0'}">
|
||||||
<!-- 작성된 설문이 없다 -->
|
<!-- 작성된 설문이 없다 -->
|
||||||
<button type="button" class="btnType01 sur_bt" data-info="${list.eduAplctOrd}" data-tooltip="sub36_pop02"
|
<button type="button" class="btnType01 sur_bt" data-info="${list.eduAplctOrd}" data-tooltip="sub36_pop02"
|
||||||
onclick="fncQustnrList('${list.eduAplctOrd}','${list.eduChasiOrd}','10','insert'
|
onclick="fncQustnrList('${list.eduAplctOrd}','${list.eduChasiOrd}','10','insert'
|
||||||
,'${list.qustnrTmplatId}','${list.qestnrId10}',''
|
,'${list.qustnrTmplatId}','${list.qestnrId10}',''
|
||||||
)" title="팝업 열림">설문등록</button>
|
)" title="팝업 열림">설문등록</button>
|
||||||
</c:when>
|
</c:when>
|
||||||
|
|
||||||
|
<c:when test="${list.qustnrTm eq '1'}">
|
||||||
|
<!-- 작성된 설문이 없다 -->
|
||||||
|
<button type="button" class="btnType01 sur_bt" data-info="${list.eduAplctOrd}" data-tooltip="sub36_pop02"
|
||||||
|
onclick="fncQustnrList('${list.eduAplctOrd}','${list.eduChasiOrd}','10','insert'
|
||||||
|
,'${list.qustnrTmplatId}','${list.qestnrId10}',''
|
||||||
|
)" title="팝업 열림">설문등록</button>
|
||||||
|
</c:when>
|
||||||
|
|
||||||
<c:otherwise>
|
<c:otherwise>
|
||||||
-
|
-
|
||||||
</c:otherwise>
|
</c:otherwise>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user