운영 > 첨부파일관리 에러 수정 now() -> SYSDATE
This commit is contained in:
parent
bafddaf33b
commit
81282f8de5
@ -1,259 +1,259 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE sqlMap PUBLIC "-//ibatis.apache.org//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
|
||||
<!--
|
||||
수정일 수정자 수정내용
|
||||
=========== ======== =================================================
|
||||
2011.10.06 이기하 보안 취약점 점검사항 반영 $->#변경
|
||||
-->
|
||||
<sqlMap namespace="UnityLink">
|
||||
|
||||
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
|
||||
<typeAlias alias="comDefaultVO" type="kcc.com.cmm.ComDefaultVO"/>
|
||||
<typeAlias alias="fmsFileVO" type="kcc.com.uss.ion.fms.service.FmsFileVO" />
|
||||
|
||||
|
||||
<!-- 첨부파일 관리::입력 -->
|
||||
<insert id="fmsFileDAO.insertFmsFile">
|
||||
INSERT
|
||||
INTO LETFMSFILE
|
||||
(
|
||||
FMS_ID,
|
||||
FMS_NM,
|
||||
CONTENT,
|
||||
FMS_LINK,
|
||||
FMS_DOWN_LINK,
|
||||
REGDT,
|
||||
MODDT,
|
||||
REGISTER_ID,
|
||||
FMS_IMAGE_FILE,
|
||||
FMS_IMAGE
|
||||
)
|
||||
VALUES
|
||||
(
|
||||
#fmsId#,
|
||||
#fmsNm#,
|
||||
#content#,
|
||||
#fmsLink#,
|
||||
#fmsDownLink#,
|
||||
now(),
|
||||
now(),
|
||||
#registerId#,
|
||||
#fmsImageFile#,
|
||||
#fmsImage#
|
||||
)
|
||||
</insert>
|
||||
|
||||
|
||||
<!-- 첨부파일관리 리스트 -->
|
||||
<select id="fmsFileDAO.selectfmsFileList" parameterClass="fmsFileVO" resultClass="fmsFileVO">
|
||||
/* fmsFileDAO.selectfmsFileList */
|
||||
SELECT FMS_ID AS fmsId,
|
||||
FMS_NM AS fmsNm,
|
||||
CONTENT AS content,
|
||||
FMS_LINK AS fmsLink,
|
||||
FMS_DOWN_LINK AS fmsDownLink,
|
||||
/*
|
||||
DATE_FORMAT(REGDT, '%Y-%m-%d %h:%m:%s') regdt ,
|
||||
DATE_FORMAT(MODDT, '%Y-%m-%d %h:%m:%s') moddt ,
|
||||
*/
|
||||
TO_CHAR(REGDT, 'YYYY-MM-DD HH24:MI:SS') regdt ,
|
||||
TO_CHAR(MODDT, 'YYYY-MM-DD HH24:MI:SS') moddt ,
|
||||
REGISTER_ID AS registerId,
|
||||
FMS_IMAGE_FILE AS fmsImageFile,
|
||||
FMS_IMAGE AS fmsImage,
|
||||
(
|
||||
SELECT
|
||||
ATCH_FILE_ID
|
||||
FROM
|
||||
LETTNFILEDETAIL
|
||||
WHERE
|
||||
ATCH_FILE_ID = FMS_IMAGE_FILE
|
||||
limit 1
|
||||
) AS atchFileId
|
||||
FROM LETFMSFILE A
|
||||
WHERE 1=1
|
||||
<isNotEmpty property="searchKeyword">
|
||||
<isEqual property="searchCondition" compareValue="">
|
||||
AND ( FMS_NM LIKE CONCAT ('%', #searchKeyword#,'%')
|
||||
OR CONTENT LIKE CONCAT ('%', #searchKeyword#,'%')
|
||||
)
|
||||
</isEqual>
|
||||
<isEqual property="searchCondition" compareValue="1">
|
||||
AND FMS_NM LIKE CONCAT ('%', #searchKeyword#,'%')
|
||||
</isEqual>
|
||||
<isEqual property="searchCondition" compareValue="2">
|
||||
AND CONTENT LIKE CONCAT ('%', #searchKeyword#,'%')
|
||||
</isEqual>
|
||||
</isNotEmpty>
|
||||
/*
|
||||
ORDER BY 1=1
|
||||
*/
|
||||
ORDER BY 1
|
||||
<isNotEmpty property="searchSortCnd">
|
||||
,$searchSortCnd$
|
||||
</isNotEmpty>
|
||||
<isNotEmpty property="searchSortOrd">
|
||||
$searchSortOrd$
|
||||
</isNotEmpty>
|
||||
/*
|
||||
LIMIT recordCountPerPage OFFSET firstIndex
|
||||
*/
|
||||
OFFSET #firstIndex# ROWS FETCH NEXT #recordCountPerPage# ROWS ONLY;
|
||||
</select>
|
||||
|
||||
<!-- 첨부파일 관리::리스트 count -->
|
||||
<select id="fmsFileDAO.selectfmsFileCount" resultClass="int">
|
||||
/* fmsFileDAO.selectfmsFileCount */
|
||||
SELECT
|
||||
COUNT(*) totcnt
|
||||
FROM LETFMSFILE
|
||||
WHERE 1=1
|
||||
<isNotEmpty property="searchKeyword">
|
||||
<isEqual property="searchCondition" compareValue="">
|
||||
AND ( FMS_NM LIKE '%'||#searchKeyword#||'%'
|
||||
OR CONTENT LIKE '%'||#searchKeyword#||'%'
|
||||
)
|
||||
</isEqual>
|
||||
<isEqual property="searchCondition" compareValue="1">
|
||||
AND FMS_NM LIKE '%'||#searchKeyword#||'%'
|
||||
</isEqual>
|
||||
<isEqual property="searchCondition" compareValue="2">
|
||||
AND CONTENT LIKE '%'||#searchKeyword#||'%'
|
||||
</isEqual>
|
||||
</isNotEmpty>
|
||||
<isNotEmpty property="searchConditionSite">
|
||||
AND SITE_ID = #searchConditionSite#
|
||||
</isNotEmpty>
|
||||
</select>
|
||||
|
||||
<!-- 첨부파일 관리::상세조회 -->
|
||||
<select id="fmsFileDAO.selectfmsFileVO" parameterClass="fmsFileVO" resultClass="fmsFileVO" >
|
||||
/* fmsFileDAO.selectfmsFileVO */
|
||||
SELECT FMS_ID AS fmsId,
|
||||
FMS_NM AS fmsNm,
|
||||
CONTENT AS content,
|
||||
FMS_LINK AS fmsLink,
|
||||
FMS_DOWN_LINK AS fmsDownLink,
|
||||
TO_CHAR(REGDT, 'YYYY-MM-DD HH24:MI:SS') regdt ,
|
||||
TO_CHAR(MODDT, 'YYYY-MM-DD HH24:MI:SS') moddt ,
|
||||
REGISTER_ID AS registerId,
|
||||
FMS_IMAGE_FILE AS fmsImageFile,
|
||||
FMS_IMAGE AS fmsImage
|
||||
FROM LETFMSFILE
|
||||
WHERE 1=1
|
||||
AND FMS_ID = #fmsId#
|
||||
LIMIT 1
|
||||
</select>
|
||||
|
||||
<!-- 첨부파일 관리::상세조회(파일위치까지 조회: 파일까지 삭제하기 위해 -->
|
||||
<select id="fmsFileDAO.selectfmsFileDirVO" parameterClass="fmsFileVO" resultClass="fmsFileVO" >
|
||||
/* fmsFileDAO.selectfmsFileDirVO */
|
||||
SELECT A.FMS_ID AS fmsId,
|
||||
A.FMS_NM AS fmsNm,
|
||||
A.CONTENT AS content,
|
||||
A.FMS_LINK AS fmsLink,
|
||||
A.FMS_DOWN_LINK AS fmsDownLink,
|
||||
TO_CHAR(REGDT, 'YYYY-MM-DD HH24:MI:SS') regdt ,
|
||||
TO_CHAR(MODDT, 'YYYY-MM-DD HH24:MI:SS') moddt ,
|
||||
A.REGISTER_ID AS registerId,
|
||||
A.FMS_IMAGE_FILE AS fmsImageFile,
|
||||
A.FMS_IMAGE AS fmsImage,
|
||||
CONCAT( B.FILE_STRE_COURS, B.STRE_FILE_NM) as whFile
|
||||
FROM LETFMSFILE A INNER JOIN LETTNFILEDETAIL B
|
||||
ON A.FMS_IMAGE_FILE = B.ATCH_FILE_ID
|
||||
AND A.FMS_ID = #fmsId#
|
||||
LIMIT 1
|
||||
</select>
|
||||
|
||||
<delete id="fmsFileDAO.deleteFmsFile">
|
||||
<![CDATA[
|
||||
DELETE FROM LETFMSFILE
|
||||
WHERE FMS_ID = #fmsId#
|
||||
]]>
|
||||
</delete>
|
||||
|
||||
|
||||
<!-- 첨부파일관리 리스트 -->
|
||||
<select id="fmsFileDAO.selectfmsFileVoList" parameterClass="fmsFileVO" resultClass="fmsFileVO">
|
||||
/* fmsFileDAO.selectfmsFileVoList */
|
||||
<![CDATA[
|
||||
SELECT A.FMS_ID AS fmsId,
|
||||
A.FMS_NM AS fmsNm,
|
||||
A.CONTENT AS content,
|
||||
CONCAT(A.FMS_LINK,B.FILE_SN) AS fmsLink,
|
||||
CONCAT(A.FMS_DOWN_LINK,B.FILE_SN) AS fmsDownLink ,
|
||||
TO_CHAR(A.REGDT, 'YYYY-MM-DD HH24:MI:SS') regdt ,
|
||||
TO_CHAR(A.MODDT, 'YYYY-MM-DD HH24:MI:SS') moddt ,
|
||||
A.REGISTER_ID AS registerId,
|
||||
A.FMS_IMAGE_FILE AS fmsImageFile,
|
||||
A.FMS_IMAGE AS fmsImage,
|
||||
CONCAT( B.FILE_STRE_COURS, B.STRE_FILE_NM) as whFile,
|
||||
LOWER(B.FILE_EXTSN) AS fileExtsn,
|
||||
B.ORIGNL_FILE_NM AS orignlFileNm ,
|
||||
B.FILE_SN AS fileSn ,
|
||||
B.FILE_STRE_COURS AS fileStreCours,
|
||||
B.STRE_FILE_NM AS streFileNm,
|
||||
B.FILE_SIZE AS fileSize
|
||||
FROM LETFMSFILE A LEFT JOIN LETTNFILEDETAIL B
|
||||
ON A.FMS_IMAGE_FILE = B.ATCH_FILE_ID
|
||||
WHERE 1=1
|
||||
AND A.FMS_ID = #fmsId#
|
||||
]]>
|
||||
</select>
|
||||
|
||||
<update id="fmsFileDAO.updateFmsFile">
|
||||
UPDATE LETFMSFILE
|
||||
SET
|
||||
FMS_NM= #fmsNm#,
|
||||
CONTENT= #content#,
|
||||
MODDT= now(),
|
||||
<isNotEmpty property="fmsLink">
|
||||
FMS_LINK = #fmsLink# ,
|
||||
</isNotEmpty>
|
||||
<isNotEmpty property="fmsDownLink">
|
||||
FMS_DOWN_LINK = #fmsDownLink# ,
|
||||
</isNotEmpty>
|
||||
<isNotEmpty property="fmsImageFile">
|
||||
FMS_IMAGE_FILE = #fmsImageFile# ,
|
||||
</isNotEmpty>
|
||||
REGISTER_ID= #registerId#
|
||||
WHERE FMS_ID=#fmsId#
|
||||
</update>
|
||||
|
||||
<!-- 첨부파일 임시테이블 ::입력 -->
|
||||
<insert id="fmsFileDAO.insertTempFileTable">
|
||||
INSERT
|
||||
INTO LETTNFILETEMPDETAIL
|
||||
(
|
||||
USER_ID,
|
||||
URL,
|
||||
FILE_SN,
|
||||
FILE_STRE_COURS,
|
||||
STRE_FILE_NM,
|
||||
ORIGNL_FILE_NM,
|
||||
FILE_EXTSN,
|
||||
FILE_SIZE
|
||||
)
|
||||
VALUES
|
||||
(
|
||||
#userId#,
|
||||
#url#,
|
||||
#fileSn#,
|
||||
#fileStreCours#,
|
||||
#streFileNm#,
|
||||
#orignlFileNm#,
|
||||
#fileExtsn#,
|
||||
#fileSize#
|
||||
)
|
||||
|
||||
</insert>
|
||||
|
||||
<delete id="fmsFileDAO.deleteTempFileTable">
|
||||
<![CDATA[
|
||||
DELETE FROM LETTNFILETEMPDETAIL
|
||||
WHERE USER_ID = #userId#
|
||||
AND URL = #url#
|
||||
]]>
|
||||
</delete>
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE sqlMap PUBLIC "-//ibatis.apache.org//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
|
||||
<!--
|
||||
수정일 수정자 수정내용
|
||||
=========== ======== =================================================
|
||||
2011.10.06 이기하 보안 취약점 점검사항 반영 $->#변경
|
||||
-->
|
||||
<sqlMap namespace="UnityLink">
|
||||
|
||||
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
|
||||
<typeAlias alias="comDefaultVO" type="kcc.com.cmm.ComDefaultVO"/>
|
||||
<typeAlias alias="fmsFileVO" type="kcc.com.uss.ion.fms.service.FmsFileVO" />
|
||||
|
||||
|
||||
<!-- 첨부파일 관리::입력 -->
|
||||
<insert id="fmsFileDAO.insertFmsFile">
|
||||
INSERT
|
||||
INTO LETFMSFILE
|
||||
(
|
||||
FMS_ID,
|
||||
FMS_NM,
|
||||
CONTENT,
|
||||
FMS_LINK,
|
||||
FMS_DOWN_LINK,
|
||||
REGDT,
|
||||
MODDT,
|
||||
REGISTER_ID,
|
||||
FMS_IMAGE_FILE,
|
||||
FMS_IMAGE
|
||||
)
|
||||
VALUES
|
||||
(
|
||||
#fmsId#,
|
||||
#fmsNm#,
|
||||
#content#,
|
||||
#fmsLink#,
|
||||
#fmsDownLink#,
|
||||
SYSDATE,
|
||||
SYSDATE,
|
||||
#registerId#,
|
||||
#fmsImageFile#,
|
||||
#fmsImage#
|
||||
)
|
||||
</insert>
|
||||
|
||||
|
||||
<!-- 첨부파일관리 리스트 -->
|
||||
<select id="fmsFileDAO.selectfmsFileList" parameterClass="fmsFileVO" resultClass="fmsFileVO">
|
||||
/* fmsFileDAO.selectfmsFileList */
|
||||
SELECT FMS_ID AS fmsId,
|
||||
FMS_NM AS fmsNm,
|
||||
CONTENT AS content,
|
||||
FMS_LINK AS fmsLink,
|
||||
FMS_DOWN_LINK AS fmsDownLink,
|
||||
/*
|
||||
DATE_FORMAT(REGDT, '%Y-%m-%d %h:%m:%s') regdt ,
|
||||
DATE_FORMAT(MODDT, '%Y-%m-%d %h:%m:%s') moddt ,
|
||||
*/
|
||||
TO_CHAR(REGDT, 'YYYY-MM-DD HH24:MI:SS') regdt ,
|
||||
TO_CHAR(MODDT, 'YYYY-MM-DD HH24:MI:SS') moddt ,
|
||||
REGISTER_ID AS registerId,
|
||||
FMS_IMAGE_FILE AS fmsImageFile,
|
||||
FMS_IMAGE AS fmsImage,
|
||||
(
|
||||
SELECT
|
||||
ATCH_FILE_ID
|
||||
FROM
|
||||
LETTNFILEDETAIL
|
||||
WHERE
|
||||
ATCH_FILE_ID = FMS_IMAGE_FILE
|
||||
limit 1
|
||||
) AS atchFileId
|
||||
FROM LETFMSFILE A
|
||||
WHERE 1=1
|
||||
<isNotEmpty property="searchKeyword">
|
||||
<isEqual property="searchCondition" compareValue="">
|
||||
AND ( FMS_NM LIKE CONCAT ('%', #searchKeyword#,'%')
|
||||
OR CONTENT LIKE CONCAT ('%', #searchKeyword#,'%')
|
||||
)
|
||||
</isEqual>
|
||||
<isEqual property="searchCondition" compareValue="1">
|
||||
AND FMS_NM LIKE CONCAT ('%', #searchKeyword#,'%')
|
||||
</isEqual>
|
||||
<isEqual property="searchCondition" compareValue="2">
|
||||
AND CONTENT LIKE CONCAT ('%', #searchKeyword#,'%')
|
||||
</isEqual>
|
||||
</isNotEmpty>
|
||||
/*
|
||||
ORDER BY 1=1
|
||||
*/
|
||||
ORDER BY 1
|
||||
<isNotEmpty property="searchSortCnd">
|
||||
,$searchSortCnd$
|
||||
</isNotEmpty>
|
||||
<isNotEmpty property="searchSortOrd">
|
||||
$searchSortOrd$
|
||||
</isNotEmpty>
|
||||
/*
|
||||
LIMIT recordCountPerPage OFFSET firstIndex
|
||||
*/
|
||||
OFFSET #firstIndex# ROWS FETCH NEXT #recordCountPerPage# ROWS ONLY;
|
||||
</select>
|
||||
|
||||
<!-- 첨부파일 관리::리스트 count -->
|
||||
<select id="fmsFileDAO.selectfmsFileCount" resultClass="int">
|
||||
/* fmsFileDAO.selectfmsFileCount */
|
||||
SELECT
|
||||
COUNT(*) totcnt
|
||||
FROM LETFMSFILE
|
||||
WHERE 1=1
|
||||
<isNotEmpty property="searchKeyword">
|
||||
<isEqual property="searchCondition" compareValue="">
|
||||
AND ( FMS_NM LIKE '%'||#searchKeyword#||'%'
|
||||
OR CONTENT LIKE '%'||#searchKeyword#||'%'
|
||||
)
|
||||
</isEqual>
|
||||
<isEqual property="searchCondition" compareValue="1">
|
||||
AND FMS_NM LIKE '%'||#searchKeyword#||'%'
|
||||
</isEqual>
|
||||
<isEqual property="searchCondition" compareValue="2">
|
||||
AND CONTENT LIKE '%'||#searchKeyword#||'%'
|
||||
</isEqual>
|
||||
</isNotEmpty>
|
||||
<isNotEmpty property="searchConditionSite">
|
||||
AND SITE_ID = #searchConditionSite#
|
||||
</isNotEmpty>
|
||||
</select>
|
||||
|
||||
<!-- 첨부파일 관리::상세조회 -->
|
||||
<select id="fmsFileDAO.selectfmsFileVO" parameterClass="fmsFileVO" resultClass="fmsFileVO" >
|
||||
/* fmsFileDAO.selectfmsFileVO */
|
||||
SELECT FMS_ID AS fmsId,
|
||||
FMS_NM AS fmsNm,
|
||||
CONTENT AS content,
|
||||
FMS_LINK AS fmsLink,
|
||||
FMS_DOWN_LINK AS fmsDownLink,
|
||||
TO_CHAR(REGDT, 'YYYY-MM-DD HH24:MI:SS') regdt ,
|
||||
TO_CHAR(MODDT, 'YYYY-MM-DD HH24:MI:SS') moddt ,
|
||||
REGISTER_ID AS registerId,
|
||||
FMS_IMAGE_FILE AS fmsImageFile,
|
||||
FMS_IMAGE AS fmsImage
|
||||
FROM LETFMSFILE
|
||||
WHERE 1=1
|
||||
AND FMS_ID = #fmsId#
|
||||
LIMIT 1
|
||||
</select>
|
||||
|
||||
<!-- 첨부파일 관리::상세조회(파일위치까지 조회: 파일까지 삭제하기 위해 -->
|
||||
<select id="fmsFileDAO.selectfmsFileDirVO" parameterClass="fmsFileVO" resultClass="fmsFileVO" >
|
||||
/* fmsFileDAO.selectfmsFileDirVO */
|
||||
SELECT A.FMS_ID AS fmsId,
|
||||
A.FMS_NM AS fmsNm,
|
||||
A.CONTENT AS content,
|
||||
A.FMS_LINK AS fmsLink,
|
||||
A.FMS_DOWN_LINK AS fmsDownLink,
|
||||
TO_CHAR(REGDT, 'YYYY-MM-DD HH24:MI:SS') regdt ,
|
||||
TO_CHAR(MODDT, 'YYYY-MM-DD HH24:MI:SS') moddt ,
|
||||
A.REGISTER_ID AS registerId,
|
||||
A.FMS_IMAGE_FILE AS fmsImageFile,
|
||||
A.FMS_IMAGE AS fmsImage,
|
||||
CONCAT( B.FILE_STRE_COURS, B.STRE_FILE_NM) as whFile
|
||||
FROM LETFMSFILE A INNER JOIN LETTNFILEDETAIL B
|
||||
ON A.FMS_IMAGE_FILE = B.ATCH_FILE_ID
|
||||
AND A.FMS_ID = #fmsId#
|
||||
LIMIT 1
|
||||
</select>
|
||||
|
||||
<delete id="fmsFileDAO.deleteFmsFile">
|
||||
<![CDATA[
|
||||
DELETE FROM LETFMSFILE
|
||||
WHERE FMS_ID = #fmsId#
|
||||
]]>
|
||||
</delete>
|
||||
|
||||
|
||||
<!-- 첨부파일관리 리스트 -->
|
||||
<select id="fmsFileDAO.selectfmsFileVoList" parameterClass="fmsFileVO" resultClass="fmsFileVO">
|
||||
/* fmsFileDAO.selectfmsFileVoList */
|
||||
<![CDATA[
|
||||
SELECT A.FMS_ID AS fmsId,
|
||||
A.FMS_NM AS fmsNm,
|
||||
A.CONTENT AS content,
|
||||
CONCAT(A.FMS_LINK,B.FILE_SN) AS fmsLink,
|
||||
CONCAT(A.FMS_DOWN_LINK,B.FILE_SN) AS fmsDownLink ,
|
||||
TO_CHAR(A.REGDT, 'YYYY-MM-DD HH24:MI:SS') regdt ,
|
||||
TO_CHAR(A.MODDT, 'YYYY-MM-DD HH24:MI:SS') moddt ,
|
||||
A.REGISTER_ID AS registerId,
|
||||
A.FMS_IMAGE_FILE AS fmsImageFile,
|
||||
A.FMS_IMAGE AS fmsImage,
|
||||
CONCAT( B.FILE_STRE_COURS, B.STRE_FILE_NM) as whFile,
|
||||
LOWER(B.FILE_EXTSN) AS fileExtsn,
|
||||
B.ORIGNL_FILE_NM AS orignlFileNm ,
|
||||
B.FILE_SN AS fileSn ,
|
||||
B.FILE_STRE_COURS AS fileStreCours,
|
||||
B.STRE_FILE_NM AS streFileNm,
|
||||
B.FILE_SIZE AS fileSize
|
||||
FROM LETFMSFILE A LEFT JOIN LETTNFILEDETAIL B
|
||||
ON A.FMS_IMAGE_FILE = B.ATCH_FILE_ID
|
||||
WHERE 1=1
|
||||
AND A.FMS_ID = #fmsId#
|
||||
]]>
|
||||
</select>
|
||||
|
||||
<update id="fmsFileDAO.updateFmsFile">
|
||||
UPDATE LETFMSFILE
|
||||
SET
|
||||
FMS_NM= #fmsNm#,
|
||||
CONTENT= #content#,
|
||||
MODDT= SYSDATE,
|
||||
<isNotEmpty property="fmsLink">
|
||||
FMS_LINK = #fmsLink# ,
|
||||
</isNotEmpty>
|
||||
<isNotEmpty property="fmsDownLink">
|
||||
FMS_DOWN_LINK = #fmsDownLink# ,
|
||||
</isNotEmpty>
|
||||
<isNotEmpty property="fmsImageFile">
|
||||
FMS_IMAGE_FILE = #fmsImageFile# ,
|
||||
</isNotEmpty>
|
||||
REGISTER_ID= #registerId#
|
||||
WHERE FMS_ID=#fmsId#
|
||||
</update>
|
||||
|
||||
<!-- 첨부파일 임시테이블 ::입력 -->
|
||||
<insert id="fmsFileDAO.insertTempFileTable">
|
||||
INSERT
|
||||
INTO LETTNFILETEMPDETAIL
|
||||
(
|
||||
USER_ID,
|
||||
URL,
|
||||
FILE_SN,
|
||||
FILE_STRE_COURS,
|
||||
STRE_FILE_NM,
|
||||
ORIGNL_FILE_NM,
|
||||
FILE_EXTSN,
|
||||
FILE_SIZE
|
||||
)
|
||||
VALUES
|
||||
(
|
||||
#userId#,
|
||||
#url#,
|
||||
#fileSn#,
|
||||
#fileStreCours#,
|
||||
#streFileNm#,
|
||||
#orignlFileNm#,
|
||||
#fileExtsn#,
|
||||
#fileSize#
|
||||
)
|
||||
|
||||
</insert>
|
||||
|
||||
<delete id="fmsFileDAO.deleteTempFileTable">
|
||||
<![CDATA[
|
||||
DELETE FROM LETTNFILETEMPDETAIL
|
||||
WHERE USER_ID = #userId#
|
||||
AND URL = #url#
|
||||
]]>
|
||||
</delete>
|
||||
|
||||
</sqlMap>
|
||||
@ -1,276 +1,276 @@
|
||||
<%--
|
||||
Class Name : FmsFileList.jsp
|
||||
Description : 첨부파일 목록 페이지
|
||||
Modification Information
|
||||
|
||||
수정일 수정자 수정내용
|
||||
------- -------- ---------------------------
|
||||
2009.09.16 장동한 최초 생성
|
||||
|
||||
author : 공통서비스 개발팀 장동한
|
||||
since : 2009.09.16
|
||||
|
||||
Copyright (C) 2009 by MOPAS All right reserved.
|
||||
--%>
|
||||
<%@ page contentType="text/html; charset=utf-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
|
||||
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
|
||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
<%
|
||||
response.setHeader("Cache-Control","no-store");
|
||||
response.setHeader("Pragma","no-cache");
|
||||
response.setDateHeader("Expires",0);
|
||||
if (request.getProtocol().equals("HTTP/1.1")) response.setHeader("Cache-Control", "no-cache");
|
||||
%>
|
||||
<!DOCTYPE html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<title>메인이미지 관리</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<script type="text/javascript" src="<c:url value='/js/EgovMultiFile.js'/>"></script>
|
||||
<script type="text/javaScript" language="javascript">
|
||||
|
||||
function fn_search(){
|
||||
<%--<c:if test="${!empty loginId}">
|
||||
if(""!= document.listForm.searchKeyword.value){
|
||||
updateRecentSearch();//최근검색어 등록
|
||||
}
|
||||
</c:if>--%>
|
||||
linkPage(1);
|
||||
}
|
||||
|
||||
function linkPage(pageNo){
|
||||
var listForm = document.listForm ;
|
||||
listForm.pageIndex.value = pageNo ;
|
||||
listForm.submit();
|
||||
}
|
||||
|
||||
|
||||
function fnCheckAll() {
|
||||
var checkField = document.listForm.del;
|
||||
if(document.listForm.checkAll.checked) {
|
||||
if(checkField) {
|
||||
if(checkField.length > 1) {
|
||||
for(var i=0; i < checkField.length; i++) {
|
||||
checkField[i].checked = true;
|
||||
}
|
||||
} else {
|
||||
checkField.checked = true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if(checkField) {
|
||||
if(checkField.length > 1) {
|
||||
for(var j=0; j < checkField.length; j++) {
|
||||
checkField[j].checked = false;
|
||||
}
|
||||
} else {
|
||||
checkField.checked = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* 메인창 수정 화면*/
|
||||
function fn_mainzone_view(id, pageType){
|
||||
document.modiForm.selectedId.value = id;
|
||||
document.modiForm.pageType.value = "Modify";
|
||||
document.modiForm.action = "<c:url value='/uss/ion/pwm/mainzoneModify.do'/>";
|
||||
document.modiForm.submit();
|
||||
}
|
||||
|
||||
/* 첨부파일 등록 및 수정 화면*/
|
||||
function fn_view_fms_file(fmsId , pageType){
|
||||
document.modiForm.pageType.value = pageType ;
|
||||
if(pageType=='U'){
|
||||
document.modiForm.fmsId.value = fmsId ;
|
||||
}
|
||||
document.modiForm.action = "<c:url value='/uss/ion/fms/viewUpdateFmsFile.do'/>";
|
||||
document.modiForm.submit();
|
||||
}
|
||||
|
||||
/* 체크된 메인배너 목록 삭제 */
|
||||
function fn_fms_file_delete(){
|
||||
if($("input[name=del]:checked").length == 0){
|
||||
alert("선택된 항목이 없습니다.");
|
||||
return;
|
||||
}
|
||||
|
||||
if (confirm("해당 첨부파일을 삭제하시겠습니까?")){
|
||||
frm = document.listForm;
|
||||
frm.action = "<c:url value='/uss/ion/fms/fmsFileListDelete.do' />";
|
||||
frm.submit();
|
||||
}
|
||||
}
|
||||
|
||||
/* 테마별 색상맞추기 */
|
||||
$(window).load(function() {
|
||||
$('table.bbs01_list td.subject a').hover(
|
||||
function () {
|
||||
$(this).css("color","#d10000");
|
||||
},
|
||||
function () {
|
||||
$(this).css("color","#333333");
|
||||
}
|
||||
);
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<form name="listForm" action="<c:url value='/uss/ion/fms/fmsFileList.do'/>" method="post">
|
||||
<input name="pageIndex" type="hidden" value="<c:out value='${fmsFileVO.pageIndex}'/>"/>
|
||||
<input type="hidden" name="selectedId" />
|
||||
<input type="hidden" name="pageType" />
|
||||
<input type="hidden" name="searchSortCnd" value="<c:out value="${fmsFileVO.searchSortCnd}" />" />
|
||||
<input type="hidden" name="searchSortOrd" value="<c:out value="${fmsFileVO.searchSortOrd}" />" />
|
||||
|
||||
<!-- cont -->
|
||||
<div class="cont_wrap">
|
||||
<div class="box">
|
||||
<div class="cont_tit">
|
||||
<h2>첨부파일관리</h2>
|
||||
</div>
|
||||
<!-- cont -->
|
||||
<div class="cont">
|
||||
<!-- list_top -->
|
||||
<div class="list_top list_top_sub">
|
||||
<p>총 건수 : <span><c:out value="${paginationInfo.totalRecordCount}" /></span>건</p>
|
||||
<div class="list_util">
|
||||
<c:if test="${siteId eq 'super'}">
|
||||
<select name="searchConditionSite" id="searchConditionSite" title="검색조건2-검색어구분">
|
||||
<option value="" <c:if test="${empty fmsFileVO.searchConditionSite }">selected="selected"</c:if> >전체 사이트</option>
|
||||
<c:forEach var="result" items="${siteManageList}" varStatus="status">
|
||||
<option value="${result.siteId}" <c:if test="${result.siteId eq fmsFileVO.searchConditionSite }">selected="selected"</c:if> >${result.siteNm}</option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</c:if>
|
||||
제목 :
|
||||
<input type="text" id="searchKeyword" name="searchKeyword" value="<c:out value='${fmsFileVO.searchKeyword}'/>" class="search_input" placeholder="검색어를 입력하세요">
|
||||
<button class="btn_search" onclick="fn_search(); return false;">검색</button>
|
||||
|
||||
<select class="sel2 sel_type1" name="pageUnit" id="pageUnit" onchange="linkPage(1);" title="줄 선택" style="width: 140px">
|
||||
<option value='10' <c:if test="${fmsFileVO.pageUnit == '10' or fmsFileVO.pageUnit == ''}">selected</c:if>>10줄</option>
|
||||
<option value='20' <c:if test="${fmsFileVO.pageUnit == '20'}">selected</c:if>>20줄</option>
|
||||
<option value='30' <c:if test="${fmsFileVO.pageUnit == '30'}">selected</c:if>>30줄</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //list_top -->
|
||||
|
||||
<!-- list -->
|
||||
<div class="list tbType01">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: 6%">
|
||||
<col style="width: 8%">
|
||||
<c:if test="${siteId eq 'super'}">
|
||||
<col style="width: auto">
|
||||
</c:if>
|
||||
<col style="width: auto">
|
||||
<col style="width: 12%">
|
||||
<col style="width: 17%">
|
||||
<col style="width: 18%">
|
||||
<col style="width: 10%">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th><input type="checkbox" name="checkAll" id="checkAll" onclick="fnCheckAll();" /><label for="checkAll"></label></th>
|
||||
<th scope="col">번호<button class="sort sortBtn" id="sort_fmsId">▲</button></th>
|
||||
<c:if test="${siteId eq 'super'}">
|
||||
<th scope="col">사이트명<button class="sort sortBtn" id="sort_siteId">▲</button></th>
|
||||
</c:if>
|
||||
<th scope="col">제목<button class="sort sortBtn" id="sort_fmsNm">▲</button></th>
|
||||
<th scope="col">첨부파일<button class="sort sortBtn" id="sort_atchFileId">▲</button></th>
|
||||
<th scope="col">작성자<button class="sort sortBtn" id="sort_registerId">▲</button></th>
|
||||
<th scope="col">생성일<button class="sort sortBtn" id="sort_regdt">▲</button></th>
|
||||
<th scope="col">수정</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach var="result" items="${fmsFileList}" varStatus="status">
|
||||
<tr>
|
||||
<td>
|
||||
<input name="del" id="del_${status.index}" type="checkbox" value="${result.fmsId}" />
|
||||
</td>
|
||||
<td>
|
||||
<c:if test="${fmsFileVO.searchSortOrd eq 'desc' }">
|
||||
<c:out value="${ ( paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo -1)*paginationInfo.recordCountPerPage) ) - status.index }"/>
|
||||
</c:if>
|
||||
<c:if test="${fmsFileVO.searchSortOrd eq 'asc' }">
|
||||
<c:out value="${(paginationInfo.currentPageNo - 1) * paginationInfo.recordCountPerPage + status.count}"/>
|
||||
</c:if>
|
||||
|
||||
</td>
|
||||
<c:if test="${siteId eq 'super'}">
|
||||
<td>
|
||||
<c:forEach var="siteManageList" items="${siteManageList}" varStatus="status">
|
||||
<c:if test="${result.siteId eq siteManageList.siteId}">
|
||||
<c:out value="${siteManageList.siteNm}"/>
|
||||
</c:if>
|
||||
</c:forEach>
|
||||
</td>
|
||||
</c:if>
|
||||
<td><c:out value="${result.fmsNm}"/></td>
|
||||
<td>
|
||||
<c:if test="${!empty result.atchFileId}">
|
||||
<img src="${pageContext.request.contextPath}/img/post/atch_file.png">
|
||||
</c:if>
|
||||
</td>
|
||||
<td><span class="privateInfo">${result.registerId}</span></td>
|
||||
<td><c:out value="${result.regdt}"/></td>
|
||||
<td>
|
||||
<button type="button" class="btnType01" onclick="fn_view_fms_file('${result.fmsId}' , 'U'); return false;">수정</button>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
<c:if test="${empty fmsFileList}">
|
||||
<tr><td colspan="8"><spring:message code="common.nodata.msg" /></td></tr>
|
||||
</c:if>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- //list -->
|
||||
|
||||
<!-- btn_wrap -->
|
||||
<div class="btn_wrap btn_layout01">
|
||||
<div class="area_left">
|
||||
<button type="button" class="btnType03" onclick="fn_fms_file_delete(); return false;">삭제</button>
|
||||
</div>
|
||||
<div class="area_right">
|
||||
<button type="button" class="btnType02" onclick="fn_view_fms_file('', 'I'); return false;">등록</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //btn_wrap -->
|
||||
|
||||
<!-- 페이지 네비게이션 시작 -->
|
||||
<c:if test="${!empty fmsFileList}">
|
||||
<div class="page">
|
||||
<ul class="inline">
|
||||
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
|
||||
</ul>
|
||||
</div>
|
||||
</c:if>
|
||||
<!-- //페이지 네비게이션 끝 -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- //cont -->
|
||||
</div>
|
||||
</form>
|
||||
<form name="subForm" method="get" action="<c:url value='/uss/ion/pwm/detailPopup.do'/>">
|
||||
<input name="popupId" type="hidden" value="" />
|
||||
<input name="pageIndex" type="hidden" value="<c:out value='${fmsFileVO.pageIndex}'/>"/>
|
||||
<input name="cmd" type="hidden" value="<c:out value=''/>"/>
|
||||
</form>
|
||||
<form name="modiForm" method="get" action="<c:url value='/uss/ion/pwm/mainzoneModify.do'/>" >
|
||||
<input name="fmsId" type="hidden" />
|
||||
<input name="pageType" type="hidden" />
|
||||
</form>
|
||||
<form name="searchForm" method="get" action="<c:url value='/uss/ion/fms/fmsFileList.do'/>">
|
||||
<input name="pageIndex" type="hidden" value="1" />
|
||||
<input name="searchKeyword" type="hidden" />
|
||||
<input name="searchConditionSite" type="hidden" />
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
<%--
|
||||
Class Name : FmsFileList.jsp
|
||||
Description : 첨부파일 목록 페이지
|
||||
Modification Information
|
||||
|
||||
수정일 수정자 수정내용
|
||||
------- -------- ---------------------------
|
||||
2009.09.16 장동한 최초 생성
|
||||
|
||||
author : 공통서비스 개발팀 장동한
|
||||
since : 2009.09.16
|
||||
|
||||
Copyright (C) 2009 by MOPAS All right reserved.
|
||||
--%>
|
||||
<%@ page contentType="text/html; charset=utf-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
|
||||
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
|
||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
<%
|
||||
response.setHeader("Cache-Control","no-store");
|
||||
response.setHeader("Pragma","no-cache");
|
||||
response.setDateHeader("Expires",0);
|
||||
if (request.getProtocol().equals("HTTP/1.1")) response.setHeader("Cache-Control", "no-cache");
|
||||
%>
|
||||
<!DOCTYPE html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<title>메인이미지 관리</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<script type="text/javascript" src="<c:url value='/js/EgovMultiFile.js'/>"></script>
|
||||
<script type="text/javaScript" language="javascript">
|
||||
|
||||
function fn_search(){
|
||||
<%--<c:if test="${!empty loginId}">
|
||||
if(""!= document.listForm.searchKeyword.value){
|
||||
updateRecentSearch();//최근검색어 등록
|
||||
}
|
||||
</c:if>--%>
|
||||
linkPage(1);
|
||||
}
|
||||
|
||||
function linkPage(pageNo){
|
||||
var listForm = document.listForm ;
|
||||
listForm.pageIndex.value = pageNo ;
|
||||
listForm.submit();
|
||||
}
|
||||
|
||||
|
||||
function fnCheckAll() {
|
||||
var checkField = document.listForm.del;
|
||||
if(document.listForm.checkAll.checked) {
|
||||
if(checkField) {
|
||||
if(checkField.length > 1) {
|
||||
for(var i=0; i < checkField.length; i++) {
|
||||
checkField[i].checked = true;
|
||||
}
|
||||
} else {
|
||||
checkField.checked = true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if(checkField) {
|
||||
if(checkField.length > 1) {
|
||||
for(var j=0; j < checkField.length; j++) {
|
||||
checkField[j].checked = false;
|
||||
}
|
||||
} else {
|
||||
checkField.checked = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* 메인창 수정 화면*/
|
||||
function fn_mainzone_view(id, pageType){
|
||||
document.modiForm.selectedId.value = id;
|
||||
document.modiForm.pageType.value = "Modify";
|
||||
document.modiForm.action = "<c:url value='/uss/ion/pwm/mainzoneModify.do'/>";
|
||||
document.modiForm.submit();
|
||||
}
|
||||
|
||||
/* 첨부파일 등록 및 수정 화면*/
|
||||
function fn_view_fms_file(fmsId , pageType){
|
||||
document.modiForm.pageType.value = pageType ;
|
||||
if(pageType=='U'){
|
||||
document.modiForm.fmsId.value = fmsId ;
|
||||
}
|
||||
document.modiForm.action = "<c:url value='/uss/ion/fms/viewUpdateFmsFile.do'/>";
|
||||
document.modiForm.submit();
|
||||
}
|
||||
|
||||
/* 체크된 메인배너 목록 삭제 */
|
||||
function fn_fms_file_delete(){
|
||||
if($("input[name=del]:checked").length == 0){
|
||||
alert("선택된 항목이 없습니다.");
|
||||
return;
|
||||
}
|
||||
|
||||
if (confirm("해당 첨부파일을 삭제하시겠습니까?")){
|
||||
frm = document.listForm;
|
||||
frm.action = "<c:url value='/uss/ion/fms/fmsFileListDelete.do' />";
|
||||
frm.submit();
|
||||
}
|
||||
}
|
||||
|
||||
/* 테마별 색상맞추기 */
|
||||
$(window).load(function() {
|
||||
$('table.bbs01_list td.subject a').hover(
|
||||
function () {
|
||||
$(this).css("color","#d10000");
|
||||
},
|
||||
function () {
|
||||
$(this).css("color","#333333");
|
||||
}
|
||||
);
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<form name="listForm" action="<c:url value='/uss/ion/fms/fmsFileList.do'/>" method="post">
|
||||
<input name="pageIndex" type="hidden" value="<c:out value='${fmsFileVO.pageIndex}'/>"/>
|
||||
<input type="hidden" name="selectedId" />
|
||||
<input type="hidden" name="pageType" />
|
||||
<input type="hidden" name="searchSortCnd" value="<c:out value="${fmsFileVO.searchSortCnd}" />" />
|
||||
<input type="hidden" name="searchSortOrd" value="<c:out value="${fmsFileVO.searchSortOrd}" />" />
|
||||
|
||||
<!-- cont -->
|
||||
<div class="cont_wrap">
|
||||
<div class="box">
|
||||
<div class="cont_tit">
|
||||
<h2>첨부파일관리</h2>
|
||||
</div>
|
||||
<!-- cont -->
|
||||
<div class="cont">
|
||||
<!-- list_top -->
|
||||
<div class="list_top list_top_sub">
|
||||
<p>총 건수 : <span><c:out value="${paginationInfo.totalRecordCount}" /></span>건</p>
|
||||
<div class="list_util">
|
||||
<c:if test="${siteId eq 'super'}">
|
||||
<select name="searchConditionSite" id="searchConditionSite" title="검색조건2-검색어구분">
|
||||
<option value="" <c:if test="${empty fmsFileVO.searchConditionSite }">selected="selected"</c:if> >전체 사이트</option>
|
||||
<c:forEach var="result" items="${siteManageList}" varStatus="status">
|
||||
<option value="${result.siteId}" <c:if test="${result.siteId eq fmsFileVO.searchConditionSite }">selected="selected"</c:if> >${result.siteNm}</option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</c:if>
|
||||
제목 :
|
||||
<input type="text" id="searchKeyword" name="searchKeyword" value="<c:out value='${fmsFileVO.searchKeyword}'/>" class="search_input" placeholder="검색어를 입력하세요">
|
||||
<button class="btn_search" onclick="fn_search(); return false;">검색</button>
|
||||
|
||||
<select class="sel2 sel_type1" name="pageUnit" id="pageUnit" onchange="linkPage(1);" title="줄 선택" style="width: 140px">
|
||||
<option value='10' <c:if test="${fmsFileVO.pageUnit == '10' or fmsFileVO.pageUnit == ''}">selected</c:if>>10줄</option>
|
||||
<option value='20' <c:if test="${fmsFileVO.pageUnit == '20'}">selected</c:if>>20줄</option>
|
||||
<option value='30' <c:if test="${fmsFileVO.pageUnit == '30'}">selected</c:if>>30줄</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //list_top -->
|
||||
|
||||
<!-- list -->
|
||||
<div class="list tbType01">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: 6%">
|
||||
<col style="width: 8%">
|
||||
<c:if test="${siteId eq 'super'}">
|
||||
<col style="width: auto">
|
||||
</c:if>
|
||||
<col style="width: auto">
|
||||
<col style="width: 12%">
|
||||
<col style="width: 17%">
|
||||
<col style="width: 18%">
|
||||
<col style="width: 10%">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th><input type="checkbox" name="checkAll" id="checkAll" onclick="fnCheckAll();" /><label for="checkAll"></label></th>
|
||||
<th scope="col">번호<button class="sort sortBtn" id="sort_fmsId">▲</button></th>
|
||||
<c:if test="${siteId eq 'super'}">
|
||||
<th scope="col">사이트명<button class="sort sortBtn" id="sort_siteId">▲</button></th>
|
||||
</c:if>
|
||||
<th scope="col">제목<button class="sort sortBtn" id="sort_fmsNm">▲</button></th>
|
||||
<th scope="col">첨부파일<button class="sort sortBtn" id="sort_atchFileId">▲</button></th>
|
||||
<th scope="col">작성자<button class="sort sortBtn" id="sort_registerId">▲</button></th>
|
||||
<th scope="col">생성일<button class="sort sortBtn" id="sort_regdt">▲</button></th>
|
||||
<th scope="col">수정</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach var="result" items="${fmsFileList}" varStatus="status">
|
||||
<tr>
|
||||
<td>
|
||||
<input name="del" id="del_${status.index}" type="checkbox" value="${result.fmsId}" />
|
||||
</td>
|
||||
<td>
|
||||
<c:if test="${fmsFileVO.searchSortOrd eq 'desc' }">
|
||||
<c:out value="${ ( paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo -1)*paginationInfo.recordCountPerPage) ) - status.index }"/>
|
||||
</c:if>
|
||||
<c:if test="${fmsFileVO.searchSortOrd eq 'asc' }">
|
||||
<c:out value="${(paginationInfo.currentPageNo - 1) * paginationInfo.recordCountPerPage + status.count}"/>
|
||||
</c:if>
|
||||
|
||||
</td>
|
||||
<c:if test="${siteId eq 'super'}">
|
||||
<td>
|
||||
<c:forEach var="siteManageList" items="${siteManageList}" varStatus="status">
|
||||
<c:if test="${result.siteId eq siteManageList.siteId}">
|
||||
<c:out value="${siteManageList.siteNm}"/>
|
||||
</c:if>
|
||||
</c:forEach>
|
||||
</td>
|
||||
</c:if>
|
||||
<td><c:out value="${result.fmsNm}"/></td>
|
||||
<td>
|
||||
<c:if test="${!empty result.atchFileId}">
|
||||
<img src="${pageContext.request.contextPath}/img/post/atch_file.png">
|
||||
</c:if>
|
||||
</td>
|
||||
<td><span class="privateInfo">${result.registerId}</span></td>
|
||||
<td><c:out value="${result.regdt}"/></td>
|
||||
<td>
|
||||
<button type="button" class="btnType01" onclick="fn_view_fms_file('${result.fmsId}' , 'U'); return false;">수정</button>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
<c:if test="${empty fmsFileList}">
|
||||
<tr><td colspan="7"><spring:message code="common.nodata.msg" /></td></tr>
|
||||
</c:if>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- //list -->
|
||||
|
||||
<!-- btn_wrap -->
|
||||
<div class="btn_wrap btn_layout01">
|
||||
<div class="area_left">
|
||||
<button type="button" class="btnType03" onclick="fn_fms_file_delete(); return false;">삭제</button>
|
||||
</div>
|
||||
<div class="area_right">
|
||||
<button type="button" class="btnType02" onclick="fn_view_fms_file('', 'I'); return false;">등록</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //btn_wrap -->
|
||||
|
||||
<!-- 페이지 네비게이션 시작 -->
|
||||
<c:if test="${!empty fmsFileList}">
|
||||
<div class="page">
|
||||
<ul class="inline">
|
||||
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
|
||||
</ul>
|
||||
</div>
|
||||
</c:if>
|
||||
<!-- //페이지 네비게이션 끝 -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- //cont -->
|
||||
</div>
|
||||
</form>
|
||||
<form name="subForm" method="get" action="<c:url value='/uss/ion/pwm/detailPopup.do'/>">
|
||||
<input name="popupId" type="hidden" value="" />
|
||||
<input name="pageIndex" type="hidden" value="<c:out value='${fmsFileVO.pageIndex}'/>"/>
|
||||
<input name="cmd" type="hidden" value="<c:out value=''/>"/>
|
||||
</form>
|
||||
<form name="modiForm" method="get" action="<c:url value='/uss/ion/pwm/mainzoneModify.do'/>" >
|
||||
<input name="fmsId" type="hidden" />
|
||||
<input name="pageType" type="hidden" />
|
||||
</form>
|
||||
<form name="searchForm" method="get" action="<c:url value='/uss/ion/fms/fmsFileList.do'/>">
|
||||
<input name="pageIndex" type="hidden" value="1" />
|
||||
<input name="searchKeyword" type="hidden" />
|
||||
<input name="searchConditionSite" type="hidden" />
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user