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

View File

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

View File

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