견문작성 수정1

master
Hyung Geun 2022-04-13 10:10:32 +09:00
parent 71b9701160
commit 8123b512e9
3 changed files with 7 additions and 9 deletions

View File

@ -149,7 +149,7 @@
</when>
</choose>
<if test="orderCol != null and orderCol != '' and orderAsc != null and orderAsc != ''">
ORDER BY ${orderCol} ${orderAsc}
ORDER BY ${ordercol} ${orderasc}
</if>
<if test="orderCol == null or orderCol == '' or orderAsc == null or orderAsc == ''"><![CDATA[
ORDER BY IN_SEQ DESC
@ -157,8 +157,8 @@
<![CDATA[
)
WHERE
RNUM > #{firstIndex} AND
RNUM <= #{firstIndex} + #{recordCountPerPage}
RNUM > #{firstindex} AND
RNUM <= #{firstindex} + #{recordcountperPage}
]]>
</select>
@ -207,8 +207,8 @@
)
]]>
<selectKey resultType="int" keyProperty="inSeq" order="AFTER">
SELECT RPT_INFO_IN_SEQ_SEQ.CURRVAL FROM DUAL
</selectKey>
SELECT currval('rpt_info_in_seq') as inSeq
</selectKey>
</insert>
<update id="Report.update" parameterType="reportVO">

View File

@ -19,9 +19,7 @@
</select>
<insert id="ReportFile.insertFileSeq">
<![CDATA[
INSERT INTO RPT_FILE_STORAGE (FS_FILE_COUNT) VALUES (1)
]]>
<selectKey resultType="int" keyProperty="fsSeq" order="AFTER">
SELECT RPT_FILE_STORAGE_FS_SEQ_SEQ.CURRVAL FROM DUAL
</selectKey>

View File

@ -137,8 +137,8 @@
<script type="text/javascript" src="<c:url value='/validator.do'/>"></script>
<validator:javascript formName="reportVO" staticJavascript="false" xhtml="true" cdata="false"/>
<script type="text/javaScript" defer="defer">
<!--
$(function(){
$(function(){
$('#strInfodate').datepicker({ dateFormat: 'yy-mm-dd' });
var result = "<c:out value="${submitResultMsg}"/>";