first commit

This commit is contained in:
revlis44
2025-12-03 10:41:27 +09:00
commit a6b37aa445
2430 changed files with 175919 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
#=====================================================
#\uc628\ub098\ub77c \uc6f9\uc11c\ube44\uc2a4(BMS) \uae30\ubcf8\uc815\ubcf4
# - \uc815\ubcf4\ubcc0\uacbd\uc774 \ud544\uc694\ud55c \uacbd\uc6b0 \uc218\uc815\ud6c4 \uc11c\ube44\uc2a4\ub97c \uc7ac\uc2dc\uc791\ud574\uc57c \uc801\uc6a9\ub429\ub2c8\ub2e4.
#-----------------------------------------------------
#=====================================================
#\uae30\ubcf8\uac12
#-----------------------------------------------------
#\uc544\uc774\ud53c\ub294 30\ubc88\uacfc 32\ubc88 2\uac1c\uc774\ub098 31\ubc88\uc774 L4\ub85c \ub3d9\uc791\ud55c\ub2e4.
#\uadf8\ub7ec\ubbc0\ub85c \uc2e4\uc11c\ubc84\uc5d0\uc11c\ub294 30\ubc88\uc744 \uc774\uc6a9\ud558\uace0 \uadf8\ub807\uc9c0 \uc54a\uc73c\uba74
#31\ubc88\uc744 \uc774\uc6a9\ud574\uc57c \ud55c\ub2e4.
#\uc694\uccad\uc11c\ubc84 IP
bms.reqIp =10.159.1.31
#\uc6f9\uc11c\ube44\uc2a4 \uc11c\ubc84 IP
bms.ip =10.159.1.31
#\uc0ac\uc6a9 \uc2dc\uc2a4\ud15c ID
bms.systemId =jungchak
#\uc778\uc99d\ud0a4
bms.authKey =b2a0c1d01533b09bf76c578f9c93254a089a580d788e17bb25160dfb88db6bb6
#\uc0ac\uc6a9 \uc2dc\uc2a4\ud15c \ucf54\ub4dc
bms.systemCd = CJPD
bms.userId=7300HJ5D
bms.deptCd=5690197
#-----------------------------------------------------
#=====================================================
#\uc6f9\uc11c\ube44\uc2a4\uc8fc\uc18c
#-----------------------------------------------------
#RPC_END_POINT
bms.rpcEndPoint = javax.xml.rpc.service.endpoint.address
#\ubb38\uc11c\ub4f1\ub85d\ub300\uc7a5
bms.dctDept.url = http://10.159.1.31:80/bms/service/BmsSifDctDeptListService?wsdl
#\uacb0\uc7ac\ud568
bms.dctComplete.url=http://10.159.1.31:80/bms/service/BmsSifDctCompleteApprovedService?wsdl
#\uacf5\ud1b5\uc11c\ube44\uc2a4
bms.comService.url = http://10.159.1.31:80/bms/service/BmsSifComService_V2?WSDL
bms.dctView.url = http://10.159.1.31:80/bms/service/BmsSifDctViewService_V2?WSDL
#\uc811\uc218\ub300\uae30\ubb38\uc11c\uc870\ud68c
bms.dctComplete.url=http://10.159.1.31:80/bms/service/BmsSifDctAcceptHoldService?WSDL
#\uae30\uc548\ud568
bms.dctDraft.url=http://10.159.1.31:80/bms/service/BmsSifDctDraftService?wsdl
#-----------------------------------------------------
bms.tmpDownloadPath = /webapps/upload/

View File

@@ -0,0 +1,8 @@
#=====================================================
#\uc554\ud638\ud654
#-----------------------------------------------------
crypto.charset=UTF-8
crypto.algorithm=SHA-256
crypto.hashed.password=MpSMOCvFqIykM8BxKIlfUGEGMGZFk6oHymmN1KAqF7A=
crypto.password = sayit
#-----------------------------------------------------

View File

@@ -0,0 +1,14 @@
# CKEditor Image File Upload
#optional
ck.image.type.allow=jpg,jpeg,gif,bmp,png
#optional
#ck.image.save.class=Implementation of egovframework.com.utl.wed.filter.FileSaveManager
# if you use "separate image server" or other case. (apache, cdn, nas...)
#ck.image.dir=/www/images.mydomain.com/upload
#ck.image.url=http://images.mydomain.com/upload/
# if you use "web application"'s deployed directory.
ck.image.dir=/webApplicationDeployDirectory/upload
ck.image.url=/contextRoot/upload/

View File

@@ -0,0 +1,14 @@
sms_url = sme://127.0.0.1:20000
sms_id = ID
sms_pwd = PW
use_console_logger = false
use_file_logger = false
log_layout = [%d] [%-5p] %l - %m%n
# debug / info
log_level = debug
# path
log_path = C:\egovframework\log\SMELog.log
ping_term = 60

View File

@@ -0,0 +1,27 @@
#-----------------------------------------------------------------------
#
# client.properties : \ud074\ub77c\uc774\uc5b8\ud2b8\uc758 OS\uc815\ubcf4\ub97c \ub098\ud0c0\ub0b4\ub294 Config \ud30c\uc77c
#
#-----------------------------------------------------------------------
# 1. key = value \uad6c\uc870\uc785\ub2c8\ub2e4.
# 2. key\uac12\uc740 \uacf5\ubc31\ubb38\uc790\ub97c \ud3ec\ud568\ubd88\uac00, value\uac12\uc740 \uacf5\ubc31\ubb38\uc790\ub97c \uac00\ub2a5
# 3. key\uac12\uc73c\ub85c \ud55c\uae00\uc744 \uc0ac\uc6a9\ubd88\uac00, value\uac12\uc740 \ud55c\uae00\uc0ac\uc6a9\uc774 \uac00\ub2a5
# 4. \uc904\uc744 \ubc14\uafc0 \ud544\uc694\uac00 \uc788\uc73c\uba74 '\'\ub97c \ub77c\uc778\uc758 \ub05d\uc5d0 \ucd94\uac00(\ub9cc\uc57d '\'\ubb38\uc790\ub97c \uc0ac\uc6a9\ud574\uc57c \ud558\ub294 \uacbd\uc6b0\ub294 '\\'\ub97c \uc0ac\uc6a9)
# 5. Windows\uc5d0\uc11c\uc758 \ub514\ub809\ud1a0\ub9ac \ud45c\uc2dc : '\\' or '/' ('\' \uc0ac\uc6a9\ud558\uba74 \uc548\ub428)
# 6. Unix\uc5d0\uc11c\uc758 \ub514\ub809\ud1a0\ub9ac \ud45c\uc2dc : '/'
# 7. \uc8fc\uc11d\ubb38 \ucc98\ub9ac\ub294 #\uc0ac\uc6a9
# 8. value\uac12 \ub4a4\uc5d0 \uc2a4\ud398\uc774\uc2a4\uac00 \uc874\uc7ac\ud558\ub294 \uacbd\uc6b0 \uc11c\ube14\ub9bf\uc5d0\uc11c \ucc38\uc870\ud560\ub54c\ub294 \uc5d0\ub7ec\ubc1c\uc0dd\ud560 \uc218 \uc788\uc73c\ubbc0\ub85c trim()\ud558\uac70\ub098 \ub9c8\uc9c0\ub9c9 \uacf5\ubc31\uc5c6\uc774 properties \uac12\uc744 \uc124\uc815\ud560\uac83
#-----------------------------------------------------------------------
# \ud074\ub77c\uc774\uc5b8\ud2b8 OS \uc720\ud615 \ubaa9\ub85d
WINDOWS95 = Windows 95
WINDOWS98 = Windows 98
WINDOWSNT = Windows NT
WINDOWSNT5.0 = Windows 2000
WINDOWSNT5.1 = Windows XP
WINDOWSNT5.2 = Windows Server 2003
WINDOWSNT6.0 = Windows Vista
WIN32 = Windows XP
MSN2.5 = MSN 2.5 on Windows 98
MAC_POWERPC = Mac OS X
SUNOS5.9SUN4U = SunOS 5.0

View File

@@ -0,0 +1 @@
test.message = confirm message

View File

@@ -0,0 +1 @@
test.message = error message

View File

@@ -0,0 +1,166 @@
abs=audio/x-mpeg
ai=application/postscript
aif=audio/x-aiff
aif=caudio/x-aiff
aiff=audio/x-aiff
aim=application/x-aim
art=image/x-jg
asf=video/x-ms-asf
asx=video/x-ms-asf
au=audio/basic
avi=video/x-msvideo
avx=video/x-rad-screenplay
bcpio=application/x-bcpio
bin=application/octet-stream
bmp=image/bmp
body=text/html
cdf=application/x-cdf
cer=application/x-x509-ca-cert
class=application/java
cpio=application/x-cpio
csh=application/x-csh
css=text/css
dib=image/bmp
doc=application/msword
dtd=application/xml-dtd
dv=video/x-dv
dvi=application/x-dvi
eps=application/postscript
etx=text/x-setext
exe=application/octet-stream
gif=image/gif
gtar=application/x-gtar
gz=application/x-gzip
hdf=application/x-hdf
hqx=application/mac-binhex40
htc=text/x-component
htm=text/html
html=text/html
hqx=application/mac-binhex40
ief=image/ief
jad=text/vnd.sun.j2me.app-descriptor
jar=application/java-archive
java=text/plain
jnlp=application/x-java-jnlp-file
jpe=image/jpeg
jpeg=image/jpeg
jpg=image/jpeg
js=text/javascript
jsf=text/plain
jspf=text/plain
kar=audio/x-midi
latex=application/x-latex
m3u=audio/x-mpegurl
mac=image/x-macpaint
man=application/x-troff-man
mathml=application/mathml+xml
me=application/x-troff-me
mid=audio/x-midi
midi=audio/x-midi
mif=application/x-mif
mov=video/quicktime
movie=video/x-sgi-movie
mp1=audio/x-mpeg
mp2=audio/x-mpeg
mp3=audio/x-mpeg
mp4=video/mp4
mpa=audio/x-mpeg
mpe=video/mpeg
mpeg=video/mpeg
mpega=audio/x-mpeg
mpg=video/mpeg
mpv2=video/mpeg2
ms=application/x-wais-source
nc=application/x-netcdf
oda=application/oda
odb=application/vnd.oasis.opendocument.database
odc=application/vnd.oasis.opendocument.chart
odf=application/vnd.oasis.opendocument.formula
odg=application/vnd.oasis.opendocument.graphics
odi=application/vnd.oasis.opendocument.image
odm=application/vnd.oasis.opendocument.text-master
odp=application/vnd.oasis.opendocument.presentation
ods=application/vnd.oasis.opendocument.spreadsheet
odt=application/vnd.oasis.opendocument.text
ogg=application/ogg
otg=application/vnd.oasis.opendocument.graphics-template
oth=application/vnd.oasis.opendocument.text-web
otp=application/vnd.oasis.opendocument.presentation-template
ots=application/vnd.oasis.opendocument.spreadsheet-template
ott=application/vnd.oasis.opendocument.text-template
pbm=image/x-portable-bitmap
pct=image/pict
pdf=application/pdf
pgm=image/x-portable-graymap
pic=image/pict
pict=image/pict
pls=audio/x-scpls
png=image/png
pnm=image/x-portable-anymap
pnt=image/x-macpaint
ppm=image/x-portable-pixmap
ppt=application/powerpoint
ps=application/postscript
psd=image/x-photoshop
qt=video/quicktime
qti=image/x-quicktime
qtif=image/x-quicktime
ras=image/x-cmu-raster
rdf=application/rdf+xml
rgb=image/x-rgb
rm=application/vnd.rn-realmedia
roff=application/x-troff
rtf=application/rtf
rtx=text/richtext
sh=application/x-sh
shar=application/x-shar
shtml=text/x-server-parsed-html
smf=audio/x-midi
sit=application/x-stuffit
snd=audio/basic
src=application/x-wais-source
sv4cpio=application/x-sv4cpio
sv4crc=application/x-sv4crc
swf=application/x-shockwave-flash
t=application/x-troff
tar=application/x-tar
tcl=application/x-tcl
tex=application/x-tex
texi=application/x-texinfo
texinfo=application/x-texinfo
tif=image/tiff
tiff=image/tiff
tr=application/x-troff
tsv=text/tab-separated-values
txt=text/plain
ulw=audio/basic
ustar=application/x-ustar
vxml=application/voicexml+xml
xbm=image/x-xbitmap
xht=application/xhtml+xml
xhtml=application/xhtml+xml
xml=application/xml
xpm=image/x-xpixmap
xsl=application/xml
xslt=application/xslt+xml
xul=application/vnd.mozilla.xul+xml
xwd=image/x-xwindowdump
wav=audio/x-wav
svg=image/svg+xml
svgz=image/svg+xml
vsd=application/x-visio
wbmp=image/vnd.wap.wbmp
wml=text/vnd.wap.wml
wmlc=application/vnd.wap.wmlc
wmls=text/vnd.wap.wmlscript
wmlscriptc=application/vnd.wap.wmlscriptc
wmv=video/x-ms-wmv
wrl=x-world/x-vrml
wspolicy=application/wspolicy+xml
Z=application/x-compress
z=application/x-compress
zip=application/zip
xls=application/vnd.ms-excel
doc=application/vnd.ms-word
ppt=application/vnd.ms-powerpoint

View File

@@ -0,0 +1,20 @@
#--------------------------
# for GPKI LDAP access
#--------------------------
#gpki.ldap.ip=ldap.gcc.go.kr
#gpki.ldap.ip=10.1.7.140
gpki.ldap.ip=152.99.56.86
gpki.ldap.port=389
gpki.ldap.basedn=ou=Group of Server,o=Government of Korea,c=kr
gpki.ldap.attribute=usercertificate;binary
#--------------------------
# \uc778\uc99d\uc11c \uc815\ubcf4
# \uc2e4\uc81c \uc778\uc99d\uc11c \uad00\ub828 \ud30c\uc77c\ub4e4\uc740 \uac01 \uc18d\uc131\ub4e4\uc744 \uc870\ud569\ud574\uc11c \uc5bb\uc74c
#--------------------------
gpki.certificate.path = /home/gpki/certificate/class1
gpki.certificate.server = server
gpki.privatekey.password = PW
#gpki.certificate.path = C:/Documents and Settings/Administrator/egovProps/gpkisecureweb/certs
#gpki.certificate.server = 1310505011
#gpki.privatekey.password = 8866kim4

View File

@@ -0,0 +1 @@
test.message = info message

View File

@@ -0,0 +1,46 @@
#-----------------------------------------------------------------------
#
# server.properties : \uc124\uce58\ub41c \uc11c\ubc84\uc758 \uc815\ubcf4\ub97c \uae30\ub85d\ud558\ub294 Config \ud30c\uc77c
#
#-----------------------------------------------------------------------
# 1. key = value \uad6c\uc870\uc785\ub2c8\ub2e4.
# 2. key\uac12\uc740 \uacf5\ubc31\ubb38\uc790\ub97c \ud3ec\ud568\ubd88\uac00, value\uac12\uc740 \uacf5\ubc31\ubb38\uc790\ub97c \uac00\ub2a5
# 3. key\uac12\uc73c\ub85c \ud55c\uae00\uc744 \uc0ac\uc6a9\ubd88\uac00, value\uac12\uc740 \ud55c\uae00\uc0ac\uc6a9\uc774 \uac00\ub2a5
# 4. \uc904\uc744 \ubc14\uafc0 \ud544\uc694\uac00 \uc788\uc73c\uba74 '\'\ub97c \ub77c\uc778\uc758 \ub05d\uc5d0 \ucd94\uac00(\ub9cc\uc57d '\'\ubb38\uc790\ub97c \uc0ac\uc6a9\ud574\uc57c \ud558\ub294 \uacbd\uc6b0\ub294 '\\'\ub97c \uc0ac\uc6a9)
# 5. Windows\uc5d0\uc11c\uc758 \ub514\ub809\ud1a0\ub9ac \ud45c\uc2dc : '\\' or '/' ('\' \uc0ac\uc6a9\ud558\uba74 \uc548\ub428)
# 6. Unix\uc5d0\uc11c\uc758 \ub514\ub809\ud1a0\ub9ac \ud45c\uc2dc : '/'
# 7. \uc8fc\uc11d\ubb38 \ucc98\ub9ac\ub294 #\uc0ac\uc6a9
# 8. value\uac12 \ub4a4\uc5d0 \uc2a4\ud398\uc774\uc2a4\uac00 \uc874\uc7ac\ud558\ub294 \uacbd\uc6b0 \uc11c\ube14\ub9bf\uc5d0\uc11c \ucc38\uc870\ud560\ub54c\ub294 \uc5d0\ub7ec\ubc1c\uc0dd\ud560 \uc218 \uc788\uc73c\ubbc0\ub85c trim()\ud558\uac70\ub098 \ub9c8\uc9c0\ub9c9 \uacf5\ubc31\uc5c6\uc774 properties \uac12\uc744 \uc124\uc815\ud560\uac83
#-----------------------------------------------------------------------
# \uc11c\ubc84\uc81c\ud488
SERVER_LIST = WEBLOGIC$JEUS$JBOSS
WEBLOGIC.VERSION = 9.2 MP3
JEUS.VERSION = 6.0
JBOSS.VERSION = 3.1
WEBLOGIC.PORT = 7001
JEUS.PORT = 9736
JBOSS.PORT = 8080
# \uc11c\ubc84\ubc84\uc804
SHELL.WINDOWS.getPrductVersion = prg/getPrductVersion.bat
SHELL.UNIX.getPrductVersion = prg/getPrductVersion.sh
# \uc11c\ubc84\uc2e4\ud589\uc0c1\ud0dc
SHELL.WINDOWS.getPrductStatus = prg/getPrductStatus.bat
SHELL.UNIX.getPrductStatus = prg/getPrductStatus.sh
# \uc2dc\uc2a4\ud15c OS\uc815\ubcf4
SHELL.WINDOWS.getOSInfo = prg/getOSInfo.bat
SHELL.UNIX.getOSInfo = prg/getOSInfo.sh
# \uc2dc\uc2a4\ud15c \ub514\uc2a4\ud06c \uc6a9\ub7c9 \uc815\ubcf4
SHELL.WINDOWS.getDiskInfo = prg/getDiskInfo.bat
SHELL.UNIX.getDiskInfo = prg/getDiskInfo.sh
# \uc2dc\uc2a4\ud15c \uba54\ubaa8\ub9ac \uc6a9\ub7c9 \uc815\ubcf4
SHELL.WINDOWS.getMoryInfo = prg/getMoryInfo.bat
SHELL.UNIX.getMoryInfo = prg/getMoryInfo.sh
# MAC
SHELL.UNIX.getNetWorkInfo = prg/getNetWorkInfo.sh

View File

@@ -0,0 +1,4 @@
test.message = warn message

View File

@@ -0,0 +1,147 @@
#-----------------------------------------------------------------------
#
# globals.properties : 시스템
#
#-----------------------------------------------------------------------
# 1. key = value 구조입니다.
# 2. key값은 공백문자를 포함불가, value값은 공백문자를 가능
# 3. key값으로 한글을 사용불가, value값은 한글사용이 가능
# 4. 줄을 바꿀 필요가 있으면 '\'를 라인의 끝에 추가(만약 '\'문자를 사용해야 하는 경우는 '\\'를 사용)
# 5. Windows에서의 디렉토리 표시 : '\\' or '/' ('\' 사용하면 안됨)
# 6. Unix에서의 디렉토리 표시 : '/'
# 7. 주석문 처리는 #사용
# 8. value값 뒤에 스페이스가 존재하는 경우 서블릿에서 참조할때는 에러발생할 수 있으므로 trim()하거나 마지막 공백없이 properties 값을 설정할것
#-----------------------------------------------------------------------
# 운영서버 타입(WINDOWS, UNIX)
Globals.OsType =UNIX
# DB서버 타입(ORACLE, MYSQL) - datasource 및 sqlMap 파일 지정에 사용됨
#Globals.DbType =oracle
Globals.DbType =mysql
# 위저드 사용시 데이터베이스 관련 설정을 불러옴
#Globals.DriverClassName=oracle.jdbc.OracleDriver
#Globals.Url=jdbc:oracle:thin:@122.199.152.76:1521:oradev
#Globals.UserName =say_cms
#Globals.Password =sksrhdqnffkr
## 세이헬프데스크
Globals.DriverClassName=com.mysql.jdbc.Driver
#운영
#Globals.Url=jdbc:mysql://192.168.0.217:3306/helpdesk_db?characterEncoding=utf8
#개발
Globals.Url=jdbc:mysql://192.168.0.114:13314/helpdesk_db?characterEncoding=utf8
Globals.UserName =helpdesk
Globals.Password =helpdesk
# MainPage Setting
Globals.MainPage =/EgovContent.do
#통합메인메뉴
#Globals.MainPage = /sym/mnu/mpm/EgovMainMenuHome.do
SMS.DriverClassName=com.mysql.jdbc.Driver
SMS.Url=jdbc:mysql://122.199.152.77:3306/edosi?characterEncoding=utf8
SMS.UserName=edosi
SMS.Password=!dlehtl#
SMS.callback=07041152667
SMS.ddd=
SMS.guk=
Globals.Version=1.0
Globals.OrgKey=
Globals.OrgNm=세이정보기술
Globals.OrgCode=8188
#Globals.AccessIp=10
Globals.SiteTitle=세이정보기술 Help-desk
#Globals.MobileStartPage=/mobile/intro.do
Globals.MobileStartPage=/login.do
PushUrl=http://www.sejong.go.kr/sotong
#PushUrl=http://122.199.152.176:8080/sotong
fileLogUseYn=N
fileLogPath=/webapps/
MENU.PRJ = 프로젝트관리
MENU.USER = 회원관리
MENU.HDB = 요청작업관리
MENU.DTB = 자료실
MENU.MYPAGE = 마이페이지
MENU.BOARD.STT = 게시판이용현황
# 환경파일 위치
Globals.ShellFilePath =globals.properties
Globals.ServerConfPath =conf/server.properties
Globals.ClientConfPath =conf/client.properties
Globals.FileFormatPath =conf/format.properties
Globals.GPKIConfPath =conf/gpki.properties
Globals.ConfPath =conf
Globals.MailRequestPath =mail/request/
Globals.MailRResponsePath =mail/response/
Globals.SMEConfigPath =conf/SMEConfig.properties
# WINDOWS용 쉘파일 정보
SHELL.WINDOWS.getHostName =prg/sh_001.bat
SHELL.WINDOWS.getDrctryByOwner =prg/getDrctryByOwner.bat
SHELL.WINDOWS.getDrctryOwner =prg/getDrctryOwner.bat
SHELL.WINDOWS.moveDrctry =prg/moveDrctry.bat
SHELL.WINDOWS.compileSchema =prg/compileSchema.bat
SHELL.WINDOWS.getDiskAttrb =prg/getDiskAttrb.bat
SHELL.WINDOWS.getDiskCpcty =prg/getDiskCpcty.bat
SHELL.WINDOWS.getDiskExst =prg/getDiskExst.bat
# UNIX용 쉘파일 정보 - 개발was jeus에서 사용할때 기준
SHELL.UNIX.getHostName =prg/sh_001.sh
SHELL.UNIX.getDrctryByOwner =prg/getDrctryByOwner.sh
SHELL.UNIX.getDrctryOwner =prg/getDrctryOwner.sh
SHELL.UNIX.getDrctryAccess =prg/getDrctryAccess.sh
SHELL.UNIX.getMountLc =prg/getMountLc.sh
SHELL.UNIX.getDiskName =prg/getNetWorkInfo.sh
SHELL.UNIX.moveDrctry =prg/moveDrctry.sh
SHELL.UNIX.compileSchema =prg/compileSchema.sh
SHELL.UNIX.getDiskAttrb =prg/getDiskAttrb.sh
SHELL.UNIX.getDiskCpcty =prg/getDiskCpcty.sh
SHELL.UNIX.getDiskExst =prg/getDiskExst.sh
SHELL.UNIX.getProcInfo =prg/getProcInfo.sh
# LINUX용 쉘파일 정보
# 연계
# 기관코드수신용(경로 설정은 반드시 절대경로를 사용해야함.)
CNTC.INSTTCODE.DIR.rcv =D:/tmp/test/rcv/
CNTC.INSTTCODE.DIR.rcvold =D:/tmp/test/rcvold/
CNTC.INSTTCODE.DIR.bin =D:/tmp/test/bin/
CNTC.INSTTCODE.CMD.edircv =gcc_edircv.bat
CNTC.INSTTCODE.CMD.edircvmsg =gcc_edircvmsg.bat
CNTC.INSTTCODE.INFO.userid =USERID
CNTC.INSTTCODE.INFO.userpw =******
# 파일 업로드 경로(경로 설정은 반드시 절대경로를 사용해야함, 경로 뒤에 /를 붙여 주어야함.)
#Globals.fileStorePath =/webapps/upload/
Globals.fileStorePath =/webapps/proj/help_desk/upload/
# 파일 동기화 컴포넌트에서 사용할 파일 업로드 경로(경로 설정은 반드시 절대경로를 사용해야함, 경로 뒤에 /를 붙여 주어야함.)
Globals.SynchrnServerPath =C:/egovframework/upload/Synch/
# for JFile properties
system.uploadpath =C:/egovframework/upload/
no.image.url =/resources/jfile/swfupload/images/no_img.gif
ftp.server.ip =127.0.0.1
ftp.user.id =test
ftp.user.password =test
# Social(Facebook, Oauth 컴포넌트 사용시 활용)
facebook.appId =
facebook.appSecret =
twitter.consumerKey =
twitter.consumerSecret =
#LDAP조직도관리 컴포넌트 사용시 LDAP서버설정정보 필요
ldap.url =ldap://localhost:10389
ldap.rootDn =c=kr
ldap.username =uid=admin,ou=system
ldap.password =secret

View File

@@ -0,0 +1,151 @@
#-----------------------------------------------------------------------
#
# globals.properties : \uc2dc\uc2a4\ud15c
#
#-----------------------------------------------------------------------
# 1. key = value \uad6c\uc870\uc785\ub2c8\ub2e4.
# 2. key\uac12\uc740 \uacf5\ubc31\ubb38\uc790\ub97c \ud3ec\ud568\ubd88\uac00, value\uac12\uc740 \uacf5\ubc31\ubb38\uc790\ub97c \uac00\ub2a5
# 3. key\uac12\uc73c\ub85c \ud55c\uae00\uc744 \uc0ac\uc6a9\ubd88\uac00, value\uac12\uc740 \ud55c\uae00\uc0ac\uc6a9\uc774 \uac00\ub2a5
# 4. \uc904\uc744 \ubc14\uafc0 \ud544\uc694\uac00 \uc788\uc73c\uba74 '\'\ub97c \ub77c\uc778\uc758 \ub05d\uc5d0 \ucd94\uac00(\ub9cc\uc57d '\'\ubb38\uc790\ub97c \uc0ac\uc6a9\ud574\uc57c \ud558\ub294 \uacbd\uc6b0\ub294 '\\'\ub97c \uc0ac\uc6a9)
# 5. Windows\uc5d0\uc11c\uc758 \ub514\ub809\ud1a0\ub9ac \ud45c\uc2dc : '\\' or '/' ('\' \uc0ac\uc6a9\ud558\uba74 \uc548\ub428)
# 6. Unix\uc5d0\uc11c\uc758 \ub514\ub809\ud1a0\ub9ac \ud45c\uc2dc : '/'
# 7. \uc8fc\uc11d\ubb38 \ucc98\ub9ac\ub294 #\uc0ac\uc6a9
# 8. value\uac12 \ub4a4\uc5d0 \uc2a4\ud398\uc774\uc2a4\uac00 \uc874\uc7ac\ud558\ub294 \uacbd\uc6b0 \uc11c\ube14\ub9bf\uc5d0\uc11c \ucc38\uc870\ud560\ub54c\ub294 \uc5d0\ub7ec\ubc1c\uc0dd\ud560 \uc218 \uc788\uc73c\ubbc0\ub85c trim()\ud558\uac70\ub098 \ub9c8\uc9c0\ub9c9 \uacf5\ubc31\uc5c6\uc774 properties \uac12\uc744 \uc124\uc815\ud560\uac83
#-----------------------------------------------------------------------
# \uc6b4\uc601\uc11c\ubc84 \ud0c0\uc785(WINDOWS, UNIX)
Globals.OsType =UNIX
# DB\uc11c\ubc84 \ud0c0\uc785(ORACLE, MYSQL) - datasource \ubc0f sqlMap \ud30c\uc77c \uc9c0\uc815\uc5d0 \uc0ac\uc6a9\ub428
#Globals.DbType =oracle
Globals.DbType =mysql
# \uc704\uc800\ub4dc \uc0ac\uc6a9\uc2dc \ub370\uc774\ud130\ubca0\uc774\uc2a4 \uad00\ub828 \uc124\uc815\uc744 \ubd88\ub7ec\uc634
#Globals.DriverClassName=oracle.jdbc.OracleDriver
#Globals.Url=jdbc:oracle:thin:@122.199.152.76:1521:oradev
#Globals.UserName =say_cms
#Globals.Password =sksrhdqnffkr
## \uc138\uc774\ud5ec\ud504\ub370\uc2a4\ud06c
Globals.DriverClassName=com.mysql.jdbc.Driver
#Globals.Url=jdbc:mysql://122.199.152.80:3306/helpdesk_db?characterEncoding=utf8
#Globals.Url=jdbc:mysql://112.217.205.186:3306/helpdesk_db?characterEncoding=utf8
Globals.Url=jdbc:mysql://112.216.99.66:3306/helpdesk_db?characterEncoding=utf8
Globals.UserName =helpdesk
Globals.Password =helpdesk
# MainPage Setting
Globals.MainPage =/EgovContent.do
#\ud1b5\ud569\uba54\uc778\uba54\ub274
#Globals.MainPage = /sym/mnu/mpm/EgovMainMenuHome.do
SMS.DriverClassName=com.mysql.jdbc.Driver
SMS.Url=jdbc:mysql://122.199.152.77:3306/edosi?characterEncoding=utf8
SMS.UserName=edosi
SMS.Password=!dlehtl#
SMS.callback=07041152667
SMS.ddd=
SMS.guk=
Globals.Version=1.0
Globals.OrgKey=
Globals.OrgNm=\uc138\uc774\uc815\ubcf4\uae30\uc220
Globals.OrgCode=8188
#Globals.AccessIp=10
Globals.SiteTitle=\uc138\uc774\uc815\ubcf4\uae30\uc220 Help-desk
#Globals.MobileStartPage=/mobile/intro.do
Globals.MobileStartPage=/login.do
PushUrl=http://www.sejong.go.kr/sotong
#PushUrl=http://122.199.152.176:8080/sotong
fileLogUseYn=N
fileLogPath=/webapps/
MENU.PRJ = \ud504\ub85c\uc81d\ud2b8\uad00\ub9ac
MENU.USER = \ud68c\uc6d0\uad00\ub9ac
MENU.HDB = \uc694\uccad\uc791\uc5c5\uad00\ub9ac
MENU.DTB = \uc790\ub8cc\uc2e4
MENU.MYPAGE = \ub9c8\uc774\ud398\uc774\uc9c0
MENU.BOARD.STT = \uac8c\uc2dc\ud310\uc774\uc6a9\ud604\ud669
# \ud658\uacbd\ud30c\uc77c \uc704\uce58
Globals.ShellFilePath =globals.properties
Globals.ServerConfPath =conf/server.properties
Globals.ClientConfPath =conf/client.properties
Globals.FileFormatPath =conf/format.properties
Globals.GPKIConfPath =conf/gpki.properties
Globals.ConfPath =conf
Globals.MailRequestPath =mail/request/
Globals.MailRResponsePath =mail/response/
Globals.SMEConfigPath =conf/SMEConfig.properties
# WINDOWS\uc6a9 \uc258\ud30c\uc77c \uc815\ubcf4
SHELL.WINDOWS.getHostName =prg/sh_001.bat
SHELL.WINDOWS.getDrctryByOwner =prg/getDrctryByOwner.bat
SHELL.WINDOWS.getDrctryOwner =prg/getDrctryOwner.bat
SHELL.WINDOWS.moveDrctry =prg/moveDrctry.bat
SHELL.WINDOWS.compileSchema =prg/compileSchema.bat
SHELL.WINDOWS.getDiskAttrb =prg/getDiskAttrb.bat
SHELL.WINDOWS.getDiskCpcty =prg/getDiskCpcty.bat
SHELL.WINDOWS.getDiskExst =prg/getDiskExst.bat
# UNIX\uc6a9 \uc258\ud30c\uc77c \uc815\ubcf4 - \uac1c\ubc1cwas jeus\uc5d0\uc11c \uc0ac\uc6a9\ud560\ub54c \uae30\uc900
SHELL.UNIX.getHostName =prg/sh_001.sh
SHELL.UNIX.getDrctryByOwner =prg/getDrctryByOwner.sh
SHELL.UNIX.getDrctryOwner =prg/getDrctryOwner.sh
SHELL.UNIX.getDrctryAccess =prg/getDrctryAccess.sh
SHELL.UNIX.getMountLc =prg/getMountLc.sh
SHELL.UNIX.getDiskName =prg/getNetWorkInfo.sh
SHELL.UNIX.moveDrctry =prg/moveDrctry.sh
SHELL.UNIX.compileSchema =prg/compileSchema.sh
SHELL.UNIX.getDiskAttrb =prg/getDiskAttrb.sh
SHELL.UNIX.getDiskCpcty =prg/getDiskCpcty.sh
SHELL.UNIX.getDiskExst =prg/getDiskExst.sh
SHELL.UNIX.getProcInfo =prg/getProcInfo.sh
# LINUX\uc6a9 \uc258\ud30c\uc77c \uc815\ubcf4
# \uc5f0\uacc4
# \uae30\uad00\ucf54\ub4dc\uc218\uc2e0\uc6a9(\uacbd\ub85c \uc124\uc815\uc740 \ubc18\ub4dc\uc2dc \uc808\ub300\uacbd\ub85c\ub97c \uc0ac\uc6a9\ud574\uc57c\ud568.)
CNTC.INSTTCODE.DIR.rcv =D:/tmp/test/rcv/
CNTC.INSTTCODE.DIR.rcvold =D:/tmp/test/rcvold/
CNTC.INSTTCODE.DIR.bin =D:/tmp/test/bin/
CNTC.INSTTCODE.CMD.edircv =gcc_edircv.bat
CNTC.INSTTCODE.CMD.edircvmsg =gcc_edircvmsg.bat
CNTC.INSTTCODE.INFO.userid =USERID
CNTC.INSTTCODE.INFO.userpw =******
# \ud30c\uc77c \uc5c5\ub85c\ub4dc \uacbd\ub85c(\uacbd\ub85c \uc124\uc815\uc740 \ubc18\ub4dc\uc2dc \uc808\ub300\uacbd\ub85c\ub97c \uc0ac\uc6a9\ud574\uc57c\ud568, \uacbd\ub85c \ub4a4\uc5d0 /\ub97c \ubd99\uc5ec \uc8fc\uc5b4\uc57c\ud568.)
#Globals.fileStorePath =/webapps/upload/
Globals.fileStorePath =/webapps/proj/help_desk/upload/
# \ud30c\uc77c \ub3d9\uae30\ud654 \ucef4\ud3ec\ub10c\ud2b8\uc5d0\uc11c \uc0ac\uc6a9\ud560 \ud30c\uc77c \uc5c5\ub85c\ub4dc \uacbd\ub85c(\uacbd\ub85c \uc124\uc815\uc740 \ubc18\ub4dc\uc2dc \uc808\ub300\uacbd\ub85c\ub97c \uc0ac\uc6a9\ud574\uc57c\ud568, \uacbd\ub85c \ub4a4\uc5d0 /\ub97c \ubd99\uc5ec \uc8fc\uc5b4\uc57c\ud568.)
Globals.SynchrnServerPath =C:/egovframework/upload/Synch/
# for JFile properties
system.uploadpath =C:/egovframework/upload/
no.image.url =/resources/jfile/swfupload/images/no_img.gif
ftp.server.ip =127.0.0.1
ftp.user.id =test
ftp.user.password =test
# Social(Facebook, Oauth \ucef4\ud3ec\ub10c\ud2b8 \uc0ac\uc6a9\uc2dc \ud65c\uc6a9)
facebook.appId =
facebook.appSecret =
twitter.consumerKey =
twitter.consumerSecret =
#LDAP\uc870\uc9c1\ub3c4\uad00\ub9ac \ucef4\ud3ec\ub10c\ud2b8 \uc0ac\uc6a9\uc2dc LDAP\uc11c\ubc84\uc124\uc815\uc815\ubcf4 \ud544\uc694
ldap.url =ldap://localhost:10389
ldap.rootDn =c=kr
ldap.username =uid=admin,ou=system
ldap.password =secret

View File

@@ -0,0 +1,151 @@
#-----------------------------------------------------------------------
#
# globals.properties : \uc2dc\uc2a4\ud15c
#
#-----------------------------------------------------------------------
# 1. key = value \uad6c\uc870\uc785\ub2c8\ub2e4.
# 2. key\uac12\uc740 \uacf5\ubc31\ubb38\uc790\ub97c \ud3ec\ud568\ubd88\uac00, value\uac12\uc740 \uacf5\ubc31\ubb38\uc790\ub97c \uac00\ub2a5
# 3. key\uac12\uc73c\ub85c \ud55c\uae00\uc744 \uc0ac\uc6a9\ubd88\uac00, value\uac12\uc740 \ud55c\uae00\uc0ac\uc6a9\uc774 \uac00\ub2a5
# 4. \uc904\uc744 \ubc14\uafc0 \ud544\uc694\uac00 \uc788\uc73c\uba74 '\'\ub97c \ub77c\uc778\uc758 \ub05d\uc5d0 \ucd94\uac00(\ub9cc\uc57d '\'\ubb38\uc790\ub97c \uc0ac\uc6a9\ud574\uc57c \ud558\ub294 \uacbd\uc6b0\ub294 '\\'\ub97c \uc0ac\uc6a9)
# 5. Windows\uc5d0\uc11c\uc758 \ub514\ub809\ud1a0\ub9ac \ud45c\uc2dc : '\\' or '/' ('\' \uc0ac\uc6a9\ud558\uba74 \uc548\ub428)
# 6. Unix\uc5d0\uc11c\uc758 \ub514\ub809\ud1a0\ub9ac \ud45c\uc2dc : '/'
# 7. \uc8fc\uc11d\ubb38 \ucc98\ub9ac\ub294 #\uc0ac\uc6a9
# 8. value\uac12 \ub4a4\uc5d0 \uc2a4\ud398\uc774\uc2a4\uac00 \uc874\uc7ac\ud558\ub294 \uacbd\uc6b0 \uc11c\ube14\ub9bf\uc5d0\uc11c \ucc38\uc870\ud560\ub54c\ub294 \uc5d0\ub7ec\ubc1c\uc0dd\ud560 \uc218 \uc788\uc73c\ubbc0\ub85c trim()\ud558\uac70\ub098 \ub9c8\uc9c0\ub9c9 \uacf5\ubc31\uc5c6\uc774 properties \uac12\uc744 \uc124\uc815\ud560\uac83
#-----------------------------------------------------------------------
# \uc6b4\uc601\uc11c\ubc84 \ud0c0\uc785(WINDOWS, UNIX)
Globals.OsType =UNIX
# DB\uc11c\ubc84 \ud0c0\uc785(ORACLE, MYSQL) - datasource \ubc0f sqlMap \ud30c\uc77c \uc9c0\uc815\uc5d0 \uc0ac\uc6a9\ub428
#Globals.DbType =oracle
Globals.DbType =mysql
# \uc704\uc800\ub4dc \uc0ac\uc6a9\uc2dc \ub370\uc774\ud130\ubca0\uc774\uc2a4 \uad00\ub828 \uc124\uc815\uc744 \ubd88\ub7ec\uc634
#Globals.DriverClassName=oracle.jdbc.OracleDriver
#Globals.Url=jdbc:oracle:thin:@122.199.152.76:1521:oradev
#Globals.UserName =say_cms
#Globals.Password =sksrhdqnffkr
## \uc138\uc774\ud5ec\ud504\ub370\uc2a4\ud06c
Globals.DriverClassName=com.mysql.jdbc.Driver
#Globals.Url=jdbc:mysql://122.199.152.80:3306/helpdesk_db?characterEncoding=utf8
#Globals.Url=jdbc:mysql://112.217.205.186:3306/helpdesk_db?characterEncoding=utf8
Globals.Url=jdbc:mysql://112.216.99.66:3306/helpdesk_db?characterEncoding=utf8
Globals.UserName =helpdesk
Globals.Password =helpdesk
# MainPage Setting
Globals.MainPage =/EgovContent.do
#\ud1b5\ud569\uba54\uc778\uba54\ub274
#Globals.MainPage = /sym/mnu/mpm/EgovMainMenuHome.do
SMS.DriverClassName=com.mysql.jdbc.Driver
SMS.Url=jdbc:mysql://122.199.152.77:3306/edosi?characterEncoding=utf8
SMS.UserName=edosi
SMS.Password=!dlehtl#
SMS.callback=07041152667
SMS.ddd=
SMS.guk=
Globals.Version=1.0
Globals.OrgKey=
Globals.OrgNm=\uc138\uc774\uc815\ubcf4\uae30\uc220
Globals.OrgCode=8188
#Globals.AccessIp=10
Globals.SiteTitle=\uc138\uc774@\ub098\ub798 Help-desk
#Globals.MobileStartPage=/mobile/intro.do
Globals.MobileStartPage=/login.do
PushUrl=http://www.sejong.go.kr/sotong
#PushUrl=http://122.199.152.176:8080/sotong
fileLogUseYn=N
fileLogPath=/webapps/
MENU.PRJ = \ud504\ub85c\uc81d\ud2b8\uad00\ub9ac
MENU.USER = \ud68c\uc6d0\uad00\ub9ac
MENU.HDB = \uc694\uccad\uc791\uc5c5\uad00\ub9ac
MENU.DTB = \uc790\ub8cc\uc2e4
MENU.MYPAGE = \ub9c8\uc774\ud398\uc774\uc9c0
MENU.BOARD.STT = \uac8c\uc2dc\ud310\uc774\uc6a9\ud604\ud669
# \ud658\uacbd\ud30c\uc77c \uc704\uce58
Globals.ShellFilePath =globals.properties
Globals.ServerConfPath =conf/server.properties
Globals.ClientConfPath =conf/client.properties
Globals.FileFormatPath =conf/format.properties
Globals.GPKIConfPath =conf/gpki.properties
Globals.ConfPath =conf
Globals.MailRequestPath =mail/request/
Globals.MailRResponsePath =mail/response/
Globals.SMEConfigPath =conf/SMEConfig.properties
# WINDOWS\uc6a9 \uc258\ud30c\uc77c \uc815\ubcf4
SHELL.WINDOWS.getHostName =prg/sh_001.bat
SHELL.WINDOWS.getDrctryByOwner =prg/getDrctryByOwner.bat
SHELL.WINDOWS.getDrctryOwner =prg/getDrctryOwner.bat
SHELL.WINDOWS.moveDrctry =prg/moveDrctry.bat
SHELL.WINDOWS.compileSchema =prg/compileSchema.bat
SHELL.WINDOWS.getDiskAttrb =prg/getDiskAttrb.bat
SHELL.WINDOWS.getDiskCpcty =prg/getDiskCpcty.bat
SHELL.WINDOWS.getDiskExst =prg/getDiskExst.bat
# UNIX\uc6a9 \uc258\ud30c\uc77c \uc815\ubcf4 - \uac1c\ubc1cwas jeus\uc5d0\uc11c \uc0ac\uc6a9\ud560\ub54c \uae30\uc900
SHELL.UNIX.getHostName =prg/sh_001.sh
SHELL.UNIX.getDrctryByOwner =prg/getDrctryByOwner.sh
SHELL.UNIX.getDrctryOwner =prg/getDrctryOwner.sh
SHELL.UNIX.getDrctryAccess =prg/getDrctryAccess.sh
SHELL.UNIX.getMountLc =prg/getMountLc.sh
SHELL.UNIX.getDiskName =prg/getNetWorkInfo.sh
SHELL.UNIX.moveDrctry =prg/moveDrctry.sh
SHELL.UNIX.compileSchema =prg/compileSchema.sh
SHELL.UNIX.getDiskAttrb =prg/getDiskAttrb.sh
SHELL.UNIX.getDiskCpcty =prg/getDiskCpcty.sh
SHELL.UNIX.getDiskExst =prg/getDiskExst.sh
SHELL.UNIX.getProcInfo =prg/getProcInfo.sh
# LINUX\uc6a9 \uc258\ud30c\uc77c \uc815\ubcf4
# \uc5f0\uacc4
# \uae30\uad00\ucf54\ub4dc\uc218\uc2e0\uc6a9(\uacbd\ub85c \uc124\uc815\uc740 \ubc18\ub4dc\uc2dc \uc808\ub300\uacbd\ub85c\ub97c \uc0ac\uc6a9\ud574\uc57c\ud568.)
CNTC.INSTTCODE.DIR.rcv =D:/tmp/test/rcv/
CNTC.INSTTCODE.DIR.rcvold =D:/tmp/test/rcvold/
CNTC.INSTTCODE.DIR.bin =D:/tmp/test/bin/
CNTC.INSTTCODE.CMD.edircv =gcc_edircv.bat
CNTC.INSTTCODE.CMD.edircvmsg =gcc_edircvmsg.bat
CNTC.INSTTCODE.INFO.userid =USERID
CNTC.INSTTCODE.INFO.userpw =******
# \ud30c\uc77c \uc5c5\ub85c\ub4dc \uacbd\ub85c(\uacbd\ub85c \uc124\uc815\uc740 \ubc18\ub4dc\uc2dc \uc808\ub300\uacbd\ub85c\ub97c \uc0ac\uc6a9\ud574\uc57c\ud568, \uacbd\ub85c \ub4a4\uc5d0 /\ub97c \ubd99\uc5ec \uc8fc\uc5b4\uc57c\ud568.)
#Globals.fileStorePath =/webapps/upload/
Globals.fileStorePath =/webapps/proj/help_desk/upload/
# \ud30c\uc77c \ub3d9\uae30\ud654 \ucef4\ud3ec\ub10c\ud2b8\uc5d0\uc11c \uc0ac\uc6a9\ud560 \ud30c\uc77c \uc5c5\ub85c\ub4dc \uacbd\ub85c(\uacbd\ub85c \uc124\uc815\uc740 \ubc18\ub4dc\uc2dc \uc808\ub300\uacbd\ub85c\ub97c \uc0ac\uc6a9\ud574\uc57c\ud568, \uacbd\ub85c \ub4a4\uc5d0 /\ub97c \ubd99\uc5ec \uc8fc\uc5b4\uc57c\ud568.)
Globals.SynchrnServerPath =C:/egovframework/upload/Synch/
# for JFile properties
system.uploadpath =C:/egovframework/upload/
no.image.url =/resources/jfile/swfupload/images/no_img.gif
ftp.server.ip =127.0.0.1
ftp.user.id =test
ftp.user.password =test
# Social(Facebook, Oauth \ucef4\ud3ec\ub10c\ud2b8 \uc0ac\uc6a9\uc2dc \ud65c\uc6a9)
facebook.appId =
facebook.appSecret =
twitter.consumerKey =
twitter.consumerSecret =
#LDAP\uc870\uc9c1\ub3c4\uad00\ub9ac \ucef4\ud3ec\ub10c\ud2b8 \uc0ac\uc6a9\uc2dc LDAP\uc11c\ubc84\uc124\uc815\uc815\ubcf4 \ud544\uc694
ldap.url =ldap://localhost:10389
ldap.rootDn =c=kr
ldap.username =uid=admin,ou=system
ldap.password =secret

View File

@@ -0,0 +1,153 @@
#-----------------------------------------------------------------------
#
# globals.properties : \uc2dc\uc2a4\ud15c
#
#-----------------------------------------------------------------------
# 1. key = value \uad6c\uc870\uc785\ub2c8\ub2e4.
# 2. key\uac12\uc740 \uacf5\ubc31\ubb38\uc790\ub97c \ud3ec\ud568\ubd88\uac00, value\uac12\uc740 \uacf5\ubc31\ubb38\uc790\ub97c \uac00\ub2a5
# 3. key\uac12\uc73c\ub85c \ud55c\uae00\uc744 \uc0ac\uc6a9\ubd88\uac00, value\uac12\uc740 \ud55c\uae00\uc0ac\uc6a9\uc774 \uac00\ub2a5
# 4. \uc904\uc744 \ubc14\uafc0 \ud544\uc694\uac00 \uc788\uc73c\uba74 '\'\ub97c \ub77c\uc778\uc758 \ub05d\uc5d0 \ucd94\uac00(\ub9cc\uc57d '\'\ubb38\uc790\ub97c \uc0ac\uc6a9\ud574\uc57c \ud558\ub294 \uacbd\uc6b0\ub294 '\\'\ub97c \uc0ac\uc6a9)
# 5. Windows\uc5d0\uc11c\uc758 \ub514\ub809\ud1a0\ub9ac \ud45c\uc2dc : '\\' or '/' ('\' \uc0ac\uc6a9\ud558\uba74 \uc548\ub428)
# 6. Unix\uc5d0\uc11c\uc758 \ub514\ub809\ud1a0\ub9ac \ud45c\uc2dc : '/'
# 7. \uc8fc\uc11d\ubb38 \ucc98\ub9ac\ub294 #\uc0ac\uc6a9
# 8. value\uac12 \ub4a4\uc5d0 \uc2a4\ud398\uc774\uc2a4\uac00 \uc874\uc7ac\ud558\ub294 \uacbd\uc6b0 \uc11c\ube14\ub9bf\uc5d0\uc11c \ucc38\uc870\ud560\ub54c\ub294 \uc5d0\ub7ec\ubc1c\uc0dd\ud560 \uc218 \uc788\uc73c\ubbc0\ub85c trim()\ud558\uac70\ub098 \ub9c8\uc9c0\ub9c9 \uacf5\ubc31\uc5c6\uc774 properties \uac12\uc744 \uc124\uc815\ud560\uac83
#-----------------------------------------------------------------------
# \uc6b4\uc601\uc11c\ubc84 \ud0c0\uc785(WINDOWS, UNIX)
Globals.OsType =UNIX
# DB\uc11c\ubc84 \ud0c0\uc785(ORACLE, MYSQL) - datasource \ubc0f sqlMap \ud30c\uc77c \uc9c0\uc815\uc5d0 \uc0ac\uc6a9\ub428
#Globals.DbType =oracle
Globals.DbType =mysql
# \uc704\uc800\ub4dc \uc0ac\uc6a9\uc2dc \ub370\uc774\ud130\ubca0\uc774\uc2a4 \uad00\ub828 \uc124\uc815\uc744 \ubd88\ub7ec\uc634
#Globals.DriverClassName=oracle.jdbc.OracleDriver
#Globals.Url=jdbc:oracle:thin:@122.199.152.76:1521:oradev
#Globals.UserName =say_cms
#Globals.Password =sksrhdqnffkr
## \uc138\uc774\ud5ec\ud504\ub370\uc2a4\ud06c
Globals.DriverClassName=com.mysql.jdbc.Driver
#Globals.Url=jdbc:mysql://122.199.152.80:3306/helpdesk_db?characterEncoding=utf8
#Globals.Url=jdbc:mysql://112.217.205.186:3306/helpdesk_db?characterEncoding=utf8
#Globals.Url=jdbc:mysql://112.216.99.66:3306/helpdesk_db?characterEncoding=utf8
Globals.Url=jdbc:mysql://192.168.0.217:3306/helpdesk_db?characterEncoding=utf8
#Globals.Url=jdbc:mysql://localhost:3306/helpdesk_db?characterEncoding=utf8
Globals.UserName =helpdesk
Globals.Password =helpdesk
# MainPage Setting
Globals.MainPage =/EgovContent.do
#\ud1b5\ud569\uba54\uc778\uba54\ub274
#Globals.MainPage = /sym/mnu/mpm/EgovMainMenuHome.do
#SMS.DriverClassName=com.mysql.jdbc.Driver
#SMS.Url=jdbc:mysql://122.199.152.77:3306/edosi?characterEncoding=utf8
#SMS.UserName=edosi
#SMS.Password=!dlehtl#
#SMS.callback=07041152667
SMS.ddd=
SMS.guk=
Globals.Version=1.0
Globals.OrgKey=
Globals.OrgNm=\uc138\uc774\uc815\ubcf4\uae30\uc220
Globals.OrgCode=8188
#Globals.AccessIp=10
Globals.SiteTitle=\uc138\uc774@\ub098\ub798 Help-desk
#Globals.MobileStartPage=/mobile/intro.do
Globals.MobileStartPage=/login.do
PushUrl=http://www.sejong.go.kr/sotong
#PushUrl=http://122.199.152.176:8080/sotong
fileLogUseYn=N
fileLogPath=/webapps/
MENU.PRJ = \ud504\ub85c\uc81d\ud2b8\uad00\ub9ac
MENU.USER = \ud68c\uc6d0\uad00\ub9ac
MENU.HDB = \uc694\uccad\uc791\uc5c5\uad00\ub9ac
MENU.DTB = \uc790\ub8cc\uc2e4
MENU.MYPAGE = \ub9c8\uc774\ud398\uc774\uc9c0
MENU.BOARD.STT = \uac8c\uc2dc\ud310\uc774\uc6a9\ud604\ud669
# \ud658\uacbd\ud30c\uc77c \uc704\uce58
Globals.ShellFilePath =globals.properties
Globals.ServerConfPath =conf/server.properties
Globals.ClientConfPath =conf/client.properties
Globals.FileFormatPath =conf/format.properties
Globals.GPKIConfPath =conf/gpki.properties
Globals.ConfPath =conf
Globals.MailRequestPath =mail/request/
Globals.MailRResponsePath =mail/response/
Globals.SMEConfigPath =conf/SMEConfig.properties
# WINDOWS\uc6a9 \uc258\ud30c\uc77c \uc815\ubcf4
SHELL.WINDOWS.getHostName =prg/sh_001.bat
SHELL.WINDOWS.getDrctryByOwner =prg/getDrctryByOwner.bat
SHELL.WINDOWS.getDrctryOwner =prg/getDrctryOwner.bat
SHELL.WINDOWS.moveDrctry =prg/moveDrctry.bat
SHELL.WINDOWS.compileSchema =prg/compileSchema.bat
SHELL.WINDOWS.getDiskAttrb =prg/getDiskAttrb.bat
SHELL.WINDOWS.getDiskCpcty =prg/getDiskCpcty.bat
SHELL.WINDOWS.getDiskExst =prg/getDiskExst.bat
# UNIX\uc6a9 \uc258\ud30c\uc77c \uc815\ubcf4 - \uac1c\ubc1cwas jeus\uc5d0\uc11c \uc0ac\uc6a9\ud560\ub54c \uae30\uc900
SHELL.UNIX.getHostName =prg/sh_001.sh
SHELL.UNIX.getDrctryByOwner =prg/getDrctryByOwner.sh
SHELL.UNIX.getDrctryOwner =prg/getDrctryOwner.sh
SHELL.UNIX.getDrctryAccess =prg/getDrctryAccess.sh
SHELL.UNIX.getMountLc =prg/getMountLc.sh
SHELL.UNIX.getDiskName =prg/getNetWorkInfo.sh
SHELL.UNIX.moveDrctry =prg/moveDrctry.sh
SHELL.UNIX.compileSchema =prg/compileSchema.sh
SHELL.UNIX.getDiskAttrb =prg/getDiskAttrb.sh
SHELL.UNIX.getDiskCpcty =prg/getDiskCpcty.sh
SHELL.UNIX.getDiskExst =prg/getDiskExst.sh
SHELL.UNIX.getProcInfo =prg/getProcInfo.sh
# LINUX\uc6a9 \uc258\ud30c\uc77c \uc815\ubcf4
# \uc5f0\uacc4
# \uae30\uad00\ucf54\ub4dc\uc218\uc2e0\uc6a9(\uacbd\ub85c \uc124\uc815\uc740 \ubc18\ub4dc\uc2dc \uc808\ub300\uacbd\ub85c\ub97c \uc0ac\uc6a9\ud574\uc57c\ud568.)
CNTC.INSTTCODE.DIR.rcv =D:/tmp/test/rcv/
CNTC.INSTTCODE.DIR.rcvold =D:/tmp/test/rcvold/
CNTC.INSTTCODE.DIR.bin =D:/tmp/test/bin/
CNTC.INSTTCODE.CMD.edircv =gcc_edircv.bat
CNTC.INSTTCODE.CMD.edircvmsg =gcc_edircvmsg.bat
CNTC.INSTTCODE.INFO.userid =USERID
CNTC.INSTTCODE.INFO.userpw =******
# \ud30c\uc77c \uc5c5\ub85c\ub4dc \uacbd\ub85c(\uacbd\ub85c \uc124\uc815\uc740 \ubc18\ub4dc\uc2dc \uc808\ub300\uacbd\ub85c\ub97c \uc0ac\uc6a9\ud574\uc57c\ud568, \uacbd\ub85c \ub4a4\uc5d0 /\ub97c \ubd99\uc5ec \uc8fc\uc5b4\uc57c\ud568.)
#Globals.fileStorePath =/webapps/upload/
Globals.fileStorePath =/webapps/proj/help_desk/upload/
# \ud30c\uc77c \ub3d9\uae30\ud654 \ucef4\ud3ec\ub10c\ud2b8\uc5d0\uc11c \uc0ac\uc6a9\ud560 \ud30c\uc77c \uc5c5\ub85c\ub4dc \uacbd\ub85c(\uacbd\ub85c \uc124\uc815\uc740 \ubc18\ub4dc\uc2dc \uc808\ub300\uacbd\ub85c\ub97c \uc0ac\uc6a9\ud574\uc57c\ud568, \uacbd\ub85c \ub4a4\uc5d0 /\ub97c \ubd99\uc5ec \uc8fc\uc5b4\uc57c\ud568.)
Globals.SynchrnServerPath =C:/egovframework/upload/Synch/
# for JFile properties
system.uploadpath =C:/egovframework/upload/
no.image.url =/resources/jfile/swfupload/images/no_img.gif
ftp.server.ip =127.0.0.1
ftp.user.id =test
ftp.user.password =test
# Social(Facebook, Oauth \ucef4\ud3ec\ub10c\ud2b8 \uc0ac\uc6a9\uc2dc \ud65c\uc6a9)
facebook.appId =
facebook.appSecret =
twitter.consumerKey =
twitter.consumerSecret =
#LDAP\uc870\uc9c1\ub3c4\uad00\ub9ac \ucef4\ud3ec\ub10c\ud2b8 \uc0ac\uc6a9\uc2dc LDAP\uc11c\ubc84\uc124\uc815\uc815\ubcf4 \ud544\uc694
ldap.url =ldap://localhost:10389
ldap.rootDn =c=kr
ldap.username =uid=admin,ou=system
ldap.password =secret

View File

@@ -0,0 +1,16 @@
@rem Shell Name : compileSchema.bat
@rem Description : XML 스키마를 자바클래스로 변환하는 Shell
@rem Modification Information
@rem
@rem 수정일 수정자 수정내용
@rem ------- -------- ---------------------------
@rem 2009.02.13 박지욱 최초 생성
@rem
@rem author 공통 서비스 개발팀 박지욱
@rem since 2009. 02. 13
@rem version 1.0
@rem see
@rem
@rem Copyright (C) 2009 by MOPAS All right reserved.
scomp -out %1 %2

View File

@@ -0,0 +1,16 @@
# Shell Name : compileSchema.sh
# Description : XML 스키마를 자바클래스로 변환하는 Shell
# Modification Information
#
# 수정일 수정자 수정내용
# ------- -------- ---------------------------
# 2009.02.13 박지욱 최초 생성
#
# @author 공통 서비스 개발팀 박지욱
# @since 2009. 02. 13
# @version 1.0
# @see
#
# Copyright (C) 2009 by MOPAS All right reserved.
scomp -out $1 $2

View File

@@ -0,0 +1 @@
@echo "Not supported in WINDOWS"

View File

@@ -0,0 +1,128 @@
# Shell Name : getDiskAttr.bat
# Description : 디스크 속성정보 확인
# Modification Information
#
# 수정일 수정자 수정내용
# ------- -------- ---------------------------
# 2009.02.23 조재영 최초 생성
#
# @author 공통 서비스 개발팀 조재영
# @since 2009. 02. 13
# @version 1.0
# @see
#
# Copyright (C) 2009 by MOPAS All right reserved.
#### DISK CHECK ####
#for A in `lspv | awk '{print $1}' `
for A in `lsdev -Cc disk | awk '{print $1}'`
do
# NAME
echo $A
# ATTRIBUTE
echo `lscfg -l $A | awk -F $A '{print $2}'`
# TYPE
echo "disk"
# AUTHORITY
# SIZE
isEq="FALSE"
for B in `lspv | awk '{print $1}' `
do
if [ $A = $B ]
then
isEq="TRUE"
fi
done
if [ $isEq = "TRUE" ]
then
# TOTAL SIZE
lspv $A | grep "TOTAL PPs" | awk -F"(" '{print $2}' | awk '{print $1}'
# USED SIZE
lspv $A | grep "USED PPs" | awk -F"(" '{print $2}' | awk '{print $1}'
# FREE SIZE
lspv $A | grep "FREE PPs" | awk -F"(" '{print $2}' | awk '{print $1}'
else
echo ""
echo ""
echo ""
fi
done
#### USB CHECK ####
for A in `lsdev -Cc usb | awk '{print $1}'`
do
# NAME
echo $A
# ATTRIBUTE
echo `lscfg -l $A | awk -F $A '{print $2}'`
# TYPE
echo "usb"
# AUTHORITY
# SIZE
isEq="FALSE"
for B in `lspv | awk '{print $1}' `
do
if [ $A = $B ]
then
isEq="TRUE"
fi
done
if [ $isEq = "TRUE" ]
then
# TOTAL SIZE
lspv $A | grep "TOTAL PPs" | awk -F"(" '{print $2}' | awk '{print $1}'
# USED SIZE
lspv $A | grep "USED PPs" | awk -F"(" '{print $2}' | awk '{print $1}'
# FREE SIZE
lspv $A | grep "FREE PPs" | awk -F"(" '{print $2}' | awk '{print $1}'
else
echo ""
echo ""
echo ""
fi
done
#### CDROM CHECK ####
for A in `lsdev -Cc cdrom | awk '{print $1}'`
do
# NAME
echo $A
# ATTRIBUTE
echo `lscfg -l $A | awk -F $A '{print $2}'`
# TYPE
echo "cdrom"
# AUTHORITY
# SIZE
isEq="FALSE"
for B in `lspv | awk '{print $1}' `
do
if [ $A = $B ]
then
isEq="TRUE"
fi
isEq="TRUE"
fi
done
if [ $isEq = "TRUE" ]
then
# TOTAL SIZE
lspv $A | grep "TOTAL PPs" | awk -F"(" '{print $2}' | awk '{print $1}'
# USED SIZE
lspv $A | grep "USED PPs" | awk -F"(" '{print $2}' | awk '{print $1}'
# FREE SIZE
lspv $A | grep "FREE PPs" | awk -F"(" '{print $2}' | awk '{print $1}'
else
echo ""
echo ""
echo ""
fi
done

View File

@@ -0,0 +1 @@
@echo "Not supported in WINDOWS"

View File

@@ -0,0 +1,18 @@
# Shell Name : getDiskCpcty.bat
# Description : 디스크 용량 확인
# Modification Information
#
# 수정일 수정자 수정내용
# ------- -------- ---------------------------
# 2009.02.23 조재영 최초 생성
#
# @author 공통 서비스 개발팀 조재영
# @since 2009. 02. 13
# @version 1.0
# @see
#
# Copyright (C) 2009 by MOPAS All right reserved.
for B in `df -k | grep / | awk '{print $2} {print $3} {print $4} {print $7}'`
do
echo $B
done

View File

@@ -0,0 +1 @@
@echo "Not supported in WINDOWS"

View File

@@ -0,0 +1,15 @@
# Shell Name : getDiskExst.bat
# Description : 디스크 존재여부 확인(윈도우에서는 지원 안함)
# Modification Information
#
# 수정일 수정자 수정내용
# ------- -------- ---------------------------
# 2009.02.23 조재영 최초 생성
#
# @author 공통 서비스 개발팀 조재영
# @since 2009. 02. 13
# @version 1.0
# @see
#
# Copyright (C) 2009 by MOPAS All right reserved.
lsdev -Cc disk | wc -l

View File

@@ -0,0 +1,16 @@
@rem Shell Name : getDiskInfo.bat
@rem Description : 시스템 Disk의 이름을 조회하는 Shell
@rem Modification Information
@rem
@rem 수정일 수정자 수정내용
@rem ------- -------- ---------------------------
@rem 2009.02.13 박지욱 최초 생성
@rem
@rem author 공통 서비스 개발팀 박지욱
@rem since 2009. 02. 13
@rem version 1.0
@rem see
@rem
@rem Copyright (C) 2009 by MOPAS All right reserved.
echo Can Not Support

View File

@@ -0,0 +1,40 @@
# Shell Name : getDiskInfo.sh
# Description : 시스템에 존재하는 디스크 정보를 조회하는 Shell
# Modification Information
#
# 수정일 수정자 수정내용
# ------- -------- ---------------------------
# 2009.02.23 박지욱 최초 생성
#
# @author 공통 서비스 개발팀 박지욱
# @since 2009. 02. 13
# @version 1.0
# @see
#
# Copyright (C) 2009 by MOPAS All right reserved.
#echo $1 -SEARCH NAME (NAME, FULL, USING, VALID)
#NAME
if [ $1 == "NAME" ]
then
lspv | awk '{print $1}'
fi
#FULL
if [ $1 == "FULL" ]
then
lspv $2 | grep "TOTAL PPs" | awk -F"(" '{print $2}' | awk '{print $1}'
fi
#USING
if [ $1 == "USED" ]
then
lspv $2 | grep "USED PPs" | awk -F"(" '{print $2}' | awk '{print $1}'
fi
#VALID
if [ $1 == "FREE" ]
then
lspv $2 | grep "FREE PPs" | awk -F"(" '{print $2}' | awk '{print $1}'
fi

View File

@@ -0,0 +1,15 @@
# Shell Name : getDrctryAccess.sh
# Description : 해당되는 디렉토리의 접근권한을 찾는다.
# Modification Information
#
# 수정일 수정자 수정내용
# ------- -------- ---------------------------
# 2009.02.23 조재영 최초 생성
#
# @author 공통 서비스 개발팀 조재영
# @since 2009. 02. 13
# @version 1.0
# @see
#
# Copyright (C) 2009 by MOPAS All right reserved.
ls -alF $1 | grep $2 | awk -F" " '{print $1}'

View File

@@ -0,0 +1 @@
@echo "Not supported in WINDOWS"

View File

@@ -0,0 +1,15 @@
# Shell Name : getDrctryByOwner.sh
# Description : 해당되는 사용자 계정이 소유주인 디렉토리를 찾는다.
# Modification Information
#
# 수정일 수정자 수정내용
# ------- -------- ---------------------------
# 2009.02.23 조재영 최초 생성
#
# @author 공통 서비스 개발팀 조재영
# @since 2009. 02. 13
# @version 1.0
# @see
#
# Copyright (C) 2009 by MOPAS All right reserved.
find $1 -name $2 -user $3

View File

@@ -0,0 +1 @@
@echo "Not supported in WINDOWS"

View File

@@ -0,0 +1,15 @@
# Shell Name : getDrctryByOwner.sh
# Description : 해당되는 디렉토리 안 파일의 소유주를 찾는다.
# Modification Information
#
# 수정일 수정자 수정내용
# ------- -------- ---------------------------
# 2009.02.23 조재영 최초 생성
#
# @author 공통 서비스 개발팀 조재영
# @since 2009. 02. 13
# @version 1.0
# @see
#
# Copyright (C) 2009 by MOPAS All right reserved.
ls -alF $1 | grep $2 | awk -F" " '{print $3}'

View File

@@ -0,0 +1,16 @@
@rem Shell Name : getMoryInfo.bat
@rem Description : <20>ý<EFBFBD><C3BD><EFBFBD> <20>޸<EFBFBD><DEB8><EFBFBD> <20><>ü, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><>ȿ <20><EFBFBD><EBB7AE> <20><>ȸ<EFBFBD>ϴ<EFBFBD> Shell
@rem Modification Information
@rem
@rem <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
@rem ------- -------- ---------------------------
@rem 2009.02.24 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
@rem
@rem author <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
@rem since 2009. 02. 24
@rem version 1.0
@rem see
@rem
@rem Copyright (C) 2009 by MOPAS All right reserved.
systeminfo

View File

@@ -0,0 +1,34 @@
# Shell Name : getMoryInfo.sh
# Description : 시스템에 존재하는 메모리 정보를 조회하는 Shell
# Modification Information
#
# 수정일 수정자 수정내용
# ------- -------- ---------------------------
# 2009.02.23 박지욱 최초 생성
#
# @author 공통 서비스 개발팀 박지욱
# @since 2009. 02. 13
# @version 1.0
# @see
#
# Copyright (C) 2009 by MOPAS All right reserved.
#echo $1 -SEARCH NAME (FULL, USING, FREE)
#FULL
if [ $1 == "FULL" ]
then
vmstat | grep "mem=" | awk '{print $4}'
fi
#USING
if [ $1 == "USED" ]
then
vmstat | tail -1 | awk '{print $3*4096/1024/1024}'
fi
#VALID
if [ $1 == "FREE" ]
then
vmstat | tail -1 | awk '{print $4*4096/1024/1024}'
fi

View File

@@ -0,0 +1,19 @@
# Shell Name : getMountLc.sh
# Description : 파일(디렉토리)가 존재하는 파일시스템(마운트된 위치)을 조회하는 Shell
# Modification Information
#
# 수정일 수정자 수정내용
# ------- -------- ---------------------------
# 2009.02.23 박지욱 최초 생성
#
# @author 공통 서비스 개발팀 박지욱
# @since 2009. 02. 13
# @version 1.0
# @see
#
# Copyright (C) 2009 by MOPAS All right reserved.
#echo $1 -FILE LOCATION
#echo $1 -/
df -k $1 | grep $2 | awk -F" " '{print $7}'

View File

@@ -0,0 +1,63 @@
# Shell Name : getNetWorkInfo.sh
# Description : 네트워크 정보를 찾는다.
# Modification Information
#
# 수정일 수정자 수정내용
# ------- -------- ---------------------------
# 2009.02.23 이용 최초 생성
#
# @author 공통 서비스 개발팀 이용
# @since 2009. 02. 13
# @version 1.0
# @see
#
# Copyright (C) 2009 by MOPAS All right reserved.
#getNetWorkInfo.sh
#네트워크 정보를 찾는다.
#netstat -v ent0 | grep "하드웨어 주소" -MAC
#prtconf | grep "IP 주소" -IP
#prtconf | grep "서브넷 마스크" -SM
#prtconf | grep "게이트웨이" -GW
#echo $1
#echo $2
#MAC
if [ $1 == "MAC" ]
then
netstat -v $2 | grep "하드웨어 주소" | awk '{print $3}'
fi
#IP
if [ $1 == "IP" ]
then
prtconf | grep "IP 주소" | awk '{print $3}'
fi
#SM
if [ $1 == "SM" ]
then
prtconf | grep "서브넷 마스크" | awk '{print $3}'
fi
#GW
if [ $1 == "GW" ]
then
prtconf | grep "게이트웨이" | awk '{print $2}'
fi
#도메인명
if [ $1 == "DN" ]
then
hostname
fi
#DNS
if [ $1 == "DNS" ]
then
host $2 | awk '{print $2}'
fi
if [ $1 == "SCAN" ]
then
netstat -na | egrep 'tcp|udp'
fi

View File

@@ -0,0 +1,16 @@
@rem Shell Name : getOSInfo.bat
@rem Description : 시스템 OS의 이름, 버전, 제조사를 조회하는 Shell
@rem Modification Information
@rem
@rem 수정일 수정자 수정내용
@rem ------- -------- ---------------------------
@rem 2009.02.13 박지욱 최초 생성
@rem
@rem author 공통 서비스 개발팀 박지욱
@rem since 2009. 02. 13
@rem version 1.0
@rem see
@rem
@rem Copyright (C) 2009 by MOPAS All right reserved.
systeminfo

View File

@@ -0,0 +1,40 @@
# Shell Name : getOSInfo.sh
# Description : 시스템 OS의 이름, 버전, 제조사를 조회하는 Shell
# Modification Information
#
# 수정일 수정자 수정내용
# ------- -------- ---------------------------
# 2009.02.13 박지욱 최초 생성
#
# @author 공통 서비스 개발팀 박지욱
# @since 2009. 02. 13
# @version 1.0
# @see
#
# Copyright (C) 2009 by MOPAS All right reserved.
#echo $1 -SEARCH NAME (NAME, VERSION, PRDUCTOR)
#NAME
if [ $1 == "NAME" ]
then
uname -s
fi
#VERSION
if [ $1 == "VERSION" ]
then
oslevel
fi
#PRDUCTOR
if [ $1 == "PRDUCTOR" ]
then
prtconf | grep "시스템 모델:" | awk '{print $3}'
fi
#PROCESSOR
if [ $1 == "PROCESSOR" ]
then
uname -a | awk '{print substr($5,3,6)}'
fi

View File

@@ -0,0 +1,16 @@
@rem Shell Name : getPrductStatus.bat
@rem Description : 시스템에 설치된 서버(WAS,WEB,MAIL서버)의 실행상태를 조회하는 Shell
@rem Modification Information
@rem
@rem 수정일 수정자 수정내용
@rem ------- -------- ---------------------------
@rem 2009.02.11 박지욱 최초 생성
@rem
@rem author 공통 서비스 개발팀 박지욱
@rem since 2009. 02. 11
@rem version 1.0
@rem see
@rem
@rem Copyright (C) 2009 by MOPAS All right reserved.
netstat -na

View File

@@ -0,0 +1,18 @@
# Shell Name : getPrductStatus.sh
# Description : 시스템에 설치된 서버(WAS,WEB,MAIL서버)의 실행상태를 조회하는 Shell
# Modification Information
#
# 수정일 수정자 수정내용
# ------- -------- ---------------------------
# 2009.02.11 박지욱 최초 생성
#
# @author 공통 서비스 개발팀 박지욱
# @since 2009. 02. 11
# @version 1.0
# @see
#
# Copyright (C) 2009 by MOPAS All right reserved.
#echo $1 -PORT
netstat -na | grep -w "LISTEN" | grep -c $1

View File

@@ -0,0 +1,43 @@
@rem Shell Name : getPrductVersion.bat
@rem Description : 시스템에 설치된 서버(WAS,WEB,MAIL서버)의 버전을 조회하는 Shell
@rem Modification Information
@rem
@rem 수정일 수정자 수정내용
@rem ------- -------- ---------------------------
@rem 2009.02.11 박지욱 최초 생성
@rem
@rem author 공통 서비스 개발팀 박지욱
@rem since 2009. 02. 11
@rem version 1.0
@rem see
@rem
@rem Copyright (C) 2009 by MOPAS All right reserved.
IF "%1"=="WEBLOGIC" goto step1
IF "%1"=="JEUS" goto step2
IF "%1"=="JBOSS" goto step3
goto error
:step1
set CMMD1=java weblogic.Admin -username weblogic -password weblogic VERSION
set CMMD2=
goto done
:step2
set CMMD1=jeusadmin -version
set CMMD2=
goto done
:step3
set CMMD1=twiddle.bat -s localhost:1099 -u admin -p admin get "jboss.system:type=Server"
set CMMD2=find "Version="
goto done
:error
@echo Usage: getPrductVersion 서버이름
@echo example) getPrductVersion WEBLOGIC
:done
%CMMD1%|%CMMD2%

View File

@@ -0,0 +1,34 @@
# Shell Name : getPrductVersion.sh
# Description : 시스템에 설치된 서버(WAS,WEB,MAIL서버)의 버전을 조회하는 Shell
# Modification Information
#
# 수정일 수정자 수정내용
# ------- -------- ---------------------------
# 2009.02.11 박지욱 최초 생성
#
# @author 공통 서비스 개발팀 박지욱
# @since 2009. 02. 11
# @version 1.0
# @see
#
# Copyright (C) 2009 by MOPAS All right reserved.
#echo $1 -SERVER NAME
#WEBLOGIC
if [ $1 == "WEBLOGIC" ]
then
java weblogic.Admin -username weblogic -password weblogic VERSION
fi
#JEUS
if [ $1 == "JEUS" ]
then
jeusadmin -version
fi
#JBOSS
if [ $1 == "JBOSS" ]
then
/user/com/jboss/bin/twiddle.sh -s localhost:1099 -u admin -p admin get "jboss.system:type=Server" | grep "Version="
fi

View File

@@ -0,0 +1 @@
move %1 %2

View File

@@ -0,0 +1,15 @@
# Shell Name : moveDrctry.sh
# Description : 파일을 이동한다.
# Modification Information
#
# 수정일 수정자 수정내용
# ------- -------- ---------------------------
# 2009.02.11 박지욱 최초 생성
#
# @author 공통 서비스 개발팀 박지욱
# @since 2009. 02. 11
# @version 1.0
# @see
#
# Copyright (C) 2009 by MOPAS All right reserved.
mv $1 $2

View File

@@ -0,0 +1 @@
@hostname

View File

@@ -0,0 +1,328 @@
fail.common.msg=\uc5d0\ub7ec\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4!
fail.common.sql=sql \uc5d0\ub7ec\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4! error code: {0}, error msg: {1}
info.nodata.msg=\ud574\ub2f9 \ub370\uc774\ud130\uac00 \uc5c6\uc2b5\ub2c8\ub2e4.
#UI Common resource#
button.search=\uac80\uc0c9
button.use=\uc0ac\uc6a9
button.notUsed=\uc0ac\uc6a9\uc911\uc9c0
button.inquire=\uc870\ud68c
button.update=\uc218\uc815
button.create=\ub4f1\ub85d
button.delete=\uc0ad\uc81c
button.deleteDatabase=\uc644\uc804\uc0ad\uc81c
button.close=\ub2eb\uae30
button.save=\uc800\uc7a5
button.list=\ubaa9\ub85d
button.reset=\ucde8\uc18c
button.passwordUpdate=\uc554\ud638\ubcc0\uacbd
button.subscribe=\uac00\uc785\uc2e0\uccad
button.realname=\uc2e4\uba85\ud655\uc778
button.moveToGpin=GPIN\uc2e4\uba85\ud655\uc778\uc73c\ub85c \uc774\ub3d9
button.moveToIhidnum=\uc8fc\ubbfc\ub4f1\ub85d\ubc88\ud638 \uc2e4\uba85\ud655\uc778\uc73c\ub85c \uc774\ub3d9
button.agree=\ub3d9\uc758
button.disagree=\ube44\ub3d9\uc758
button.possible=\uac00\ub2a5
button.impossible=\ubd88\uac00\ub2a5
button.qnaregist=Q&A\ub4f1\ub85d
button.cnsltregist=\uc0c1\ub2f4\ub4f1\ub85d
button.preview=\ubbf8\ub9ac\ubcf4\uae30
button.next=\ub2e4\uc74c
button.add=\ubc14\ub85c\ucd94\uac00
button.confirm=\ud655\uc778
button.back = \ub4a4\ub85c
button.yes = \uc608
button.no = \uc544\ub2c8\uc624
button.home = \ud648
button.user = \uc0ac\uc6a9\uc790\uc9c0\uc6d0
button.cop = \ud611\uc5c5
button.wrkstart = \ucd9c\uadfc
button.wrkend = \ud1f4\uadfc
#UI Common Message#
common.save.msg=\uc800\uc7a5\ud558\uc2dc\uaca0\uc2b5\ub2c8\uae4c?
common.regist.msg=\ub4f1\ub85d\ud558\uc2dc\uaca0\uc2b5\ub2c8\uae4c?
common.delete.msg=\uc0ad\uc81c\ud558\uc2dc\uaca0\uc2b5\ub2c8\uae4c?
common.update.msg=\uc218\uc815\ud558\uc2dc\uaca0\uc2b5\ub2c8\uae4c?
common.nodata.msg=\uc790\ub8cc\uac00 \uc5c6\uc2b5\ub2c8\ub2e4. \ub2e4\ub978 \uac80\uc0c9\uc870\uac74\uc744 \uc120\ud0dd\ud574\uc8fc\uc138\uc694
common.required.msg=(\uc740)\ub294 \ud544\uc218\uc785\ub825\ud56d\ubaa9\uc785\ub2c8\ub2e4.
common.acknowledgement.msg=\uc2b9\uc778\ud558\uc2dc\uaca0\uc2b5\ub2c8\uae4c?
common.acknowledgementcancel.msg=\uc2b9\uc778\ucde8\uc18c\ud558\uc2dc\uaca0\uc2b5\ub2c8\uae4c?
success.request.msg = \uc694\uccad\ucc98\ub9ac\uac00 \uc131\uacf5\uc801\uc73c\ub85c \uc218\ud589\ub418\uc5c8\uc2b5\ub2c8\ub2e4.
success.common.select=\uc815\uc0c1\uc801\uc73c\ub85c \uc870\ud68c\ub418\uc5c8\uc2b5\ub2c8\ub2e4.
success.common.insert=\uc815\uc0c1\uc801\uc73c\ub85c \ub4f1\ub85d\ub418\uc5c8\uc2b5\ub2c8\ub2e4.
success.common.update=\uc815\uc0c1\uc801\uc73c\ub85c \uc218\uc815\ub418\uc5c8\uc2b5\ub2c8\ub2e4.
success.common.delete=\uc815\uc0c1\uc801\uc73c\ub85c \uc0ad\uc81c\ub418\uc5c8\uc2b5\ub2c8\ub2e4.
common.imposbl.fileupload = \ub354 \uc774\uc0c1 \ud30c\uc77c\uc744 \ucca8\ubd80\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.
common.isConfmDe.msg=\uc2b9\uc778\uc77c\uc790\ub97c \ud655\uc778 \ubc14\ub78d\ub2c8\ub2e4.
common.isExist.msg = \uc774\ubbf8 \uc874\uc7ac\ud558\uac70\ub098 \uacfc\uac70\uc5d0 \ub4f1\ub85d\uc774 \ub418\uc5c8\ub358 \uc0c1\ud0dc\uc785\ub2c8\ub2e4.
fail.common.insert = \uc0dd\uc131\uc774 \uc2e4\ud328\ud558\uc600\uc2b5\ub2c8\ub2e4.
fail.common.update = \uc218\uc815\uc774 \uc2e4\ud328\ud558\uc600\uc2b5\ub2c8\ub2e4.
fail.common.delete = \uc0ad\uc81c\uac00 \uc2e4\ud328\ud558\uc600\uc2b5\ub2c8\ub2e4.
fail.common.delete.upperMenuExist = \ucc38\uc870\ub418\ub294 \uba54\ub274\uac00 \uc788\uc5b4 \uc0ad\uc81c\uac00 \uc2e4\ud328\ud558\uc600\uc2b5\ub2c8\ub2e4.
fail.common.select = \uc870\ud68c\uc5d0 \uc2e4\ud328\ud558\uc600\uc2b5\ub2c8\ub2e4.
fail.common.login = \ub85c\uadf8\uc778 \uc815\ubcf4\uac00 \uc62c\ubc14\ub974\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.
fail.common.login.password = \ud328\uc2a4\uc6cc\ub4dc \uc790\ub9ac \uc218\uac00 \uc77c\uce58 \ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.(8\uc790\ub9ac \uc774\uc0c1 20\uc790\ub9ac \uc774\ud558)
fail.common.idsearch = \uc544\uc774\ub514\ub97c \ucc3e\uc744\uc218 \uc5c6\uc2b5\ub2c8\ub2e4.
fail.common.pwsearch = \ube44\ubc00\ubc88\ud638\ub97c \ucc3e\uc744\uc218 \uc5c6\uc2b5\ub2c8\ub2e4.
fail.request.msg = \uc694\uccad\ucc98\ub9ac\ub97c \uc2e4\ud328\ud558\uc600\uc2b5\ub2c8\ub2e4.
#UI User Message#
fail.user.passwordUpdate1=\ud604\uc7ac \ube44\ubc00\ubc88\ud638\uac00 \ub9de\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.
fail.user.passwordUpdate2=\ube44\ubc00\ubc88\ud638\uc640 \ube44\ubc00\ubc88\ud638 \ud655\uc778\uc774 \uc77c\uce58\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.
info.user.rlnmCnfirm=\uc8fc\ubbfc\ub4f1\ub85d\ubc88\ud638\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc2e4\uba85\ud655\uc778\uc744 \ud558\uc2ed\uc2dc\uc624.
success.user.rlnmCnfirm=\ud589\uc815\uc548\uc804\ubd80\uc758 \uc8fc\ubbfc\ub4f1\ub85d\uc790\ub8cc\uc640 \uc77c\uce58\ud569\ub2c8\ub2e4.
fail.user.rlnmCnfirm=\ud589\uc815\uc548\uc804\ubd80\uc758 \uc8fc\ubbfc\ub4f1\ub85d\uc790\ub8cc\uc640 \uc77c\uce58\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.
fail.user.connectFail=\uc2dc\uc2a4\ud15c \uc7a5\uc560\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4.(\uc778\uc99d\uc11c\ubc84 \uc5f0\uacb0 \uc2e4\ud328)
info.user.rlnmPinCnfirm=\uacf5\uacf5 \uc544\uc774\ud540 \uc544\uc774\ub514\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc2e4\uba85\ud655\uc778\uc744 \ud558\uc2ed\uc2dc\uc624.
success.user.rlnmPinCnfirm=\uacf5\uacf5\uc544\uc774\ud540\uc758 \ub4f1\ub85d\uc790\ub8cc\uc640 \uc77c\uce58\ud569\ub2c8\ub2e4.
fail.user.rlnmPinCnfirm=\uacf5\uacf5\uc544\uc774\ud540\uc758 \ub4f1\ub85d\uc790\ub8cc\uc640 \uc77c\uce58\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.
#UI Cop Message#
cop.extrlUser = \uc678\ubd80\uc0ac\uc6a9\uc790
cop.intrlUser = \ub0b4\ubd80\uc0ac\uc6a9\uc790
cop.private = \ube44\uacf5\uac1c
cop.public = \uacf5\uac1c
cop.adbkNm = \uc8fc\uc18c\ub85d\uba85
cop.othbcScope = \uacf5\uac1c\ubc94\uc704
cop.company = \ud68c\uc0ac
cop.part = \ubd80\uc11c
cop.man = \uac1c\uc778
cop.adbkUser = \uad6c\uc131\uc6d0
cop.bbsNm = \uac8c\uc2dc\ud310\uba85
cop.bbsIntrcn = \uac8c\uc2dc\ud310\uc18c\uac1c
cop.bbsTyCode = \uac8c\uc2dc\ud310 \uc720\ud615
cop.bbsAttrbCode = \uac8c\uc2dc\ud310 \uc18d\uc131
cop.replyPosblAt = \ub2f5\uc7a5\uac00\ub2a5\uc5ec\ubd80
cop.fileAtchPosblAt = \ud30c\uc77c\ucca8\ubd80\uac00\ub2a5\uc5ec\ubd80
cop.posblAtchFileNumber = \ucca8\ubd80\uac00\ub2a5\ud30c\uc77c \uc22b\uc790
cop.tmplatId = \ud15c\ud50c\ub9bf \uc815\ubcf4
cop.guestList.subject = \ubc29\uba85\ub85d \uac8c\uc2dc\uae00\uc785\ub2c8\ub2e4.
cop.nttSj = \uc81c\ubaa9
cop.nttCn = \uae00\ub0b4\uc6a9
cop.ntceBgnde = \uac8c\uc2dc\uc2dc\uc791\uc77c
cop.ntceEndde = \uac8c\uc2dc\uc885\ub8cc\uc77c
cop.ntcrNm = \uc791\uc131\uc790
cop.password = \ud328\uc2a4\uc6cc\ub4dc
cop.atchFile = \ud30c\uc77c\ucca8\ubd80
cop.guestList = \ubc29\uba85\ub85d
cop.guestListCn = \ubc29\uba85\ub85d \ub0b4\uc6a9
cop.noticeTerm = \uac8c\uc2dc\uae30\uac04
cop.atchFileList = \ucca8\ubd80\ud30c\uc77c\ubaa9\ub85d
cop.cmmntyNm = \ucee4\ubba4\ub2c8\ud2f0\uba85
cop.cmmntyIntrcn = \ucee4\ubba4\ub2c8\ud2f0 \uc18c\uac1c
cop.cmmntyMngr = \ucee4\ubba4\ub2c8\ud2f0 \uad00\ub9ac\uc790
cop.clbOprtr = \ub3d9\ud638\ud68c \uc6b4\uc601\uc790
cop.clbIntrcn = \ub3d9\ud638\ud68c \uc18c\uac1c
cop.clbNm = \ub3d9\ud638\ud68c \uba85
cop.tmplatNm = \ud15c\ud50c\ub9bf\uba85
cop.tmplatSeCode = \ud15c\ud50c\ub9bf \uad6c\ubd84
cop.tmplatCours = \ud15c\ud50c\ub9bf\uacbd\ub85c
cop.useAt = \uc0ac\uc6a9\uc5ec\ubd80
cop.ncrdNm = \uc774\ub984
cop.cmpnyNm = \ud68c\uc0ac\uba85
cop.deptNm = \ubd80\uc11c\uba85
cop.ofcpsNm = \uc9c1\uc704
cop.clsfNm = \uc9c1\uae09
cop.emailAdres = \uc774\uba54\uc77c\uc8fc\uc18c
cop.telNo = \uc804\ud654\ubc88\ud638
cop.mbtlNum = \ud734\ub300\ud3f0\ubc88\ud638
cop.adres = \uc8fc\uc18c
cop.extrlUserAt = \uc678\ubd80\uc0ac\uc6a9\uc790\uc5ec\ubd80
cop.publicAt = \uacf5\uac1c\uc5ec\ubd80
cop.remark = \ube44\uace0
cop.trgetNm = \ucee4\ubba4\ub2c8\ud2f0/\ub3d9\ud638\ud68c \uc815\ubcf4
cop.preview = \ubbf8\ub9ac\ubcf4\uae30
cop.withdraw.msg=\ud0c8\ud1f4\ucc98\ub9ac \ud558\uc2dc\uaca0\uc2b5\ub2c8\uae4c?
cop.reregist.msg=\uc7ac\uac00\uc785 \ucc98\ub9ac\ud558\uc2dc\uaca0\uc2b5\ub2c8\uae4c?
cop.registmanager.msg=\uc6b4\uc601\uc9c4\uc73c\ub85c \ub4f1\ub85d\ud558\uc2dc\uaca0\uc2b5\ub2c8\uae4c?
cop.use.msg=\uc0ac\uc6a9 \ucc98\ub9ac\ud558\uc2dc\uaca0\uc2b5\ub2c8\uae4c?
cop.unuse.msg=\uc0ac\uc6a9\uc911\uc9c0 \ucc98\ub9ac\ud558\uc2dc\uaca0\uc2b5\ub2c8\uae4c?
cop.delete.confirm.msg=\uc0ac\uc6a9\uc911\uc9c0\ub97c \uc120\ud0dd\ud558\uc2e4 \uacbd\uc6b0 \ub2e4\uc2dc \uc0ac\uc6a9\uc73c\ub85c \ubcc0\uacbd\uc774 \ubd88\uac00\ub2a5\ud569\ub2c8\ub2e4.
cop.ing.msg=\uc2b9\uc778\uc694\uccad \uc911\uc785\ub2c8\ub2e4.
cop.request.msg=\uac00\uc785\uc2e0\uccad\uc774 \uc815\uc0c1\uc801\uc73c\ub85c \uc694\uccad\ub418\uc5c8\uc2b5\ub2c8\ub2e4
cop.password.msg=\ud328\uc2a4\uc6cc\ub4dc\ub97c \uc785\ub825\ud574 \uc8fc\uc2ed\uc2dc\uc624.
cop.password.not.same.msg=\ud328\uc2a4\uc6cc\ub4dc\uac00 \uc77c\uce58\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.
cop.comment.wrterNm = \uc791\uc131\uc790
cop.comment.commentCn = \ub0b4\uc6a9
cop.comment.commentPassword = \ud328\uc2a4\uc6cc\ub4dc
cop.satisfaction.wrterNm = \uc791\uc131\uc790
cop.satisfaction.stsfdgCn = \ub0b4\uc6a9
cop.satisfaction.stsfdg = \ub9cc\uc871\ub3c4
cop.satisfaction.stsfdgPassword = \ud328\uc2a4\uc6cc\ub4dc
cop.scrap.scrapNm = \uc2a4\ud06c\ub7a9\uba85
#UI USS Message#
uss.ion.noi.ntfcSj=\uc81c\ubaa9
uss.ion.noi.ntfcCn=\ub0b4\uc6a9
uss.ion.noi.ntfcDate=\uc54c\ub9bc\uc77c\uc790
uss.ion.noi.ntfcTime=\uc54c\ub9bc\uc2dc\uac04
uss.ion.noi.ntfcHH=\uc54c\ub9bc\uc2dc\uac04
uss.ion.noi.ntfcMM=\uc54c\ub9bc\ubd84
uss.ion.noi.bhNtfcIntrvl=\uc0ac\uc804\uc54c\ub9bc\uac04\uaca9
uss.ion.noi.bhNtfcIntrvl.msg=\uc0ac\uc804\uc54c\ub9bc\uac04\uaca9 \uc9c0\uc815\uc774 \ud544\uc694\ud569\ub2c8\ub2e4.
uss.ion.noi.alertNtfcTime=\uc54c\ub9bc\uc77c\uc790 \ubc0f \uc2dc\uac04\uc774 \uc720\ud6a8\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.
#UI COP Message#
cop.sms.trnsmitTelno=\ubc1c\uc2e0\uc804\ud654\ubc88\ud638
cop.sms.trnsmitCn=\uc804\uc1a1\ub0b4\uc6a9
cop.sms.recptnTelno=\uc218\uc2e0\uc804\ud654\ubc88\ud638
cop.sms.send=\uc804\uc1a1
cop.sms.addRecptn=\ucd94\uac00
cop.sms.recptnTelno.msg=\uc218\uc2e0\uc804\ud654\ubc88\ud638 \uc9c0\uc815\uc774 \ud544\uc694\ud569\ub2c8\ub2e4.
#UI sym.log Message#
sym.log.histSeCode = \uc774\ub825\uad6c\ubd84
sym.log.sysNm = \uc2dc\uc2a4\ud15c\uba85
sym.log.histCn = \uc774\ub825\ub0b4\uc6a9
sym.log.atchFile = \ucca8\ubd80\ud30c\uc77c
sym.log.atchFileList = \ucca8\ubd80\ud30c\uc77c\ubaa9\ub85d
sym.ems.receiver = \ubc1b\ub294\uc0ac\ub78c
sym.ems.title = \uc81c\ubaa9
sym.ems.content = \ubc1c\uc2e0\ub0b4\uc6a9
#Vlidator Errors#
errors.prefix=<div class="error">
errors.suffix=</div><br/>
errors.required={0}\uc740(\ub294) \ud544\uc218 \uc785\ub825\uac12\uc785\ub2c8\ub2e4.
errors.minlength={0}\uc740(\ub294) {1}\uc790 \uc774\uc0c1 \uc785\ub825\ud574\uc57c \ud569\ub2c8\ub2e4.
errors.maxlength={0}\uc740(\ub294) {1}\uc790 \uc774\uc0c1 \uc785\ub825\ud560\uc218 \uc5c6\uc2b5\ub2c8\ub2e4.
errors.invalid={0}\uc740(\ub294) \uc720\ud6a8\ud558\uc9c0 \uc54a\uc740 \uac12\uc785\ub2c8\ub2e4.
errors.minInteger={0}\uc740(\ub294) \uc720\ud6a8\ud55c \uac12\uc774 \uc544\ub2d9\ub2c8\ub2e4. 1 \uc774\uc0c1\uc758 \uac12\uc744 \uc785\ub825\ud574\uc57c \ud569\ub2c8\ub2e4.
errors.byte={0}\uc740(\ub294) byte\ud0c0\uc785\uc774\uc5b4\uc57c \ud569\ub2c8\ub2e4.
errors.short={0}\uc740(\ub294) short\ud0c0\uc785\uc774\uc5b4\uc57c \ud569\ub2c8\ub2e4.
errors.integer={0}\uc740(\ub294) integer \ud0c0\uc785\uc774\uc5b4\uc57c \ud569\ub2c8\ub2e4.
errors.long={0}\uc740(\ub294) long \ud0c0\uc785\uc774\uc5b4\uc57c \ud569\ub2c8\ub2e4.
errors.float={0}\uc740(\ub294) float \ud0c0\uc785\uc774\uc5b4\uc57c \ud569\ub2c8\ub2e4.
errors.double={0}\uc740(\ub294) double \ud0c0\uc785\uc774\uc5b4\uc57c \ud569\ub2c8\ub2e4.
errors.date={0}\uc740(\ub294) \ub0a0\uc9dc \uc720\ud615\uc774 \uc544\ub2d9\ub2c8\ub2e4.
errors.range={0}\uc740(\ub294) {1}\uacfc {2} \uc0ac\uc774\uc758 \uac12\uc774\uc5b4\uc57c \ud569\ub2c8\ub2e4.
errors.creditcard={0}\uc740(\ub294) \uc720\ud6a8\ud558\uc9c0 \uc54a\uc740 \uc2e0\uc6a9\uce74\ub4dc \ubc88\ud638\uc785\ub2c8\ub2e4.
errors.email={0}\uc740(\ub294) \uc720\ud6a8\ud558\uc9c0 \uc54a\uc740 \uc774\uba54\uc77c \uc8fc\uc18c\uc785\ub2c8\ub2e4.
errors.ihidnum=\uc720\ud6a8\ud558\uc9c0 \uc54a\uc740 \uc8fc\ubbfc\ub4f1\ub85d\ubc88\ud638\uc785\ub2c8\ub2e4.
errors.korean={0}\uc740(\ub294) \ud55c\uae00\uc744 \uc785\ub825\ud558\uc154\uc57c \ud569\ub2c8\ub2e4.
errors.ip=\uc720\ud6a8\ud558\uc9c0 \uc54a\uc740 IP\uc8fc\uc18c\uc785\ub2c8\ub2e4.
errors.english={0}\uc740(\ub294) \uc601\ubb38\ub9cc \uc0ac\uc6a9\ud558\uc2e4\uc218 \uc788\uc2b5\ub2c8\ub2e4.
errors.notKorean={0}\uc740(\ub294) \ud55c\uae00\uc744 \uc0ac\uc6a9\ud558\uc2e4\uc218 \uc5c6\uc2b5\ub2c8\ub2e4.
errors.password1={0}\uc740(\ub294) 8~20\uc790 \ub0b4\uc5d0\uc11c \uc785\ub825\ud574\uc57c \ud569\ub2c8\ub2e4.
errors.password2={0}\uc740(\ub294) \ud55c\uae00,\ud2b9\uc218\ubb38\uc790,\ub744\uc5b4\uc4f0\uae30\ub294 \ud5c8\uc6a9\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.
errors.password3={0}\uc740(\ub294) \uc21c\ucc28\uc801\uc778 \uc22b\uc790\ub97c 4\uac1c\uc774\uc0c1 \uc5f0\uc18d\ud574\uc11c \uc0ac\uc6a9\ud560\uc218 \uc5c6\uc2b5\ub2c8\ub2e4.
errors.password4={0}\uc740(\ub294) \ubc18\ubcf5\ub418\ub294 \ubb38\uc790\ub098 \uc22b\uc790\ub97c 4\uac1c\uc774\uc0c1 \uc5f0\uc18d\ud574\uc11c \uc0ac\uc6a9\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.
error.security.runtime.error = error
#Vlidator Errors- wordDicaryVO#
wordDicaryVO.wordNm=\uc6a9\uc5b4\uba85
wordDicaryVO.engNm=\uc601\ubb38\uba85
wordDicaryVO.wordDc=\uc6a9\uc5b4\uc124\uba85
wordDicaryVO.synonm=\ub3d9\uc758\uc5b4
#Vlidator Errors- cnsltManageVO#
cnsltManageVO.cnsltSj=\uc0c1\ub2f4\uc81c\ubaa9
cnsltManageVO.cnsltCn=\uc0c1\ub2f4\ub0b4\uc6a9
cnsltManageVO.writngPassword=\uc791\uc131\ube44\ubc00\ubc88\ud638
cnsltManageVO.areaNo=\uc9c0\uc5ed\ubc88\ud638
cnsltManageVO.middleTelno=\uc911\uac04\uc804\ud654\ubc88\ud638
cnsltManageVO.endTelno=\ub05d\uc804\ud654\ubc88\ud638
cnsltManageVO.wrterNm=\uc791\uc131\uc790\uba85
cnsltManageVO.managtCn=\ub2f5\ubcc0\ub0b4\uc6a9
cnsltManageVO.firstMoblphonNo=\ud734\ub300\ud3f0\uc804\ud654\ubc88\ud638(\uc55e\ubc88)
cnsltManageVO.middleMbtlnum=\ud734\ub300\ud3f0\uc804\ud654\ubc88\ud638(\uad6d\ubc88)
cnsltManageVO.endMbtlnum=\ud734\ub300\ud3f0\uc804\ud654\ubc88\ud638(\uc9c0\ubc88)
#Vlidator Errors- siteManageVO#
siteManageVO.siteNm=\uc0ac\uc774\ud2b8\uba85
siteManageVO.siteUrl=\uc0ac\uc774\ud2b8 URL
siteManageVO.siteDc=\uc0ac\uc774\ud2b8\uc124\uba85
siteManageVO.siteThemaClCode=\uc0ac\uc774\ud2b8\uc8fc\uc81c\ubd84\ub958
siteManageVO.actvtyAt=\ud65c\uc131\uc5ec\ubd80
siteManageVO.useAt=\uc0ac\uc6a9\uc5ec\ubd80
#Vlidator Errors- recomendSiteManageVO#
recomendSiteManageVO.recomendSiteNm=\ucd94\ucc9c\uc0ac\uc774\ud2b8\uba85
recomendSiteManageVO.recomendSiteUrl=\ucd94\ucc9c\uc0ac\uc774\ud2b8 URL
recomendSiteManageVO.recomendSiteDc=\ucd94\ucc9c\uc0ac\uc774\ud2b8\uc124\uba85
recomendSiteManageVO.recomendResnCn=\ucd94\ucc9c\uc0ac\uc774\ud2b8\uc2b9\uc778\uc0ac\uc720
recomendSiteManageVO.confmDe=\uc2b9\uc778\uc77c\uc790
#Vlidator Errors- hpcmManageVO#
hpcmManageVO.hpcmSeCode=\ub3c4\uc6c0\ub9d0\uad6c\ubd84
hpcmManageVO.hpcmDf=\ub3c4\uc6c0\ub9d0\uc815\uc758
hpcmManageVO.hpcmDc=\ub3c4\uc6c0\ub9d0\uc124\uba85
#Vlidator Errors- newsManageVO#
newsManageVO.newsSj=\ub274\uc2a4\uc81c\ubaa9
newsManageVO.newsCn=\ub274\uc2a4\ub0b4\uc6a9
newsManageVO.ntceDe=\uac8c\uc2dc\uc77c\uc790
#Vlidator Errors- faqManageVO#
faqManageVO.qestnSj=\uc9c8\ubb38\uc81c\ubaa9
faqManageVO.qestnCn=\uc9c8\ubb38\ub0b4\uc6a9
faqManageVO.answerCn=\ub2f5\ubcc0\ub0b4\uc6a9
#Vlidator Errors- roughMapVO#
roughMapVO.roughMapSj=\uc57d\ub3c4\uc81c\ubaa9
roughMapVO.infoWindow=\uc57d\ub3c4\ud45c\uc2dc
#Vlidator Errors- stplatManageVO#
stplatManageVO.useStplatNm=\uc774\uc6a9\uc57d\uad00\uba85
stplatManageVO.useStplatCn=\uc774\uc6a9\uc57d\uad00\ub0b4\uc6a9
stplatManageVO.infoProvdAgreCn=\uc815\ubcf4\uc81c\uacf5\ub3d9\uc758\ub0b4\uc6a9
#Vlidator Errors- cpyrhtPrtcPolicyVO#
cpyrhtPrtcPolicyVO.cpyrhtPrtcPolicyCn=\uc800\uc791\uad8c\ubcf4\ud638\uc815\ucc45\ub0b4\uc6a9
#Vlidator Errors- qnaManageVO#
qnaManageVO.qestnSj=\uc9c8\ubb38\uc81c\ubaa9
qnaManageVO.qestnCn=\uc9c8\ubb38\ub0b4\uc6a9
qnaManageVO.writngPassword=\uc791\uc131\ube44\ubc00\ubc88\ud638
qnaManageVO.areaNo=\uc9c0\uc5ed\ubc88\ud638
qnaManageVO.middleTelno=\uc911\uac04\uc804\ud654\ubc88\ud638
qnaManageVO.endTelno=\ub05d\uc804\ud654\ubc88\ud638
qnaManageVO.wrterNm=\uc791\uc131\uc790\uba85
qnaManageVO.answerCn=\ub2f5\ubcc0\ub0b4\uc6a9
#Vlidator Errors- ReprtStatsVO#
sts.reprtId = \ubcf4\uace0\uc11cID
sts.title = \ubcf4\uace0\uc11c\uba85
sts.category = \ubcf4\uace0\uc11c\uc720\ud615
sts.status = \uc9c4\ud589\uc0c1\ud0dc
sts.regDate = \ub4f1\ub85d\uc77c\uc2dc
#Rest day messages#
sym.cal.restDay = \ud734\uc77c\uc77c\uc790
sym.cal.restName = \ud734\uc77c\uba85
sym.cal.restDetail = \ud734\uc77c\uc124\uba85
sym.cal.restCategory = \ud734\uc77c\uad6c\ubd84
#Vlidator Errors- cnsltManageVO#
cnsltManageVO.firstMoblphonNo=\uc9c0\uc5ed\ubc88\ud638
cnsltManageVO.middleMbtlnum=\uc911\uac04\uc804\ud654\ubc88\ud638
cnsltManageVO.endMbtlnum=\ub05d\uc804\ud654\ubc88\ud638
#mobile \uba54\ub274\uad00\ub9ac#
mgr.menuMngt = \uba54\ub274\uad00\ub9ac
mgr.menuList = \uba54\ub274\ubaa9\ub85d\uc870\ud68c
mgr.menuNm = \uba54\ub274\uba85
mgr.menuDetail = \uba54\ub274\uc0c1\uc138\uc870\ud68c
mgr.menuRegist = \uba54\ub274\ub4f1\ub85d
mgr.menuUpdt = \uba54\ub274\uc218\uc815
mgr.code = \ucf54\ub4dc
mgr.menuCode = \uba54\ub274\ucf54\ub4dc
mgr.UpperMenu = \uc0c1\uc704\uba54\ub274
mgr.cnncUrl = \uc5f0\uacb0URL
mgr.actvtyAt = \uc0ac\uc6a9\uc5ec\ubd80
mgr.menuDc = \uc124\uba85
mgr.mobileEgov = \ubaa8\ubc14\uc77c \uc804\uc790\uc815\ubd80

View File

@@ -0,0 +1,328 @@
fail.common.msg=error ocurred!
fail.common.sql=sql error ocurred! error code: {0}, error msg: {1}
info.nodata.msg=no data found.
#UI Common resource#
button.search=Search
button.use=use
button.notUsed=Not used
button.inquire=inquire
button.update=updateCounsel
button.create=create
button.delete=delete
button.deleteDatabase=Wiping
button.close=close
button.save=save
button.list=list
button.reset=reset
button.passwordUpdate=password update
button.subscribe=subscribe
button.realname=realname confirm
button.moveToGpin=move to gpin confirm
button.moveToIhidnum=move to ihidnum confirm
button.agree=agree
button.disagree=disagree
button.possible=possible
button.impossible=impossible
button.qnaregist=Q&A create
button.cnsltregist=Counsel create
button.preview=preview
button.next=nexut
button.add=add it now
button.confirm=confirm
button.back =back
button.yes =yes
button.no =no
button.home =home
button.user =user support
button.cop =cooperation
button.wrkstart = work start
button.wrkend = work end
#UI Common Message#
common.save.msg=confirm save?
common.regist.msg=confirm regist?
common.delete.msg=confirm delete?
common.update.msg=confirm update?
common.nodata.msg=There is no data. please choose another seach keyword
common.required.msg=is required field
common.acknowledgement.msg=confirm acknowledgement?
common.acknowledgementcancel.msg=confirm acknowledgement cancel?
success.request.msg=you're request successfully done
success.common.select=successfully selected
success.common.insert=successfully inserted
success.common.update=successfully updated
success.common.delete=successfully deleted
common.imposbl.fileupload = cannot upload files
common.isConfmDe.msg=Please check the approval date box
common.isExist.msg = already exist
fail.common.insert = fail to insert.
fail.common.update = fail to update
fail.common.delete = fail to delete
fail.common.delete.upperMenuExist = fail to delete[upperMenuId foreign key error]
fail.common.select = fail to select
fail.common.login = login information is not correct
fail.common.login.password = password information is not correct(password digit should be 8 to 20)
fail.common.idsearch = can not find id
fail.common.pwsearch = can not find password
fail.request.msg = Failed to handle the request
#UI User Message#
fail.user.passwordUpdate1=current password is not correct
fail.user.passwordUpdate2=password confirm is not correct
info.user.rlnmCnfirm=realname confirm ready
success.user.rlnmCnfirm=it is realname
fail.user.rlnmCnfirm=it is not realname
fail.user.connectFail=connection fail
info.user.rlnmPinCnfirm=Using the i-PIN ID, please check your real name
success.user.rlnmPinCnfirm=Consistent with the registration data of the i-PIN
fail.user.rlnmPinCnfirm=i-PIN does not match the registered data
#UI Cop Message#
cop.extrlUser = External User
cop.intrlUser = Internal User
cop.private = private
cop.public = public
cop.adbkNm = Address Name
cop.othbcScope = Disclose Range
cop.company = compnay
cop.part = part
cop.man = man
cop.adbkUser = member
cop.bbsNm = BBS Name
cop.bbsIntrcn = BBS Introduction
cop.bbsTyCode = BBS Type
cop.bbsAttrbCode = BBS Attribute
cop.replyPosblAt = Reply Possible Alternative
cop.fileAtchPosblAt = File Attach Possible Alternative
cop.posblAtchFileNumber = Possible Attach File Number
cop.tmplatId = Template Information
cop.guestList.subject = This article registered by Guest List
cop.nttSj = Notice Subject
cop.nttCn = Notice Contents
cop.ntceBgnde = Notice Start Date
cop.ntceEndde = Notice End Date
cop.ntcrNm = Noticer Name
cop.password = PassWord
cop.atchFile = Attach Files
cop.guestList = Guest List
cop.guestListCn = Guest List Contents
cop.noticeTerm = Notice term
cop.atchFileList = Attached File List
cop.cmmntyNm = Community Name
cop.cmmntyIntrcn = Community Introduction
cop.cmmntyMngr = Community Manager
cop.clbOprtr = Club Operator
cop.clbIntrcn = Club Introduction
cop.clbNm = Club Name
cop.tmplatNm = Template Name
cop.tmplatSeCode = Template Se Code
cop.tmplatCours = Template Cours
cop.useAt = Use Alternative
cop.ncrdNm = NameCard user name
cop.cmpnyNm = Company name
cop.deptNm = Department name
cop.ofcpsNm = OFCPS name
cop.clsfNm = Class Name
cop.emailAdres = E-mail
cop.telNo = Tel No.
cop.mbtlNum = Mobile
cop.adres = Address
cop.extrlUserAt = External User alternative
cop.publicAt = Public open alternative
cop.remark = Remark
cop.trgetNm = Company/Club Information
cop.preview = preview
cop.withdraw.msg=confirm withdrawal memebership?
cop.reregist.msg=confirm re-registration?
cop.registmanager.msg=confirm registration of manager?
cop.use.msg=confirm use?
cop.unuse.msg=confirm stop using?
cop.delete.confirm.msg=If you choose to disable the re-use change is impossible.
cop.ing.msg=Approval is being requested.
cop.request.msg=Signup is normally requested.
cop.password.msg=Please enter your password.
cop.password.not.same.msg=Password do not match.
cop.comment.wrterNm = Writer Name
cop.comment.commentCn = Comment
cop.comment.commentPassword = Password
cop.satisfaction.wrterNm = Writer Name
cop.satisfaction.stsfdgCn = Satisfaction
cop.satisfaction.stsfdg = Satisfaction Degree
cop.satisfaction.stsfdgPassword = Password
cop.scrap.scrapNm = Scrap Name
#UI USS Message#
uss.ion.noi.ntfcSj=Subject
uss.ion.noi.ntfcCn=Contents
uss.ion.noi.ntfcDate=Notification Date
uss.ion.noi.ntfcTime=Notification Time
uss.ion.noi.ntfcHH=Notification Hour
uss.ion.noi.ntfcMM=Notification Minute
uss.ion.noi.bhNtfcIntrvl=Beforehand Interval
uss.ion.noi.bhNtfcIntrvl.msg=Beforehand Interval is required.
uss.ion.noi.alertNtfcTime=Date and time of notification is not valid.
#UI COP Message#
cop.sms.trnsmitTelno=Sender
cop.sms.trnsmitCn=Contents
cop.sms.recptnTelno=Receiver(s)
cop.sms.send=Send
cop.sms.addRecptn=Add
cop.sms.recptnTelno.msg=The phone number of receiver is required.
#UI sym.log Message#
sym.log.histSeCode = History Code
sym.log.sysNm = System Name
sym.log.histCn = History Contents
sym.log.atchFile = Attached File
sym.log.atchFileList = Attached File List
sym.ems.receiver = Receiver
sym.ems.title = Title
sym.ems.content = Content
#Vlidator Errors#
errors.prefix=<div class="error">
errors.suffix=</div><br/>
errors.required={0} is required.
errors.minlength={0} can not be less than {1} characters.
errors.maxlength={0} can not be greater than {1} characters.
errors.invalid={0} is invalid.
errors.byte={0} must be a byte.
errors.short={0} must be a short.
errors.integer={0} must be an integer.
errors.long={0} must be a long.
errors.float={0} must be a float.
errors.double={0} must be a double.
errors.date={0} is not a date.
errors.range={0} is not in the range {1} through {2}.
errors.creditcard={0} is an invalid credit card number.
errors.email={0} is an invalid e-mail address.
errors.ihidnum=Is not a valid Social Security number
errors.korean={0} should be entered with their Korean
errors.ip=Invalid IP address.
errors.english={0}is an invalid English character.
errors.notKorean={0} should not be entered with their Korean
errors.password1={0} must be entered within 8 to 20 characters.
errors.password2={0} is Korean, special characters, spaces are not allowed.
errors.password3={0} can not be used continuously for more than four sequential digits.
errors.password4={0} can not be used continuously for more than 4 letters or numbers that are repeated.
error.security.runtime.error = error
#Vlidator Errors- wordDicaryVO#
wordDicaryVO.wordNm=word name
wordDicaryVO.engNm=english name
wordDicaryVO.wordDc=word Described
wordDicaryVO.synonm=Synonym
#Vlidator Errors- cnsltManageVO#
cnsltManageVO.cnsltSj=Counseling subject
cnsltManageVO.cnsltCn=Counseling contents
cnsltManageVO.writngPassword=writngPassword
cnsltManageVO.areaNo=cell phone number(first)
cnsltManageVO.middleTelno=cell phone number(second)
cnsltManageVO.endTelno=cell phone number(last)
cnsltManageVO.wrterNm=Writer name
cnsltManageVO.managtCn=Answers contents
cnsltManageVO.firstMoblphonNo=cell phone number(first)
cnsltManageVO.middleMbtlnum=cell phone number(second)
cnsltManageVO.endMbtlnum=cell phone number(last)
#Vlidator Errors- siteManageVO#
siteManageVO.siteNm=site name
siteManageVO.siteUrl=site URL
siteManageVO.siteDc=site described
siteManageVO.siteThemaClCode=Site Subject Classification
siteManageVO.actvtyAt=Activity Status
siteManageVO.useAt=Whether or not to use
#Vlidator Errors- recomendSiteManageVO#
recomendSiteManageVO.recomendSiteNm=Recommendation site Name
recomendSiteManageVO.recomendSiteUrl=Recommendation site URL
recomendSiteManageVO.recomendSiteDc=Recommendation site description
recomendSiteManageVO.recomendResnCn=Recommendation site Reason
recomendSiteManageVO.confmDe=confirm date
#Vlidator Errors- hpcmManageVO#
hpcmManageVO.hpcmSeCode=help division
hpcmManageVO.hpcmDf=help definition
hpcmManageVO.hpcmDc=help description
#Vlidator Errors- newsManageVO#
newsManageVO.newsSj=news subject
newsManageVO.newsCn=news contents
newsManageVO.ntceDe=Post date
#Vlidator Errors- faqManageVO#
faqManageVO.qestnSj=question subject
faqManageVO.qestnCn=question contents
faqManageVO.answerCn=answer contents
#Vlidator Errors- roughMapVO#
roughMapVO.roughMapSj=rougmap subject
roughMapVO.infoWindow=infowindow
#Vlidator Errors- stplatManageVO#
stplatManageVO.useStplatNm=Terms of name
stplatManageVO.useStplatCn=Terms of contents
stplatManageVO.infoProvdAgreCn=Informational contents agreement
#Vlidator Errors- cpyrhtPrtcPolicyVO#
cpyrhtPrtcPolicyVO.cpyrhtPrtcPolicyCn=contents Copyright Policy
#Vlidator Errors- qnaManageVO#
qnaManageVO.qestnSj=question subject
qnaManageVO.qestnCn=question contents
qnaManageVO.writngPassword=writing pasword
qnaManageVO.areaNo=cell phone number(first)
qnaManageVO.middleTelno=cell phone number(second)
qnaManageVO.endTelno=cell phone number(last)
qnaManageVO.wrterNm=writing name
qnaManageVO.answerCn=answer content
#Vlidator Errors- ReprtStatsVO#
sts.reprtId = Report ID
sts.title = Report Title
sts.category = Report Category
sts.status = Report Status
sts.regDate = Registration Date
#Rest day messages#
sym.cal.restDay = Holiday Date
sym.cal.restName = Holiday Name
sym.cal.restDetail = Holiday Detail
sym.cal.restCategory = Holiday Category
#Vlidator Errors- cnsltManageVO#
cnsltManageVO.firstMoblphonNo=cell phone number(first)
cnsltManageVO.middleMbtlnum=cell phone number(second)
cnsltManageVO.endMbtlnum=cell phone number(last)
#mobile menu management#
mgr.menuMngt =menu management
mgr.menuList =menu list
mgr.menuNm =menu name
mgr.menuDetail =menu detail
mgr.menuRegist =menu registration
mgr.menuUpdt =menu update
mgr.code =code
mgr.menuCode =menu code
mgr.UpperMenu =upper menu
mgr.cnncUrl =connection URL
mgr.actvtyAt =use alternative
mgr.menuDc =description
mgr.mobileEgov = mobile eGovFrame

View File

@@ -0,0 +1,328 @@
fail.common.msg=\uc5d0\ub7ec\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4!
fail.common.sql=sql \uc5d0\ub7ec\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4! error code: {0}, error msg: {1}
info.nodata.msg=\ud574\ub2f9 \ub370\uc774\ud130\uac00 \uc5c6\uc2b5\ub2c8\ub2e4.
#UI Common resource#
button.search=\uac80\uc0c9
button.use=\uc0ac\uc6a9
button.notUsed=\uc0ac\uc6a9\uc911\uc9c0
button.inquire=\uc870\ud68c
button.update=\uc218\uc815
button.create=\ub4f1\ub85d
button.delete=\uc0ad\uc81c
button.deleteDatabase=\uc644\uc804\uc0ad\uc81c
button.close=\ub2eb\uae30
button.save=\uc800\uc7a5
button.list=\ubaa9\ub85d
button.reset=\ucde8\uc18c
button.passwordUpdate=\uc554\ud638\ubcc0\uacbd
button.subscribe=\uac00\uc785\uc2e0\uccad
button.realname=\uc2e4\uba85\ud655\uc778
button.moveToGpin=GPIN\uc2e4\uba85\ud655\uc778\uc73c\ub85c \uc774\ub3d9
button.moveToIhidnum=\uc8fc\ubbfc\ub4f1\ub85d\ubc88\ud638 \uc2e4\uba85\ud655\uc778\uc73c\ub85c \uc774\ub3d9
button.agree=\ub3d9\uc758
button.disagree=\ube44\ub3d9\uc758
button.possible=\uac00\ub2a5
button.impossible=\ubd88\uac00\ub2a5
button.qnaregist=Q&A\ub4f1\ub85d
button.cnsltregist=\uc0c1\ub2f4\ub4f1\ub85d
button.preview=\ubbf8\ub9ac\ubcf4\uae30
button.next=\ub2e4\uc74c
button.add=\ubc14\ub85c\ucd94\uac00
button.confirm=\ud655\uc778
button.back = \ub4a4\ub85c
button.yes = \uc608
button.no = \uc544\ub2c8\uc624
button.home = \ud648
button.user = \uc0ac\uc6a9\uc790\uc9c0\uc6d0
button.cop = \ud611\uc5c5
button.wrkstart = \ucd9c\uadfc
button.wrkend = \ud1f4\uadfc
#UI Common Message#
common.save.msg=\uc800\uc7a5\ud558\uc2dc\uaca0\uc2b5\ub2c8\uae4c?
common.regist.msg=\ub4f1\ub85d\ud558\uc2dc\uaca0\uc2b5\ub2c8\uae4c?
common.delete.msg=\uc0ad\uc81c\ud558\uc2dc\uaca0\uc2b5\ub2c8\uae4c?
common.update.msg=\uc218\uc815\ud558\uc2dc\uaca0\uc2b5\ub2c8\uae4c?
common.nodata.msg=\uc790\ub8cc\uac00 \uc5c6\uc2b5\ub2c8\ub2e4. \ub2e4\ub978 \uac80\uc0c9\uc870\uac74\uc744 \uc120\ud0dd\ud574\uc8fc\uc138\uc694
common.required.msg=(\uc740)\ub294 \ud544\uc218\uc785\ub825\ud56d\ubaa9\uc785\ub2c8\ub2e4.
common.acknowledgement.msg=\uc2b9\uc778\ud558\uc2dc\uaca0\uc2b5\ub2c8\uae4c?
common.acknowledgementcancel.msg=\uc2b9\uc778\ucde8\uc18c\ud558\uc2dc\uaca0\uc2b5\ub2c8\uae4c?
success.request.msg = \uc694\uccad\ucc98\ub9ac\uac00 \uc131\uacf5\uc801\uc73c\ub85c \uc218\ud589\ub418\uc5c8\uc2b5\ub2c8\ub2e4.
success.common.select=\uc815\uc0c1\uc801\uc73c\ub85c \uc870\ud68c\ub418\uc5c8\uc2b5\ub2c8\ub2e4.
success.common.insert=\uc815\uc0c1\uc801\uc73c\ub85c \ub4f1\ub85d\ub418\uc5c8\uc2b5\ub2c8\ub2e4.
success.common.update=\uc815\uc0c1\uc801\uc73c\ub85c \uc218\uc815\ub418\uc5c8\uc2b5\ub2c8\ub2e4.
success.common.delete=\uc815\uc0c1\uc801\uc73c\ub85c \uc0ad\uc81c\ub418\uc5c8\uc2b5\ub2c8\ub2e4.
common.imposbl.fileupload = \ub354 \uc774\uc0c1 \ud30c\uc77c\uc744 \ucca8\ubd80\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.
common.isConfmDe.msg=\uc2b9\uc778\uc77c\uc790\ub97c \ud655\uc778 \ubc14\ub78d\ub2c8\ub2e4.
common.isExist.msg = \uc774\ubbf8 \uc874\uc7ac\ud558\uac70\ub098 \uacfc\uac70\uc5d0 \ub4f1\ub85d\uc774 \ub418\uc5c8\ub358 \uc0c1\ud0dc\uc785\ub2c8\ub2e4.
fail.common.insert = \uc0dd\uc131\uc774 \uc2e4\ud328\ud558\uc600\uc2b5\ub2c8\ub2e4.
fail.common.update = \uc218\uc815\uc774 \uc2e4\ud328\ud558\uc600\uc2b5\ub2c8\ub2e4.
fail.common.delete = \uc0ad\uc81c\uac00 \uc2e4\ud328\ud558\uc600\uc2b5\ub2c8\ub2e4.
fail.common.delete.upperMenuExist = \ucc38\uc870\ub418\ub294 \uba54\ub274\uac00 \uc788\uc5b4 \uc0ad\uc81c\uac00 \uc2e4\ud328\ud558\uc600\uc2b5\ub2c8\ub2e4.
fail.common.select = \uc870\ud68c\uc5d0 \uc2e4\ud328\ud558\uc600\uc2b5\ub2c8\ub2e4.
fail.common.login = \ub85c\uadf8\uc778 \uc815\ubcf4\uac00 \uc62c\ubc14\ub974\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.
fail.common.login.password = \ud328\uc2a4\uc6cc\ub4dc \uc790\ub9ac \uc218\uac00 \uc77c\uce58 \ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.(8\uc790\ub9ac \uc774\uc0c1 20\uc790\ub9ac \uc774\ud558)
fail.common.idsearch = \uc544\uc774\ub514\ub97c \ucc3e\uc744\uc218 \uc5c6\uc2b5\ub2c8\ub2e4.
fail.common.pwsearch = \ube44\ubc00\ubc88\ud638\ub97c \ucc3e\uc744\uc218 \uc5c6\uc2b5\ub2c8\ub2e4.
fail.request.msg = \uc694\uccad\ucc98\ub9ac\ub97c \uc2e4\ud328\ud558\uc600\uc2b5\ub2c8\ub2e4.
#UI User Message#
fail.user.passwordUpdate1=\ud604\uc7ac \ube44\ubc00\ubc88\ud638\uac00 \ub9de\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.
fail.user.passwordUpdate2=\ube44\ubc00\ubc88\ud638\uc640 \ube44\ubc00\ubc88\ud638 \ud655\uc778\uc774 \uc77c\uce58\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.
info.user.rlnmCnfirm=\uc8fc\ubbfc\ub4f1\ub85d\ubc88\ud638\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc2e4\uba85\ud655\uc778\uc744 \ud558\uc2ed\uc2dc\uc624.
success.user.rlnmCnfirm=\ud589\uc815\uc548\uc804\ubd80\uc758 \uc8fc\ubbfc\ub4f1\ub85d\uc790\ub8cc\uc640 \uc77c\uce58\ud569\ub2c8\ub2e4.
fail.user.rlnmCnfirm=\ud589\uc815\uc548\uc804\ubd80\uc758 \uc8fc\ubbfc\ub4f1\ub85d\uc790\ub8cc\uc640 \uc77c\uce58\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.
fail.user.connectFail=\uc2dc\uc2a4\ud15c \uc7a5\uc560\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4.(\uc778\uc99d\uc11c\ubc84 \uc5f0\uacb0 \uc2e4\ud328)
info.user.rlnmPinCnfirm=\uacf5\uacf5 \uc544\uc774\ud540 \uc544\uc774\ub514\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc2e4\uba85\ud655\uc778\uc744 \ud558\uc2ed\uc2dc\uc624.
success.user.rlnmPinCnfirm=\uacf5\uacf5\uc544\uc774\ud540\uc758 \ub4f1\ub85d\uc790\ub8cc\uc640 \uc77c\uce58\ud569\ub2c8\ub2e4.
fail.user.rlnmPinCnfirm=\uacf5\uacf5\uc544\uc774\ud540\uc758 \ub4f1\ub85d\uc790\ub8cc\uc640 \uc77c\uce58\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.
#UI Cop Message#
cop.extrlUser = \uc678\ubd80\uc0ac\uc6a9\uc790
cop.intrlUser = \ub0b4\ubd80\uc0ac\uc6a9\uc790
cop.private = \ube44\uacf5\uac1c
cop.public = \uacf5\uac1c
cop.adbkNm = \uc8fc\uc18c\ub85d\uba85
cop.othbcScope = \uacf5\uac1c\ubc94\uc704
cop.company = \ud68c\uc0ac
cop.part = \ubd80\uc11c
cop.man = \uac1c\uc778
cop.adbkUser = \uad6c\uc131\uc6d0
cop.bbsNm = \uac8c\uc2dc\ud310\uba85
cop.bbsIntrcn = \uac8c\uc2dc\ud310\uc18c\uac1c
cop.bbsTyCode = \uac8c\uc2dc\ud310 \uc720\ud615
cop.bbsAttrbCode = \uac8c\uc2dc\ud310 \uc18d\uc131
cop.replyPosblAt = \ub2f5\uc7a5\uac00\ub2a5\uc5ec\ubd80
cop.fileAtchPosblAt = \ud30c\uc77c\ucca8\ubd80\uac00\ub2a5\uc5ec\ubd80
cop.posblAtchFileNumber = \ucca8\ubd80\uac00\ub2a5\ud30c\uc77c \uc22b\uc790
cop.tmplatId = \ud15c\ud50c\ub9bf \uc815\ubcf4
cop.guestList.subject = \ubc29\uba85\ub85d \uac8c\uc2dc\uae00\uc785\ub2c8\ub2e4.
cop.nttSj = \uc81c\ubaa9
cop.nttCn = \uae00\ub0b4\uc6a9
cop.ntceBgnde = \uac8c\uc2dc\uc2dc\uc791\uc77c
cop.ntceEndde = \uac8c\uc2dc\uc885\ub8cc\uc77c
cop.ntcrNm = \uc791\uc131\uc790
cop.password = \ud328\uc2a4\uc6cc\ub4dc
cop.atchFile = \ud30c\uc77c\ucca8\ubd80
cop.guestList = \ubc29\uba85\ub85d
cop.guestListCn = \ubc29\uba85\ub85d \ub0b4\uc6a9
cop.noticeTerm = \uac8c\uc2dc\uae30\uac04
cop.atchFileList = \ucca8\ubd80\ud30c\uc77c\ubaa9\ub85d
cop.cmmntyNm = \ucee4\ubba4\ub2c8\ud2f0\uba85
cop.cmmntyIntrcn = \ucee4\ubba4\ub2c8\ud2f0 \uc18c\uac1c
cop.cmmntyMngr = \ucee4\ubba4\ub2c8\ud2f0 \uad00\ub9ac\uc790
cop.clbOprtr = \ub3d9\ud638\ud68c \uc6b4\uc601\uc790
cop.clbIntrcn = \ub3d9\ud638\ud68c \uc18c\uac1c
cop.clbNm = \ub3d9\ud638\ud68c \uba85
cop.tmplatNm = \ud15c\ud50c\ub9bf\uba85
cop.tmplatSeCode = \ud15c\ud50c\ub9bf \uad6c\ubd84
cop.tmplatCours = \ud15c\ud50c\ub9bf\uacbd\ub85c
cop.useAt = \uc0ac\uc6a9\uc5ec\ubd80
cop.ncrdNm = \uc774\ub984
cop.cmpnyNm = \ud68c\uc0ac\uba85
cop.deptNm = \ubd80\uc11c\uba85
cop.ofcpsNm = \uc9c1\uc704
cop.clsfNm = \uc9c1\uae09
cop.emailAdres = \uc774\uba54\uc77c\uc8fc\uc18c
cop.telNo = \uc804\ud654\ubc88\ud638
cop.mbtlNum = \ud734\ub300\ud3f0\ubc88\ud638
cop.adres = \uc8fc\uc18c
cop.extrlUserAt = \uc678\ubd80\uc0ac\uc6a9\uc790\uc5ec\ubd80
cop.publicAt = \uacf5\uac1c\uc5ec\ubd80
cop.remark = \ube44\uace0
cop.trgetNm = \ucee4\ubba4\ub2c8\ud2f0/\ub3d9\ud638\ud68c \uc815\ubcf4
cop.preview = \ubbf8\ub9ac\ubcf4\uae30
cop.withdraw.msg=\ud0c8\ud1f4\ucc98\ub9ac \ud558\uc2dc\uaca0\uc2b5\ub2c8\uae4c?
cop.reregist.msg=\uc7ac\uac00\uc785 \ucc98\ub9ac\ud558\uc2dc\uaca0\uc2b5\ub2c8\uae4c?
cop.registmanager.msg=\uc6b4\uc601\uc9c4\uc73c\ub85c \ub4f1\ub85d\ud558\uc2dc\uaca0\uc2b5\ub2c8\uae4c?
cop.use.msg=\uc0ac\uc6a9 \ucc98\ub9ac\ud558\uc2dc\uaca0\uc2b5\ub2c8\uae4c?
cop.unuse.msg=\uc0ac\uc6a9\uc911\uc9c0 \ucc98\ub9ac\ud558\uc2dc\uaca0\uc2b5\ub2c8\uae4c?
cop.delete.confirm.msg=\uc0ac\uc6a9\uc911\uc9c0\ub97c \uc120\ud0dd\ud558\uc2e4 \uacbd\uc6b0 \ub2e4\uc2dc \uc0ac\uc6a9\uc73c\ub85c \ubcc0\uacbd\uc774 \ubd88\uac00\ub2a5\ud569\ub2c8\ub2e4.
cop.ing.msg=\uc2b9\uc778\uc694\uccad \uc911\uc785\ub2c8\ub2e4.
cop.request.msg=\uac00\uc785\uc2e0\uccad\uc774 \uc815\uc0c1\uc801\uc73c\ub85c \uc694\uccad\ub418\uc5c8\uc2b5\ub2c8\ub2e4
cop.password.msg=\ud328\uc2a4\uc6cc\ub4dc\ub97c \uc785\ub825\ud574 \uc8fc\uc2ed\uc2dc\uc624.
cop.password.not.same.msg=\ud328\uc2a4\uc6cc\ub4dc\uac00 \uc77c\uce58\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.
cop.comment.wrterNm = \uc791\uc131\uc790
cop.comment.commentCn = \ub0b4\uc6a9
cop.comment.commentPassword = \ud328\uc2a4\uc6cc\ub4dc
cop.satisfaction.wrterNm = \uc791\uc131\uc790
cop.satisfaction.stsfdgCn = \ub0b4\uc6a9
cop.satisfaction.stsfdg = \ub9cc\uc871\ub3c4
cop.satisfaction.stsfdgPassword = \ud328\uc2a4\uc6cc\ub4dc
cop.scrap.scrapNm = \uc2a4\ud06c\ub7a9\uba85
#UI USS Message#
uss.ion.noi.ntfcSj=\uc81c\ubaa9
uss.ion.noi.ntfcCn=\ub0b4\uc6a9
uss.ion.noi.ntfcDate=\uc54c\ub9bc\uc77c\uc790
uss.ion.noi.ntfcTime=\uc54c\ub9bc\uc2dc\uac04
uss.ion.noi.ntfcHH=\uc54c\ub9bc\uc2dc\uac04
uss.ion.noi.ntfcMM=\uc54c\ub9bc\ubd84
uss.ion.noi.bhNtfcIntrvl=\uc0ac\uc804\uc54c\ub9bc\uac04\uaca9
uss.ion.noi.bhNtfcIntrvl.msg=\uc0ac\uc804\uc54c\ub9bc\uac04\uaca9 \uc9c0\uc815\uc774 \ud544\uc694\ud569\ub2c8\ub2e4.
uss.ion.noi.alertNtfcTime=\uc54c\ub9bc\uc77c\uc790 \ubc0f \uc2dc\uac04\uc774 \uc720\ud6a8\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.
#UI COP Message#
cop.sms.trnsmitTelno=\ubc1c\uc2e0\uc804\ud654\ubc88\ud638
cop.sms.trnsmitCn=\uc804\uc1a1\ub0b4\uc6a9
cop.sms.recptnTelno=\uc218\uc2e0\uc804\ud654\ubc88\ud638
cop.sms.send=\uc804\uc1a1
cop.sms.addRecptn=\ucd94\uac00
cop.sms.recptnTelno.msg=\uc218\uc2e0\uc804\ud654\ubc88\ud638 \uc9c0\uc815\uc774 \ud544\uc694\ud569\ub2c8\ub2e4.
#UI sym.log Message#
sym.log.histSeCode = \uc774\ub825\uad6c\ubd84
sym.log.sysNm = \uc2dc\uc2a4\ud15c\uba85
sym.log.histCn = \uc774\ub825\ub0b4\uc6a9
sym.log.atchFile = \ucca8\ubd80\ud30c\uc77c
sym.log.atchFileList = \ucca8\ubd80\ud30c\uc77c\ubaa9\ub85d
sym.ems.receiver = \ubc1b\ub294\uc0ac\ub78c
sym.ems.title = \uc81c\ubaa9
sym.ems.content = \ubc1c\uc2e0\ub0b4\uc6a9
#Vlidator Errors#
errors.prefix=<div class="error">
errors.suffix=</div><br/>
errors.required={0}\uc740(\ub294) \ud544\uc218 \uc785\ub825\uac12\uc785\ub2c8\ub2e4.
errors.minlength={0}\uc740(\ub294) {1}\uc790 \uc774\uc0c1 \uc785\ub825\ud574\uc57c \ud569\ub2c8\ub2e4.
errors.maxlength={0}\uc740(\ub294) {1}\uc790 \uc774\uc0c1 \uc785\ub825\ud560\uc218 \uc5c6\uc2b5\ub2c8\ub2e4.
errors.invalid={0}\uc740(\ub294) \uc720\ud6a8\ud558\uc9c0 \uc54a\uc740 \uac12\uc785\ub2c8\ub2e4.
errors.minInteger={0}\uc740(\ub294) \uc720\ud6a8\ud55c \uac12\uc774 \uc544\ub2d9\ub2c8\ub2e4. 1 \uc774\uc0c1\uc758 \uac12\uc744 \uc785\ub825\ud574\uc57c \ud569\ub2c8\ub2e4.
errors.byte={0}\uc740(\ub294) byte\ud0c0\uc785\uc774\uc5b4\uc57c \ud569\ub2c8\ub2e4.
errors.short={0}\uc740(\ub294) short\ud0c0\uc785\uc774\uc5b4\uc57c \ud569\ub2c8\ub2e4.
errors.integer={0}\uc740(\ub294) integer \ud0c0\uc785\uc774\uc5b4\uc57c \ud569\ub2c8\ub2e4.
errors.long={0}\uc740(\ub294) long \ud0c0\uc785\uc774\uc5b4\uc57c \ud569\ub2c8\ub2e4.
errors.float={0}\uc740(\ub294) float \ud0c0\uc785\uc774\uc5b4\uc57c \ud569\ub2c8\ub2e4.
errors.double={0}\uc740(\ub294) double \ud0c0\uc785\uc774\uc5b4\uc57c \ud569\ub2c8\ub2e4.
errors.date={0}\uc740(\ub294) \ub0a0\uc9dc \uc720\ud615\uc774 \uc544\ub2d9\ub2c8\ub2e4.
errors.range={0}\uc740(\ub294) {1}\uacfc {2} \uc0ac\uc774\uc758 \uac12\uc774\uc5b4\uc57c \ud569\ub2c8\ub2e4.
errors.creditcard={0}\uc740(\ub294) \uc720\ud6a8\ud558\uc9c0 \uc54a\uc740 \uc2e0\uc6a9\uce74\ub4dc \ubc88\ud638\uc785\ub2c8\ub2e4.
errors.email={0}\uc740(\ub294) \uc720\ud6a8\ud558\uc9c0 \uc54a\uc740 \uc774\uba54\uc77c \uc8fc\uc18c\uc785\ub2c8\ub2e4.
errors.ihidnum=\uc720\ud6a8\ud558\uc9c0 \uc54a\uc740 \uc8fc\ubbfc\ub4f1\ub85d\ubc88\ud638\uc785\ub2c8\ub2e4.
errors.korean={0}\uc740(\ub294) \ud55c\uae00\uc744 \uc785\ub825\ud558\uc154\uc57c \ud569\ub2c8\ub2e4.
errors.ip=\uc720\ud6a8\ud558\uc9c0 \uc54a\uc740 IP\uc8fc\uc18c\uc785\ub2c8\ub2e4.
errors.english={0}\uc740(\ub294) \uc601\ubb38\ub9cc \uc0ac\uc6a9\ud558\uc2e4\uc218 \uc788\uc2b5\ub2c8\ub2e4.
errors.notKorean={0}\uc740(\ub294) \ud55c\uae00\uc744 \uc0ac\uc6a9\ud558\uc2e4\uc218 \uc5c6\uc2b5\ub2c8\ub2e4.
errors.password1={0}\uc740(\ub294) 8~20\uc790 \ub0b4\uc5d0\uc11c \uc785\ub825\ud574\uc57c \ud569\ub2c8\ub2e4.
errors.password2={0}\uc740(\ub294) \ud55c\uae00,\ud2b9\uc218\ubb38\uc790,\ub744\uc5b4\uc4f0\uae30\ub294 \ud5c8\uc6a9\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.
errors.password3={0}\uc740(\ub294) \uc21c\ucc28\uc801\uc778 \uc22b\uc790\ub97c 4\uac1c\uc774\uc0c1 \uc5f0\uc18d\ud574\uc11c \uc0ac\uc6a9\ud560\uc218 \uc5c6\uc2b5\ub2c8\ub2e4.
errors.password4={0}\uc740(\ub294) \ubc18\ubcf5\ub418\ub294 \ubb38\uc790\ub098 \uc22b\uc790\ub97c 4\uac1c\uc774\uc0c1 \uc5f0\uc18d\ud574\uc11c \uc0ac\uc6a9\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.
error.security.runtime.error = error
#Vlidator Errors- wordDicaryVO#
wordDicaryVO.wordNm=\uc6a9\uc5b4\uba85
wordDicaryVO.engNm=\uc601\ubb38\uba85
wordDicaryVO.wordDc=\uc6a9\uc5b4\uc124\uba85
wordDicaryVO.synonm=\ub3d9\uc758\uc5b4
#Vlidator Errors- cnsltManageVO#
cnsltManageVO.cnsltSj=\uc0c1\ub2f4\uc81c\ubaa9
cnsltManageVO.cnsltCn=\uc0c1\ub2f4\ub0b4\uc6a9
cnsltManageVO.writngPassword=\uc791\uc131\ube44\ubc00\ubc88\ud638
cnsltManageVO.areaNo=\uc9c0\uc5ed\ubc88\ud638
cnsltManageVO.middleTelno=\uc911\uac04\uc804\ud654\ubc88\ud638
cnsltManageVO.endTelno=\ub05d\uc804\ud654\ubc88\ud638
cnsltManageVO.wrterNm=\uc791\uc131\uc790\uba85
cnsltManageVO.managtCn=\ub2f5\ubcc0\ub0b4\uc6a9
cnsltManageVO.firstMoblphonNo=\ud734\ub300\ud3f0\uc804\ud654\ubc88\ud638(\uc55e\ubc88)
cnsltManageVO.middleMbtlnum=\ud734\ub300\ud3f0\uc804\ud654\ubc88\ud638(\uad6d\ubc88)
cnsltManageVO.endMbtlnum=\ud734\ub300\ud3f0\uc804\ud654\ubc88\ud638(\uc9c0\ubc88)
#Vlidator Errors- siteManageVO#
siteManageVO.siteNm=\uc0ac\uc774\ud2b8\uba85
siteManageVO.siteUrl=\uc0ac\uc774\ud2b8 URL
siteManageVO.siteDc=\uc0ac\uc774\ud2b8\uc124\uba85
siteManageVO.siteThemaClCode=\uc0ac\uc774\ud2b8\uc8fc\uc81c\ubd84\ub958
siteManageVO.actvtyAt=\ud65c\uc131\uc5ec\ubd80
siteManageVO.useAt=\uc0ac\uc6a9\uc5ec\ubd80
#Vlidator Errors- recomendSiteManageVO#
recomendSiteManageVO.recomendSiteNm=\ucd94\ucc9c\uc0ac\uc774\ud2b8\uba85
recomendSiteManageVO.recomendSiteUrl=\ucd94\ucc9c\uc0ac\uc774\ud2b8 URL
recomendSiteManageVO.recomendSiteDc=\ucd94\ucc9c\uc0ac\uc774\ud2b8\uc124\uba85
recomendSiteManageVO.recomendResnCn=\ucd94\ucc9c\uc0ac\uc774\ud2b8\uc2b9\uc778\uc0ac\uc720
recomendSiteManageVO.confmDe=\uc2b9\uc778\uc77c\uc790
#Vlidator Errors- hpcmManageVO#
hpcmManageVO.hpcmSeCode=\ub3c4\uc6c0\ub9d0\uad6c\ubd84
hpcmManageVO.hpcmDf=\ub3c4\uc6c0\ub9d0\uc815\uc758
hpcmManageVO.hpcmDc=\ub3c4\uc6c0\ub9d0\uc124\uba85
#Vlidator Errors- newsManageVO#
newsManageVO.newsSj=\ub274\uc2a4\uc81c\ubaa9
newsManageVO.newsCn=\ub274\uc2a4\ub0b4\uc6a9
newsManageVO.ntceDe=\uac8c\uc2dc\uc77c\uc790
#Vlidator Errors- faqManageVO#
faqManageVO.qestnSj=\uc9c8\ubb38\uc81c\ubaa9
faqManageVO.qestnCn=\uc9c8\ubb38\ub0b4\uc6a9
faqManageVO.answerCn=\ub2f5\ubcc0\ub0b4\uc6a9
#Vlidator Errors- roughMapVO#
roughMapVO.roughMapSj=\uc57d\ub3c4\uc81c\ubaa9
roughMapVO.infoWindow=\uc57d\ub3c4\ud45c\uc2dc
#Vlidator Errors- stplatManageVO#
stplatManageVO.useStplatNm=\uc774\uc6a9\uc57d\uad00\uba85
stplatManageVO.useStplatCn=\uc774\uc6a9\uc57d\uad00\ub0b4\uc6a9
stplatManageVO.infoProvdAgreCn=\uc815\ubcf4\uc81c\uacf5\ub3d9\uc758\ub0b4\uc6a9
#Vlidator Errors- cpyrhtPrtcPolicyVO#
cpyrhtPrtcPolicyVO.cpyrhtPrtcPolicyCn=\uc800\uc791\uad8c\ubcf4\ud638\uc815\ucc45\ub0b4\uc6a9
#Vlidator Errors- qnaManageVO#
qnaManageVO.qestnSj=\uc9c8\ubb38\uc81c\ubaa9
qnaManageVO.qestnCn=\uc9c8\ubb38\ub0b4\uc6a9
qnaManageVO.writngPassword=\uc791\uc131\ube44\ubc00\ubc88\ud638
qnaManageVO.areaNo=\uc9c0\uc5ed\ubc88\ud638
qnaManageVO.middleTelno=\uc911\uac04\uc804\ud654\ubc88\ud638
qnaManageVO.endTelno=\ub05d\uc804\ud654\ubc88\ud638
qnaManageVO.wrterNm=\uc791\uc131\uc790\uba85
qnaManageVO.answerCn=\ub2f5\ubcc0\ub0b4\uc6a9
#Vlidator Errors- ReprtStatsVO#
sts.reprtId = \ubcf4\uace0\uc11cID
sts.title = \ubcf4\uace0\uc11c\uba85
sts.category = \ubcf4\uace0\uc11c\uc720\ud615
sts.status = \uc9c4\ud589\uc0c1\ud0dc
sts.regDate = \ub4f1\ub85d\uc77c\uc2dc
#Rest day messages#
sym.cal.restDay = \ud734\uc77c\uc77c\uc790
sym.cal.restName = \ud734\uc77c\uba85
sym.cal.restDetail = \ud734\uc77c\uc124\uba85
sym.cal.restCategory = \ud734\uc77c\uad6c\ubd84
#Vlidator Errors- cnsltManageVO#
cnsltManageVO.firstMoblphonNo=\uc9c0\uc5ed\ubc88\ud638
cnsltManageVO.middleMbtlnum=\uc911\uac04\uc804\ud654\ubc88\ud638
cnsltManageVO.endMbtlnum=\ub05d\uc804\ud654\ubc88\ud638
#mobile \uba54\ub274\uad00\ub9ac#
mgr.menuMngt = \uba54\ub274\uad00\ub9ac
mgr.menuList = \uba54\ub274\ubaa9\ub85d\uc870\ud68c
mgr.menuNm = \uba54\ub274\uba85
mgr.menuDetail = \uba54\ub274\uc0c1\uc138\uc870\ud68c
mgr.menuRegist = \uba54\ub274\ub4f1\ub85d
mgr.menuUpdt = \uba54\ub274\uc218\uc815
mgr.code = \ucf54\ub4dc
mgr.menuCode = \uba54\ub274\ucf54\ub4dc
mgr.UpperMenu = \uc0c1\uc704\uba54\ub274
mgr.cnncUrl = \uc5f0\uacb0URL
mgr.actvtyAt = \uc0ac\uc6a9\uc5ec\ubd80
mgr.menuDc = \uc124\uba85
mgr.mobileEgov = \ubaa8\ubc14\uc77c \uc804\uc790\uc815\ubd80

View File

@@ -0,0 +1,27 @@
<!-- AOP namespace 선언 필요 -->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd">
<!-- Interceptor 등록 -->
<bean id="queryLoggingInterceptor" class="log.QueryLoggingInterceptor" />
<!-- Advisor 연결 -->
<aop:config proxy-target-class="true">
<aop:pointcut id="daoMethods"
expression="
execution(* egovframework..*DAO.*(..))
" />
<aop:advisor advice-ref="queryLoggingInterceptor"
pointcut-ref="daoMethods" />
</aop:config>
</beans>

View File

@@ -0,0 +1,83 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd">
<aop:config>
<aop:pointcut id="egov.serviceMethod"
expression="execution(* egovframework.com..impl.*Impl.*(..))" />
<aop:aspect ref="egov.exceptionTransfer">
<aop:after-throwing throwing="exception"
pointcut-ref="egov.serviceMethod" method="transfer" />
</aop:aspect>
</aop:config>
<bean id="egov.exceptionTransfer" class="egovframework.rte.fdl.cmmn.aspect.ExceptionTransfer">
<property name="exceptionHandlerService">
<list>
<ref bean="defaultExceptionHandleManager" />
<ref bean="otherExceptionHandleManager" />
</list>
</property>
</bean>
<bean id="defaultExceptionHandleManager"
class="egovframework.rte.fdl.cmmn.exception.manager.DefaultExceptionHandleManager">
<property name="reqExpMatcher">
<ref bean="egov.antPathMater"/>
</property>
<property name="patterns">
<list>
<value>**service.impl.*</value>
</list>
</property>
<property name="handlers">
<list>
<ref bean="egovHandler" />
</list>
</property>
</bean>
<bean id="otherExceptionHandleManager"
class="egovframework.rte.fdl.cmmn.exception.manager.DefaultExceptionHandleManager">
<property name="reqExpMatcher">
<ref bean="egov.antPathMater"/>
</property>
<property name="patterns">
<list>
<value>**service.impl.*</value>
</list>
</property>
<property name="handlers">
<list>
<ref bean="otherHandler" />
</list>
</property>
</bean>
<bean id="egovHandler"
class="egovframework.com.cmm.EgovComExcepHndlr" />
<bean id="otherHandler"
class="egovframework.com.cmm.EgovComOthersExcepHndlr" />
<!--
<bean id="mailSender" class="org.springframework.mail.javamail.JavaMailSenderImpl"
p:host="smtp.gmail.com" p:port="465" p:username="horanghi@gmail.com" p:password="*"
/>
<bean id="otherSSLMailSender" class="egovframework.rte.fdl.cmmn.exception.mail.SimpleSSLMail"
p:host="smtp.gmail.com" p:port="465" p:username="horanghi@gmail.com" p:password="">
<property name="receivers">
<list>
<value>horanghi@naver.com</value>
</list>
</property>
</bean>
-->
</beans>

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p="http://www.springframework.org/schema/p" xmlns:context="http://www.springframework.org/schema/context"
xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd">
<!-- Get CodeList / Use Common -->
<bean id="codeResource" class="egovframework.edosi.common.code.CodeResource">
<property name="cmmUseService" ref="EgovCmmUseService" />
</bean>
</beans>

View File

@@ -0,0 +1,81 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p="http://www.springframework.org/schema/p" xmlns:context="http://www.springframework.org/schema/context"
xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd">
<bean id="messageSource" class="org.springframework.context.support.ReloadableResourceBundleMessageSource">
<property name="basenames">
<list>
<value>classpath:/egovframework/message/com/message-common</value>
<value>classpath:/egovframework/rte/fdl/idgnr/messages/idgnr</value>
<value>classpath:/egovframework/rte/fdl/property/messages/properties</value>
<value>classpath:/egovframework/egovProps/globals</value>
</list>
</property>
<property name="cacheSeconds">
<value>60</value>
</property>
</bean>
<bean id="egovMessageSource" class="egovframework.com.cmm.EgovMessageSource">
<property name="reloadableResourceBundleMessageSource">
<ref bean="messageSource" />
</property>
</bean>
<!-- 실행환경에서 빈 이름 참조(AbstractServiceImpl) -->
<bean id="leaveaTrace" class="egovframework.rte.fdl.cmmn.trace.LeaveaTrace">
<property name="traceHandlerServices">
<list>
<ref bean="egov.traceHandlerService" />
</list>
</property>
</bean>
<bean id="egov.traceHandlerService" class="egovframework.rte.fdl.cmmn.trace.manager.DefaultTraceHandleManager">
<property name="reqExpMatcher">
<ref bean="egov.antPathMater" />
</property>
<property name="patterns">
<list>
<value>*</value>
</list>
</property>
<property name="handlers">
<list>
<ref bean="egov.defaultTraceHandler" />
</list>
</property>
</bean>
<bean id="egov.antPathMater" class="org.springframework.util.AntPathMatcher" />
<bean id="egov.defaultTraceHandler" class="egovframework.rte.fdl.cmmn.trace.handler.DefaultTraceHandler" />
<!-- MULTIPART RESOLVERS -->
<!-- regular spring resolver -->
<bean id="spring.RegularCommonsMultipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
<property name="maxUploadSize" value="100000000" />
<property name="maxInMemorySize" value="100000000" />
</bean>
<!-- custom multi file resolver -->
<bean id="local.MultiCommonsMultipartResolver" class="egovframework.com.cmm.web.EgovMultipartResolver">
<property name="maxUploadSize" value="100000000" />
<property name="maxInMemorySize" value="100000000" />
</bean>
<!-- choose one from above and alias it to the name Spring expects -->
<!-- alias name="local.MultiCommonsMultipartResolver" alias="multipartResolver" /-->
<alias name="spring.RegularCommonsMultipartResolver" alias="multipartResolver" />
<context:component-scan base-package="egovframework">
<context:include-filter type="annotation" expression="org.springframework.stereotype.Service"/>
<context:include-filter type="annotation" expression="org.springframework.stereotype.Repository"/>
<context:exclude-filter type="annotation" expression="org.springframework.stereotype.Controller"/>
</context:component-scan>
</beans>

View File

@@ -0,0 +1,68 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
<bean id="egov.propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="locations">
<list>
<value>classpath:/egovframework/egovProps/globals.properties</value>
<!-- value>file:/product/jeus/egovProps/globals.properties</value-->
</list>
</property>
</bean>
<!-- DataSource -->
<alias name="dataSource-${Globals.DbType}" alias="egov.dataSource"/>
<alias name="dataSource-${Globals.DbType}" alias="dataSource"/>
<!-- MySQL -->
<bean id="dataSource-mysql" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
<property name="driverClassName" value="${Globals.DriverClassName}"/>
<property name="url" value="${Globals.Url}" />
<property name="username" value="${Globals.UserName}"/>
<property name="password" value="${Globals.Password}"/>
</bean>
<!-- Oracle -->
<bean id="dataSource-oracle" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
<property name="driverClassName" value="${Globals.DriverClassName}"/>
<property name="url" value="${Globals.Url}" />
<property name="username" value="${Globals.UserName}"/>
<property name="password" value="${Globals.Password}"/>
</bean>
<!-- Altibase -->
<bean id="dataSource-altibase" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
<property name="driverClassName" value="${Globals.DriverClassName}"/>
<property name="url" value="${Globals.Url}" />
<property name="username" value="${Globals.UserName}"/>
<property name="password" value="${Globals.Password}"/>
</bean>
<!-- Tibero -->
<bean id="dataSource-tibero" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
<property name="driverClassName" value="${Globals.DriverClassName}"/>
<property name="url" value="${Globals.Url}" />
<property name="username" value="${Globals.UserName}"/>
<property name="password" value="${Globals.Password}"/>
</bean>
<!-- cubrid -->
<bean id="dataSource-cubrid" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
<property name="driverClassName" value="${Globals.DriverClassName}"/>
<property name="url" value="${Globals.Url}" />
<property name="username" value="${Globals.UserName}"/>
<property name="password" value="${Globals.Password}"/>
</bean>
<!-- SMS -->
<bean id="smsDataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
<property name="driverClassName" value="${SMS.DriverClassName}"/>
<property name="url" value="${SMS.Url}" />
<property name="username" value="${SMS.UserName}"/>
<property name="password" value="${SMS.Password}"/>
<property name="validationQuery" value="select 1" />
<property name="testWhileIdle" value="true" />
<property name="timeBetweenEvictionRunsMillis" value="60000" />
</bean>
</beans>

View File

@@ -0,0 +1,78 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
<bean id="egov.propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="locations">
<list>
<value>classpath:/egovframework/egovProps/globals.properties</value>
<!-- value>file:/product/jeus/egovProps/globals.properties</value-->
</list>
</property>
</bean>
<!-- DataSource -->
<alias name="dataSource-${Globals.DbType}" alias="egov.dataSource"/>
<alias name="dataSource-${Globals.DbType}" alias="dataSource"/>
<!-- MySQL -->
<bean id="dataSource-mysql" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
<property name="driverClassName" value="${Globals.DriverClassName}"/>
<property name="url" value="${Globals.Url}" />
<property name="username" value="${Globals.UserName}"/>
<property name="password" value="${Globals.Password}"/>
</bean>
<!-- Oracle -->
<bean id="dataSource-oracle" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
<property name="driverClassName" value="${Globals.DriverClassName}"/>
<property name="url" value="${Globals.Url}" />
<property name="username" value="${Globals.UserName}"/>
<property name="password" value="${Globals.Password}"/>
</bean>
<!-- Altibase -->
<bean id="dataSource-altibase" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
<property name="driverClassName" value="${Globals.DriverClassName}"/>
<property name="url" value="${Globals.Url}" />
<property name="username" value="${Globals.UserName}"/>
<property name="password" value="${Globals.Password}"/>
</bean>
<!-- Tibero -->
<bean id="dataSource-tibero" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
<property name="driverClassName" value="${Globals.DriverClassName}"/>
<property name="url" value="${Globals.Url}" />
<property name="username" value="${Globals.UserName}"/>
<property name="password" value="${Globals.Password}"/>
</bean>
<!-- cubrid -->
<bean id="dataSource-cubrid" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
<property name="driverClassName" value="${Globals.DriverClassName}"/>
<property name="url" value="${Globals.Url}" />
<property name="username" value="${Globals.UserName}"/>
<property name="password" value="${Globals.Password}"/>
</bean>
<!-- SMS -->
<bean id="smsDataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
<property name="driverClassName" value="${SMS.DriverClassName}"/>
<property name="url" value="${SMS.Url}" />
<property name="username" value="${SMS.UserName}"/>
<property name="password" value="${SMS.Password}"/>
<property name="validationQuery" value="select 1" />
<property name="testWhileIdle" value="true" />
<property name="timeBetweenEvictionRunsMillis" value="60000" />
</bean>
<!-- DB Pool이 생성이 되더라고 특정 시간 호출되지 않으면 DBMS 설정에 따라 연결을 끊어질 때
이 경우 DBCP를 사용하셨다면.. 다음과 같은 설정을 추가하시면 연결을 유지시켜 줍니다. -->
<!--
<property name="validationQuery" value="select 1 from dual" />
<property name="testWhileIdle" value="true" />
<property name="timeBetweenEvictionRunsMillis" value="60000" /> --> <!-- 1분 -->
<!-- DBCP가 아닌 WAS의 DataSource를 사용하시는 경우도 WAS별로 동일한 설정을 하실 수 있습니다.
(WAS별 구체적인 설정은 WAS document 확인) -->
</beans>

View File

@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
<!--
수정일 수성자 수정내용
=========== ======== =================================================
2011.10.11 이기하 context-common.xml 파일에서 별도분리
************************************************************************************************
0. 세션/시큐리티를 제외한 테스트위한 인증(더미)을 사용하는 빈 : 주석
1. 세션을 이용한 인증을 사용하는 빈 : 주석
2. 스프링 시큐리티를 이용한 인증을 사용할 빈 : 사용
- 권한관리 패키지 설치 : egovframework-authormanage-2.0.0.zip
- web.xml 설정 : springSecurityFilterChain, EgovSpringSecurityLogoutFilter, EgovSpringSecurityLoginFilter
************************************************************************************************
-->
<!--인증된 유저의 LoginVO, 권한, 인증 여부를 확인 할 수있는 서비스 클래스-->
<bean id="egovUserDetailsHelper" class="egovframework.com.cmm.util.EgovUserDetailsHelper">
<property name="egovUserDetailsService">
<!-- 원하는 bean id를 아래에 ref 태그에 적용한다 -->
<ref bean="egovUserDetailsSecurityService" />
</property>
</bean>
<!-- 0. 세션/시큐리티를 제외한 테스트위한 인증(더미)을 사용하는 빈 -->
<!--
<bean id="egovTestUserDetailsService" class="egovframework.com.cmm.service.impl.EgovTestUserDetailsServiceImpl"/>
-->
<!-- 1. 세션을 이용한 인증을 사용하는 빈 -->
<!--
<bean id="egovUserDetailsSessionService" class="egovframework.com.cmm.service.impl.EgovUserDetailsSessionServiceImpl"/>
-->
<!-- 2. 스프링 시큐리티를 이용한 인증을 사용할 빈 -->
<bean id="egovUserDetailsSecurityService" class="egovframework.com.sec.ram.service.impl.EgovUserDetailsSecurityServiceImpl"/>
</beans>

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
<bean id="excelZipService" class="egovframework.rte.fdl.excel.impl.EgovExcelServiceImpl">
<property name="mapClass" value="egovframework.com.sym.ccm.zip.service.impl.EgovCcmExcelZipMapping" />
<property name="sqlMapClient" ref="egov.sqlMapClient" />
</bean>
<bean id="excelRdnmadZipService" class="egovframework.rte.fdl.excel.impl.EgovExcelServiceImpl">
<property name="mapClass" value="egovframework.com.sym.ccm.zip.service.impl.EgovCcmExcelRdnmadZipMapping" />
<property name="sqlMapClient" ref="egov.sqlMapClient" />
</bean>
</beans>

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
<bean name="propertiesService" class="egovframework.rte.fdl.property.impl.EgovPropertyServiceImpl" destroy-method="destroy">
<property name="properties">
<map>
<entry key="pageUnit" value="10"/>
<entry key="pageSize" value="10"/>
</map>
</property>
</bean>
</beans>

View File

@@ -0,0 +1,76 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:egov-security="http://www.egovframe.go.kr/schema/egov-security"
xmlns:security="http://www.springframework.org/schema/security"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.2.xsd
http://www.egovframe.go.kr/schema/egov-security http://www.egovframe.go.kr/schema/egov-security/egov-security-3.0.xsd">
<!--
수정일 수정자 수정내용
========= ======= =================================================
2011.09.07 서준식 일반, 업무사용자의 경우 조직아이디가 없어 로그인이 안되던 문제 수정(SQL 수정)
2011.09.25 서준식 usersByUsernameQuery 쿼리의 조직 아이디 비교 부분 오류 수정 > alias 추가
2014.06.13 Vincent Han 표준프레임워크 3.0 적용 (간소화 설정 사용)
-->
<security:http pattern="/css/**" security="none"/>
<security:http pattern="/html/**" security="none"/>
<security:http pattern="/images/**" security="none"/>
<security:http pattern="/js/**" security="none"/>
<security:http pattern="/resource/**" security="none"/>
<security:http pattern="\A/WEB-INF/jsp/.*\Z" request-matcher="regex" security="none"/>
<egov-security:config id="securityConfig"
loginUrl="/login.do"
logoutSuccessUrl="/login.do"
loginFailureUrl="/login.do?login_error=1"
accessDeniedUrl="/sec/ram/accessDenied.do"
dataSource="egov.dataSource"
jdbcUsersByUsernameQuery="SELECT ESNTL_ID AS USER_ID, ESNTL_ID AS PASSWORD, 1 ENABLED, USER_NM, USER_ZIP, USER_ADRES, USER_EMAIL, USER_SE, ORGNZT_ID, ESNTL_ID, ORGNZT_NM, TEL, POSITION_NM FROM COMVNUSERMASTER2 WHERE CONCAT(USER_SE, ESNTL_ID) = ?"
jdbcAuthoritiesByUsernameQuery="SELECT C.USER_ID, B.AUTHOR_CODE AS AUTHORITY
FROM HMS_AUTH_GROUP A, HMS_AUTH_GROUP_REL_AUTH B, AUTHUSERVIEW C
WHERE C.USER_ID=? AND C.AUTH_GROUP_SEQ = A.AUTH_GROUP_SEQ AND A.AUTH_GROUP_SEQ = B.AUTH_GROUP_SEQ
UNION SELECT '0000', 'IS_AUTHENTICATED_FULLY' FROM DUAL"
jdbcMapClass="egovframework.main.service.EgovSessionMapping"
requestMatcherType="regex"
hash="plaintext"
hashBase64="false"
concurrentMaxSessons="20"
concurrentExpiredUrl="/login.do"
defaultTargetUrl="/actionLoginUser.do"
/>
<egov-security:secured-object-config id="securedObjectConfig"
sqlHierarchicalRoles="
SELECT a.CHLDRN_ROLE child, a.PARNTS_ROLE parent
FROM COMTNROLES_HIERARCHY a LEFT JOIN COMTNROLES_HIERARCHY b on (a.CHLDRN_ROLE = b.PARNTS_ROLE)"
sqlRolesAndUrl="
SELECT a.ROLE_PTTRN url, b.AUTHOR_CODE authority
FROM COMTNROLEINFO a, COMTNAUTHORROLERELATE b
WHERE a.ROLE_CODE = b.ROLE_CODE
AND a.ROLE_TY = 'url' ORDER BY a.ROLE_SORT"
sqlRolesAndMethod="
SELECT a.ROLE_PTTRN method, b.AUTHOR_CODE authority
FROM COMTNROLEINFO a, COMTNAUTHORROLERELATE b
WHERE a.ROLE_CODE = b.ROLE_CODE
AND a.ROLE_TY = 'method' ORDER BY a.ROLE_SORT"
sqlRolesAndPointcut="
SELECT a.ROLE_PTTRN pointcut, b.AUTHOR_CODE authority
FROM COMTNROLEINFO a, COMTNAUTHORROLERELATE b
WHERE a.ROLE_CODE = b.ROLE_CODE
AND a.ROLE_TY = 'pointcut' ORDER BY a.ROLE_SORT"
sqlRegexMatchedRequestMapping="
SELECT a.resource_pattern uri, b.authority authority
FROM COMTNSECURED_RESOURCES a, COMTNSECURED_RESOURCES_ROLE b
WHERE a.resource_id = b.resource_id
AND a.resource_type = 'url'"
/>
<egov-security:initializer id="initializer" supportMethod="true" supportPointcut="false" />
</beans>

View File

@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd">
<bean id="egov.propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="locations">
<list>
<value>classpath:/egovframework/egovProps/globals.properties</value>
</list>
</property>
</bean>
<!-- 실행환경에서 빈이름 참조(EgovAbstractDAO) -->
<bean id="egov.lobHandler" class="org.springframework.jdbc.support.lob.DefaultLobHandler" lazy-init="true" />
<!-- SqlMap setup for iBATIS Database Layer -->
<bean id="egov.sqlMapClient" class="egovframework.rte.psl.orm.ibatis.SqlMapClientFactoryBean">
<property name="configLocations">
<list>
<value>classpath:/egovframework/sqlmap/config/${Globals.DbType}/*.xml</value>
</list>
</property>
<property name="dataSource" ref="egov.dataSource"/>
<property name="lobHandler" ref="egov.lobHandler"/>
</bean>
<!-- sms database -->
<bean id="smsSqlMapClient" class="egovframework.rte.psl.orm.ibatis.SqlMapClientFactoryBean">
<property name="configLocation" value="classpath:/egovframework/sqlmap/config/sms/sms.xml"/>
<property name="dataSource" ref="smsDataSource"/>
</bean>
</beans>

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd">
<bean id="txManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
<property name="dataSource" ref="egov.dataSource"/>
</bean>
<tx:advice id="txAdvice" transaction-manager="txManager">
<tx:attributes>
<tx:method name="*" propagation="REQUIRED" rollback-for="Exception"/>
</tx:attributes>
</tx:advice>
<aop:config>
<aop:pointcut id="requiredTx" expression="execution(* egovframework.com..*Impl.*(..)) or
execution(* egovframework.rte.fdl.excel.impl.*Impl.*(..))"/>
<aop:advisor advice-ref="txAdvice" pointcut-ref="requiredTx" />
</aop:config>
</beans>

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
<!-- Integration Apache Commons Validator by Spring Modules -->
<bean id="beanValidator" class="org.springmodules.validation.commons.DefaultBeanValidator">
<property name="validatorFactory" ref="validatorFactory"/>
</bean>
<bean id="validatorFactory" class="org.springmodules.validation.commons.DefaultValidatorFactory">
<property name="validationConfigLocations">
<list>
<!-- 공통기술 -->
<value>classpath:/egovframework/validator/com-rules.xml</value>
<value>classpath:/egovframework/validator/validator-rules.xml</value>
<value>classpath:/egovframework/validator/**/*.xml</value>
</list>
</property>
</bean>
</beans>

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
<!-- 행정코드 수신 작업일련번호 -->
<bean name="egovAdministCodeRecptnIdGnrService" class="egovframework.rte.fdl.idgnr.impl.EgovTableIdGnrServiceImpl" destroy-method="destroy">
<property name="dataSource" ref="egov.dataSource" />
<property name="blockSize" value="10"/>
<property name="table" value="COMTECOPSEQ"/>
<property name="tableName" value="ADMIN_CODE_OPERT"/>
</bean>
</beans>

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
<bean name="egovFileIdGnrService" class="egovframework.rte.fdl.idgnr.impl.EgovTableIdGnrServiceImpl" destroy-method="destroy">
<property name="dataSource" ref="egov.dataSource" />
<property name="strategy" ref="fileStrategy" />
<property name="blockSize" value="10"/>
<property name="table" value="COMTECOPSEQ"/>
<property name="tableName" value="FILE_ID"/>
</bean>
<bean name="fileStrategy" class="egovframework.rte.fdl.idgnr.impl.strategy.EgovIdGnrStrategyImpl">
<property name="prefix" value="FILE_" />
<property name="cipers" value="15" />
<property name="fillChar" value="0" />
</bean>
</beans>

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
<!-- 그룹 -->
<bean name="egovGroupIdGnrService" class="egovframework.rte.fdl.idgnr.impl.EgovTableIdGnrServiceImpl" destroy-method="destroy">
<property name="dataSource" ref="egov.dataSource" />
<property name="strategy" ref="groupIdStrategy" />
<property name="blockSize" value="10"/>
<property name="table" value="COMTECOPSEQ"/>
<property name="tableName" value="GROUP_ID"/>
</bean>
<bean name="groupIdStrategy" class="egovframework.rte.fdl.idgnr.impl.strategy.EgovIdGnrStrategyImpl">
<property name="prefix" value="GROUP_" />
<property name="cipers" value="14" />
<property name="fillChar" value="0" />
</bean>
<!-- 그룹 -->
</beans>

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
<!-- 기관코드 수신 작업일련번호 -->
<bean name="egovInsttCodeRecptnIdGnrService" class="egovframework.rte.fdl.idgnr.impl.EgovTableIdGnrServiceImpl" destroy-method="destroy">
<property name="dataSource" ref="egov.dataSource" />
<property name="blockSize" value="10"/>
<property name="table" value="COMTECOPSEQ"/>
<property name="tableName" value="INSTT_CODE_OPERT"/>
</bean>
</beans>

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
<bean name="egovMailMsgIdGnrService" class="egovframework.rte.fdl.idgnr.impl.EgovTableIdGnrServiceImpl" destroy-method="destroy">
<property name="dataSource" ref="egov.dataSource" />
<property name="strategy" ref="mailMsgtrategy" />
<property name="blockSize" value="10"/>
<property name="table" value="COMTECOPSEQ"/>
<property name="tableName" value="MAILMSG_ID"/>
</bean>
<bean name="mailMsgtrategy" class="egovframework.rte.fdl.idgnr.impl.strategy.EgovIdGnrStrategyImpl">
<property name="prefix" value="MAILMSG_" />
<property name="cipers" value="12" />
<property name="fillChar" value="0" />
</bean>
</beans>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
<bean name="egovRestDeIdGnrService" class="egovframework.rte.fdl.idgnr.impl.EgovTableIdGnrServiceImpl" destroy-method="destroy">
<property name="dataSource" ref="egov.dataSource" />
<property name="blockSize" value="10"/>
<property name="table" value="COMTECOPSEQ"/>
<property name="tableName" value="RESTDE_ID"/>
</bean>
</beans>

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
<!-- 롤 ID -->
<bean name="egovRoleIdGnrService" class="egovframework.rte.fdl.idgnr.impl.EgovTableIdGnrServiceImpl" destroy-method="destroy">
<property name="dataSource" ref="egov.dataSource" />
<property name="strategy" ref="roleIdStrategy" />
<property name="blockSize" value="10"/>
<property name="table" value="COMTECOPSEQ"/>
<property name="tableName" value="ROLE_ID"/>
</bean>
<bean name="roleIdStrategy" class="egovframework.rte.fdl.idgnr.impl.strategy.EgovIdGnrStrategyImpl">
<property name="prefix" value="" />
<property name="cipers" value="6" />
<property name="fillChar" value="0" />
</bean>
<!-- 롤 ID -->
</beans>

View File

@@ -0,0 +1,86 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
수정일 수정자 수정내용
========= ======= =================================================
2011.09.21 서준식 NTT_ID 에대한 IDGEN서비스 등록
2011.10.18 서준식 StsfdgNo 에대한 IDGEN서비스 등록
AnswerNo 에대한 IDGEN서비스 등록
-->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
<!-- 공통 -->
<bean name="commonIdGnrService"
class="egovframework.rte.fdl.idgnr.impl.EgovTableIdGnrServiceImpl"
destroy-method="destroy">
<property name="dataSource" ref="egov.dataSource" />
<property name="strategy" ref="commonManageStrategy" />
<property name="blockSize" value="1"/>
<property name="table" value="COMTECOPSEQ"/>
<property name="tableName" value="COM_ID"/>
</bean>
<bean name="commonManageStrategy"
class="egovframework.rte.fdl.idgnr.impl.strategy.EgovIdGnrStrategyImpl">
<property name="prefix" value="COM_" />
<property name="cipers" value="16" />
<property name="fillChar" value="0" />
</bean>
<!-- 게시판 -->
<bean name="brdIdGnrService"
class="egovframework.rte.fdl.idgnr.impl.EgovTableIdGnrServiceImpl"
destroy-method="destroy">
<property name="dataSource" ref="egov.dataSource" />
<property name="strategy" ref="brdManageStrategy" />
<property name="blockSize" value="1"/>
<property name="table" value="COMTECOPSEQ"/>
<property name="tableName" value="BRD_ID"/>
</bean>
<bean name="brdManageStrategy"
class="egovframework.rte.fdl.idgnr.impl.strategy.EgovIdGnrStrategyImpl">
<property name="prefix" value="BRD_" />
<property name="cipers" value="16" />
<property name="fillChar" value="0" />
</bean>
<!-- 로그 -->
<bean name="logIdGnrService"
class="egovframework.rte.fdl.idgnr.impl.EgovTableIdGnrServiceImpl"
destroy-method="destroy">
<property name="dataSource" ref="egov.dataSource" />
<property name="strategy" ref="logManageStrategy" />
<property name="blockSize" value="1"/>
<property name="table" value="COMTECOPSEQ"/>
<property name="tableName" value="LOG_ID"/>
</bean>
<bean name="logManageStrategy"
class="egovframework.rte.fdl.idgnr.impl.strategy.EgovIdGnrStrategyImpl">
<property name="prefix" value="LOG_" />
<property name="cipers" value="16" />
<property name="fillChar" value="0" />
</bean>
<!-- 문서번호 -->
<bean name="docIdGnrService"
class="egovframework.rte.fdl.idgnr.impl.EgovTableIdGnrServiceImpl"
destroy-method="destroy">
<property name="dataSource" ref="egov.dataSource" />
<property name="strategy" ref="docManageStrategy" />
<property name="blockSize" value="1"/>
<property name="table" value="COMTECOPSEQ"/>
<property name="tableName" value="DOC_ID"/>
</bean>
<bean name="docManageStrategy"
class="egovframework.rte.fdl.idgnr.impl.strategy.EgovIdGnrStrategyImpl">
<property name="prefix" value="SJ_DOC_" />
<property name="cipers" value="6" />
<property name="fillChar" value="0" />
</bean>
</beans>

View File

@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
<!-- 법정동코드수신 처리 -->
<!--
<bean id="administCodeReceiver"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="AdministCodeRecptnService" />
<property name="targetMethod" value="insertAdministCodeRecptn" />
<property name="concurrent" value="false" />
</bean>
-->
<!--
<bean id="administCodeReceiverTrigger" class="org.springframework.scheduling.quartz.SimpleTriggerFactoryBean">
<property name="jobDetail" ref="administCodeReceiver" />
<property name="startDelay" value="60000" />
<property name="repeatInterval" value="60000" />
</bean>
-->
<!-- 법정동코드수신 처리 스케줄 -->
<!--
<bean id="administCodeReceiverScheduler" class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref bean="administCodeReceiverTrigger" />
</list>
</property>
</bean>
-->
</beans>

View File

@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
<!-- 기관코드 수신 작업 정의 -->
<bean id="insttCodeReceiver" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="InsttCodeRecptnService" />
<property name="targetMethod" value="insertInsttCodeRecptn" />
<property name="concurrent" value="false" />
</bean>
<!-- 기관코드 수신 트리거 -->
<bean id="insttCodeReceiverTrigger" class="org.springframework.scheduling.quartz.SimpleTriggerFactoryBean">
<property name="jobDetail" ref="insttCodeReceiver" />
<property name="startDelay" value="60000" />
<property name="repeatInterval" value="60000" />
</bean>
<!-- 기관코드 수신 스케줄 -->
<!--
<bean id="insttCodeReceiverScheduler"
class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref bean="insttCodeReceiverTrigger" />
</list>
</property>
</bean>
-->
</beans>

View File

@@ -0,0 +1,187 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<sqlMap namespace="Comtccmmndetailcode">
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
<typeAlias alias="comtccmmndetailcodeSerarchVO" type="egovframework.cms.code.vo.ComtccmmndetailcodeDefaultVO"/>
<resultMap id="comtccmmndetailcode" class="egovframework.cms.code.vo.ComtccmmndetailcodeVO">
<result property="codeId" column="CODE_ID" columnIndex="1"/>
<result property="code" column="CODE" columnIndex="2"/>
<result property="codeNm" column="CODE_NM" columnIndex="3"/>
<result property="codeDc" column="CODE_DC" columnIndex="4"/>
<result property="useAt" column="USE_AT" columnIndex="5"/>
<result property="frstRegistPnttm" column="FRST_REGIST_PNTTM" columnIndex="6"/>
<result property="frstRegisterId" column="FRST_REGISTER_ID" columnIndex="7"/>
<result property="lastUpdtPnttm" column="LAST_UPDT_PNTTM" columnIndex="8"/>
<result property="lastUpdusrId" column="LAST_UPDUSR_ID" columnIndex="9"/>
<result property="sort" column="SORT" columnIndex="10"/>
</resultMap>
<insert id="comtccmmndetailcodeDAO.insertComtccmmndetailcode_S">
INSERT INTO COMTCCMMNDETAILCODE
( CODE_ID
, CODE
, CODE_NM
, CODE_DC
, USE_AT
, FRST_REGIST_PNTTM
, FRST_REGISTER_ID
, LAST_UPDT_PNTTM
, LAST_UPDUSR_ID
, SORT )
VALUES ( #codeId#
, #code#
, #codeNm#
, #codeDc#
, #useAt#
, NOW()
, #frstRegisterId#
, NOW()
, #lastUpdusrId#
, #sort# )
</insert>
<update id="comtccmmndetailcodeDAO.updateComtccmmndetailcode_S">
UPDATE COMTCCMMNDETAILCODE
SET
CODE_NM=#codeNm#
, CODE_DC=#codeDc#
, USE_AT=#useAt#
, LAST_UPDT_PNTTM=NOW()
, LAST_UPDUSR_ID=#lastUpdusrId#
, SORT=#sort#
WHERE
CODE_ID=#codeId#
AND CODE=#code#
</update>
<delete id="comtccmmndetailcodeDAO.deleteComtccmmndetailcode_S">
DELETE
FROM
COMTCCMMNDETAILCODE
WHERE
CODE=#code#
AND CODE_ID=#codeId#
</delete>
<select id="comtccmmndetailcodeDAO.selectComtccmmndetailcode_S" resultMap="comtccmmndetailcode">
SELECT
CODE_ID
, CODE
, CODE_NM
, CODE_DC
, USE_AT
, FRST_REGIST_PNTTM
, FRST_REGISTER_ID
, LAST_UPDT_PNTTM
, LAST_UPDUSR_ID
, SORT
FROM
COMTCCMMNDETAILCODE
WHERE
CODE_ID=#codeId#
AND CODE=#code#
</select>
<select id="comtccmmndetailcodeDAO.selectComtccmmndetailcodeList_D" parameterClass="comtccmmndetailcodeSerarchVO" resultClass="egovMap">
SELECT * FROM (
SELECT A.*, ROWNUM RNUM FROM (
SELECT
B.CODE_ID_NM
,C.CODE_ID
,C.CODE
,C.CODE_NM
,C.CODE_DC
,C.USE_AT
,C.SORT
FROM
COMTCCMMNCLCODE A
,COMTCCMMNCODE B
,COMTCCMMNDETAILCODE C
WHERE
A.CL_CODE='USR'
AND A.CL_CODE=B.CL_CODE
AND B.CODE_ID=C.CODE_ID
<isNotEmpty property="searchKeyword" prepend="AND">
<isEqual property="searchCondition" compareValue="1">
B.CODE_ID_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" compareValue="2">
C.CODE_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" compareValue="3">
B.CODE_ID=#searchKeyword#
</isEqual>
</isNotEmpty>
<isEmpty property="orderby" prepend="ORDER BY">
CODE_ID_NM ASC, SORT ASC
</isEmpty>
<isNotEmpty property="orderby" prepend="ORDER BY">
<isEqual property="orderby" compareValue="name_asc">
</isEqual>
</isNotEmpty>
<isEqual property="pageUseYn" compareValue="Y">
<![CDATA[
) A WHERE ROWNUM <= #lastIndex#
)WHERE RNUM > #firstIndex#
]]>
</isEqual>
<isNotEqual property="pageUseYn" compareValue="Y">
) A
)
</isNotEqual>
</select>
<select id="comtccmmndetailcodeDAO.selectComtccmmndetailcodeListTotCnt_S" parameterClass="comtccmmndetailcodeSerarchVO" resultClass="int">
SELECT COUNT(*) totcnt
FROM
COMTCCMMNCLCODE A
,COMTCCMMNCODE B
,COMTCCMMNDETAILCODE C
WHERE
A.CL_CODE='USR'
AND A.CL_CODE=B.CL_CODE
AND B.CODE_ID=C.CODE_ID
<isNotEmpty property="searchKeyword" prepend="AND">
<isEqual property="searchCondition" compareValue="1">
B.CODE_ID_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" compareValue="2">
C.CODE_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" compareValue="3">
B.CODE_ID=#searchKeyword#
</isEqual>
</isNotEmpty>
</select>
<select id="comtccmmndetailcodeDAO.selectComtccmmncodeList" resultClass="egovMap">
SELECT
B.CODE_ID_NM,B.CODE_ID
FROM
COMTCCMMNCLCODE A
,COMTCCMMNCODE B
WHERE
A.CL_CODE='USR'
AND A.CL_CODE=B.CL_CODE
AND B.USE_AT='Y'
<isNotEmpty property="codeId" prepend="AND">
B.CODE_ID=#codeId#
</isNotEmpty>
ORDER BY
CODE_ID_NM ASC
</select>
<select id="comtccmmndetailcodeDAO.selectComtccmmncodeMax" resultClass="int">
SELECT
(SUBSTR(MAX(CODE),-3)+1) AS CODE
FROM
COMTCCMMNDETAILCODE
WHERE
CODE_ID = #codeId#
</select>
</sqlMap>

View File

@@ -0,0 +1,187 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<sqlMap namespace="Comtccmmndetailcode">
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
<typeAlias alias="comtccmmndetailcodeSerarchVO" type="egovframework.cms.code.vo.ComtccmmndetailcodeDefaultVO"/>
<resultMap id="comtccmmndetailcode" class="egovframework.cms.code.vo.ComtccmmndetailcodeVO">
<result property="codeId" column="CODE_ID" columnIndex="1"/>
<result property="code" column="CODE" columnIndex="2"/>
<result property="codeNm" column="CODE_NM" columnIndex="3"/>
<result property="codeDc" column="CODE_DC" columnIndex="4"/>
<result property="useAt" column="USE_AT" columnIndex="5"/>
<result property="frstRegistPnttm" column="FRST_REGIST_PNTTM" columnIndex="6"/>
<result property="frstRegisterId" column="FRST_REGISTER_ID" columnIndex="7"/>
<result property="lastUpdtPnttm" column="LAST_UPDT_PNTTM" columnIndex="8"/>
<result property="lastUpdusrId" column="LAST_UPDUSR_ID" columnIndex="9"/>
<result property="sort" column="SORT" columnIndex="10"/>
</resultMap>
<insert id="comtccmmndetailcodeDAO.insertComtccmmndetailcode_S">
INSERT INTO COMTCCMMNDETAILCODE
( CODE_ID
, CODE
, CODE_NM
, CODE_DC
, USE_AT
, FRST_REGIST_PNTTM
, FRST_REGISTER_ID
, LAST_UPDT_PNTTM
, LAST_UPDUSR_ID
, SORT )
VALUES ( #codeId#
, #code#
, #codeNm#
, #codeDc#
, #useAt#
, SYSDATE
, #frstRegisterId#
, SYSDATE
, #lastUpdusrId#
, #sort# )
</insert>
<update id="comtccmmndetailcodeDAO.updateComtccmmndetailcode_S">
UPDATE COMTCCMMNDETAILCODE
SET
CODE_NM=#codeNm#
, CODE_DC=#codeDc#
, USE_AT=#useAt#
, LAST_UPDT_PNTTM=SYSDATE
, LAST_UPDUSR_ID=#lastUpdusrId#
, SORT=#sort#
WHERE
CODE_ID=#codeId#
AND CODE=#code#
</update>
<delete id="comtccmmndetailcodeDAO.deleteComtccmmndetailcode_S">
DELETE
FROM
COMTCCMMNDETAILCODE
WHERE
CODE=#code#
AND CODE_ID=#codeId#
</delete>
<select id="comtccmmndetailcodeDAO.selectComtccmmndetailcode_S" resultMap="comtccmmndetailcode">
SELECT
CODE_ID
, CODE
, CODE_NM
, CODE_DC
, USE_AT
, FRST_REGIST_PNTTM
, FRST_REGISTER_ID
, LAST_UPDT_PNTTM
, LAST_UPDUSR_ID
, SORT
FROM
COMTCCMMNDETAILCODE
WHERE
CODE_ID=#codeId#
AND CODE=#code#
</select>
<select id="comtccmmndetailcodeDAO.selectComtccmmndetailcodeList_D" parameterClass="comtccmmndetailcodeSerarchVO" resultClass="egovMap">
SELECT * FROM (
SELECT A.*, ROWNUM RNUM FROM (
SELECT
B.CODE_ID_NM
,C.CODE_ID
,C.CODE
,C.CODE_NM
,C.CODE_DC
,C.USE_AT
,C.SORT
FROM
COMTCCMMNCLCODE A
,COMTCCMMNCODE B
,COMTCCMMNDETAILCODE C
WHERE
A.CL_CODE='USR'
AND A.CL_CODE=B.CL_CODE
AND B.CODE_ID=C.CODE_ID
<isNotEmpty property="searchKeyword" prepend="AND">
<isEqual property="searchCondition" compareValue="1">
B.CODE_ID_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" compareValue="2">
C.CODE_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" compareValue="3">
B.CODE_ID=#searchKeyword#
</isEqual>
</isNotEmpty>
<isEmpty property="orderby" prepend="ORDER BY">
CODE_ID_NM ASC, SORT ASC
</isEmpty>
<isNotEmpty property="orderby" prepend="ORDER BY">
<isEqual property="orderby" compareValue="name_asc">
</isEqual>
</isNotEmpty>
<isEqual property="pageUseYn" compareValue="Y">
<![CDATA[
) A WHERE ROWNUM <= #lastIndex#
)WHERE RNUM > #firstIndex#
]]>
</isEqual>
<isNotEqual property="pageUseYn" compareValue="Y">
) A
)
</isNotEqual>
</select>
<select id="comtccmmndetailcodeDAO.selectComtccmmndetailcodeListTotCnt_S" parameterClass="comtccmmndetailcodeSerarchVO" resultClass="int">
SELECT COUNT(*) totcnt
FROM
COMTCCMMNCLCODE A
,COMTCCMMNCODE B
,COMTCCMMNDETAILCODE C
WHERE
A.CL_CODE='USR'
AND A.CL_CODE=B.CL_CODE
AND B.CODE_ID=C.CODE_ID
<isNotEmpty property="searchKeyword" prepend="AND">
<isEqual property="searchCondition" compareValue="1">
B.CODE_ID_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" compareValue="2">
C.CODE_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" compareValue="3">
B.CODE_ID=#searchKeyword#
</isEqual>
</isNotEmpty>
</select>
<select id="comtccmmndetailcodeDAO.selectComtccmmncodeList" resultClass="egovMap">
SELECT
B.CODE_ID_NM,B.CODE_ID
FROM
COMTCCMMNCLCODE A
,COMTCCMMNCODE B
WHERE
A.CL_CODE='USR'
AND A.CL_CODE=B.CL_CODE
AND B.USE_AT='Y'
<isNotEmpty property="codeId" prepend="AND">
B.CODE_ID=#codeId#
</isNotEmpty>
ORDER BY
CODE_ID_NM ASC
</select>
<select id="comtccmmndetailcodeDAO.selectComtccmmncodeMax" resultClass="int">
SELECT
(SUBSTR(MAX(CODE),-3)+1) AS CODE
FROM
COMTCCMMNDETAILCODE
WHERE
CODE_ID = #codeId#
</select>
</sqlMap>

View File

@@ -0,0 +1,265 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<sqlMap namespace="HmsAuthGroup">
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
<typeAlias alias="hmsAuthGroupSerarchVO" type="egovframework.cms.auth.vo.HmsAuthGroupDefaultVO"/>
<resultMap id="hmsAuthGroup" class="egovframework.cms.auth.vo.HmsAuthGroupVO">
<result property="authGroupSeq" column="AUTH_GROUP_SEQ" columnIndex="1" />
<result property="authGroupNm" column="AUTH_GROUP_NM" columnIndex="2" />
<result property="authGroupDetail" column="AUTH_GROUP_DETAIL" columnIndex="3" />
</resultMap>
<insert id="hmsAuthGroupDAO.insertHmsAuthGroup_S">
INSERT INTO HMS_AUTH_GROUP
( AUTH_GROUP_SEQ
, AUTH_GROUP_NM
, AUTH_GROUP_DETAIL
)
VALUES (#authGroupSeq#
, #authGroupNm#
, #authGroupDetail#
)
</insert>
<update id="hmsAuthGroupDAO.updateHmsAuthGroup_S">
UPDATE
HMS_AUTH_GROUP
SET
AUTH_GROUP_SEQ=#authGroupSeq#
, AUTH_GROUP_NM=#authGroupNm#
, AUTH_GROUP_DETAIL=#authGroupDetail#
WHERE 1=1
AND AUTH_GROUP_SEQ=#authGroupSeq#
</update>
<delete id="hmsAuthGroupDAO.deleteHmsAuthGroup_S">
DELETE FROM
HMS_AUTH_GROUP
WHERE 1=1
AND AUTH_GROUP_SEQ=#authGroupSeq#
</delete>
<select id="hmsAuthGroupDAO.selectHmsAuthGroup_S" resultMap="hmsAuthGroup">
SELECT
AUTH_GROUP_SEQ
, AUTH_GROUP_NM
, AUTH_GROUP_DETAIL
FROM
HMS_AUTH_GROUP
WHERE 1=1
AND AUTH_GROUP_SEQ=#authGroupSeq#
</select>
<select id="hmsAuthGroupDAO.selectHmsAuthGroupList_D" parameterClass="hmsAuthGroupSerarchVO" resultClass="egovMap">
SELECT * FROM (
SELECT A.*, ROWNUM RNUM FROM (
SELECT
B.AUTH_GROUP_SEQ
, B.AUTH_GROUP_NM
, B.AUTH_GROUP_DETAIL
FROM
HMS_AUTH_GROUP B
WHERE 1=1
AND B.AUTH_GROUP_SEQ != 'BOM_0000000000000001'
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" compareValue="1" prepend="AND">
B.AUTH_GROUP_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" compareValue="2" prepend="AND">
B.AUTH_GROUP_DETAIL LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
<isNotEmpty property="searchAuthGroupDetail" prepend="AND">
B.AUTH_GROUP_DETAIL=#searchAuthGroupDetail#
</isNotEmpty>
<isNotEmpty property="searchNotAuthGroupDetail" prepend="AND">
B.AUTH_GROUP_DETAIL NOT LIKE #searchNotAuthGroupDetail# || '%'
</isNotEmpty>
<isNotEmpty property="searchAuthGroupDetailArray" prepend="AND">
B.AUTH_GROUP_DETAIL IN
<iterate open="(" close=")" conjunction="," property="searchAuthGroupDetailArray">
#searchAuthGroupDetailArray[]#
</iterate>
</isNotEmpty>
<isEmpty property="orderby" prepend="ORDER BY">
AUTH_GROUP_SEQ DESC
</isEmpty>
<isNotEmpty property="orderby" prepend="ORDER BY">
<isEqual property="orderby" compareValue="name_asc">
</isEqual>
</isNotEmpty>
<isEqual property="pageUseYn" compareValue="Y">
<![CDATA[
) A WHERE ROWNUM <= #lastIndex#
)WHERE RNUM > #firstIndex#
]]>
</isEqual>
<isNotEqual property="pageUseYn" compareValue="Y">
) A
)
</isNotEqual>
</select>
<select id="hmsAuthGroupDAO.selectHmsAuthGroupListTotCnt_S" parameterClass="hmsAuthGroupSerarchVO" resultClass="int">
SELECT
COUNT(*) totcnt
FROM
HMS_AUTH_GROUP B
WHERE 1=1
AND B.AUTH_GROUP_SEQ != 'BOM_0000000000000001'
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" compareValue="1" prepend="AND">
B.AUTH_GROUP_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" compareValue="2" prepend="AND">
B.AUTH_GROUP_DETAIL LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
<isNotEmpty property="searchAuthGroupDetail" prepend="AND">
B.AUTH_GROUP_DETAIL=#searchAuthGroupDetail#
</isNotEmpty>
<isNotEmpty property="searchNotAuthGroupDetail" prepend="AND">
B.AUTH_GROUP_DETAIL NOT LIKE #searchNotAuthGroupDetail# || '%'
</isNotEmpty>
<isNotEmpty property="searchAuthGroupDetailArray" prepend="AND">
B.AUTH_GROUP_DETAIL IN
<iterate open="(" close=")" conjunction="," property="searchAuthGroupDetailArray">
#searchAuthGroupDetailArray[]#
</iterate>
</isNotEmpty>
</select>
<select id="hmsAuthGroupDAO.selectHmsAuthList" resultClass="egovMap">
SELECT
B.AUTHOR_CODE
, B.AUTHOR_NM
, B.AUTHOR_DC
FROM
COMTNAUTHORINFO B
WHERE 1=1
AND AUTHOR_CODE NOT IN ('IS_AUTHENTICATED_FULLY', 'ROLE_SYSTEM')
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" compareValue="1" prepend="AND">
B.AUTH_GROUP_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" compareValue="2" prepend="AND">
B.AUTH_GROUP_DETAIL LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
ORDER BY
AUTHOR_NM DESC
</select>
<insert id="hmsAuthGroupDAO.insertHmsAuthGroupAuth">
INSERT INTO HMS_AUTH_GROUP_REL_AUTH
( AUTH_GROUP_SEQ
, AUTHOR_CODE
)
VALUES (#authGroupSeq#
, #authorCode#
)
</insert>
<select id="hmsAuthGroupDAO.selectHmsAuthGroupRelAuth" resultClass="egovMap">
SELECT
A.AUTH_GROUP_SEQ
,A.AUTHOR_CODE
,B.AUTHOR_NM
,B.AUTHOR_DC
FROM
HMS_AUTH_GROUP_REL_AUTH A, COMTNAUTHORINFO B
WHERE
A.AUTHOR_CODE=B.AUTHOR_CODE
AND A.AUTH_GROUP_SEQ=#value#
</select>
<delete id="hmsAuthGroupDAO.deleteHmsAuthGroupRelAuth">
DELETE FROM
HMS_AUTH_GROUP_REL_AUTH
WHERE
AUTH_GROUP_SEQ=#value#
</delete>
<select id="hmsAuthGroupDAO.selectHmsAuthGroupRelUser" resultClass="egovMap">
SELECT
A.AUTH_GROUP_SEQ
,A.USER_ID
,A.GUBUN
,B.USER_NM
,B.DEPT_CD
,B.DEPT_NM
,B.DUTY_NM
,B.POSITION_NM
,B.EMAIL
,B.TEL
,B.MOBILE
,'user' AS GUBUN
FROM
HMS_AUTH_GROUP_REL_USER A, HMS_USER B
WHERE
A.USER_ID = B.USER_SEQ
AND B.REC_STS='A'
AND A.AUTH_GROUP_SEQ=#value#
ORDER BY
USER_NM ASC
</select>
<select id="hmsAuthGroupDAO.selectHmsAuthGroupRelUserByMember" resultClass="egovMap">
SELECT
A.AUTH_GROUP_SEQ
,A.USER_ID
,A.GUBUN
,B.MEMBER_ID
,B.MEMBER_NM
,B.MEMBER_SEQ
,'user' AS GUBUN
FROM
HMS_AUTH_GROUP_REL_USER A, DMS_MEMBER B
WHERE
A.USER_ID = B.MEMBER_ID
AND B.REC_STS='A'
AND A.AUTH_GROUP_SEQ=#value#
ORDER BY
MEMBER_NM ASC
</select>
<select id="hmsAuthGroupDAO.selectHmsAuthGroupRelDept" resultClass="egovMap">
SELECT
B.DEPT_CD
,B.DEPT_FULL_NM
,'dept' AS GUBUN
FROM
HMS_AUTH_GROUP_REL_USER A, HMS_DEPT B
WHERE
A.USER_ID = B.DEPT_CD
AND B.REC_STS='A'
AND A.AUTH_GROUP_SEQ=#value#
</select>
<delete id="hmsAuthGroupDAO.deleteHmsAuthGroupRelUser">
DELETE FROM
HMS_AUTH_GROUP_REL_USER
WHERE 1=1
<isNotEmpty property="authGroupSeq" prepend="AND">
AUTH_GROUP_SEQ=#authGroupSeq#
</isNotEmpty>
<isNotEmpty property="userId" prepend="AND">
USER_ID=#userId#
</isNotEmpty>
</delete>
<insert id="hmsAuthGroupDAO.insertHmsAuthGroupUser">
INSERT INTO HMS_AUTH_GROUP_REL_USER
( AUTH_GROUP_SEQ
, USER_ID
, GUBUN
)
VALUES (#authGroupSeq#
, #userId#
, #gubun#
)
</insert>
</sqlMap>

View File

@@ -0,0 +1,263 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<sqlMap namespace="HmsAuthGroup">
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
<typeAlias alias="hmsAuthGroupSerarchVO" type="egovframework.cms.auth.vo.HmsAuthGroupDefaultVO"/>
<resultMap id="hmsAuthGroup" class="egovframework.cms.auth.vo.HmsAuthGroupVO">
<result property="authGroupSeq" column="AUTH_GROUP_SEQ" columnIndex="1" />
<result property="authGroupNm" column="AUTH_GROUP_NM" columnIndex="2" />
<result property="authGroupDetail" column="AUTH_GROUP_DETAIL" columnIndex="3" />
</resultMap>
<insert id="hmsAuthGroupDAO.insertHmsAuthGroup_S">
INSERT INTO HMS_AUTH_GROUP
( AUTH_GROUP_SEQ
, AUTH_GROUP_NM
, AUTH_GROUP_DETAIL
)
VALUES (#authGroupSeq#
, #authGroupNm#
, #authGroupDetail#
)
</insert>
<update id="hmsAuthGroupDAO.updateHmsAuthGroup_S">
UPDATE
HMS_AUTH_GROUP
SET
AUTH_GROUP_SEQ=#authGroupSeq#
, AUTH_GROUP_NM=#authGroupNm#
, AUTH_GROUP_DETAIL=#authGroupDetail#
WHERE 1=1
AND AUTH_GROUP_SEQ=#authGroupSeq#
</update>
<delete id="hmsAuthGroupDAO.deleteHmsAuthGroup_S">
DELETE FROM
HMS_AUTH_GROUP
WHERE 1=1
AND AUTH_GROUP_SEQ=#authGroupSeq#
</delete>
<select id="hmsAuthGroupDAO.selectHmsAuthGroup_S" resultMap="hmsAuthGroup">
SELECT
AUTH_GROUP_SEQ
, AUTH_GROUP_NM
, AUTH_GROUP_DETAIL
FROM
HMS_AUTH_GROUP
WHERE 1=1
AND AUTH_GROUP_SEQ=#authGroupSeq#
</select>
<select id="hmsAuthGroupDAO.selectHmsAuthGroupList_D" parameterClass="hmsAuthGroupSerarchVO" resultClass="egovMap">
SELECT * FROM (
SELECT A.*, ROWNUM RNUM FROM (
SELECT
B.AUTH_GROUP_SEQ
, B.AUTH_GROUP_NM
, B.AUTH_GROUP_DETAIL
FROM
HMS_AUTH_GROUP B
WHERE 1=1
AND B.AUTH_GROUP_SEQ != 'BOM_0000000000000001'
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" compareValue="1" prepend="AND">
B.AUTH_GROUP_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" compareValue="2" prepend="AND">
B.AUTH_GROUP_DETAIL LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
<isNotEmpty property="searchAuthGroupDetail" prepend="AND">
B.AUTH_GROUP_DETAIL=#searchAuthGroupDetail#
</isNotEmpty>
<isNotEmpty property="searchNotAuthGroupDetail" prepend="AND">
B.AUTH_GROUP_DETAIL NOT LIKE #searchNotAuthGroupDetail# || '%'
</isNotEmpty>
<isNotEmpty property="searchAuthGroupDetailArray" prepend="AND">
B.AUTH_GROUP_DETAIL IN
<iterate open="(" close=")" conjunction="," property="searchAuthGroupDetailArray">
#searchAuthGroupDetailArray[]#
</iterate>
</isNotEmpty>
<isEmpty property="orderby" prepend="ORDER BY">
AUTH_GROUP_SEQ DESC
</isEmpty>
<isNotEmpty property="orderby" prepend="ORDER BY">
<isEqual property="orderby" compareValue="name_asc">
</isEqual>
</isNotEmpty>
<isEqual property="pageUseYn" compareValue="Y">
<![CDATA[
) A WHERE ROWNUM <= #lastIndex#
)WHERE RNUM > #firstIndex#
]]>
</isEqual>
<isNotEqual property="pageUseYn" compareValue="Y">
) A
)
</isNotEqual>
</select>
<select id="hmsAuthGroupDAO.selectHmsAuthGroupListTotCnt_S" parameterClass="hmsAuthGroupSerarchVO" resultClass="int">
SELECT
COUNT(*) totcnt
FROM
HMS_AUTH_GROUP B
WHERE 1=1
AND B.AUTH_GROUP_SEQ != 'BOM_0000000000000001'
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" compareValue="1" prepend="AND">
B.AUTH_GROUP_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" compareValue="2" prepend="AND">
B.AUTH_GROUP_DETAIL LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
<isNotEmpty property="searchAuthGroupDetail" prepend="AND">
B.AUTH_GROUP_DETAIL=#searchAuthGroupDetail#
</isNotEmpty>
<isNotEmpty property="searchNotAuthGroupDetail" prepend="AND">
B.AUTH_GROUP_DETAIL NOT LIKE #searchNotAuthGroupDetail# || '%'
</isNotEmpty>
<isNotEmpty property="searchAuthGroupDetailArray" prepend="AND">
B.AUTH_GROUP_DETAIL IN
<iterate open="(" close=")" conjunction="," property="searchAuthGroupDetailArray">
#searchAuthGroupDetailArray[]#
</iterate>
</isNotEmpty>
</select>
<select id="hmsAuthGroupDAO.selectHmsAuthList" resultClass="egovMap">
SELECT
B.AUTHOR_CODE
, B.AUTHOR_NM
, B.AUTHOR_DC
FROM
COMTNAUTHORINFO B
WHERE 1=1
AND AUTHOR_CODE NOT IN ('IS_AUTHENTICATED_FULLY', 'ROLE_SYSTEM')
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" compareValue="1" prepend="AND">
B.AUTH_GROUP_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" compareValue="2" prepend="AND">
B.AUTH_GROUP_DETAIL LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
ORDER BY
AUTHOR_NM DESC
</select>
<insert id="hmsAuthGroupDAO.insertHmsAuthGroupAuth">
INSERT INTO HMS_AUTH_GROUP_REL_AUTH
( AUTH_GROUP_SEQ
, AUTHOR_CODE
)
VALUES (#authGroupSeq#
, #authorCode#
)
</insert>
<select id="hmsAuthGroupDAO.selectHmsAuthGroupRelAuth" resultClass="egovMap">
SELECT
A.AUTH_GROUP_SEQ
,A.AUTHOR_CODE
,B.AUTHOR_NM
,B.AUTHOR_DC
FROM
HMS_AUTH_GROUP_REL_AUTH A, COMTNAUTHORINFO B
WHERE
A.AUTHOR_CODE=B.AUTHOR_CODE
AND A.AUTH_GROUP_SEQ=#value#
</select>
<delete id="hmsAuthGroupDAO.deleteHmsAuthGroupRelAuth">
DELETE FROM
HMS_AUTH_GROUP_REL_AUTH
WHERE
AUTH_GROUP_SEQ=#value#
</delete>
<select id="hmsAuthGroupDAO.selectHmsAuthGroupRelUser" resultClass="egovMap">
SELECT
A.AUTH_GROUP_SEQ
,A.USER_ID
,A.GUBUN
,B.USER_NM
,B.DEPT_CD
,B.DEPT_NM
,B.DUTY_NM
,B.POSITION_NM
,B.EMAIL
,B.TEL
,B.MOBILE
,'user' AS GUBUN
FROM
HMS_AUTH_GROUP_REL_USER A, HMS_USER B
WHERE
A.USER_ID = B.USER_SEQ
AND B.REC_STS='A'
AND A.AUTH_GROUP_SEQ=#value#
ORDER BY
USER_NM ASC
</select>
<select id="hmsAuthGroupDAO.selectHmsAuthGroupRelUserByMember" resultClass="egovMap">
SELECT
A.AUTH_GROUP_SEQ
,A.USER_ID
,A.GUBUN
,B.MEMBER_ID
,B.MEMBER_NM
,B.MEMBER_SEQ
,'user' AS GUBUN
FROM
HMS_AUTH_GROUP_REL_USER A, DMS_MEMBER B
WHERE
A.USER_ID = B.MEMBER_ID
AND B.REC_STS='A'
AND A.AUTH_GROUP_SEQ=#value#
ORDER BY
MEMBER_NM ASC
</select>
<select id="hmsAuthGroupDAO.selectHmsAuthGroupRelDept" resultClass="egovMap">
SELECT
B.DEPT_CD
,B.DEPT_FULL_NM
,'dept' AS GUBUN
FROM
HMS_AUTH_GROUP_REL_USER A, HMS_DEPT B
WHERE
A.USER_ID = B.DEPT_CD
AND B.REC_STS='A'
AND A.AUTH_GROUP_SEQ=#value#
</select>
<delete id="hmsAuthGroupDAO.deleteHmsAuthGroupRelUser">
DELETE FROM
HMS_AUTH_GROUP_REL_USER
WHERE
AUTH_GROUP_SEQ=#authGroupSeq#
<isNotEmpty property="userId" prepend="AND">
USER_ID=#userId#
</isNotEmpty>
</delete>
<insert id="hmsAuthGroupDAO.insertHmsAuthGroupUser">
INSERT INTO HMS_AUTH_GROUP_REL_USER
( AUTH_GROUP_SEQ
, USER_ID
, GUBUN
)
VALUES (#authGroupSeq#
, #userId#
, #gubun#
)
</insert>
</sqlMap>

View File

@@ -0,0 +1,131 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<sqlMap namespace="HmsBrdCate">
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
<typeAlias alias="hmsBrdCateSerarchVO" type="egovframework.cms.board.vo.HmsBrdCateDefaultVO"/>
<resultMap id="hmsBrdCate" class="egovframework.cms.board.vo.HmsBrdCateVO">
<result property="cateSeq" column="CATE_SEQ" columnIndex="1" />
<result property="cateMastSeq" column="CATE_MAST_SEQ" columnIndex="2" />
<result property="cateNm" column="CATE_NM" columnIndex="3" />
<result property="cateSort" column="CATE_SORT" columnIndex="4" />
<result property="recSts" column="REC_STS" columnIndex="5" />
</resultMap>
<insert id="hmsBrdCateDAO.insertHmsBrdCate_S">
INSERT INTO HMS_BRD_CATE
( CATE_SEQ
, CATE_MAST_SEQ
, CATE_NM
, CATE_SORT
, REC_STS
)
VALUES (#cateSeq#
, #cateMastSeq#
, #cateNm#
, #cateSort#
, 'A'
)
</insert>
<update id="hmsBrdCateDAO.updateHmsBrdCate_S">
UPDATE
HMS_BRD_CATE
SET
CATE_SEQ=#cateSeq#
, CATE_MAST_SEQ=#cateMastSeq#
, CATE_NM=#cateNm#
, CATE_SORT=#cateSort#
, REC_STS=#recSts#
WHERE 1=1
AND REC_STS='A'
AND CATE_SEQ=#cateSeq#
</update>
<update id="hmsBrdCateDAO.deleteHmsBrdCate_S">
UPDATE
HMS_BRD_CATE
SET
REC_STS='D'
WHERE 1=1
AND CATE_SEQ=#cateSeq#
</update>
<select id="hmsBrdCateDAO.selectHmsBrdCate_S" resultMap="hmsBrdCate">
SELECT
CATE_SEQ
, CATE_MAST_SEQ
, CATE_NM
, CATE_SORT
, REC_STS
FROM
HMS_BRD_CATE
WHERE 1=1
AND REC_STS='A'
AND CATE_SEQ=#cateSeq#
</select>
<select id="hmsBrdCateDAO.selectHmsBrdCateList_D" parameterClass="hmsBrdCateSerarchVO" resultClass="egovMap">
SELECT * FROM (
SELECT A.*, ROWNUM RNUM FROM (
SELECT
B.CATE_SEQ
, B.CATE_MAST_SEQ
, B.CATE_NM
, B.CATE_SORT
, B.REC_STS
, (SELECT CATE_MAST_NM FROM HMS_BRD_CATE_MAST WHERE CATE_MAST_SEQ=B.CATE_MAST_SEQ) AS CATE_MAST_NM
FROM
HMS_BRD_CATE B
WHERE 1=1
AND B.REC_STS='A'
<isNotEmpty property="searchCateMastSeq" prepend="AND">
B.CATE_MAST_SEQ=#searchCateMastSeq#
</isNotEmpty>
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" compareValue="1" prepend="AND">
B.CATE_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
<isEmpty property="orderby" prepend="ORDER BY">
CATE_SORT ASC
</isEmpty>
<isNotEmpty property="orderby">
<isEqual property="orderby" compareValue="sort" prepend="ORDER BY">
CATE_SORT ASC
</isEqual>
</isNotEmpty>
<isEqual property="pageUseYn" compareValue="Y">
<![CDATA[
) A WHERE ROWNUM <= #lastIndex#
)WHERE RNUM > #firstIndex#
]]>
</isEqual>
<isNotEqual property="pageUseYn" compareValue="Y">
) A
)
</isNotEqual>
</select>
<select id="hmsBrdCateDAO.selectHmsBrdCateListTotCnt_S" parameterClass="hmsBrdCateSerarchVO" resultClass="int">
SELECT
COUNT(*) totcnt
FROM
HMS_BRD_CATE B
WHERE 1=1
AND B.REC_STS='A'
<isNotEmpty property="searchCateMastSeq" prepend="AND">
B.CATE_MAST_SEQ=#searchCateMastSeq#
</isNotEmpty>
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" compareValue="1" prepend="AND">
B.CATE_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
</select>
</sqlMap>

View File

@@ -0,0 +1,131 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<sqlMap namespace="HmsBrdCate">
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
<typeAlias alias="hmsBrdCateSerarchVO" type="egovframework.cms.board.vo.HmsBrdCateDefaultVO"/>
<resultMap id="hmsBrdCate" class="egovframework.cms.board.vo.HmsBrdCateVO">
<result property="cateSeq" column="CATE_SEQ" columnIndex="1" />
<result property="cateMastSeq" column="CATE_MAST_SEQ" columnIndex="2" />
<result property="cateNm" column="CATE_NM" columnIndex="3" />
<result property="cateSort" column="CATE_SORT" columnIndex="4" />
<result property="recSts" column="REC_STS" columnIndex="5" />
</resultMap>
<insert id="hmsBrdCateDAO.insertHmsBrdCate_S">
INSERT INTO HMS_BRD_CATE
( CATE_SEQ
, CATE_MAST_SEQ
, CATE_NM
, CATE_SORT
, REC_STS
)
VALUES (#cateSeq#
, #cateMastSeq#
, #cateNm#
, #cateSort#
, 'A'
)
</insert>
<update id="hmsBrdCateDAO.updateHmsBrdCate_S">
UPDATE
HMS_BRD_CATE
SET
CATE_SEQ=#cateSeq#
, CATE_MAST_SEQ=#cateMastSeq#
, CATE_NM=#cateNm#
, CATE_SORT=#cateSort#
, REC_STS=#recSts#
WHERE 1=1
AND REC_STS='A'
AND CATE_SEQ=#cateSeq#
</update>
<update id="hmsBrdCateDAO.deleteHmsBrdCate_S">
UPDATE
HMS_BRD_CATE
SET
REC_STS='D'
WHERE 1=1
AND CATE_SEQ=#cateSeq#
</update>
<select id="hmsBrdCateDAO.selectHmsBrdCate_S" resultMap="hmsBrdCate">
SELECT
CATE_SEQ
, CATE_MAST_SEQ
, CATE_NM
, CATE_SORT
, REC_STS
FROM
HMS_BRD_CATE
WHERE 1=1
AND REC_STS='A'
AND CATE_SEQ=#cateSeq#
</select>
<select id="hmsBrdCateDAO.selectHmsBrdCateList_D" parameterClass="hmsBrdCateSerarchVO" resultClass="egovMap">
SELECT * FROM (
SELECT A.*, ROWNUM RNUM FROM (
SELECT
B.CATE_SEQ
, B.CATE_MAST_SEQ
, B.CATE_NM
, B.CATE_SORT
, B.REC_STS
, (SELECT CATE_MAST_NM FROM HMS_BRD_CATE_MAST WHERE CATE_MAST_SEQ=B.CATE_MAST_SEQ) AS CATE_MAST_NM
FROM
HMS_BRD_CATE B
WHERE 1=1
AND B.REC_STS='A'
<isNotEmpty property="searchCateMastSeq" prepend="AND">
B.CATE_MAST_SEQ=#searchCateMastSeq#
</isNotEmpty>
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" compareValue="1" prepend="AND">
B.CATE_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
<isEmpty property="orderby" prepend="ORDER BY">
CATE_SORT ASC
</isEmpty>
<isNotEmpty property="orderby">
<isEqual property="orderby" compareValue="sort" prepend="ORDER BY">
CATE_SORT ASC
</isEqual>
</isNotEmpty>
<isEqual property="pageUseYn" compareValue="Y">
<![CDATA[
) A WHERE ROWNUM <= #lastIndex#
)WHERE RNUM > #firstIndex#
]]>
</isEqual>
<isNotEqual property="pageUseYn" compareValue="Y">
) A
)
</isNotEqual>
</select>
<select id="hmsBrdCateDAO.selectHmsBrdCateListTotCnt_S" parameterClass="hmsBrdCateSerarchVO" resultClass="int">
SELECT
COUNT(*) totcnt
FROM
HMS_BRD_CATE B
WHERE 1=1
AND B.REC_STS='A'
<isNotEmpty property="searchCateMastSeq" prepend="AND">
B.CATE_MAST_SEQ=#searchCateMastSeq#
</isNotEmpty>
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" compareValue="1" prepend="AND">
B.CATE_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
</select>
</sqlMap>

View File

@@ -0,0 +1,114 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<sqlMap namespace="HmsBrdCateMast">
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
<typeAlias alias="hmsBrdCateMastSerarchVO" type="egovframework.cms.board.vo.HmsBrdCateMastDefaultVO"/>
<resultMap id="hmsBrdCateMast" class="egovframework.cms.board.vo.HmsBrdCateMastVO">
<result property="cateMastSeq" column="CATE_MAST_SEQ" columnIndex="1" />
<result property="cateMastNm" column="CATE_MAST_NM" columnIndex="2" />
<result property="recSts" column="REC_STS" columnIndex="3" />
</resultMap>
<insert id="hmsBrdCateMastDAO.insertHmsBrdCateMast_S">
INSERT INTO HMS_BRD_CATE_MAST
( CATE_MAST_SEQ
, CATE_MAST_NM
, REC_STS
)
VALUES (#cateMastSeq#
, #cateMastNm#
, 'A'
)
</insert>
<update id="hmsBrdCateMastDAO.updateHmsBrdCateMast_S">
UPDATE
HMS_BRD_CATE_MAST
SET
CATE_MAST_SEQ=#cateMastSeq#
, CATE_MAST_NM=#cateMastNm#
, REC_STS=#recSts#
WHERE 1=1
AND REC_STS='A'
AND CATE_MAST_SEQ=#cateMastSeq#
</update>
<update id="hmsBrdCateMastDAO.deleteHmsBrdCateMast_S">
UPDATE
HMS_BRD_CATE_MAST
SET
REC_STS='D'
WHERE 1=1
AND CATE_MAST_SEQ=#cateMastSeq#
</update>
<select id="hmsBrdCateMastDAO.selectHmsBrdCateMast_S" resultMap="hmsBrdCateMast">
SELECT
CATE_MAST_SEQ
, CATE_MAST_NM
, REC_STS
FROM
HMS_BRD_CATE_MAST
WHERE 1=1
AND REC_STS='A'
AND CATE_MAST_SEQ=#cateMastSeq#
</select>
<select id="hmsBrdCateMastDAO.selectHmsBrdCateMastList_D" parameterClass="hmsBrdCateMastSerarchVO" resultClass="egovMap">
SELECT * FROM (
SELECT A.*, ROWNUM RNUM FROM (
SELECT
B.CATE_MAST_SEQ
, B.CATE_MAST_NM
, B.REC_STS
FROM
HMS_BRD_CATE_MAST B
WHERE 1=1
AND B.REC_STS='A'
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" compareValue="1" prepend="AND">
B.CATE_MAST_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
<isEmpty property="orderby" prepend="ORDER BY">
CATE_MAST_SEQ DESC
</isEmpty>
<isNotEmpty property="orderby">
<isEqual property="orderby" compareValue="name" prepend="ORDER BY">
CATE_MAST_NM ASC
</isEqual>
</isNotEmpty>
<isEqual property="pageUseYn" compareValue="Y">
<![CDATA[
) A WHERE ROWNUM <= #lastIndex#
)WHERE RNUM > #firstIndex#
]]>
</isEqual>
<isNotEqual property="pageUseYn" compareValue="Y">
) A
)
</isNotEqual>
</select>
<select id="hmsBrdCateMastDAO.selectHmsBrdCateMastListTotCnt_S" parameterClass="hmsBrdCateMastSerarchVO" resultClass="int">
SELECT
COUNT(*) totcnt
FROM
HMS_BRD_CATE_MAST B
WHERE 1=1
AND B.REC_STS='A'
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" compareValue="1" prepend="AND">
B.CATE_MAST_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
</select>
</sqlMap>

View File

@@ -0,0 +1,114 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<sqlMap namespace="HmsBrdCateMast">
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
<typeAlias alias="hmsBrdCateMastSerarchVO" type="egovframework.cms.board.vo.HmsBrdCateMastDefaultVO"/>
<resultMap id="hmsBrdCateMast" class="egovframework.cms.board.vo.HmsBrdCateMastVO">
<result property="cateMastSeq" column="CATE_MAST_SEQ" columnIndex="1" />
<result property="cateMastNm" column="CATE_MAST_NM" columnIndex="2" />
<result property="recSts" column="REC_STS" columnIndex="3" />
</resultMap>
<insert id="hmsBrdCateMastDAO.insertHmsBrdCateMast_S">
INSERT INTO HMS_BRD_CATE_MAST
( CATE_MAST_SEQ
, CATE_MAST_NM
, REC_STS
)
VALUES (#cateMastSeq#
, #cateMastNm#
, 'A'
)
</insert>
<update id="hmsBrdCateMastDAO.updateHmsBrdCateMast_S">
UPDATE
HMS_BRD_CATE_MAST
SET
CATE_MAST_SEQ=#cateMastSeq#
, CATE_MAST_NM=#cateMastNm#
, REC_STS=#recSts#
WHERE 1=1
AND REC_STS='A'
AND CATE_MAST_SEQ=#cateMastSeq#
</update>
<update id="hmsBrdCateMastDAO.deleteHmsBrdCateMast_S">
UPDATE
HMS_BRD_CATE_MAST
SET
REC_STS='D'
WHERE 1=1
AND CATE_MAST_SEQ=#cateMastSeq#
</update>
<select id="hmsBrdCateMastDAO.selectHmsBrdCateMast_S" resultMap="hmsBrdCateMast">
SELECT
CATE_MAST_SEQ
, CATE_MAST_NM
, REC_STS
FROM
HMS_BRD_CATE_MAST
WHERE 1=1
AND REC_STS='A'
AND CATE_MAST_SEQ=#cateMastSeq#
</select>
<select id="hmsBrdCateMastDAO.selectHmsBrdCateMastList_D" parameterClass="hmsBrdCateMastSerarchVO" resultClass="egovMap">
SELECT * FROM (
SELECT A.*, ROWNUM RNUM FROM (
SELECT
B.CATE_MAST_SEQ
, B.CATE_MAST_NM
, B.REC_STS
FROM
HMS_BRD_CATE_MAST B
WHERE 1=1
AND B.REC_STS='A'
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" compareValue="1" prepend="AND">
B.CATE_MAST_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
<isEmpty property="orderby" prepend="ORDER BY">
CATE_MAST_SEQ DESC
</isEmpty>
<isNotEmpty property="orderby">
<isEqual property="orderby" compareValue="name" prepend="ORDER BY">
CATE_MAST_NM ASC
</isEqual>
</isNotEmpty>
<isEqual property="pageUseYn" compareValue="Y">
<![CDATA[
) A WHERE ROWNUM <= #lastIndex#
)WHERE RNUM > #firstIndex#
]]>
</isEqual>
<isNotEqual property="pageUseYn" compareValue="Y">
) A
)
</isNotEqual>
</select>
<select id="hmsBrdCateMastDAO.selectHmsBrdCateMastListTotCnt_S" parameterClass="hmsBrdCateMastSerarchVO" resultClass="int">
SELECT
COUNT(*) totcnt
FROM
HMS_BRD_CATE_MAST B
WHERE 1=1
AND B.REC_STS='A'
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" compareValue="1" prepend="AND">
B.CATE_MAST_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
</select>
</sqlMap>

View File

@@ -0,0 +1,113 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<sqlMap namespace="HmsBrdComment">
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
<typeAlias alias="hmsBrdCommentSerarchVO" type="egovframework.cms.board.vo.HmsBrdCommentDefaultVO"/>
<resultMap id="hmsBrdComment" class="egovframework.cms.board.vo.HmsBrdCommentVO">
<result property="brdReplySeq" column="BRD_REPLY_SEQ" columnIndex="1"/>
<result property="userId" column="USER_ID" columnIndex="2"/>
<result property="userNm" column="USER_NM" columnIndex="3"/>
<result property="passwd" column="PASSWD" columnIndex="4"/>
<result property="contents" column="CONTENTS" columnIndex="5"/>
<result property="createDate" column="CREATE_DATE" columnIndex="6"/>
<result property="recSts" column="REC_STS" columnIndex="7"/>
<result property="ip" column="IP" columnIndex="8"/>
<result property="brdPostSeq" column="BRD_POST_SEQ" columnIndex="9"/>
</resultMap>
<insert id="hmsBrdCommentDAO.insertHmsBrdComment_S">
INSERT INTO HMS_BRD_COMMENT
( BRD_REPLY_SEQ
, USER_ID
, USER_NM
, PASSWD
, CONTENTS
, CREATE_DATE
, REC_STS
, IP
, BRD_POST_SEQ )
VALUES ( #brdReplySeq#
, #userId#
, #userNm#
, #passwd#
, #contents#
, NOW()
, 'A'
, #ip#
, #brdPostSeq# )
</insert>
<update id="hmsBrdCommentDAO.updateHmsBrdComment_S">
UPDATE
HMS_BRD_COMMENT
SET
, PASSWD=#passwd#
, CONTENTS=#contents#
WHERE
REC_STS='A'
AND BRD_REPLY_SEQ=#brdReplySeq#
</update>
<update id="hmsBrdCommentDAO.deleteHmsBrdComment_S">
UPDATE
HMS_BRD_COMMENT
SET
REC_STS='D'
,CREATE_DATE=NOW()
WHERE
REC_STS='A'
AND BRD_REPLY_SEQ=#brdReplySeq#
</update>
<select id="hmsBrdCommentDAO.selectHmsBrdComment_S" resultMap="hmsBrdComment">
SELECT
BRD_REPLY_SEQ
, USER_ID
, USER_NM
, PASSWD
, CONTENTS
, CREATE_DATE
, REC_STS
, IP
, BRD_POST_SEQ
FROM
HMS_BRD_COMMENT
WHERE
REC_STS='A'
AND BRD_POST_SEQ=#brdPostSeq#
</select>
<select id="hmsBrdCommentDAO.selectHmsBrdCommentList_D" parameterClass="hmsBrdCommentSerarchVO" resultClass="egovMap">
SELECT
BRD_REPLY_SEQ
, USER_ID
, USER_NM
, PASSWD
, CONTENTS
, CREATE_DATE
, REC_STS
, IP
, BRD_POST_SEQ
FROM
HMS_BRD_COMMENT
WHERE
REC_STS='A'
AND BRD_POST_SEQ=#brdPostSeq#
ORDER BY
BRD_REPLY_SEQ DESC
</select>
<select id="hmsBrdCommentDAO.selectHmsBrdCommentListTotCnt_S" parameterClass="hmsBrdCommentSerarchVO" resultClass="int">
SELECT
COUNT(*) totcnt
FROM
HMS_BRD_COMMENT
WHERE
REC_STS='A'
AND BRD_POST_SEQ=#brdPostSeq#
</select>
</sqlMap>

View File

@@ -0,0 +1,113 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<sqlMap namespace="HmsBrdComment">
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
<typeAlias alias="hmsBrdCommentSerarchVO" type="egovframework.cms.board.vo.HmsBrdCommentDefaultVO"/>
<resultMap id="hmsBrdComment" class="egovframework.cms.board.vo.HmsBrdCommentVO">
<result property="brdReplySeq" column="BRD_REPLY_SEQ" columnIndex="1"/>
<result property="userId" column="USER_ID" columnIndex="2"/>
<result property="userNm" column="USER_NM" columnIndex="3"/>
<result property="passwd" column="PASSWD" columnIndex="4"/>
<result property="contents" column="CONTENTS" columnIndex="5"/>
<result property="createDate" column="CREATE_DATE" columnIndex="6"/>
<result property="recSts" column="REC_STS" columnIndex="7"/>
<result property="ip" column="IP" columnIndex="8"/>
<result property="brdPostSeq" column="BRD_POST_SEQ" columnIndex="9"/>
</resultMap>
<insert id="hmsBrdCommentDAO.insertHmsBrdComment_S">
INSERT INTO HMS_BRD_COMMENT
( BRD_REPLY_SEQ
, USER_ID
, USER_NM
, PASSWD
, CONTENTS
, CREATE_DATE
, REC_STS
, IP
, BRD_POST_SEQ )
VALUES ( #brdReplySeq#
, #userId#
, #userNm#
, #passwd#
, #contents#
, SYSDATE
, 'A'
, #ip#
, #brdPostSeq# )
</insert>
<update id="hmsBrdCommentDAO.updateHmsBrdComment_S">
UPDATE
HMS_BRD_COMMENT
SET
, PASSWD=#passwd#
, CONTENTS=#contents#
WHERE
REC_STS='A'
AND BRD_REPLY_SEQ=#brdReplySeq#
</update>
<update id="hmsBrdCommentDAO.deleteHmsBrdComment_S">
UPDATE
HMS_BRD_COMMENT
SET
REC_STS='D'
,CREATE_DATE=SYSDATE
WHERE
REC_STS='A'
AND BRD_REPLY_SEQ=#brdReplySeq#
</update>
<select id="hmsBrdCommentDAO.selectHmsBrdComment_S" resultMap="hmsBrdComment">
SELECT
BRD_REPLY_SEQ
, USER_ID
, USER_NM
, PASSWD
, CONTENTS
, CREATE_DATE
, REC_STS
, IP
, BRD_POST_SEQ
FROM
HMS_BRD_COMMENT
WHERE
REC_STS='A'
AND BRD_POST_SEQ=#brdPostSeq#
</select>
<select id="hmsBrdCommentDAO.selectHmsBrdCommentList_D" parameterClass="hmsBrdCommentSerarchVO" resultClass="egovMap">
SELECT
BRD_REPLY_SEQ
, USER_ID
, USER_NM
, PASSWD
, CONTENTS
, CREATE_DATE
, REC_STS
, IP
, BRD_POST_SEQ
FROM
HMS_BRD_COMMENT
WHERE
REC_STS='A'
AND BRD_POST_SEQ=#brdPostSeq#
ORDER BY
BRD_REPLY_SEQ DESC
</select>
<select id="hmsBrdCommentDAO.selectHmsBrdCommentListTotCnt_S" parameterClass="hmsBrdCommentSerarchVO" resultClass="int">
SELECT
COUNT(*) totcnt
FROM
HMS_BRD_COMMENT
WHERE
REC_STS='A'
AND BRD_POST_SEQ=#brdPostSeq#
</select>
</sqlMap>

View File

@@ -0,0 +1,207 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<sqlMap namespace="HmsBrdMng">
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
<typeAlias alias="hmsBrdMngSerarchVO" type="egovframework.cms.board.vo.HmsBrdMngDefaultVO"/>
<resultMap id="hmsBrdMng" class="egovframework.cms.board.vo.HmsBrdMngVO">
<result property="brdMngSeq" column="BRD_MNG_SEQ" columnIndex="1"/>
<result property="brdNm" column="BRD_NM" columnIndex="2"/>
<result property="recSts" column="REC_STS" columnIndex="3"/>
<result property="createDate" column="CREATE_DATE" columnIndex="4"/>
<result property="writerId" column="WRITER_ID" columnIndex="5"/>
<result property="writerNm" column="WRITER_NM" columnIndex="6"/>
<result property="noticeIschk" column="NOTICE_ISCHK" columnIndex="7"/>
<result property="openIschk" column="OPEN_ISCHK" columnIndex="8"/>
<result property="replyIschk" column="REPLY_ISCHK" columnIndex="9"/>
<result property="brdType" column="BRD_TYPE" columnIndex="10"/>
<result property="brdSkin" column="BRD_SKIN" columnIndex="11"/>
<result property="editorFlag" column="EDITOR_FLAG" columnIndex="12"/>
<result property="showNewPost" column="SHOW_NEW_POST" columnIndex="13"/>
<result property="addNewPost" column="ADD_NEW_POST" columnIndex="14"/>
<result property="showWriteTime" column="SHOW_WRITE_TIME" columnIndex="15"/>
<result property="manager" column="MANAGER" columnIndex="16"/>
<result property="titleLength" column="TITLE_LENGTH" columnIndex="17"/>
<result property="cateMastSeq" column="CATE_MAST_SEQ" columnIndex="18"/>
<result property="atchWhite" column="ATCH_WHITE" columnIndex="19"/>
<result property="atchCnt" column="ATCH_CNT" columnIndex="20"/>
</resultMap>
<insert id="hmsBrdMngDAO.insertHmsBrdMng_S">
INSERT INTO HMS_BRD_MANAGER
( BRD_MNG_SEQ
, BRD_NM
, BRD_TYPE
, BRD_SKIN
, WRITER_ID
, WRITER_NM
, CREATE_DATE
, OPEN_ISCHK
, NOTICE_ISCHK
, REPLY_ISCHK
, EDITOR_FLAG
, REC_STS
, SHOW_NEW_POST
, ADD_NEW_POST
, SHOW_WRITE_TIME
, MANAGER
, TITLE_LENGTH
, CATE_MAST_SEQ
, ATCH_WHITE
, ATCH_CNT
)
VALUES ( #brdMngSeq#
, #brdNm#
, #brdType#
, #brdSkin#
, #writerId#
, #writerNm#
, NOW()
, #openIschk#
, #noticeIschk#
, #replyIschk#
, #editorFlag#
, 'A'
, #showNewPost#
, #addNewPost#
, #showWriteTime#
, #manager#
, #titleLength#
, #cateMastSeq#
, #atchWhite#
, #atchCnt#
)
</insert>
<update id="hmsBrdMngDAO.updateHmsBrdMng_S">
UPDATE
HMS_BRD_MANAGER
SET
BRD_NM=#brdNm#
, BRD_TYPE=#brdType#
, BRD_SKIN=#brdSkin#
, OPEN_ISCHK=#openIschk#
, NOTICE_ISCHK=#noticeIschk#
, REPLY_ISCHK=#replyIschk#
, EDITOR_FLAG=#editorFlag#
, SHOW_NEW_POST=#showNewPost#
, ADD_NEW_POST=#addNewPost#
, SHOW_WRITE_TIME=#showWriteTime#
, MANAGER=#manager#
, TITLE_LENGTH=#titleLength#
, CATE_MAST_SEQ=#cateMastSeq#
, ATCH_WHITE=#atchWhite#
, ATCH_CNT=#atchCnt#
WHERE
REC_STS='A'
AND BRD_MNG_SEQ=#brdMngSeq#
</update>
<update id="hmsBrdMngDAO.deleteHmsBrdMng_S">
UPDATE
HMS_BRD_MANAGER
SET
REC_STS='D'
WHERE
REC_STS='A'
AND BRD_MNG_SEQ=#brdMngSeq#
</update>
<select id="hmsBrdMngDAO.selectHmsBrdMng_S" resultMap="hmsBrdMng">
SELECT
BRD_MNG_SEQ
, BRD_NM
, BRD_TYPE
, BRD_SKIN
, WRITER_ID
, WRITER_NM
, CREATE_DATE
, OPEN_ISCHK
, NOTICE_ISCHK
, REPLY_ISCHK
, REC_STS
, EDITOR_FLAG
, SHOW_NEW_POST
, ADD_NEW_POST
, SHOW_WRITE_TIME
, MANAGER
, TITLE_LENGTH
, CATE_MAST_SEQ
, ATCH_WHITE
, ATCH_CNT
FROM
HMS_BRD_MANAGER
WHERE
REC_STS='A'
AND BRD_MNG_SEQ=#brdMngSeq#
</select>
<select id="hmsBrdMngDAO.selectHmsBrdMngList_D" parameterClass="hmsBrdMngSerarchVO" resultClass="egovMap">
SELECT * FROM (
SELECT A.*, ROWNUM RNUM FROM (
SELECT
BRD_MNG_SEQ
, BRD_NM
, BRD_TYPE
, BRD_SKIN
, WRITER_ID
, WRITER_NM
, CREATE_DATE
, OPEN_ISCHK
, NOTICE_ISCHK
, REPLY_ISCHK
, REC_STS
, EDITOR_FLAG
, SHOW_NEW_POST
, ADD_NEW_POST
, SHOW_WRITE_TIME
, MANAGER
, TITLE_LENGTH
, CATE_MAST_SEQ
, ATCH_WHITE
, ATCH_CNT
FROM HMS_BRD_MANAGER
WHERE
REC_STS='A'
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" prepend="AND" compareValue="1">
BRD_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" prepend="AND" compareValue="2">
BRD_TYPE LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
ORDER BY
BRD_MNG_SEQ DESC
<isEqual property="pageUseYn" compareValue="Y">
<![CDATA[
) A WHERE ROWNUM <= #lastIndex#
)WHERE RNUM > #firstIndex#
]]>
</isEqual>
<isNotEqual property="pageUseYn" compareValue="Y">
) A
)
</isNotEqual>
</select>
<select id="hmsBrdMngDAO.selectHmsBrdMngListTotCnt_S" parameterClass="hmsBrdMngSerarchVO" resultClass="int">
SELECT COUNT(*) totcnt
FROM HMS_BRD_MANAGER
WHERE
REC_STS='A'
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" prepend="AND" compareValue="1">
BRD_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" prepend="AND" compareValue="2">
BRD_TYPE LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
ORDER BY
BRD_MNG_SEQ DESC
</select>
</sqlMap>

View File

@@ -0,0 +1,207 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<sqlMap namespace="HmsBrdMng">
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
<typeAlias alias="hmsBrdMngSerarchVO" type="egovframework.cms.board.vo.HmsBrdMngDefaultVO"/>
<resultMap id="hmsBrdMng" class="egovframework.cms.board.vo.HmsBrdMngVO">
<result property="brdMngSeq" column="BRD_MNG_SEQ" columnIndex="1"/>
<result property="brdNm" column="BRD_NM" columnIndex="2"/>
<result property="recSts" column="REC_STS" columnIndex="3"/>
<result property="createDate" column="CREATE_DATE" columnIndex="4"/>
<result property="writerId" column="WRITER_ID" columnIndex="5"/>
<result property="writerNm" column="WRITER_NM" columnIndex="6"/>
<result property="noticeIschk" column="NOTICE_ISCHK" columnIndex="7"/>
<result property="openIschk" column="OPEN_ISCHK" columnIndex="8"/>
<result property="replyIschk" column="REPLY_ISCHK" columnIndex="9"/>
<result property="brdType" column="BRD_TYPE" columnIndex="10"/>
<result property="brdSkin" column="BRD_SKIN" columnIndex="11"/>
<result property="editorFlag" column="EDITOR_FLAG" columnIndex="12"/>
<result property="showNewPost" column="SHOW_NEW_POST" columnIndex="13"/>
<result property="addNewPost" column="ADD_NEW_POST" columnIndex="14"/>
<result property="showWriteTime" column="SHOW_WRITE_TIME" columnIndex="15"/>
<result property="manager" column="MANAGER" columnIndex="16"/>
<result property="titleLength" column="TITLE_LENGTH" columnIndex="17"/>
<result property="cateMastSeq" column="CATE_MAST_SEQ" columnIndex="18"/>
<result property="atchWhite" column="ATCH_WHITE" columnIndex="19"/>
<result property="atchCnt" column="ATCH_CNT" columnIndex="20"/>
</resultMap>
<insert id="hmsBrdMngDAO.insertHmsBrdMng_S">
INSERT INTO HMS_BRD_MANAGER
( BRD_MNG_SEQ
, BRD_NM
, BRD_TYPE
, BRD_SKIN
, WRITER_ID
, WRITER_NM
, CREATE_DATE
, OPEN_ISCHK
, NOTICE_ISCHK
, REPLY_ISCHK
, EDITOR_FLAG
, REC_STS
, SHOW_NEW_POST
, ADD_NEW_POST
, SHOW_WRITE_TIME
, MANAGER
, TITLE_LENGTH
, CATE_MAST_SEQ
, ATCH_WHITE
, ATCH_CNT
)
VALUES ( #brdMngSeq#
, #brdNm#
, #brdType#
, #brdSkin#
, #writerId#
, #writerNm#
, SYSDATE
, #openIschk#
, #noticeIschk#
, #replyIschk#
, #editorFlag#
, 'A'
, #showNewPost#
, #addNewPost#
, #showWriteTime#
, #manager#
, #titleLength#
, #cateMastSeq#
, #atchWhite#
, #atchCnt#
)
</insert>
<update id="hmsBrdMngDAO.updateHmsBrdMng_S">
UPDATE
HMS_BRD_MANAGER
SET
BRD_NM=#brdNm#
, BRD_TYPE=#brdType#
, BRD_SKIN=#brdSkin#
, OPEN_ISCHK=#openIschk#
, NOTICE_ISCHK=#noticeIschk#
, REPLY_ISCHK=#replyIschk#
, EDITOR_FLAG=#editorFlag#
, SHOW_NEW_POST=#showNewPost#
, ADD_NEW_POST=#addNewPost#
, SHOW_WRITE_TIME=#showWriteTime#
, MANAGER=#manager#
, TITLE_LENGTH=#titleLength#
, CATE_MAST_SEQ=#cateMastSeq#
, ATCH_WHITE=#atchWhite#
, ATCH_CNT=#atchCnt#
WHERE
REC_STS='A'
AND BRD_MNG_SEQ=#brdMngSeq#
</update>
<update id="hmsBrdMngDAO.deleteHmsBrdMng_S">
UPDATE
HMS_BRD_MANAGER
SET
REC_STS='D'
WHERE
REC_STS='A'
AND BRD_MNG_SEQ=#brdMngSeq#
</update>
<select id="hmsBrdMngDAO.selectHmsBrdMng_S" resultMap="hmsBrdMng">
SELECT
BRD_MNG_SEQ
, BRD_NM
, BRD_TYPE
, BRD_SKIN
, WRITER_ID
, WRITER_NM
, CREATE_DATE
, OPEN_ISCHK
, NOTICE_ISCHK
, REPLY_ISCHK
, REC_STS
, EDITOR_FLAG
, SHOW_NEW_POST
, ADD_NEW_POST
, SHOW_WRITE_TIME
, MANAGER
, TITLE_LENGTH
, CATE_MAST_SEQ
, ATCH_WHITE
, ATCH_CNT
FROM
HMS_BRD_MANAGER
WHERE
REC_STS='A'
AND BRD_MNG_SEQ=#brdMngSeq#
</select>
<select id="hmsBrdMngDAO.selectHmsBrdMngList_D" parameterClass="hmsBrdMngSerarchVO" resultClass="egovMap">
SELECT * FROM (
SELECT A.*, ROWNUM RNUM FROM (
SELECT
BRD_MNG_SEQ
, BRD_NM
, BRD_TYPE
, BRD_SKIN
, WRITER_ID
, WRITER_NM
, CREATE_DATE
, OPEN_ISCHK
, NOTICE_ISCHK
, REPLY_ISCHK
, REC_STS
, EDITOR_FLAG
, SHOW_NEW_POST
, ADD_NEW_POST
, SHOW_WRITE_TIME
, MANAGER
, TITLE_LENGTH
, CATE_MAST_SEQ
, ATCH_WHITE
, ATCH_CNT
FROM HMS_BRD_MANAGER
WHERE
REC_STS='A'
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" prepend="AND" compareValue="1">
BRD_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" prepend="AND" compareValue="2">
BRD_TYPE LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
ORDER BY
BRD_MNG_SEQ DESC
<isEqual property="pageUseYn" compareValue="Y">
<![CDATA[
) A WHERE ROWNUM <= #lastIndex#
)WHERE RNUM > #firstIndex#
]]>
</isEqual>
<isNotEqual property="pageUseYn" compareValue="Y">
) A
)
</isNotEqual>
</select>
<select id="hmsBrdMngDAO.selectHmsBrdMngListTotCnt_S" parameterClass="hmsBrdMngSerarchVO" resultClass="int">
SELECT COUNT(*) totcnt
FROM HMS_BRD_MANAGER
WHERE
REC_STS='A'
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" prepend="AND" compareValue="1">
BRD_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" prepend="AND" compareValue="2">
BRD_TYPE LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
ORDER BY
BRD_MNG_SEQ DESC
</select>
</sqlMap>

View File

@@ -0,0 +1,494 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<sqlMap namespace="HmsBrdPost">
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
<typeAlias alias="hmsBrdPostSerarchVO" type="egovframework.cms.board.vo.HmsBrdPostDefaultVO"/>
<resultMap id="hmsBrdPost" class="egovframework.cms.board.vo.HmsBrdPostVO">
<result property="brdPostSeq" column="BRD_POST_SEQ" columnIndex="1"/>
<result property="userId" column="USER_ID" columnIndex="2"/>
<result property="userNm" column="USER_NM" columnIndex="3"/>
<result property="atchSeq" column="ATCH_SEQ" columnIndex="4"/>
<result property="recSts" column="REC_STS" columnIndex="5"/>
<result property="title" column="TITLE" columnIndex="6"/>
<result property="passwd" column="PASSWD" columnIndex="7"/>
<result property="viewCnt" column="VIEW_CNT" columnIndex="8"/>
<result property="openIschk" column="OPEN_ISCHK" columnIndex="9"/>
<result property="noticeIschk" column="NOTICE_ISCHK" columnIndex="10"/>
<result property="createDate" column="CREATE_DATE" columnIndex="11"/>
<result property="contents" column="CONTENTS" columnIndex="12"/>
<result property="ip" column="IP" columnIndex="13"/>
<result property="brdGroup" column="BRD_GROUP" columnIndex="14"/>
<result property="brdDepth" column="BRD_DEPTH" columnIndex="15"/>
<result property="brdSort" column="BRD_SORT" columnIndex="16"/>
<result property="brdMngSeq" column="BRD_MNG_SEQ" columnIndex="17"/>
<result property="editorFlag" column="EDITOR_FLAG" columnIndex="18"/>
<result property="officeNm" column="OFFICE_NM" columnIndex="19"/>
<result property="extField01" column="EXT_FIELD01" columnIndex="20"/>
<result property="extField02" column="EXT_FIELD02" columnIndex="21"/>
<result property="extField03" column="EXT_FIELD03" columnIndex="22"/>
<result property="extField04" column="EXT_FIELD04" columnIndex="23"/>
<result property="extField05" column="EXT_FIELD05" columnIndex="24"/>
<result property="extTitle01" column="EXT_TITLE01" columnIndex="25"/>
<result property="extTitle02" column="EXT_TITLE02" columnIndex="26"/>
<result property="extTitle03" column="EXT_TITLE03" columnIndex="27"/>
<result property="extTitle04" column="EXT_TITLE04" columnIndex="28"/>
<result property="extTitle05" column="EXT_TITLE05" columnIndex="29"/>
<result property="createTime" column="CREATE_TIME" columnIndex="30"/>
<result property="cateSeq" column="CATE_SEQ" columnIndex="31"/>
<result property="extContents01" column="EXT_CONTENTS01" columnIndex="32"/>
</resultMap>
<insert id="hmsBrdPostDAO.insertHmsBrdPost_S">
INSERT INTO HMS_BRD_POST
( BRD_POST_SEQ
, USER_ID
, USER_NM
, ATCH_SEQ
, REC_STS
, TITLE
, PASSWD
, VIEW_CNT
, OPEN_ISCHK
, NOTICE_ISCHK
, CREATE_DATE
, CONTENTS
, IP
, BRD_GROUP
, BRD_DEPTH
, BRD_SORT
, EDITOR_FLAG
, BRD_MNG_SEQ
, OFFICE_NM
, EXT_FIELD01
, EXT_FIELD02
, EXT_FIELD03
, EXT_FIELD04
, EXT_FIELD05
, EXT_TITLE01
, EXT_TITLE02
, EXT_TITLE03
, EXT_TITLE04
, EXT_TITLE05
, CATE_SEQ
, EXT_CONTENTS01
)
VALUES ( #brdPostSeq#
, #userId#
, #userNm#
, #atchSeq#
, 'A'
, #title#
, #passwd#
, 0
, #openIschk#
, #noticeIschk#
, NOW()
, #contents#
, #ip#
, #brdGroup#
, #brdDepth#
, #brdSort#
, #editorFlag#
, #brdMngSeq#
, #officeNm#
, #extField01#
, #extField02#
, #extField03#
, #extField04#
, #extField05#
, #extTitle01#
, #extTitle02#
, #extTitle03#
, #extTitle04#
, #extTitle05#
, #cateSeq#
, #extContents01#
)
</insert>
<update id="hmsBrdPostDAO.updateHmsBrdPost_S">
UPDATE
HMS_BRD_POST
SET
ATCH_SEQ=#atchSeq#
, TITLE=#title#
, PASSWD=#passwd#
, OPEN_ISCHK=#openIschk#
, NOTICE_ISCHK=#noticeIschk#
, CONTENTS=#contents#
, BRD_GROUP=#brdGroup#
, BRD_DEPTH=#brdDepth#
, BRD_SORT=#brdSort#
, EDITOR_FLAG=#editorFlag#
, EXT_FIELD01=#extField01#
, EXT_FIELD02=#extField02#
, EXT_FIELD03=#extField03#
, EXT_FIELD04=#extField04#
, EXT_FIELD05=#extField05#
, EXT_TITLE01=#extTitle01#
, EXT_TITLE02=#extTitle02#
, EXT_TITLE03=#extTitle03#
, EXT_TITLE04=#extTitle04#
, EXT_TITLE05=#extTitle05#
, CATE_SEQ=#cateSeq#
, EXT_CONTENTS01=#extContents01#
WHERE
REC_STS='A'
AND BRD_POST_SEQ=#brdPostSeq#
AND BRD_MNG_SEQ=#brdMngSeq#
</update>
<update id="hmsBrdPostDAO.updateIncrementHit_S">
UPDATE
HMS_BRD_POST
SET
VIEW_CNT=VIEW_CNT+1
WHERE
REC_STS='A'
AND BRD_POST_SEQ=#brdPostSeq#
AND BRD_MNG_SEQ=#brdMngSeq#
</update>
<update id="hmsBrdPostDAO.updateBrdPostReply">
UPDATE
HMS_BRD_POST
SET
BRD_SORT=BRD_SORT-1
WHERE
BRD_MNG_SEQ=#brdMngSeq#
AND BRD_GROUP=#brdGroup#
<![CDATA[
AND BRD_SORT < #brdSort#
]]>
</update>
<update id="hmsBrdPostDAO.deleteHmsBrdPost_S">
UPDATE
HMS_BRD_POST
SET
REC_STS='D'
WHERE
REC_STS='A'
AND BRD_POST_SEQ=#brdPostSeq#
AND BRD_MNG_SEQ=#brdMngSeq#
</update>
<select id="hmsBrdPostDAO.selectHmsBrdPost_S" resultMap="hmsBrdPost">
SELECT
BRD_POST_SEQ
, USER_ID
, USER_NM
, ATCH_SEQ
, REC_STS
, TITLE
, PASSWD
, VIEW_CNT
, OPEN_ISCHK
, NOTICE_ISCHK
, CREATE_DATE
, CONTENTS
, IP
, BRD_GROUP
, BRD_DEPTH
, BRD_SORT
, BRD_MNG_SEQ
, EDITOR_FLAG
, OFFICE_NM
, EXT_FIELD01
, EXT_FIELD02
, EXT_FIELD03
, EXT_FIELD04
, EXT_FIELD05
, EXT_TITLE01
, EXT_TITLE02
, EXT_TITLE03
, EXT_TITLE04
, EXT_TITLE05
, TO_CHAR(CREATE_DATE, 'HH24:MI:SS') AS CREATE_TIME
, CATE_SEQ
, EXT_CONTENTS01
FROM
HMS_BRD_POST
WHERE
REC_STS='A'
AND BRD_MNG_SEQ=#brdMngSeq#
AND BRD_POST_SEQ=#brdPostSeq#
</select>
<select id="hmsBrdPostDAO.selectHmsBrdPostList_D" parameterClass="hmsBrdPostSerarchVO" resultClass="egovMap">
SELECT * FROM (
SELECT A.*, ROWNUM RNUM FROM (
SELECT
B.BRD_POST_SEQ
, B.USER_ID
, B.USER_NM
, B.ATCH_SEQ
, B.REC_STS
, B.TITLE
, B.PASSWD
, B.VIEW_CNT
, B.OPEN_ISCHK
, B.NOTICE_ISCHK
, B.CREATE_DATE
, B.IP
, B.BRD_GROUP
, B.BRD_DEPTH
, B.BRD_SORT
, B.BRD_MNG_SEQ
, B.EDITOR_FLAG
, B.OFFICE_NM
, B.EXT_FIELD01
, B.EXT_FIELD02
, B.EXT_FIELD03
, B.EXT_FIELD04
, B.EXT_FIELD05
, B.EXT_TITLE01
, B.EXT_TITLE02
, B.EXT_TITLE03
, B.EXT_TITLE04
, B.EXT_TITLE05
, TO_CHAR(B.CREATE_DATE, 'HH24:MI:SS') AS CREATE_TIME
, (SELECT COUNT(*) FROM HMS_BRD_COMMENT WHERE REC_STS='A' AND BRD_POST_SEQ=B.BRD_POST_SEQ) AS COMMENT_CNT
, B.CATE_SEQ
, (SELECT CATE_NM FROM HMS_BRD_CATE WHERE CATE_SEQ=B.CATE_SEQ) AS CATE_NM
, B.EXT_CONTENTS01
FROM
HMS_BRD_POST B
WHERE
B.REC_STS='A'
AND B.BRD_MNG_SEQ=#brdMngSeq#
<isNotEmpty property="searchBrdDepth" prepend="AND">
B.BRD_DEPTH=#searchBrdDepth#
</isNotEmpty>
<isNotEmpty property="searchBrdGroup" prepend="AND">
B.BRD_GROUP=#searchBrdGroup#
</isNotEmpty>
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" prepend="AND" compareValue="1">
B.TITLE LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" prepend="AND" compareValue="2">
B.USER_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" prepend="AND" compareValue="3">
B.EXT_CONTENTS01 LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
<isNotEmpty property="searchCateSeq" prepend="AND">
B.CATE_SEQ=#searchCateSeq#
</isNotEmpty>
<isNotEmpty property="searchCreateDate" prepend="AND">
TO_CHAR(B.CREATE_DATE, 'YYYYMMDD') = #searchCreateDate#
</isNotEmpty>
<isNotEmpty property="searchStartDate" prepend="AND">
<![CDATA[ TO_CHAR(B.CREATE_DATE, 'YYYYMMDD') >= #searchStartDate# ]]>
</isNotEmpty>
<isNotEmpty property="searchEndDate" prepend="AND">
<![CDATA[ TO_CHAR(B.CREATE_DATE, 'YYYYMMDD') <= #searchEndDate# ]]>
</isNotEmpty>
<isNotEmpty property="searchUserId" prepend="AND">
B.USER_ID=#searchUserId#
</isNotEmpty>
<isEmpty property="orderby" prepend="ORDER BY">
NOTICE_ISCHK ASC, BRD_SORT DESC
</isEmpty>
<isNotEmpty property="orderby">
</isNotEmpty>
<isEqual property="pageUseYn" compareValue="Y">
<![CDATA[
) A WHERE ROWNUM <= #lastIndex#
)WHERE RNUM > #firstIndex#
]]>
</isEqual>
<isNotEqual property="pageUseYn" compareValue="Y">
) A
)
</isNotEqual>
</select>
<select id="hmsBrdPostDAO.selectHmsBrdPostListTotCnt_S" parameterClass="hmsBrdPostSerarchVO" resultClass="int">
SELECT
COUNT(*) totcnt
FROM
HMS_BRD_POST B
WHERE
B.REC_STS='A'
AND B.BRD_MNG_SEQ=#brdMngSeq#
<isNotEmpty property="searchBrdDepth" prepend="AND">
B.BRD_DEPTH=#searchBrdDepth#
</isNotEmpty>
<isNotEmpty property="searchBrdGroup" prepend="AND">
B.BRD_GROUP=#searchBrdGroup#
</isNotEmpty>
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" prepend="AND" compareValue="1">
B.TITLE LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" prepend="AND" compareValue="2">
B.USER_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" prepend="AND" compareValue="3">
B.EXT_CONTENTS01 LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
<isNotEmpty property="searchCateSeq" prepend="AND">
B.CATE_SEQ=#searchCateSeq#
</isNotEmpty>
<isNotEmpty property="searchCreateDate" prepend="AND">
TO_CHAR(B.CREATE_DATE, 'YYYYMMDD') = #searchCreateDate#
</isNotEmpty>
<isNotEmpty property="searchStartDate" prepend="AND">
<![CDATA[ TO_CHAR(B.CREATE_DATE, 'YYYYMMDD') >= #searchStartDate# ]]>
</isNotEmpty>
<isNotEmpty property="searchEndDate" prepend="AND">
<![CDATA[ TO_CHAR(B.CREATE_DATE, 'YYYYMMDD') <= #searchEndDate# ]]>
</isNotEmpty>
<isNotEmpty property="searchUserId" prepend="AND">
B.USER_ID=#searchUserId#
</isNotEmpty>
</select>
<select id="hmsBrdPostDAO.selectBrdLastPostByPostSort" resultMap="hmsBrdPost">
SELECT
BRD_POST_SEQ
, USER_ID
, USER_NM
, ATCH_SEQ
, REC_STS
, TITLE
, PASSWD
, VIEW_CNT
, OPEN_ISCHK
, NOTICE_ISCHK
, CREATE_DATE
, IP
, CONTENTS
, BRD_GROUP
, BRD_DEPTH
, BRD_SORT
, BRD_MNG_SEQ
, EDITOR_FLAG
, OFFICE_NM
, EXT_FIELD01
, EXT_FIELD02
, EXT_FIELD03
, EXT_FIELD04
, EXT_FIELD05
, EXT_TITLE01
, EXT_TITLE02
, EXT_TITLE03
, EXT_TITLE04
, EXT_TITLE05
, TO_CHAR(CREATE_DATE, 'HH24:MI:SS') AS CREATE_TIME
, CATE_SEQ
, EXT_CONTENTS01
FROM
HMS_BRD_POST
WHERE
BRD_MNG_SEQ=#brdMngSeq#
AND BRD_SORT = (
SELECT MAX(BRD_SORT) FROM HMS_BRD_POST WHERE BRD_MNG_SEQ=#brdMngSeq#
)
</select>
<select id="hmsBrdPostDAO.selectHmsBrdNewPostList" parameterClass="hmsBrdPostSerarchVO" resultClass="egovMap">
SELECT * FROM (
SELECT A.*, ROWNUM RNUM FROM (
SELECT
B.BRD_POST_SEQ
, B.USER_ID
, B.USER_NM
, B.ATCH_SEQ
, B.REC_STS
, B.TITLE
, B.PASSWD
, B.VIEW_CNT
, B.OPEN_ISCHK
, B.NOTICE_ISCHK
, B.CREATE_DATE
, B.IP
, B.BRD_GROUP
, B.BRD_DEPTH
, B.BRD_SORT
, B.BRD_MNG_SEQ
, (SELECT BRD_NM FROM HMS_BRD_MANAGER WHERE REC_STS='A' AND BRD_MNG_SEQ = B.BRD_MNG_SEQ) AS BRD_NM
, B.EDITOR_FLAG
, B.OFFICE_NM
, B.EXT_FIELD01
, B.EXT_FIELD02
, B.EXT_FIELD03
, B.EXT_FIELD04
, B.EXT_FIELD05
, B.EXT_TITLE01
, B.EXT_TITLE02
, B.EXT_TITLE03
, B.EXT_TITLE04
, B.EXT_TITLE05
, TO_CHAR(B.CREATE_DATE, 'HH24:MI:SS') AS CREATE_TIME
, (SELECT COUNT(*) FROM HMS_BRD_COMMENT WHERE REC_STS='A' AND BRD_POST_SEQ=B.BRD_POST_SEQ) AS COMMENT_CNT
, B.CATE_SEQ
, (SELECT CATE_NM FROM HMS_BRD_CATE WHERE CATE_SEQ=B.CATE_SEQ) AS CATE_NM
, B.EXT_CONTENTS01
FROM
HMS_BRD_POST B, HMS_BRD_MANAGER C
WHERE
B.REC_STS='A'
AND C.ADD_NEW_POST = 'on'
AND B.BRD_MNG_SEQ=C.BRD_MNG_SEQ
<isNotEmpty property="searchBrdDepth" prepend="AND">
B.BRD_DEPTH=#searchBrdDepth#
</isNotEmpty>
<isNotEmpty property="searchBrdGroup" prepend="AND">
B.BRD_GROUP=#searchBrdGroup#
</isNotEmpty>
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" prepend="AND" compareValue="1">
B.TITLE LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" prepend="AND" compareValue="2">
B.USER_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
ORDER BY
NOTICE_ISCHK ASC, CREATE_DATE DESC, BRD_SORT DESC
<isEqual property="pageUseYn" compareValue="Y">
<![CDATA[
) A WHERE ROWNUM <= #lastIndex#
)WHERE RNUM > #firstIndex#
]]>
</isEqual>
<isNotEqual property="pageUseYn" compareValue="Y">
) A
)
</isNotEqual>
</select>
<select id="hmsBrdPostDAO.selectHmsBrdNewPostListTotCnt" parameterClass="hmsBrdPostSerarchVO" resultClass="int">
SELECT
COUNT(*) totcnt
FROM
HMS_BRD_POST B, HMS_BRD_MANAGER C
WHERE
B.REC_STS='A'
AND C.ADD_NEW_POST = 'on'
AND B.BRD_MNG_SEQ=C.BRD_MNG_SEQ
<isNotEmpty property="searchBrdDepth" prepend="AND">
B.BRD_DEPTH=#searchBrdDepth#
</isNotEmpty>
<isNotEmpty property="searchBrdGroup" prepend="AND">
B.BRD_GROUP=#searchBrdGroup#
</isNotEmpty>
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" prepend="AND" compareValue="1">
B.TITLE LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" prepend="AND" compareValue="2">
B.USER_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
</select>
</sqlMap>

View File

@@ -0,0 +1,494 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<sqlMap namespace="HmsBrdPost">
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
<typeAlias alias="hmsBrdPostSerarchVO" type="egovframework.cms.board.vo.HmsBrdPostDefaultVO"/>
<resultMap id="hmsBrdPost" class="egovframework.cms.board.vo.HmsBrdPostVO">
<result property="brdPostSeq" column="BRD_POST_SEQ" columnIndex="1"/>
<result property="userId" column="USER_ID" columnIndex="2"/>
<result property="userNm" column="USER_NM" columnIndex="3"/>
<result property="atchSeq" column="ATCH_SEQ" columnIndex="4"/>
<result property="recSts" column="REC_STS" columnIndex="5"/>
<result property="title" column="TITLE" columnIndex="6"/>
<result property="passwd" column="PASSWD" columnIndex="7"/>
<result property="viewCnt" column="VIEW_CNT" columnIndex="8"/>
<result property="openIschk" column="OPEN_ISCHK" columnIndex="9"/>
<result property="noticeIschk" column="NOTICE_ISCHK" columnIndex="10"/>
<result property="createDate" column="CREATE_DATE" columnIndex="11"/>
<result property="contents" column="CONTENTS" columnIndex="12"/>
<result property="ip" column="IP" columnIndex="13"/>
<result property="brdGroup" column="BRD_GROUP" columnIndex="14"/>
<result property="brdDepth" column="BRD_DEPTH" columnIndex="15"/>
<result property="brdSort" column="BRD_SORT" columnIndex="16"/>
<result property="brdMngSeq" column="BRD_MNG_SEQ" columnIndex="17"/>
<result property="editorFlag" column="EDITOR_FLAG" columnIndex="18"/>
<result property="officeNm" column="OFFICE_NM" columnIndex="19"/>
<result property="extField01" column="EXT_FIELD01" columnIndex="20"/>
<result property="extField02" column="EXT_FIELD02" columnIndex="21"/>
<result property="extField03" column="EXT_FIELD03" columnIndex="22"/>
<result property="extField04" column="EXT_FIELD04" columnIndex="23"/>
<result property="extField05" column="EXT_FIELD05" columnIndex="24"/>
<result property="extTitle01" column="EXT_TITLE01" columnIndex="25"/>
<result property="extTitle02" column="EXT_TITLE02" columnIndex="26"/>
<result property="extTitle03" column="EXT_TITLE03" columnIndex="27"/>
<result property="extTitle04" column="EXT_TITLE04" columnIndex="28"/>
<result property="extTitle05" column="EXT_TITLE05" columnIndex="29"/>
<result property="createTime" column="CREATE_TIME" columnIndex="30"/>
<result property="cateSeq" column="CATE_SEQ" columnIndex="31"/>
<result property="extContents01" column="EXT_CONTENTS01" columnIndex="32"/>
</resultMap>
<insert id="hmsBrdPostDAO.insertHmsBrdPost_S">
INSERT INTO HMS_BRD_POST
( BRD_POST_SEQ
, USER_ID
, USER_NM
, ATCH_SEQ
, REC_STS
, TITLE
, PASSWD
, VIEW_CNT
, OPEN_ISCHK
, NOTICE_ISCHK
, CREATE_DATE
, CONTENTS
, IP
, BRD_GROUP
, BRD_DEPTH
, BRD_SORT
, EDITOR_FLAG
, BRD_MNG_SEQ
, OFFICE_NM
, EXT_FIELD01
, EXT_FIELD02
, EXT_FIELD03
, EXT_FIELD04
, EXT_FIELD05
, EXT_TITLE01
, EXT_TITLE02
, EXT_TITLE03
, EXT_TITLE04
, EXT_TITLE05
, CATE_SEQ
, EXT_CONTENTS01
)
VALUES ( #brdPostSeq#
, #userId#
, #userNm#
, #atchSeq#
, 'A'
, #title#
, #passwd#
, 0
, #openIschk#
, #noticeIschk#
, SYSDATE
, #contents#
, #ip#
, #brdGroup#
, #brdDepth#
, #brdSort#
, #editorFlag#
, #brdMngSeq#
, #officeNm#
, #extField01#
, #extField02#
, #extField03#
, #extField04#
, #extField05#
, #extTitle01#
, #extTitle02#
, #extTitle03#
, #extTitle04#
, #extTitle05#
, #cateSeq#
, #extContents01#
)
</insert>
<update id="hmsBrdPostDAO.updateHmsBrdPost_S">
UPDATE
HMS_BRD_POST
SET
ATCH_SEQ=#atchSeq#
, TITLE=#title#
, PASSWD=#passwd#
, OPEN_ISCHK=#openIschk#
, NOTICE_ISCHK=#noticeIschk#
, CONTENTS=#contents#
, BRD_GROUP=#brdGroup#
, BRD_DEPTH=#brdDepth#
, BRD_SORT=#brdSort#
, EDITOR_FLAG=#editorFlag#
, EXT_FIELD01=#extField01#
, EXT_FIELD02=#extField02#
, EXT_FIELD03=#extField03#
, EXT_FIELD04=#extField04#
, EXT_FIELD05=#extField05#
, EXT_TITLE01=#extTitle01#
, EXT_TITLE02=#extTitle02#
, EXT_TITLE03=#extTitle03#
, EXT_TITLE04=#extTitle04#
, EXT_TITLE05=#extTitle05#
, CATE_SEQ=#cateSeq#
, EXT_CONTENTS01=#extContents01#
WHERE
REC_STS='A'
AND BRD_POST_SEQ=#brdPostSeq#
AND BRD_MNG_SEQ=#brdMngSeq#
</update>
<update id="hmsBrdPostDAO.updateIncrementHit_S">
UPDATE
HMS_BRD_POST
SET
VIEW_CNT=VIEW_CNT+1
WHERE
REC_STS='A'
AND BRD_POST_SEQ=#brdPostSeq#
AND BRD_MNG_SEQ=#brdMngSeq#
</update>
<update id="hmsBrdPostDAO.updateBrdPostReply">
UPDATE
HMS_BRD_POST
SET
BRD_SORT=BRD_SORT-1
WHERE
BRD_MNG_SEQ=#brdMngSeq#
AND BRD_GROUP=#brdGroup#
<![CDATA[
AND BRD_SORT < #brdSort#
]]>
</update>
<update id="hmsBrdPostDAO.deleteHmsBrdPost_S">
UPDATE
HMS_BRD_POST
SET
REC_STS='D'
WHERE
REC_STS='A'
AND BRD_POST_SEQ=#brdPostSeq#
AND BRD_MNG_SEQ=#brdMngSeq#
</update>
<select id="hmsBrdPostDAO.selectHmsBrdPost_S" resultMap="hmsBrdPost">
SELECT
BRD_POST_SEQ
, USER_ID
, USER_NM
, ATCH_SEQ
, REC_STS
, TITLE
, PASSWD
, VIEW_CNT
, OPEN_ISCHK
, NOTICE_ISCHK
, CREATE_DATE
, CONTENTS
, IP
, BRD_GROUP
, BRD_DEPTH
, BRD_SORT
, BRD_MNG_SEQ
, EDITOR_FLAG
, OFFICE_NM
, EXT_FIELD01
, EXT_FIELD02
, EXT_FIELD03
, EXT_FIELD04
, EXT_FIELD05
, EXT_TITLE01
, EXT_TITLE02
, EXT_TITLE03
, EXT_TITLE04
, EXT_TITLE05
, TO_CHAR(CREATE_DATE, 'HH24:MI:SS') AS CREATE_TIME
, CATE_SEQ
, EXT_CONTENTS01
FROM
HMS_BRD_POST
WHERE
REC_STS='A'
AND BRD_MNG_SEQ=#brdMngSeq#
AND BRD_POST_SEQ=#brdPostSeq#
</select>
<select id="hmsBrdPostDAO.selectHmsBrdPostList_D" parameterClass="hmsBrdPostSerarchVO" resultClass="egovMap">
SELECT * FROM (
SELECT A.*, ROWNUM RNUM FROM (
SELECT
B.BRD_POST_SEQ
, B.USER_ID
, B.USER_NM
, B.ATCH_SEQ
, B.REC_STS
, B.TITLE
, B.PASSWD
, B.VIEW_CNT
, B.OPEN_ISCHK
, B.NOTICE_ISCHK
, B.CREATE_DATE
, B.IP
, B.BRD_GROUP
, B.BRD_DEPTH
, B.BRD_SORT
, B.BRD_MNG_SEQ
, B.EDITOR_FLAG
, B.OFFICE_NM
, B.EXT_FIELD01
, B.EXT_FIELD02
, B.EXT_FIELD03
, B.EXT_FIELD04
, B.EXT_FIELD05
, B.EXT_TITLE01
, B.EXT_TITLE02
, B.EXT_TITLE03
, B.EXT_TITLE04
, B.EXT_TITLE05
, TO_CHAR(B.CREATE_DATE, 'HH24:MI:SS') AS CREATE_TIME
, (SELECT COUNT(*) FROM HMS_BRD_COMMENT WHERE REC_STS='A' AND BRD_POST_SEQ=B.BRD_POST_SEQ) AS COMMENT_CNT
, B.CATE_SEQ
, (SELECT CATE_NM FROM HMS_BRD_CATE WHERE CATE_SEQ=B.CATE_SEQ) AS CATE_NM
, B.EXT_CONTENTS01
FROM
HMS_BRD_POST B
WHERE
B.REC_STS='A'
AND B.BRD_MNG_SEQ=#brdMngSeq#
<isNotEmpty property="searchBrdDepth" prepend="AND">
B.BRD_DEPTH=#searchBrdDepth#
</isNotEmpty>
<isNotEmpty property="searchBrdGroup" prepend="AND">
B.BRD_GROUP=#searchBrdGroup#
</isNotEmpty>
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" prepend="AND" compareValue="1">
B.TITLE LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" prepend="AND" compareValue="2">
B.USER_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" prepend="AND" compareValue="3">
B.EXT_CONTENTS01 LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
<isNotEmpty property="searchCateSeq" prepend="AND">
B.CATE_SEQ=#searchCateSeq#
</isNotEmpty>
<isNotEmpty property="searchCreateDate" prepend="AND">
TO_CHAR(B.CREATE_DATE, 'YYYYMMDD') = #searchCreateDate#
</isNotEmpty>
<isNotEmpty property="searchStartDate" prepend="AND">
<![CDATA[ TO_CHAR(B.CREATE_DATE, 'YYYYMMDD') >= #searchStartDate# ]]>
</isNotEmpty>
<isNotEmpty property="searchEndDate" prepend="AND">
<![CDATA[ TO_CHAR(B.CREATE_DATE, 'YYYYMMDD') <= #searchEndDate# ]]>
</isNotEmpty>
<isNotEmpty property="searchUserId" prepend="AND">
B.USER_ID=#searchUserId#
</isNotEmpty>
<isEmpty property="orderby" prepend="ORDER BY">
NOTICE_ISCHK ASC, BRD_SORT DESC
</isEmpty>
<isNotEmpty property="orderby">
</isNotEmpty>
<isEqual property="pageUseYn" compareValue="Y">
<![CDATA[
) A WHERE ROWNUM <= #lastIndex#
)WHERE RNUM > #firstIndex#
]]>
</isEqual>
<isNotEqual property="pageUseYn" compareValue="Y">
) A
)
</isNotEqual>
</select>
<select id="hmsBrdPostDAO.selectHmsBrdPostListTotCnt_S" parameterClass="hmsBrdPostSerarchVO" resultClass="int">
SELECT
COUNT(*) totcnt
FROM
HMS_BRD_POST B
WHERE
B.REC_STS='A'
AND B.BRD_MNG_SEQ=#brdMngSeq#
<isNotEmpty property="searchBrdDepth" prepend="AND">
B.BRD_DEPTH=#searchBrdDepth#
</isNotEmpty>
<isNotEmpty property="searchBrdGroup" prepend="AND">
B.BRD_GROUP=#searchBrdGroup#
</isNotEmpty>
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" prepend="AND" compareValue="1">
B.TITLE LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" prepend="AND" compareValue="2">
B.USER_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" prepend="AND" compareValue="3">
B.EXT_CONTENTS01 LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
<isNotEmpty property="searchCateSeq" prepend="AND">
B.CATE_SEQ=#searchCateSeq#
</isNotEmpty>
<isNotEmpty property="searchCreateDate" prepend="AND">
TO_CHAR(B.CREATE_DATE, 'YYYYMMDD') = #searchCreateDate#
</isNotEmpty>
<isNotEmpty property="searchStartDate" prepend="AND">
<![CDATA[ TO_CHAR(B.CREATE_DATE, 'YYYYMMDD') >= #searchStartDate# ]]>
</isNotEmpty>
<isNotEmpty property="searchEndDate" prepend="AND">
<![CDATA[ TO_CHAR(B.CREATE_DATE, 'YYYYMMDD') <= #searchEndDate# ]]>
</isNotEmpty>
<isNotEmpty property="searchUserId" prepend="AND">
B.USER_ID=#searchUserId#
</isNotEmpty>
</select>
<select id="hmsBrdPostDAO.selectBrdLastPostByPostSort" resultMap="hmsBrdPost">
SELECT
BRD_POST_SEQ
, USER_ID
, USER_NM
, ATCH_SEQ
, REC_STS
, TITLE
, PASSWD
, VIEW_CNT
, OPEN_ISCHK
, NOTICE_ISCHK
, CREATE_DATE
, IP
, CONTENTS
, BRD_GROUP
, BRD_DEPTH
, BRD_SORT
, BRD_MNG_SEQ
, EDITOR_FLAG
, OFFICE_NM
, EXT_FIELD01
, EXT_FIELD02
, EXT_FIELD03
, EXT_FIELD04
, EXT_FIELD05
, EXT_TITLE01
, EXT_TITLE02
, EXT_TITLE03
, EXT_TITLE04
, EXT_TITLE05
, TO_CHAR(CREATE_DATE, 'HH24:MI:SS') AS CREATE_TIME
, CATE_SEQ
, EXT_CONTENTS01
FROM
HMS_BRD_POST
WHERE
BRD_MNG_SEQ=#brdMngSeq#
AND BRD_SORT = (
SELECT MAX(BRD_SORT) FROM HMS_BRD_POST WHERE BRD_MNG_SEQ=#brdMngSeq#
)
</select>
<select id="hmsBrdPostDAO.selectHmsBrdNewPostList" parameterClass="hmsBrdPostSerarchVO" resultClass="egovMap">
SELECT * FROM (
SELECT A.*, ROWNUM RNUM FROM (
SELECT
B.BRD_POST_SEQ
, B.USER_ID
, B.USER_NM
, B.ATCH_SEQ
, B.REC_STS
, B.TITLE
, B.PASSWD
, B.VIEW_CNT
, B.OPEN_ISCHK
, B.NOTICE_ISCHK
, B.CREATE_DATE
, B.IP
, B.BRD_GROUP
, B.BRD_DEPTH
, B.BRD_SORT
, B.BRD_MNG_SEQ
, (SELECT BRD_NM FROM HMS_BRD_MANAGER WHERE REC_STS='A' AND BRD_MNG_SEQ = B.BRD_MNG_SEQ) AS BRD_NM
, B.EDITOR_FLAG
, B.OFFICE_NM
, B.EXT_FIELD01
, B.EXT_FIELD02
, B.EXT_FIELD03
, B.EXT_FIELD04
, B.EXT_FIELD05
, B.EXT_TITLE01
, B.EXT_TITLE02
, B.EXT_TITLE03
, B.EXT_TITLE04
, B.EXT_TITLE05
, TO_CHAR(B.CREATE_DATE, 'HH24:MI:SS') AS CREATE_TIME
, (SELECT COUNT(*) FROM HMS_BRD_COMMENT WHERE REC_STS='A' AND BRD_POST_SEQ=B.BRD_POST_SEQ) AS COMMENT_CNT
, B.CATE_SEQ
, (SELECT CATE_NM FROM HMS_BRD_CATE WHERE CATE_SEQ=B.CATE_SEQ) AS CATE_NM
, B.EXT_CONTENTS01
FROM
HMS_BRD_POST B, HMS_BRD_MANAGER C
WHERE
B.REC_STS='A'
AND C.ADD_NEW_POST = 'on'
AND B.BRD_MNG_SEQ=C.BRD_MNG_SEQ
<isNotEmpty property="searchBrdDepth" prepend="AND">
B.BRD_DEPTH=#searchBrdDepth#
</isNotEmpty>
<isNotEmpty property="searchBrdGroup" prepend="AND">
B.BRD_GROUP=#searchBrdGroup#
</isNotEmpty>
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" prepend="AND" compareValue="1">
B.TITLE LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" prepend="AND" compareValue="2">
B.USER_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
ORDER BY
NOTICE_ISCHK ASC, CREATE_DATE DESC, BRD_SORT DESC
<isEqual property="pageUseYn" compareValue="Y">
<![CDATA[
) A WHERE ROWNUM <= #lastIndex#
)WHERE RNUM > #firstIndex#
]]>
</isEqual>
<isNotEqual property="pageUseYn" compareValue="Y">
) A
)
</isNotEqual>
</select>
<select id="hmsBrdPostDAO.selectHmsBrdNewPostListTotCnt" parameterClass="hmsBrdPostSerarchVO" resultClass="int">
SELECT
COUNT(*) totcnt
FROM
HMS_BRD_POST B, HMS_BRD_MANAGER C
WHERE
B.REC_STS='A'
AND C.ADD_NEW_POST = 'on'
AND B.BRD_MNG_SEQ=C.BRD_MNG_SEQ
<isNotEmpty property="searchBrdDepth" prepend="AND">
B.BRD_DEPTH=#searchBrdDepth#
</isNotEmpty>
<isNotEmpty property="searchBrdGroup" prepend="AND">
B.BRD_GROUP=#searchBrdGroup#
</isNotEmpty>
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" prepend="AND" compareValue="1">
B.TITLE LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" prepend="AND" compareValue="2">
B.USER_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
</select>
</sqlMap>

View File

@@ -0,0 +1,187 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<sqlMap namespace="HmsContent">
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
<typeAlias alias="hmsContentSerarchVO" type="egovframework.cms.content.vo.HmsContentDefaultVO"/>
<resultMap id="hmsContent" class="egovframework.cms.content.vo.HmsContentVO">
<result property="contentSeq" column="CONTENT_SEQ" columnIndex="1" />
<result property="title" column="TITLE" columnIndex="2" />
<result property="contents" column="CONTENTS" columnIndex="3" />
<result property="recSts" column="REC_STS" columnIndex="4" />
<result property="userId" column="USER_ID" columnIndex="5" />
<result property="userNm" column="USER_NM" columnIndex="6" />
<result property="managerId" column="MANAGER_ID" columnIndex="7" />
<result property="url" column="URL" columnIndex="8" />
<result property="show" column="SHOW" columnIndex="9" />
<result property="createDate" column="CREATE_DATE" columnIndex="10" />
<result property="updateDate" column="UPDATE_DATE" columnIndex="11" />
<result property="viewCnt" column="VIEW_CNT" columnIndex="12" />
<result property="managerNm" column="MANAGER_NM" columnIndex="13" />
<result property="template" column="TEMPLATE" columnIndex="14" />
</resultMap>
<insert id="hmsContentDAO.insertHmsContent_S">
INSERT INTO HMS_CONTENT
( CONTENT_SEQ
, TITLE
, CONTENTS
, REC_STS
, USER_ID
, USER_NM
, MANAGER_ID
, URL
, SHOW
, CREATE_DATE
, UPDATE_DATE
, VIEW_CNT
, MANAGER_NM
, TEMPLATE
)
VALUES (#contentSeq#
, #title#
, #contents#
, 'A'
, #userId#
, #userNm#
, #managerId#
, #url#
, #show#
, SYSDATE
, SYSDATE
, 0
, #managerNm#
, #template#
)
</insert>
<update id="hmsContentDAO.updateHmsContent_S">
UPDATE
HMS_CONTENT
SET
CONTENT_SEQ=#contentSeq#
, TITLE=#title#
, CONTENTS=#contents#
, REC_STS=#recSts#
, USER_ID=#userId#
, USER_NM=#userNm#
, MANAGER_ID=#managerId#
, URL=#url#
, SHOW=#show#
, UPDATE_DATE=SYSDATE
, MANAGER_NM=#managerNm#
, TEMPLATE=#template#
WHERE 1=1
AND REC_STS='A'
AND CONTENT_SEQ=#contentSeq#
</update>
<update id="hmsContentDAO.updateHmsContentViewCnt">
UPDATE
HMS_CONTENT
SET
VIEW_CNT = VIEW_CNT + 1
WHERE 1=1
AND REC_STS='A'
AND CONTENT_SEQ=#value#
</update>
<update id="hmsContentDAO.deleteHmsContent_S">
UPDATE
HMS_CONTENT
SET
REC_STS='D'
WHERE 1=1
AND CONTENT_SEQ=#contentSeq#
</update>
<select id="hmsContentDAO.selectHmsContent_S" resultMap="hmsContent">
SELECT
CONTENT_SEQ
, TITLE
, CONTENTS
, REC_STS
, USER_ID
, USER_NM
, MANAGER_ID
, URL
, SHOW
, CREATE_DATE
, UPDATE_DATE
, VIEW_CNT
, MANAGER_NM
, TEMPLATE
FROM
HMS_CONTENT
WHERE 1=1
AND REC_STS='A'
AND CONTENT_SEQ=#contentSeq#
</select>
<select id="hmsContentDAO.selectHmsContentList_D" parameterClass="hmsContentSerarchVO" resultClass="egovMap">
SELECT * FROM (
SELECT A.*, ROWNUM RNUM FROM (
SELECT
B.CONTENT_SEQ
, B.TITLE
, B.CONTENTS
, B.REC_STS
, B.USER_ID
, B.USER_NM
, B.MANAGER_ID
, B.URL
, B.SHOW
, B.CREATE_DATE
, B.UPDATE_DATE
, B.VIEW_CNT
, B.MANAGER_NM
, B.TEMPLATE
FROM
HMS_CONTENT B
WHERE 1=1
AND B.REC_STS='A'
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" compareValue="1" prepend="AND">
B.TITLE LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" compareValue="2" prepend="AND">
B.CONTENTS LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
<isEmpty property="orderby" prepend="ORDER BY">
CONTENT_SEQ DESC
</isEmpty>
<isNotEmpty property="orderby" prepend="ORDER BY">
</isNotEmpty>
<isEqual property="pageUseYn" compareValue="Y">
<![CDATA[
) A WHERE ROWNUM <= #lastIndex#
)WHERE RNUM > #firstIndex#
]]>
</isEqual>
<isNotEqual property="pageUseYn" compareValue="Y">
) A
)
</isNotEqual>
</select>
<select id="hmsContentDAO.selectHmsContentListTotCnt_S" parameterClass="hmsContentSerarchVO" resultClass="int">
SELECT
COUNT(*) totcnt
FROM
HMS_CONTENT B
WHERE 1=1
AND B.REC_STS='A'
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" compareValue="1" prepend="AND">
B.TITLE LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" compareValue="2" prepend="AND">
B.CONTENTS LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
</select>
</sqlMap>

View File

@@ -0,0 +1,225 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<sqlMap namespace="HmsDept">
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
<typeAlias alias="hmsDeptSerarchVO" type="egovframework.cms.dept.vo.HmsDeptDefaultVO"/>
<resultMap id="hmsDept" class="egovframework.cms.dept.vo.HmsDeptVO">
<result property="deptSeq" column="DEPT_SEQ" columnIndex="1" />
<result property="parentDeptCd" column="PARENT_DEPT_CD" columnIndex="2" />
<result property="deptNm" column="DEPT_NM" columnIndex="3" />
<result property="deptCd" column="DEPT_CD" columnIndex="4" />
<result property="deptRank" column="DEPT_RANK" columnIndex="5" />
<result property="deptDepth" column="DEPT_DEPTH" columnIndex="6" />
<result property="deptFullNm" column="DEPT_FULL_NM" columnIndex="7" />
<result property="extField01" column="EXT_FIELD01" columnIndex="8" />
<result property="extField02" column="EXT_FIELD02" columnIndex="9" />
<result property="extField03" column="EXT_FIELD03" columnIndex="10" />
<result property="recSts" column="REC_STS" columnIndex="11" />
</resultMap>
<insert id="hmsDeptDAO.insertHmsDept_S">
INSERT INTO HMS_DEPT
( DEPT_SEQ
, PARENT_DEPT_CD
, DEPT_NM
, DEPT_CD
, DEPT_RANK
, DEPT_DEPTH
, DEPT_FULL_NM
, EXT_FIELD01
, EXT_FIELD02
, EXT_FIELD03
, REC_STS
)
VALUES (#deptSeq#
, #parentDeptCd#
, #deptNm#
, #deptCd#
, #deptRank#
, #deptDepth#
, #deptFullNm#
, #extField01#
, #extField02#
, #extField03#
, #recSts#
)
</insert>
<update id="hmsDeptDAO.updateHmsDept_S">
UPDATE
HMS_DEPT
SET
DEPT_SEQ=#deptSeq#
, PARENT_DEPT_CD=#parentDeptCd#
, DEPT_NM=#deptNm#
, DEPT_CD=#deptCd#
, DEPT_RANK=#deptRank#
, DEPT_DEPTH=#deptDepth#
, DEPT_FULL_NM=#deptFullNm#
, EXT_FIELD01=#extField01#
, EXT_FIELD02=#extField02#
, EXT_FIELD03=#extField03#
, REC_STS=#recSts#
WHERE 1=1
AND REC_STS='A'
AND DEPT_SEQ=#deptSeq#
</update>
<update id="hmsDeptDAO.deleteHmsDept_S">
UPDATE
HMS_DEPT
SET
REC_STS='D'
WHERE 1=1
AND DEPT_SEQ=#deptSeq#
</update>
<select id="hmsDeptDAO.selectHmsDept_S" resultMap="hmsDept">
SELECT
DEPT_SEQ
, PARENT_DEPT_CD
, DEPT_NM
, DEPT_CD
, DEPT_RANK
, DEPT_DEPTH
, DEPT_FULL_NM
, EXT_FIELD01
, EXT_FIELD02
, EXT_FIELD03
, REC_STS
FROM
HMS_DEPT
WHERE 1=1
AND REC_STS='A'
<isNotEmpty property="deptSeq" prepend="AND">
DEPT_SEQ=#deptSeq#
</isNotEmpty>
<isNotEmpty property="deptCd" prepend="AND">
DEPT_CD=#deptCd#
</isNotEmpty>
</select>
<select id="hmsDeptDAO.selectHmsDeptList_D" parameterClass="hmsDeptSerarchVO" resultClass="egovMap">
SELECT
B.DEPT_SEQ
, B.PARENT_DEPT_CD
, B.DEPT_NM
, B.DEPT_CD
, B.DEPT_RANK
, B.DEPT_DEPTH
, B.DEPT_FULL_NM
, B.EXT_FIELD01
, B.EXT_FIELD02
, B.EXT_FIELD03
, B.REC_STS
FROM
HMS_DEPT B
WHERE 1=1
AND B.REC_STS='A'
AND B.DEPT_SEQ != 'A000000000'
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" compareValue="1" prepend="AND">
B.DEPT_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" compareValue="2" prepend="AND">
B.WRITER_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
<isNotEmpty property="searchParentDeptCd" prepend="AND">
B.PARENT_DEPT_CD=#searchParentDeptCd#
</isNotEmpty>
<isNotEmpty property="searchDeptCd" prepend="AND">
B.DEPT_CD=#searchDeptCd#
</isNotEmpty>
<isEmpty property="orderby" prepend="ORDER BY">
DEPT_RANK * 1
</isEmpty>
<isNotEmpty property="orderby" prepend="ORDER BY">
</isNotEmpty>
<isEqual property="pageUseYn" compareValue="Y" prepend="LIMIT">
#firstIndex#, #recordCountPerPage#
</isEqual>
</select>
<select id="hmsDeptDAO.selectHmsDeptListTotCnt_S" parameterClass="hmsDeptSerarchVO" resultClass="int">
SELECT
COUNT(*) totcnt
FROM
HMS_DEPT B
WHERE 1=1
AND B.REC_STS='A'
AND SUBSTR(DEPT_CD, 1, 1)!='V'
AND LENGTH(DEPT_CD)=7
AND B.DEPT_CD NOT IN ('4620046','4620057','4620075')
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" compareValue="1" prepend="AND">
B.DEPT_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" compareValue="2" prepend="AND">
B.WRITER_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
<isNotEmpty property="searchDeptCd" prepend="AND">
B.DEPT_CD=#searchDeptCd#
</isNotEmpty>
</select>
<!-- 조직도 정보를 가져오기 위함 (담당자 지정 팝업 필) 기관 부서 정보마다 틀릴수 있음 -->
<select id="hmsDeptDAO.selectHmsDeptOrgList" parameterClass="hmsDeptSerarchVO" resultClass="egovMap">
SELECT
DEPT_SEQ
, LEVEL
, DEPT_NM
, LPAD (' ', (DEPT_DEPTH - 1) * 3, ' ') || DEPT_NM AS DEPT_NM2
, LPAD (' ', (LEVEL - 1 ) * 3, ' ') || DEPT_NM AS DEPT_NM3
, DEPT_CD
, PARENT_DEPT_CD
, DEPT_DEPTH
, DEPT_RANK
, DEPT_FULL_NM
, EXT_FIELD01
, EXT_FIELD02
, EXT_FIELD03
, REC_STS
FROM
HMS_DEPT
WHERE
REC_STS='A'
AND SUBSTR(DEPT_CD, 1, 1)!='V'
AND LENGTH(DEPT_CD)=7
<isNotEmpty property="searchDeptDepth" prepend="AND">
DEPT_DEPTH=#searchDeptDepth#
</isNotEmpty>
START WITH DEPT_CD=#searchDeptCd#
CONNECT BY PRIOR DEPT_CD = PARENT_DEPT_CD
ORDER SIBLINGS BY DEPT_RANK * 1
</select>
<!-- 조직도 선택시 해당 담당자를 가져오기 위함 (담당자 지정 팝업 필) -->
<select id="hmsDeptDAO.selectHmsUserList" parameterClass="hmsDeptSerarchVO" resultClass="egovMap">
SELECT
USER_ID,
USER_NM,
TEL,
DEPT_NM,
POSITION_NM,
DEPT_CD
FROM HMS_USER
WHERE 1=1
<isNotEmpty property="deptSeq" prepend="AND">
DEPT_CD = #deptSeq#
</isNotEmpty>
<isNotEmpty property="searchKeyword" prepend="AND">
USER_NM LIKE '%'||#searchKeyword#||'%'
</isNotEmpty>
ORDER BY LPAD(USER_RANK,3,'0') ASC;
</select>
</sqlMap>

View File

@@ -0,0 +1,225 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<sqlMap namespace="HmsDept">
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
<typeAlias alias="hmsDeptSerarchVO" type="egovframework.cms.dept.vo.HmsDeptDefaultVO"/>
<resultMap id="hmsDept" class="egovframework.cms.dept.vo.HmsDeptVO">
<result property="deptSeq" column="DEPT_SEQ" columnIndex="1" />
<result property="parentDeptCd" column="PARENT_DEPT_CD" columnIndex="2" />
<result property="deptNm" column="DEPT_NM" columnIndex="3" />
<result property="deptCd" column="DEPT_CD" columnIndex="4" />
<result property="deptRank" column="DEPT_RANK" columnIndex="5" />
<result property="deptDepth" column="DEPT_DEPTH" columnIndex="6" />
<result property="deptFullNm" column="DEPT_FULL_NM" columnIndex="7" />
<result property="extField01" column="EXT_FIELD01" columnIndex="8" />
<result property="extField02" column="EXT_FIELD02" columnIndex="9" />
<result property="extField03" column="EXT_FIELD03" columnIndex="10" />
<result property="recSts" column="REC_STS" columnIndex="11" />
</resultMap>
<insert id="hmsDeptDAO.insertHmsDept_S">
INSERT INTO HMS_DEPT
( DEPT_SEQ
, PARENT_DEPT_CD
, DEPT_NM
, DEPT_CD
, DEPT_RANK
, DEPT_DEPTH
, DEPT_FULL_NM
, EXT_FIELD01
, EXT_FIELD02
, EXT_FIELD03
, REC_STS
)
VALUES (#deptSeq#
, #parentDeptCd#
, #deptNm#
, #deptCd#
, #deptRank#
, #deptDepth#
, #deptFullNm#
, #extField01#
, #extField02#
, #extField03#
, 'A'
)
</insert>
<update id="hmsDeptDAO.updateHmsDept_S">
UPDATE
HMS_DEPT
SET
PARENT_DEPT_CD=#parentDeptCd#
, DEPT_NM=#deptNm#
, DEPT_CD=#deptCd#
, DEPT_RANK=#deptRank#
, DEPT_DEPTH=#deptDepth#
, DEPT_FULL_NM=#deptFullNm#
, EXT_FIELD01=#extField01#
, EXT_FIELD02=#extField02#
, EXT_FIELD03=#extField03#
WHERE 1=1
AND REC_STS='A'
AND DEPT_SEQ=#deptSeq#
</update>
<update id="hmsDeptDAO.deleteHmsDept_S">
UPDATE
HMS_DEPT
SET
REC_STS='D'
WHERE 1=1
AND DEPT_SEQ=#deptSeq#
</update>
<select id="hmsDeptDAO.selectHmsDept_S" resultMap="hmsDept">
SELECT
DEPT_SEQ
, PARENT_DEPT_CD
, DEPT_NM
, DEPT_CD
, DEPT_RANK
, DEPT_DEPTH
, DEPT_FULL_NM
, EXT_FIELD01
, EXT_FIELD02
, EXT_FIELD03
, REC_STS
FROM
HMS_DEPT
WHERE 1=1
AND REC_STS='A'
<isNotEmpty property="deptSeq" prepend="AND">
DEPT_SEQ=#deptSeq#
</isNotEmpty>
<isNotEmpty property="deptCd" prepend="AND">
DEPT_CD=#deptCd#
</isNotEmpty>
</select>
<select id="hmsDeptDAO.selectHmsDeptList_D" parameterClass="hmsDeptSerarchVO" resultClass="egovMap">
SELECT * FROM (
SELECT A.*, ROWNUM RNUM FROM (
SELECT
B.DEPT_SEQ
, B.PARENT_DEPT_CD
, B.DEPT_NM
, B.DEPT_CD
, B.DEPT_RANK
, B.DEPT_DEPTH
, B.DEPT_FULL_NM
, B.EXT_FIELD01
, B.EXT_FIELD02
, B.EXT_FIELD03
, B.REC_STS
FROM
HMS_DEPT B
WHERE 1=1
AND B.REC_STS='A'
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" compareValue="1" prepend="AND">
B.DEPT_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" compareValue="2" prepend="AND">
B.WRITER_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
<isNotEmpty property="searchParentDeptCd" prepend="AND">
B.PARENT_DEPT_CD=#searchParentDeptCd#
</isNotEmpty>
<isNotEmpty property="searchDeptCd" prepend="AND">
B.DEPT_CD=#searchDeptCd#
</isNotEmpty>
<isEmpty property="orderby" prepend="ORDER BY">
DEPT_RANK * 1
</isEmpty>
<isNotEmpty property="orderby" prepend="ORDER BY">
</isNotEmpty>
<isEqual property="pageUseYn" compareValue="Y">
<![CDATA[
) A WHERE ROWNUM <= #lastIndex#
)WHERE RNUM > #firstIndex#
]]>
</isEqual>
<isNotEqual property="pageUseYn" compareValue="Y">
) A
)
</isNotEqual>
</select>
<select id="hmsDeptDAO.selectHmsDeptListTotCnt_S" parameterClass="hmsDeptSerarchVO" resultClass="int">
SELECT
COUNT(*) totcnt
FROM
HMS_DEPT B
WHERE 1=1
AND B.REC_STS='A'
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" compareValue="1" prepend="AND">
B.DEPT_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" compareValue="2" prepend="AND">
B.WRITER_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
<isNotEmpty property="searchDeptCd" prepend="AND">
B.DEPT_CD=#searchDeptCd#
</isNotEmpty>
</select>
<select id="hmsDeptDAO.selectHmsDeptOrgList" parameterClass="hmsDeptSerarchVO" resultClass="egovMap">
SELECT
DEPT_SEQ
, LEVEL
, DEPT_NM
, LPAD (' ', (DEPT_DEPTH - 1) * 3, ' ') || DEPT_NM AS DEPT_NM2
, LPAD (' ', (LEVEL - 1 ) * 3, ' ') || DEPT_NM AS DEPT_NM3
, DEPT_CD
, PARENT_DEPT_CD
, DEPT_DEPTH
, DEPT_RANK
, DEPT_FULL_NM
, EXT_FIELD01
, EXT_FIELD02
, EXT_FIELD03
, REC_STS
FROM
HMS_DEPT
WHERE
REC_STS='A'
<isNotEmpty property="searchDeptDepth" prepend="AND">
DEPT_DEPTH=#searchDeptDepth#
</isNotEmpty>
START WITH DEPT_SEQ=#searchDeptSeq#
CONNECT BY PRIOR DEPT_SEQ = PARENT_DEPT_CD
ORDER SIBLINGS BY DEPT_RANK * 1
</select>
<!-- 조직도 선택시 해당 담당자를 가져오기 위함 (담당자 지정 팝업 필) -->
<select id="hmsDeptDAO.selectHmsUserList" parameterClass="hmsDeptSerarchVO" resultClass="egovMap">
SELECT
USER_ID,
USER_NM,
TEL,
DEPT_NM,
POSITION_NM,
DEPT_CD
FROM HMS_USER
WHERE 1=1
<isNotEmpty property="deptSeq" prepend="AND">
DEPT_CD = #deptSeq#
</isNotEmpty>
<isNotEmpty property="searchKeyword" prepend="AND">
USER_NM LIKE '%'||#searchKeyword#||'%'
</isNotEmpty>
ORDER BY LPAD(USER_RANK,3,'0') ASC;
</select>
</sqlMap>

View File

@@ -0,0 +1,119 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<sqlMap namespace="HmsDuty">
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
<typeAlias alias="hmsDutySerarchVO" type="egovframework.cms.duty.vo.HmsDutyDefaultVO"/>
<resultMap id="hmsDuty" class="egovframework.cms.duty.vo.HmsDutyVO">
<result property="dutySeq" column="DUTY_SEQ" columnIndex="1" />
<result property="dutyCd" column="DUTY_CD" columnIndex="2" />
<result property="dutyNm" column="DUTY_NM" columnIndex="3" />
<result property="recSts" column="REC_STS" columnIndex="4" />
<result property="createDate" column="CREATE_DATE" columnIndex="5" />
</resultMap>
<insert id="hmsDutyDAO.insertHmsDuty_S">
INSERT INTO HMS_DUTY
( DUTY_SEQ
, DUTY_CD
, DUTY_NM
, REC_STS
, CREATE_DATE
)
VALUES (#dutySeq#
, #dutyCd#
, #dutyNm#
, 'A'
, NOW()
)
</insert>
<update id="hmsDutyDAO.updateHmsDuty_S">
UPDATE
HMS_DUTY
SET
DUTY_SEQ=#dutySeq#
, DUTY_CD=#dutyCd#
, DUTY_NM=#dutyNm#
, REC_STS=#recSts#
WHERE 1=1
AND REC_STS='A'
AND DUTY_SEQ=#dutySeq#
</update>
<update id="hmsDutyDAO.deleteHmsDuty_S">
UPDATE
HMS_DUTY
SET
REC_STS='D'
WHERE 1=1
AND DUTY_SEQ=#dutySeq#
</update>
<select id="hmsDutyDAO.selectHmsDuty_S" resultMap="hmsDuty">
SELECT
DUTY_SEQ
, DUTY_CD
, DUTY_NM
, REC_STS
, CREATE_DATE
FROM
HMS_DUTY
WHERE 1=1
AND REC_STS='A'
AND DUTY_SEQ=#dutySeq#
</select>
<select id="hmsDutyDAO.selectHmsDutyList_D" parameterClass="hmsDutySerarchVO" resultClass="egovMap">
SELECT * FROM (
SELECT A.*, ROWNUM RNUM FROM (
SELECT
B.DUTY_SEQ
, B.DUTY_CD
, B.DUTY_NM
, B.REC_STS
, B.CREATE_DATE
FROM
HMS_DUTY B
WHERE 1=1
AND B.REC_STS='A'
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" compareValue="1" prepend="AND">
B.DUTY_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
<isEmpty property="orderby" prepend="ORDER BY">
DUTY_SEQ DESC
</isEmpty>
<isNotEmpty property="orderby" prepend="ORDER BY">
</isNotEmpty>
<isEqual property="pageUseYn" compareValue="Y">
<![CDATA[
) A WHERE ROWNUM <= #lastIndex#
)WHERE RNUM > #firstIndex#
]]>
</isEqual>
<isNotEqual property="pageUseYn" compareValue="Y">
) A
)
</isNotEqual>
</select>
<select id="hmsDutyDAO.selectHmsDutyListTotCnt_S" parameterClass="hmsDutySerarchVO" resultClass="int">
SELECT
COUNT(*) totcnt
FROM
HMS_DUTY B
WHERE 1=1
AND B.REC_STS='A'
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" compareValue="1" prepend="AND">
B.DUTY_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
</select>
</sqlMap>

View File

@@ -0,0 +1,119 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<sqlMap namespace="HmsDuty">
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
<typeAlias alias="hmsDutySerarchVO" type="egovframework.cms.duty.vo.HmsDutyDefaultVO"/>
<resultMap id="hmsDuty" class="egovframework.cms.duty.vo.HmsDutyVO">
<result property="dutySeq" column="DUTY_SEQ" columnIndex="1" />
<result property="dutyCd" column="DUTY_CD" columnIndex="2" />
<result property="dutyNm" column="DUTY_NM" columnIndex="3" />
<result property="recSts" column="REC_STS" columnIndex="4" />
<result property="createDate" column="CREATE_DATE" columnIndex="5" />
</resultMap>
<insert id="hmsDutyDAO.insertHmsDuty_S">
INSERT INTO HMS_DUTY
( DUTY_SEQ
, DUTY_CD
, DUTY_NM
, REC_STS
, CREATE_DATE
)
VALUES (#dutySeq#
, #dutyCd#
, #dutyNm#
, 'A'
, SYSDATE
)
</insert>
<update id="hmsDutyDAO.updateHmsDuty_S">
UPDATE
HMS_DUTY
SET
DUTY_SEQ=#dutySeq#
, DUTY_CD=#dutyCd#
, DUTY_NM=#dutyNm#
, REC_STS=#recSts#
WHERE 1=1
AND REC_STS='A'
AND DUTY_SEQ=#dutySeq#
</update>
<update id="hmsDutyDAO.deleteHmsDuty_S">
UPDATE
HMS_DUTY
SET
REC_STS='D'
WHERE 1=1
AND DUTY_SEQ=#dutySeq#
</update>
<select id="hmsDutyDAO.selectHmsDuty_S" resultMap="hmsDuty">
SELECT
DUTY_SEQ
, DUTY_CD
, DUTY_NM
, REC_STS
, CREATE_DATE
FROM
HMS_DUTY
WHERE 1=1
AND REC_STS='A'
AND DUTY_SEQ=#dutySeq#
</select>
<select id="hmsDutyDAO.selectHmsDutyList_D" parameterClass="hmsDutySerarchVO" resultClass="egovMap">
SELECT * FROM (
SELECT A.*, ROWNUM RNUM FROM (
SELECT
B.DUTY_SEQ
, B.DUTY_CD
, B.DUTY_NM
, B.REC_STS
, B.CREATE_DATE
FROM
HMS_DUTY B
WHERE 1=1
AND B.REC_STS='A'
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" compareValue="1" prepend="AND">
B.DUTY_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
<isEmpty property="orderby" prepend="ORDER BY">
DUTY_SEQ DESC
</isEmpty>
<isNotEmpty property="orderby" prepend="ORDER BY">
</isNotEmpty>
<isEqual property="pageUseYn" compareValue="Y">
<![CDATA[
) A WHERE ROWNUM <= #lastIndex#
)WHERE RNUM > #firstIndex#
]]>
</isEqual>
<isNotEqual property="pageUseYn" compareValue="Y">
) A
)
</isNotEqual>
</select>
<select id="hmsDutyDAO.selectHmsDutyListTotCnt_S" parameterClass="hmsDutySerarchVO" resultClass="int">
SELECT
COUNT(*) totcnt
FROM
HMS_DUTY B
WHERE 1=1
AND B.REC_STS='A'
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" compareValue="1" prepend="AND">
B.DUTY_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
</select>
</sqlMap>

View File

@@ -0,0 +1,167 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<sqlMap namespace="HmsLog">
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
<typeAlias alias="hmsLogSerarchVO" type="egovframework.cms.log.vo.HmsLogDefaultVO"/>
<resultMap id="hmsLog" class="egovframework.cms.log.vo.HmsLogVO">
<result property="logSeq" column="LOG_SEQ" columnIndex="1" />
<result property="userId" column="USER_ID" columnIndex="2" />
<result property="userNm" column="USER_NM" columnIndex="3" />
<result property="createDate" column="CREATE_DATE" columnIndex="4" />
<result property="ip" column="IP" columnIndex="5" />
<result property="seq" column="SEQ" columnIndex="6" />
<result property="logObject" column="LOG_OBJECT" columnIndex="7" />
<result property="logMessage" column="LOG_MESSAGE" columnIndex="8" />
<result property="logStatusType" column="LOG_STATUS_TYPE" columnIndex="9" />
</resultMap>
<insert id="hmsLogDAO.insertHmsLog_S">
INSERT INTO HMS_LOG
( LOG_SEQ
, USER_ID
, USER_NM
, CREATE_DATE
, IP
, SEQ
, LOG_OBJECT
, LOG_MESSAGE
, LOG_STATUS_TYPE
)
VALUES (#logSeq#
, #userId#
, #userNm#
, NOW()
, #ip#
, #seq#
, #logObject#
, #logMessage#
, #logStatusType#
)
</insert>
<update id="hmsLogDAO.updateHmsLog_S">
UPDATE
HMS_LOG
SET
LOG_SEQ=#logSeq#
, USER_ID=#userId#
, USER_NM=#userNm#
, CREATE_DATE=NOW()
, IP=#ip#
, SEQ=#seq#
, LOG_OBJECT=#logObject#
, LOG_MESSAGE=#logMessage#
, LOG_STATUS_TYPE=#logStatusType#
WHERE 1=1
AND LOG_SEQ=#logSeq#
</update>
<update id="hmsLogDAO.deleteHmsLog_S">
UPDATE
HMS_LOG
SET
REC_STS='D'
WHERE 1=1
AND LOG_SEQ=#logSeq#
</update>
<select id="hmsLogDAO.selectHmsLog_S" resultMap="hmsLog">
SELECT
LOG_SEQ
, USER_ID
, USER_NM
, CREATE_DATE
, IP
, SEQ
, LOG_OBJECT
, LOG_MESSAGE
, LOG_STATUS_TYPE
FROM
HMS_LOG
WHERE 1=1
AND LOG_SEQ=#logSeq#
</select>
<select id="hmsLogDAO.selectHmsLogList_D" parameterClass="hmsLogSerarchVO" resultClass="egovMap">
SELECT * FROM (
SELECT A.*, ROWNUM RNUM FROM (
SELECT
USER_ID
, USER_NM
, CREATE_DATE
, IP
, LOG_OBJECT
, LOG_MESSAGE
, LOG_STATUS_TYPE
, LOG_SEQ
, SEQ
FROM
HMS_LOG
WHERE 1=1
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" prepend="AND" compareValue="1">
LOG_STATUS_TYPE LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" prepend="AND" compareValue="2">
LOG_OBJECT LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
ORDER BY
LOG_SEQ DESC
<isEqual property="pageUseYn" compareValue="Y">
<![CDATA[
) A WHERE ROWNUM <= #lastIndex#
)WHERE RNUM > #firstIndex#
]]>
</isEqual>
<isNotEqual property="pageUseYn" compareValue="Y">
) A
)
</isNotEqual>
</select>
<select id="hmsLogDAO.selectHmsLogListTotCnt_S" parameterClass="hmsLogSerarchVO" resultClass="int">
SELECT
COUNT(*) totcnt
FROM
HMS_LOG
WHERE 1=1
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" prepend="AND" compareValue="1">
LOG_STATUS_TYPE LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" prepend="AND" compareValue="2">
LOG_OBJECT LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
</select>
<select id="hmsLogDAO.selectHmsLogConnStatisticsCnt" resultClass="egovMap">
SELECT
COUNT(*) AS CNT
,B.LOG_OBJECT
,A.ORG_SEQ
FROM
(SELECT * FROM DMS_MEM_ORG_REL A , DMS_MEMBER B WHERE 1=1 AND A.MEMBER_SEQ = B.MEMBER_SEQ) A JOIN HMS_LOG B
ON A.MEMBER_ID=B.USER_ID
WHERE 1=1
AND A.REC_STS='A'
AND (B.LOG_OBJECT = 'MOBILE LOGIN'
OR B.LOG_OBJECT = 'WEB LOGIN')
<isNotEmpty property="searchStartMonth" prepend="AND">
<![CDATA[ TO_CHAR(B.CREATE_DATE,'YYYY-MM-DD')>=#searchStartMonth# ]]>
</isNotEmpty>
<isNotEmpty property="searchEndMonth" prepend="AND">
<![CDATA[ TO_CHAR(B.CREATE_DATE,'YYYY-MM-DD')<=#searchEndMonth# ]]>
</isNotEmpty>
GROUP BY
A.ORG_SEQ ,B.LOG_OBJECT
ORDER BY
A.ORG_SEQ ASC
</select>
</sqlMap>

View File

@@ -0,0 +1,167 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<sqlMap namespace="HmsLog">
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
<typeAlias alias="hmsLogSerarchVO" type="egovframework.cms.log.vo.HmsLogDefaultVO"/>
<resultMap id="hmsLog" class="egovframework.cms.log.vo.HmsLogVO">
<result property="logSeq" column="LOG_SEQ" columnIndex="1" />
<result property="userId" column="USER_ID" columnIndex="2" />
<result property="userNm" column="USER_NM" columnIndex="3" />
<result property="createDate" column="CREATE_DATE" columnIndex="4" />
<result property="ip" column="IP" columnIndex="5" />
<result property="seq" column="SEQ" columnIndex="6" />
<result property="logObject" column="LOG_OBJECT" columnIndex="7" />
<result property="logMessage" column="LOG_MESSAGE" columnIndex="8" />
<result property="logStatusType" column="LOG_STATUS_TYPE" columnIndex="9" />
</resultMap>
<insert id="hmsLogDAO.insertHmsLog_S">
INSERT INTO HMS_LOG
( LOG_SEQ
, USER_ID
, USER_NM
, CREATE_DATE
, IP
, SEQ
, LOG_OBJECT
, LOG_MESSAGE
, LOG_STATUS_TYPE
)
VALUES (#logSeq#
, #userId#
, #userNm#
, SYSDATE
, #ip#
, #seq#
, #logObject#
, #logMessage#
, #logStatusType#
)
</insert>
<update id="hmsLogDAO.updateHmsLog_S">
UPDATE
HMS_LOG
SET
LOG_SEQ=#logSeq#
, USER_ID=#userId#
, USER_NM=#userNm#
, CREATE_DATE=SYSDATE
, IP=#ip#
, SEQ=#seq#
, LOG_OBJECT=#logObject#
, LOG_MESSAGE=#logMessage#
, LOG_STATUS_TYPE=#logStatusType#
WHERE 1=1
AND LOG_SEQ=#logSeq#
</update>
<update id="hmsLogDAO.deleteHmsLog_S">
UPDATE
HMS_LOG
SET
REC_STS='D'
WHERE 1=1
AND LOG_SEQ=#logSeq#
</update>
<select id="hmsLogDAO.selectHmsLog_S" resultMap="hmsLog">
SELECT
LOG_SEQ
, USER_ID
, USER_NM
, CREATE_DATE
, IP
, SEQ
, LOG_OBJECT
, LOG_MESSAGE
, LOG_STATUS_TYPE
FROM
HMS_LOG
WHERE 1=1
AND LOG_SEQ=#logSeq#
</select>
<select id="hmsLogDAO.selectHmsLogList_D" parameterClass="hmsLogSerarchVO" resultClass="egovMap">
SELECT * FROM (
SELECT A.*, ROWNUM RNUM FROM (
SELECT
USER_ID
, USER_NM
, CREATE_DATE
, IP
, LOG_OBJECT
, LOG_MESSAGE
, LOG_STATUS_TYPE
, LOG_SEQ
, SEQ
FROM
HMS_LOG
WHERE 1=1
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" prepend="AND" compareValue="1">
LOG_STATUS_TYPE LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" prepend="AND" compareValue="2">
LOG_OBJECT LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
ORDER BY
LOG_SEQ DESC
<isEqual property="pageUseYn" compareValue="Y">
<![CDATA[
) A WHERE ROWNUM <= #lastIndex#
)WHERE RNUM > #firstIndex#
]]>
</isEqual>
<isNotEqual property="pageUseYn" compareValue="Y">
) A
)
</isNotEqual>
</select>
<select id="hmsLogDAO.selectHmsLogListTotCnt_S" parameterClass="hmsLogSerarchVO" resultClass="int">
SELECT
COUNT(*) totcnt
FROM
HMS_LOG
WHERE 1=1
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" prepend="AND" compareValue="1">
LOG_STATUS_TYPE LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" prepend="AND" compareValue="2">
LOG_OBJECT LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
</select>
<select id="hmsLogDAO.selectHmsLogConnStatisticsCnt" resultClass="egovMap">
SELECT
COUNT(*) AS CNT
,B.LOG_OBJECT
,A.ORG_SEQ
FROM
(SELECT * FROM DMS_MEM_ORG_REL A , DMS_MEMBER B WHERE 1=1 AND A.MEMBER_SEQ = B.MEMBER_SEQ) A JOIN HMS_LOG B
ON A.MEMBER_ID=B.USER_ID
WHERE 1=1
AND A.REC_STS='A'
AND (B.LOG_OBJECT = 'MOBILE LOGIN'
OR B.LOG_OBJECT = 'WEB LOGIN')
<isNotEmpty property="searchStartMonth" prepend="AND">
<![CDATA[ TO_CHAR(B.CREATE_DATE,'YYYY-MM-DD')>=#searchStartMonth# ]]>
</isNotEmpty>
<isNotEmpty property="searchEndMonth" prepend="AND">
<![CDATA[ TO_CHAR(B.CREATE_DATE,'YYYY-MM-DD')<=#searchEndMonth# ]]>
</isNotEmpty>
GROUP BY
A.ORG_SEQ ,B.LOG_OBJECT
ORDER BY
A.ORG_SEQ ASC
</select>
</sqlMap>

View File

@@ -0,0 +1,125 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<sqlMap namespace="HmsPosition">
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
<typeAlias alias="hmsPositionSerarchVO" type="egovframework.cms.position.vo.HmsPositionDefaultVO"/>
<resultMap id="hmsPosition" class="egovframework.cms.position.vo.HmsPositionVO">
<result property="positionCd" column="POSITION_CD" columnIndex="1" />
<result property="positionNm" column="POSITION_NM" columnIndex="2" />
<result property="positionSeq" column="POSITION_SEQ" columnIndex="3" />
<result property="recSts" column="REC_STS" columnIndex="4" />
<result property="createDate" column="CREATE_DATE" columnIndex="5" />
<result property="rnk" column="RNK" columnIndex="6" />
</resultMap>
<insert id="hmsPositionDAO.insertHmsPosition_S">
INSERT INTO HMS_POSITION
( POSITION_CD
, POSITION_NM
, POSITION_SEQ
, REC_STS
, CREATE_DATE
, RNK
)
VALUES (#positionCd#
, #positionNm#
, #positionSeq#
, 'A'
, NOW()
, #rnk#
)
</insert>
<update id="hmsPositionDAO.updateHmsPosition_S">
UPDATE
HMS_POSITION
SET
POSITION_CD=#positionCd#
, POSITION_NM=#positionNm#
, POSITION_SEQ=#positionSeq#
, REC_STS=#recSts#
, CREATE_DATE=#createDate#
, RNK=#rnk#
WHERE 1=1
AND REC_STS='A'
AND POSITION_SEQ=#positionSeq#
</update>
<update id="hmsPositionDAO.deleteHmsPosition_S">
UPDATE
HMS_POSITION
SET
REC_STS='D'
WHERE 1=1
AND POSITION_SEQ=#positionSeq#
</update>
<select id="hmsPositionDAO.selectHmsPosition_S" resultMap="hmsPosition">
SELECT
POSITION_CD
, POSITION_NM
, POSITION_SEQ
, REC_STS
, CREATE_DATE
, RNK
FROM
HMS_POSITION
WHERE 1=1
AND REC_STS='A'
AND POSITION_SEQ=#positionSeq#
</select>
<select id="hmsPositionDAO.selectHmsPositionList_D" parameterClass="hmsPositionSerarchVO" resultClass="egovMap">
SELECT * FROM (
SELECT A.*, ROWNUM RNUM FROM (
SELECT
B.POSITION_CD
, B.POSITION_NM
, B.POSITION_SEQ
, B.REC_STS
, B.CREATE_DATE
, B.RNK
FROM
HMS_POSITION B
WHERE 1=1
AND B.REC_STS='A'
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" compareValue="1" prepend="AND">
B.POSITION_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
<isEmpty property="orderby" prepend="ORDER BY">
RNK*1 ASC
</isEmpty>
<isNotEmpty property="orderby" prepend="ORDER BY">
</isNotEmpty>
<isEqual property="pageUseYn" compareValue="Y">
<![CDATA[
) A WHERE ROWNUM <= #lastIndex#
)WHERE RNUM > #firstIndex#
]]>
</isEqual>
<isNotEqual property="pageUseYn" compareValue="Y">
) A
)
</isNotEqual>
</select>
<select id="hmsPositionDAO.selectHmsPositionListTotCnt_S" parameterClass="hmsPositionSerarchVO" resultClass="int">
SELECT
COUNT(*) totcnt
FROM
HMS_POSITION B
WHERE 1=1
AND B.REC_STS='A'
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" compareValue="1" prepend="AND">
B.POSITION_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
</select>
</sqlMap>

View File

@@ -0,0 +1,126 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<sqlMap namespace="HmsPosition">
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
<typeAlias alias="hmsPositionSerarchVO" type="egovframework.cms.position.vo.HmsPositionDefaultVO"/>
<resultMap id="hmsPosition" class="egovframework.cms.position.vo.HmsPositionVO">
<result property="positionCd" column="POSITION_CD" columnIndex="1" />
<result property="positionNm" column="POSITION_NM" columnIndex="2" />
<result property="positionSeq" column="POSITION_SEQ" columnIndex="3" />
<result property="recSts" column="REC_STS" columnIndex="4" />
<result property="createDate" column="CREATE_DATE" columnIndex="5" />
<result property="rnk" column="RNK" columnIndex="6" />
</resultMap>
<insert id="hmsPositionDAO.insertHmsPosition_S">
INSERT INTO HMS_POSITION
( POSITION_CD
, POSITION_NM
, POSITION_SEQ
, REC_STS
, CREATE_DATE
, RNK
)
VALUES (#positionCd#
, #positionNm#
, #positionSeq#
, 'A'
, SYSDATE
, #rnk#
)
</insert>
<update id="hmsPositionDAO.updateHmsPosition_S">
UPDATE
HMS_POSITION
SET
POSITION_CD=#positionCd#
, POSITION_NM=#positionNm#
, POSITION_SEQ=#positionSeq#
, REC_STS=#recSts#
, CREATE_DATE=#createDate#
, RNK=#rnk#
WHERE 1=1
AND REC_STS='A'
AND POSITION_SEQ=#positionSeq#
</update>
<update id="hmsPositionDAO.deleteHmsPosition_S">
UPDATE
HMS_POSITION
SET
REC_STS='D'
WHERE 1=1
AND POSITION_SEQ=#positionSeq#
</update>
<select id="hmsPositionDAO.selectHmsPosition_S" resultMap="hmsPosition">
SELECT
POSITION_CD
, POSITION_NM
, POSITION_SEQ
, REC_STS
, CREATE_DATE
, RNK
FROM
HMS_POSITION
WHERE 1=1
AND REC_STS='A'
AND POSITION_SEQ=#positionSeq#
</select>
<select id="hmsPositionDAO.selectHmsPositionList_D" parameterClass="hmsPositionSerarchVO" resultClass="egovMap">
SELECT * FROM (
SELECT A.*, ROWNUM RNUM FROM (
SELECT
B.POSITION_CD
, B.POSITION_NM
, B.POSITION_SEQ
, B.REC_STS
, B.CREATE_DATE
, B.RNK
FROM
HMS_POSITION B
WHERE 1=1
AND B.REC_STS='A'
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" compareValue="1" prepend="AND">
B.POSITION_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
<isEmpty property="orderby" prepend="ORDER BY">
RNK*1 ASC
</isEmpty>
<isNotEmpty property="orderby" prepend="ORDER BY">
</isNotEmpty>
<isEqual property="pageUseYn" compareValue="Y">
<![CDATA[
) A WHERE ROWNUM <= #lastIndex#
)WHERE RNUM > #firstIndex#
]]>
</isEqual>
<isNotEqual property="pageUseYn" compareValue="Y">
) A
)
</isNotEqual>
</select>
<select id="hmsPositionDAO.selectHmsPositionListTotCnt_S" parameterClass="hmsPositionSerarchVO" resultClass="int">
SELECT
COUNT(*) totcnt
FROM
HMS_POSITION B
WHERE 1=1
AND B.REC_STS='A'
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" compareValue="1" prepend="AND">
B.POSITION_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
</select>
</sqlMap>

View File

@@ -0,0 +1,292 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<sqlMap namespace="HmsUser">
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
<typeAlias alias="hmsUserSerarchVO" type="egovframework.cms.user.vo.HmsUserDefaultVO"/>
<resultMap id="hmsUser" class="egovframework.cms.user.vo.HmsUserVO">
<result property="userId" column="USER_ID" columnIndex="1" />
<result property="userNm" column="USER_NM" columnIndex="2" />
<result property="tel" column="TEL" columnIndex="3" />
<result property="passwd" column="PASSWD" columnIndex="4" />
<result property="email" column="EMAIL" columnIndex="5" />
<result property="mobile" column="MOBILE" columnIndex="6" />
<result property="recSts" column="REC_STS" columnIndex="7" />
<result property="createDate" column="CREATE_DATE" columnIndex="8" />
<result property="userSeq" column="USER_SEQ" columnIndex="9" />
<result property="deptNm" column="DEPT_NM" columnIndex="10" />
<result property="positionNm" column="POSITION_NM" columnIndex="11" />
<result property="dutyNm" column="DUTY_NM" columnIndex="12" />
<result property="userRank" column="USER_RANK" columnIndex="13" />
<result property="extField01" column="EXT_FIELD01" columnIndex="14" />
<result property="extField02" column="EXT_FIELD02" columnIndex="15" />
<result property="extField03" column="EXT_FIELD03" columnIndex="16" />
<result property="extField04" column="EXT_FIELD04" columnIndex="17" />
<result property="extField05" column="EXT_FIELD05" columnIndex="18" />
<result property="officeNm" column="OFFICE_NM" columnIndex="19" />
<result property="positionCd" column="POSITION_CD" columnIndex="20" />
<result property="dutyCd" column="DUTY_CD" columnIndex="21" />
<result property="deptCd" column="DEPT_CD" columnIndex="22" />
<result property="officeCd" column="OFFICE_CD" columnIndex="23" />
<result property="gender" column="GENDER" columnIndex="24" />
<result property="birthday" column="BIRTHDAY" columnIndex="25" />
<result property="birthdayType" column="BIRTHDAY_TYPE" columnIndex="26" />
<result property="jobTitle" column="JOB_TITLE" columnIndex="27" />
<result property="userType" column="USER_TYPE" columnIndex="28" />
</resultMap>
<insert id="hmsUserDAO.insertHmsUser_S">
INSERT INTO HMS_USER
( USER_ID
, USER_NM
, TEL
, PASSWD
, EMAIL
, MOBILE
, REC_STS
, CREATE_DATE
, USER_SEQ
, DEPT_NM
, POSITION_NM
, DUTY_NM
, USER_RANK
, EXT_FIELD01
, EXT_FIELD02
, EXT_FIELD03
, EXT_FIELD04
, EXT_FIELD05
, OFFICE_NM
, POSITION_CD
, DUTY_CD
, DEPT_CD
, OFFICE_CD
, GENDER
, BIRTHDAY
, BIRTHDAY_TYPE
, JOB_TITLE
)
VALUES (#userId#
, #userNm#
, #tel#
, #passwd#
, #email#
, #mobile#
, 'A'
, NOW()
, #userSeq#
, #deptNm#
, #positionNm#
, #dutyNm#
, #userRank#
, #extField01#
, #extField02#
, #extField03#
, #extField04#
, #extField05#
, #officeNm#
, #positionCd#
, #dutyCd#
, #deptCd#
, #officeCd#
, #gender#
, #birthday#
, #birthdayType#
, #jobTitle#
)
</insert>
<update id="hmsUserDAO.updateHmsUser_S">
UPDATE
HMS_USER
SET
USER_ID=#userId#
, USER_NM=#userNm#
, TEL=#tel#
, EMAIL=#email#
, MOBILE=#mobile#
, USER_SEQ=#userSeq#
, DEPT_NM=#deptNm#
, POSITION_NM=#positionNm#
, DUTY_NM=#dutyNm#
, USER_RANK=#userRank#
, EXT_FIELD01=#extField01#
, EXT_FIELD02=#extField02#
, EXT_FIELD03=#extField03#
, EXT_FIELD04=#extField04#
, EXT_FIELD05=#extField05#
, OFFICE_NM=#officeNm#
, POSITION_CD=#positionCd#
, DUTY_CD=#dutyCd#
, DEPT_CD=#deptCd#
, OFFICE_CD=#officeCd#
, GENDER=#gender#
, BIRTHDAY=#birthday#
, BIRTHDAY_TYPE=#birthdayType#
, JOB_TITLE=#jobTitle#
WHERE 1=1
AND REC_STS='A'
<isNotEmpty property="userSeq" prepend="AND">
USER_SEQ=#userSeq#
</isNotEmpty>
<isNotEmpty property="userId" prepend="AND">
USER_ID=#userId#
</isNotEmpty>
</update>
<update id="hmsUserDAO.updateHmsUserPasswd">
UPDATE
HMS_USER
SET
PASSWD=#passwd#
WHERE 1=1
AND REC_STS='A'
AND USER_ID=#userId#
</update>
<update id="hmsUserDAO.deleteHmsUser_S">
UPDATE
HMS_USER
SET
REC_STS='D'
WHERE 1=1
<isNotEmpty property="userSeq" prepend="AND">
USER_SEQ=#userSeq#
</isNotEmpty>
<isNotEmpty property="userId" prepend="AND">
USER_ID=#userId#
</isNotEmpty>
</update>
<select id="hmsUserDAO.selectHmsUser_S" resultMap="hmsUser">
SELECT
A.USER_ID
, A.USER_NM
, A.TEL
, A.PASSWD
, A.EMAIL
, A.MOBILE
, A.REC_STS
, A.CREATE_DATE
, A.USER_SEQ
, A.DEPT_NM
, A.POSITION_NM
, A.DUTY_NM
, A.USER_RANK
, A.EXT_FIELD01
, A.EXT_FIELD02
, A.EXT_FIELD03
, A.EXT_FIELD04
, A.EXT_FIELD05
, A.OFFICE_NM
, A.POSITION_CD
, A.DUTY_CD
, A.DEPT_CD
, A.OFFICE_CD
, A.GENDER
, A.BIRTHDAY
, A.BIRTHDAY_TYPE
, A.JOB_TITLE
, B.USER_TYPE
FROM
HMS_USER A, HMS_USER_TYPE B
WHERE 1=1
AND A.USER_ID = B.USER_ID
AND A.REC_STS='A'
<isNotEmpty property="userSeq" prepend="AND">
A.USER_SEQ=#userSeq#
</isNotEmpty>
<isNotEmpty property="userId" prepend="AND">
A.USER_ID=#userId#
</isNotEmpty>
</select>
<select id="hmsUserDAO.selectHmsUserList_D" parameterClass="hmsUserSerarchVO" resultClass="egovMap">
SELECT
B.USER_ID
, B.USER_NM
, B.TEL
, B.PASSWD
, B.EMAIL
, B.MOBILE
, B.REC_STS
, B.CREATE_DATE
, B.USER_SEQ
, B.DEPT_NM
, B.POSITION_NM
, B.DUTY_NM
, B.USER_RANK
, B.EXT_FIELD01
, B.EXT_FIELD02
, B.EXT_FIELD03
, B.EXT_FIELD04
, B.EXT_FIELD05
, B.OFFICE_NM
, B.POSITION_CD
, B.DUTY_CD
, B.DEPT_CD
, B.OFFICE_CD
, B.GENDER
, B.BIRTHDAY
, B.BIRTHDAY_TYPE
, B.JOB_TITLE
, C.USER_TYPE
FROM
HMS_USER B, HMS_USER_TYPE C
WHERE 1=1
AND B.USER_ID = C.USER_ID
AND B.REC_STS='A'
<isNotEmpty property="userType" prepend="AND">
C.USER_TYPE = #userType#
</isNotEmpty>
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" compareValue="1" prepend="AND">
B.USER_NM LIKE CONCAT('%',#searchKeyword#,'%')
</isEqual>
<isEqual property="searchCondition" compareValue="2" prepend="AND">
B.USER_ID LIKE CONCAT('%',#searchKeyword#,'%')
</isEqual>
</isNotEmpty>
<isNotEmpty property="searchDeptCd" prepend="AND">
B.DEPT_CD=#searchDeptCd#
</isNotEmpty>
<isEmpty property="orderby" prepend="ORDER BY">
USER_RANK * 1 ASC
</isEmpty>
<isNotEmpty property="orderby" prepend="ORDER BY">
</isNotEmpty>
<isEqual property="pageUseYn" compareValue="Y" prepend="LIMIT">
#firstIndex#, #recordCountPerPage#
</isEqual>
</select>
<select id="hmsUserDAO.selectHmsUserListTotCnt_S" parameterClass="hmsUserSerarchVO" resultClass="int">
SELECT
COUNT(*) totcnt
FROM
HMS_USER B
WHERE 1=1
AND B.REC_STS='A'
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" compareValue="1" prepend="AND">
B.USER_NM LIKE CONCAT('%',#searchKeyword#,'%')
</isEqual>
<isEqual property="searchCondition" compareValue="2" prepend="AND">
B.USER_ID LIKE CONCAT('%',#searchKeyword#,'%')
</isEqual>
</isNotEmpty>
<isNotEmpty property="searchDeptCd" prepend="AND">
B.DEPT_CD=#searchDeptCd#
</isNotEmpty>
</select>
<insert id="hmsUserDAO.insertHmsUserType_S">
INSERT INTO HMS_USER_TYPE(USER_ID, USER_TYPE) VALUES(#userId#, #userType#)
</insert>
<delete id="hmsUserDAO.deleteHmsUserType_S">
DELETE FROM HMS_USER_TYPE WHERE USER_ID = #userId#
</delete>
</sqlMap>

View File

@@ -0,0 +1,285 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<sqlMap namespace="HmsUser">
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
<typeAlias alias="hmsUserSerarchVO" type="egovframework.cms.user.vo.HmsUserDefaultVO"/>
<resultMap id="hmsUser" class="egovframework.cms.user.vo.HmsUserVO">
<result property="userId" column="USER_ID" columnIndex="1" />
<result property="userNm" column="USER_NM" columnIndex="2" />
<result property="tel" column="TEL" columnIndex="3" />
<result property="passwd" column="PASSWD" columnIndex="4" />
<result property="email" column="EMAIL" columnIndex="5" />
<result property="mobile" column="MOBILE" columnIndex="6" />
<result property="recSts" column="REC_STS" columnIndex="7" />
<result property="createDate" column="CREATE_DATE" columnIndex="8" />
<result property="userSeq" column="USER_SEQ" columnIndex="9" />
<result property="deptNm" column="DEPT_NM" columnIndex="10" />
<result property="positionNm" column="POSITION_NM" columnIndex="11" />
<result property="dutyNm" column="DUTY_NM" columnIndex="12" />
<result property="userRank" column="USER_RANK" columnIndex="13" />
<result property="extField01" column="EXT_FIELD01" columnIndex="14" />
<result property="extField02" column="EXT_FIELD02" columnIndex="15" />
<result property="extField03" column="EXT_FIELD03" columnIndex="16" />
<result property="extField04" column="EXT_FIELD04" columnIndex="17" />
<result property="extField05" column="EXT_FIELD05" columnIndex="18" />
<result property="officeNm" column="OFFICE_NM" columnIndex="19" />
<result property="positionCd" column="POSITION_CD" columnIndex="20" />
<result property="dutyCd" column="DUTY_CD" columnIndex="21" />
<result property="deptCd" column="DEPT_CD" columnIndex="22" />
<result property="officeCd" column="OFFICE_CD" columnIndex="23" />
<result property="gender" column="GENDER" columnIndex="24" />
<result property="birthday" column="BIRTHDAY" columnIndex="25" />
<result property="birthdayType" column="BIRTHDAY_TYPE" columnIndex="26" />
<result property="jobTitle" column="JOB_TITLE" columnIndex="27" />
</resultMap>
<insert id="hmsUserDAO.insertHmsUser_S">
INSERT INTO HMS_USER
( USER_ID
, USER_NM
, TEL
, PASSWD
, EMAIL
, MOBILE
, REC_STS
, CREATE_DATE
, USER_SEQ
, DEPT_NM
, POSITION_NM
, DUTY_NM
, USER_RANK
, EXT_FIELD01
, EXT_FIELD02
, EXT_FIELD03
, EXT_FIELD04
, EXT_FIELD05
, OFFICE_NM
, POSITION_CD
, DUTY_CD
, DEPT_CD
, OFFICE_CD
, GENDER
, BIRTHDAY
, BIRTHDAY_TYPE
, JOB_TITLE
)
VALUES (#userId#
, #userNm#
, #tel#
, #passwd#
, #email#
, #mobile#
, 'A'
, SYSDATE
, #userSeq#
, #deptNm#
, #positionNm#
, #dutyNm#
, #userRank#
, #extField01#
, #extField02#
, #extField03#
, #extField04#
, #extField05#
, #officeNm#
, #positionCd#
, #dutyCd#
, #deptCd#
, #officeCd#
, #gender#
, #birthday#
, #birthdayType#
, #jobTitle#
)
</insert>
<update id="hmsUserDAO.updateHmsUser_S">
UPDATE
HMS_USER
SET
USER_ID=#userId#
, USER_NM=#userNm#
, TEL=#tel#
, EMAIL=#email#
, MOBILE=#mobile#
, USER_SEQ=#userSeq#
, DEPT_NM=#deptNm#
, POSITION_NM=#positionNm#
, DUTY_NM=#dutyNm#
, USER_RANK=#userRank#
, EXT_FIELD01=#extField01#
, EXT_FIELD02=#extField02#
, EXT_FIELD03=#extField03#
, EXT_FIELD04=#extField04#
, EXT_FIELD05=#extField05#
, OFFICE_NM=#officeNm#
, POSITION_CD=#positionCd#
, DUTY_CD=#dutyCd#
, DEPT_CD=#deptCd#
, OFFICE_CD=#officeCd#
, GENDER=#gender#
, BIRTHDAY=#birthday#
, BIRTHDAY_TYPE=#birthdayType#
, JOB_TITLE=#jobTitle#
WHERE 1=1
AND REC_STS='A'
<isNotEmpty property="userSeq" prepend="AND">
USER_SEQ=#userSeq#
</isNotEmpty>
<isNotEmpty property="userId" prepend="AND">
USER_ID=#userId#
</isNotEmpty>
</update>
<update id="hmsUserDAO.updateHmsUserPasswd">
UPDATE
HMS_USER
SET
PASSWD=#passwd#
WHERE 1=1
AND REC_STS='A'
AND USER_SEQ=#userSeq#
</update>
<update id="hmsUserDAO.deleteHmsUser_S">
UPDATE
HMS_USER
SET
REC_STS='D'
WHERE 1=1
<isNotEmpty property="userSeq" prepend="AND">
USER_SEQ=#userSeq#
</isNotEmpty>
<isNotEmpty property="userId" prepend="AND">
USER_ID=#userId#
</isNotEmpty>
</update>
<select id="hmsUserDAO.selectHmsUser_S" resultMap="hmsUser">
SELECT
USER_ID
, USER_NM
, TEL
, PASSWD
, EMAIL
, MOBILE
, REC_STS
, CREATE_DATE
, USER_SEQ
, DEPT_NM
, POSITION_NM
, DUTY_NM
, USER_RANK
, EXT_FIELD01
, EXT_FIELD02
, EXT_FIELD03
, EXT_FIELD04
, EXT_FIELD05
, OFFICE_NM
, POSITION_CD
, DUTY_CD
, DEPT_CD
, OFFICE_CD
, GENDER
, BIRTHDAY
, BIRTHDAY_TYPE
, JOB_TITLE
FROM
HMS_USER
WHERE 1=1
AND REC_STS='A'
<isNotEmpty property="userSeq" prepend="AND">
USER_SEQ=#userSeq#
</isNotEmpty>
<isNotEmpty property="userId" prepend="AND">
USER_ID=#userId#
</isNotEmpty>
</select>
<select id="hmsUserDAO.selectHmsUserList_D" parameterClass="hmsUserSerarchVO" resultClass="egovMap">
SELECT * FROM (
SELECT A.*, ROWNUM RNUM FROM (
SELECT
B.USER_ID
, B.USER_NM
, B.TEL
, B.PASSWD
, B.EMAIL
, B.MOBILE
, B.REC_STS
, B.CREATE_DATE
, B.USER_SEQ
, B.DEPT_NM
, B.POSITION_NM
, B.DUTY_NM
, B.USER_RANK
, B.EXT_FIELD01
, B.EXT_FIELD02
, B.EXT_FIELD03
, B.EXT_FIELD04
, B.EXT_FIELD05
, B.OFFICE_NM
, B.POSITION_CD
, B.DUTY_CD
, B.DEPT_CD
, B.OFFICE_CD
, B.GENDER
, B.BIRTHDAY
, B.BIRTHDAY_TYPE
, B.JOB_TITLE
FROM
HMS_USER B
WHERE 1=1
AND B.REC_STS='A'
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" compareValue="1" prepend="AND">
B.USER_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" compareValue="2" prepend="AND">
B.USER_ID LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
<isNotEmpty property="searchDeptCd" prepend="AND">
B.DEPT_CD=#searchDeptCd#
</isNotEmpty>
<isEmpty property="orderby" prepend="ORDER BY">
USER_RANK * 1 ASC
</isEmpty>
<isNotEmpty property="orderby" prepend="ORDER BY">
</isNotEmpty>
<isEqual property="pageUseYn" compareValue="Y">
<![CDATA[
) A WHERE ROWNUM <= #lastIndex#
)WHERE RNUM > #firstIndex#
]]>
</isEqual>
<isNotEqual property="pageUseYn" compareValue="Y">
) A
)
</isNotEqual>
</select>
<select id="hmsUserDAO.selectHmsUserListTotCnt_S" parameterClass="hmsUserSerarchVO" resultClass="int">
SELECT
COUNT(*) totcnt
FROM
HMS_USER B
WHERE 1=1
AND B.REC_STS='A'
<isNotEmpty property="searchKeyword">
<isEqual property="searchCondition" compareValue="1" prepend="AND">
B.USER_NM LIKE '%' || #searchKeyword# || '%'
</isEqual>
<isEqual property="searchCondition" compareValue="2" prepend="AND">
B.USER_ID LIKE '%' || #searchKeyword# || '%'
</isEqual>
</isNotEmpty>
<isNotEmpty property="searchDeptCd" prepend="AND">
B.DEPT_CD=#searchDeptCd#
</isNotEmpty>
</select>
</sqlMap>

View File

@@ -0,0 +1,173 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<sqlMap namespace="File">
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
<typeAlias alias="FileVO" type="egovframework.com.cmm.service.FileVO"/>
<resultMap id="fileList" class="egovframework.com.cmm.service.FileVO">
<result property="atchFileId" column="ATCH_FILE_ID" columnIndex="1"/>
<result property="fileCn" column="FILE_CN" columnIndex="2"/>
<result property="fileExtsn" column="FILE_EXTSN" columnIndex="3"/>
<result property="fileMg" column="FILE_SIZE" columnIndex="4"/>
<result property="fileSn" column="FILE_SN" columnIndex="5"/>
<result property="fileStreCours" column="FILE_STRE_COURS" columnIndex="6"/>
<result property="orignlFileNm" column="ORIGNL_FILE_NM" columnIndex="7"/>
<result property="streFileNm" column="STRE_FILE_NM" columnIndex="8"/>
<result property="creatDt" column="CREAT_DT" columnIndex="9"/>
</resultMap>
<resultMap id="fileDetail" class="egovframework.com.cmm.service.FileVO">
<result property="atchFileId" column="ATCH_FILE_ID" columnIndex="1"/>
<result property="fileCn" column="FILE_CN" columnIndex="2"/>
<result property="fileExtsn" column="FILE_EXTSN" columnIndex="3"/>
<result property="fileMg" column="FILE_SIZE" columnIndex="4"/>
<result property="fileSn" column="FILE_SN" columnIndex="5"/>
<result property="fileStreCours" column="FILE_STRE_COURS" columnIndex="6"/>
<result property="orignlFileNm" column="ORIGNL_FILE_NM" columnIndex="7"/>
<result property="streFileNm" column="STRE_FILE_NM" columnIndex="8"/>
</resultMap>
<select id="FileManageDAO.selectFileList" parameterClass="FileVO" resultMap="fileList" >
<![CDATA[
SELECT
a.ATCH_FILE_ID, b.FILE_CN, b.FILE_SN, b.FILE_STRE_COURS, b.STRE_FILE_NM,
b.FILE_EXTSN, b.ORIGNL_FILE_NM, b.FILE_SIZE, a.CREAT_DT
FROM
COMTNFILE a, COMTNFILEDETAIL b
WHERE
a.ATCH_FILE_ID = #atchFileId#
AND
a.ATCH_FILE_ID = b.ATCH_FILE_ID
AND
a.USE_AT = 'Y'
ORDER BY b.FILE_SN
]]>
</select>
<insert id="FileManageDAO.insertFileMaster" parameterClass="FileVO" >
<![CDATA[
INSERT INTO COMTNFILE
(ATCH_FILE_ID, CREAT_DT, USE_AT)
VALUES
( #atchFileId#, SYSDATE, 'Y')
]]>
</insert>
<insert id="FileManageDAO.insertFileDetail" parameterClass="FileVO" >
<![CDATA[
INSERT INTO COMTNFILEDETAIL
( ATCH_FILE_ID, FILE_SN, FILE_STRE_COURS, STRE_FILE_NM,
ORIGNL_FILE_NM, FILE_EXTSN, FILE_SIZE, FILE_CN )
VALUES
( #atchFileId#, #fileSn#, #fileStreCours#, #streFileNm#,
#orignlFileNm#, #fileExtsn#, #fileMg#, #fileCn# )
]]>
</insert>
<delete id="FileManageDAO.deleteFileDetail" parameterClass="FileVO" >
<![CDATA[
DELETE FROM COMTNFILEDETAIL
WHERE
ATCH_FILE_ID = #atchFileId#
AND
FILE_SN = #fileSn#
]]>
</delete>
<select id="FileManageDAO.getMaxFileSN" parameterClass="FileVO" resultClass="java.lang.Integer">
<![CDATA[
SELECT NVL(MAX(FILE_SN),0)+1 AS FILE_SN
FROM COMTNFILEDETAIL
WHERE ATCH_FILE_ID = #atchFileId#
]]>
</select>
<select id="FileManageDAO.selectFileInf" parameterClass="FileVO" resultMap="fileDetail" >
<![CDATA[
SELECT
ATCH_FILE_ID, FILE_CN, FILE_SN, FILE_STRE_COURS, STRE_FILE_NM,
FILE_EXTSN, ORIGNL_FILE_NM, FILE_SIZE
FROM
COMTNFILEDETAIL
WHERE
ATCH_FILE_ID = #atchFileId#
AND
FILE_SN = #fileSn#
]]>
</select>
<update id="FileManageDAO.deleteCOMTNFILE" parameterClass="FileVO" >
<![CDATA[
UPDATE COMTNFILE
SET USE_AT = 'N'
WHERE ATCH_FILE_ID = #atchFileId#
]]>
</update>
<select id="FileManageDAO.selectFileListByFileNm" parameterClass="FileVO" resultMap="fileList" >
<![CDATA[
SELECT * FROM ( SELECT rownum rn, TB.* FROM (
SELECT
a.ATCH_FILE_ID, b.FILE_CN, b.FILE_SN, b.FILE_STRE_COURS, b.STRE_FILE_NM,
b.FILE_EXTSN, b.ORIGNL_FILE_NM, b.FILE_SIZE, a.CREAT_DT
FROM
COMTNFILE a, COMTNFILEDETAIL b
WHERE
a.ATCH_FILE_ID = b.ATCH_FILE_ID
AND
a.USE_AT = 'Y'
]]>
<isEqual prepend="AND" property="searchCnd" compareValue="streFileNm">
<![CDATA[ b.STRE_FILE_NM LIKE '%' || #searchWrd# || '%' ]]>
</isEqual>
<isEqual prepend="AND" property="searchCnd" compareValue="orignlFileNm">
<![CDATA[ b.ORIGNL_FILE_NM LIKE '%' || #searchWrd# || '%' ]]>
</isEqual>
<![CDATA[
ORDER BY a.ATCH_FILE_ID, b.FILE_SN
) TB ) WHERE rn BETWEEN #firstIndex# + 1 AND #firstIndex# + #recordCountPerPage#
]]>
</select>
<select id="FileManageDAO.selectFileListCntByFileNm" parameterClass="FileVO" resultClass="java.lang.Integer" >
<![CDATA[
SELECT
COUNT(a.ATCH_FILE_ID) as cnt
FROM
COMTNFILE a, COMTNFILEDETAIL b
WHERE
a.ATCH_FILE_ID = b.ATCH_FILE_ID
AND
a.USE_AT = 'Y'
]]>
<isEqual prepend="AND" property="searchCnd" compareValue="streFileNm">
<![CDATA[ b.STRE_FILE_NM LIKE '%' || #searchWrd# || '%' ]]>
</isEqual>
<isEqual prepend="AND" property="searchCnd" compareValue="orignlFileNm">
<![CDATA[ b.ORIGNL_FILE_NM LIKE '%' || #searchWrd# || '%' ]]>
</isEqual>
</select>
<select id="FileManageDAO.selectImageFileList" parameterClass="FileVO" resultMap="fileList" >
<![CDATA[
SELECT
a.ATCH_FILE_ID, b.FILE_CN, b.FILE_SN, b.FILE_STRE_COURS, b.STRE_FILE_NM,
b.FILE_EXTSN, b.ORIGNL_FILE_NM, b.FILE_SIZE, a.CREAT_DT
FROM
COMTNFILE a, COMTNFILEDETAIL b
WHERE
a.ATCH_FILE_ID = #atchFileId#
AND
a.ATCH_FILE_ID = b.ATCH_FILE_ID
AND
UPPER(b.FILE_EXTSN) IN ('GIF','JPG','BMP','PNG')
AND
a.USE_AT = 'Y'
ORDER BY b.FILE_SN
]]>
</select>
</sqlMap>

View File

@@ -0,0 +1,173 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<sqlMap namespace="File">
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
<typeAlias alias="FileVO" type="egovframework.com.cmm.service.FileVO"/>
<resultMap id="fileList" class="egovframework.com.cmm.service.FileVO">
<result property="atchFileId" column="ATCH_FILE_ID" columnIndex="1"/>
<result property="fileCn" column="FILE_CN" columnIndex="2"/>
<result property="fileExtsn" column="FILE_EXTSN" columnIndex="3"/>
<result property="fileMg" column="FILE_SIZE" columnIndex="4"/>
<result property="fileSn" column="FILE_SN" columnIndex="5"/>
<result property="fileStreCours" column="FILE_STRE_COURS" columnIndex="6"/>
<result property="orignlFileNm" column="ORIGNL_FILE_NM" columnIndex="7"/>
<result property="streFileNm" column="STRE_FILE_NM" columnIndex="8"/>
<result property="creatDt" column="CREAT_DT" columnIndex="9"/>
</resultMap>
<resultMap id="fileDetail" class="egovframework.com.cmm.service.FileVO">
<result property="atchFileId" column="ATCH_FILE_ID" columnIndex="1"/>
<result property="fileCn" column="FILE_CN" columnIndex="2"/>
<result property="fileExtsn" column="FILE_EXTSN" columnIndex="3"/>
<result property="fileMg" column="FILE_SIZE" columnIndex="4"/>
<result property="fileSn" column="FILE_SN" columnIndex="5"/>
<result property="fileStreCours" column="FILE_STRE_COURS" columnIndex="6"/>
<result property="orignlFileNm" column="ORIGNL_FILE_NM" columnIndex="7"/>
<result property="streFileNm" column="STRE_FILE_NM" columnIndex="8"/>
</resultMap>
<select id="FileManageDAO.selectFileList" parameterClass="FileVO" resultMap="fileList" >
<![CDATA[
SELECT
a.ATCH_FILE_ID, b.FILE_CN, b.FILE_SN, b.FILE_STRE_COURS, b.STRE_FILE_NM,
b.FILE_EXTSN, b.ORIGNL_FILE_NM, b.FILE_SIZE, a.CREAT_DT
FROM
COMTNFILE a, COMTNFILEDETAIL b
WHERE
a.ATCH_FILE_ID = #atchFileId#
AND
a.ATCH_FILE_ID = b.ATCH_FILE_ID
AND
a.USE_AT = 'Y'
ORDER BY b.FILE_SN
]]>
</select>
<insert id="FileManageDAO.insertFileMaster" parameterClass="FileVO" >
<![CDATA[
INSERT INTO COMTNFILE
(ATCH_FILE_ID, CREAT_DT, USE_AT)
VALUES
( #atchFileId#, SYSDATETIME, 'Y')
]]>
</insert>
<insert id="FileManageDAO.insertFileDetail" parameterClass="FileVO" >
<![CDATA[
INSERT INTO COMTNFILEDETAIL
( ATCH_FILE_ID, FILE_SN, FILE_STRE_COURS, STRE_FILE_NM,
ORIGNL_FILE_NM, FILE_EXTSN, FILE_SIZE, FILE_CN )
VALUES
( #atchFileId#, #fileSn#, #fileStreCours#, #streFileNm#,
#orignlFileNm#, #fileExtsn#, #fileMg#, #fileCn# )
]]>
</insert>
<delete id="FileManageDAO.deleteFileDetail" parameterClass="FileVO" >
<![CDATA[
DELETE FROM COMTNFILEDETAIL
WHERE
ATCH_FILE_ID = #atchFileId#
AND
FILE_SN = #fileSn#
]]>
</delete>
<select id="FileManageDAO.getMaxFileSN" parameterClass="FileVO" resultClass="java.lang.Integer">
<![CDATA[
SELECT NVL(MAX(FILE_SN),0)+1 AS FILE_SN
FROM COMTNFILEDETAIL
WHERE ATCH_FILE_ID = #atchFileId#
]]>
</select>
<select id="FileManageDAO.selectFileInf" parameterClass="FileVO" resultMap="fileDetail" >
<![CDATA[
SELECT
ATCH_FILE_ID, FILE_CN, FILE_SN, FILE_STRE_COURS, STRE_FILE_NM,
FILE_EXTSN, ORIGNL_FILE_NM, FILE_SIZE
FROM
COMTNFILEDETAIL
WHERE
ATCH_FILE_ID = #atchFileId#
AND
FILE_SN = #fileSn#
]]>
</select>
<update id="FileManageDAO.deleteCOMTNFILE" parameterClass="FileVO" >
<![CDATA[
UPDATE COMTNFILE
SET USE_AT = 'N'
WHERE ATCH_FILE_ID = #atchFileId#
]]>
</update>
<select id="FileManageDAO.selectFileListByFileNm" parameterClass="FileVO" resultMap="fileList" >
<![CDATA[
SELECT * FROM ( SELECT rownum rn, TB.* FROM (
SELECT
a.ATCH_FILE_ID, b.FILE_CN, b.FILE_SN, b.FILE_STRE_COURS, b.STRE_FILE_NM,
b.FILE_EXTSN, b.ORIGNL_FILE_NM, b.FILE_SIZE, a.CREAT_DT
FROM
COMTNFILE a, COMTNFILEDETAIL b
WHERE
a.ATCH_FILE_ID = b.ATCH_FILE_ID
AND
a.USE_AT = 'Y'
]]>
<isEqual prepend="AND" property="searchCnd" compareValue="streFileNm">
<![CDATA[ b.STRE_FILE_NM LIKE '%' || #searchWrd# || '%' ]]>
</isEqual>
<isEqual prepend="AND" property="searchCnd" compareValue="orignlFileNm">
<![CDATA[ b.ORIGNL_FILE_NM LIKE '%' || #searchWrd# || '%' ]]>
</isEqual>
<![CDATA[
ORDER BY a.ATCH_FILE_ID, b.FILE_SN
) TB ) Z WHERE rn BETWEEN #firstIndex# + 1 AND #firstIndex# + #recordCountPerPage#
]]>
</select>
<select id="FileManageDAO.selectFileListCntByFileNm" parameterClass="FileVO" resultClass="java.lang.Integer" >
<![CDATA[
SELECT
COUNT(a.ATCH_FILE_ID)
FROM
COMTNFILE a, COMTNFILEDETAIL b
WHERE
a.ATCH_FILE_ID = b.ATCH_FILE_ID
AND
a.USE_AT = 'Y'
]]>
<isEqual prepend="AND" property="searchCnd" compareValue="streFileNm">
<![CDATA[ b.STRE_FILE_NM LIKE '%' || #searchWrd# || '%' ]]>
</isEqual>
<isEqual prepend="AND" property="searchCnd" compareValue="orignlFileNm">
<![CDATA[ b.ORIGNL_FILE_NM LIKE '%' || #searchWrd# || '%' ]]>
</isEqual>
</select>
<select id="FileManageDAO.selectImageFileList" parameterClass="FileVO" resultMap="fileList" >
<![CDATA[
SELECT
a.ATCH_FILE_ID, b.FILE_CN, b.FILE_SN, b.FILE_STRE_COURS, b.STRE_FILE_NM,
b.FILE_EXTSN, b.ORIGNL_FILE_NM, b.FILE_SIZE, a.CREAT_DT
FROM
COMTNFILE a, COMTNFILEDETAIL b
WHERE
a.ATCH_FILE_ID = #atchFileId#
AND
a.ATCH_FILE_ID = b.ATCH_FILE_ID
AND
UPPER(b.FILE_EXTSN) IN ('GIF','JPG','BMP','PNG')
AND
a.USE_AT = 'Y'
ORDER BY b.FILE_SN
]]>
</select>
</sqlMap>

View File

@@ -0,0 +1,172 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<sqlMap namespace="File">
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
<typeAlias alias="FileVO" type="egovframework.com.cmm.service.FileVO"/>
<resultMap id="fileList" class="egovframework.com.cmm.service.FileVO">
<result property="atchFileId" column="ATCH_FILE_ID" columnIndex="1"/>
<result property="fileCn" column="FILE_CN" columnIndex="2"/>
<result property="fileExtsn" column="FILE_EXTSN" columnIndex="3"/>
<result property="fileMg" column="FILE_SIZE" columnIndex="4"/>
<result property="fileSn" column="FILE_SN" columnIndex="5"/>
<result property="fileStreCours" column="FILE_STRE_COURS" columnIndex="6"/>
<result property="orignlFileNm" column="ORIGNL_FILE_NM" columnIndex="7"/>
<result property="streFileNm" column="STRE_FILE_NM" columnIndex="8"/>
<result property="creatDt" column="CREAT_DT" columnIndex="9"/>
</resultMap>
<resultMap id="fileDetail" class="egovframework.com.cmm.service.FileVO">
<result property="atchFileId" column="ATCH_FILE_ID" columnIndex="1"/>
<result property="fileCn" column="FILE_CN" columnIndex="2"/>
<result property="fileExtsn" column="FILE_EXTSN" columnIndex="3"/>
<result property="fileMg" column="FILE_SIZE" columnIndex="4"/>
<result property="fileSn" column="FILE_SN" columnIndex="5"/>
<result property="fileStreCours" column="FILE_STRE_COURS" columnIndex="6"/>
<result property="orignlFileNm" column="ORIGNL_FILE_NM" columnIndex="7"/>
<result property="streFileNm" column="STRE_FILE_NM" columnIndex="8"/>
</resultMap>
<select id="FileManageDAO.selectFileList" parameterClass="FileVO" resultMap="fileList" >
<![CDATA[
SELECT
a.ATCH_FILE_ID, b.FILE_CN, b.FILE_SN, b.FILE_STRE_COURS, b.STRE_FILE_NM,
b.FILE_EXTSN, b.ORIGNL_FILE_NM, b.FILE_SIZE, a.CREAT_DT
FROM
COMTNFILE a, COMTNFILEDETAIL b
WHERE
a.ATCH_FILE_ID = #atchFileId#
AND
a.ATCH_FILE_ID = b.ATCH_FILE_ID
AND
a.USE_AT = 'Y'
ORDER BY b.FILE_SN
]]>
</select>
<insert id="FileManageDAO.insertFileMaster" parameterClass="FileVO" >
<![CDATA[
INSERT INTO COMTNFILE
(ATCH_FILE_ID, CREAT_DT, USE_AT)
VALUES
( #atchFileId#, SYSDATE(), 'Y')
]]>
</insert>
<insert id="FileManageDAO.insertFileDetail" parameterClass="FileVO" >
<![CDATA[
INSERT INTO COMTNFILEDETAIL
( ATCH_FILE_ID, FILE_SN, FILE_STRE_COURS, STRE_FILE_NM,
ORIGNL_FILE_NM, FILE_EXTSN, FILE_SIZE, FILE_CN )
VALUES
( #atchFileId#, #fileSn#, #fileStreCours#, #streFileNm#,
#orignlFileNm#, #fileExtsn#, #fileMg#, #fileCn# )
]]>
</insert>
<delete id="FileManageDAO.deleteFileDetail" parameterClass="FileVO" >
<![CDATA[
DELETE FROM COMTNFILEDETAIL
WHERE
ATCH_FILE_ID = #atchFileId#
AND
FILE_SN = #fileSn#
]]>
</delete>
<select id="FileManageDAO.getMaxFileSN" parameterClass="FileVO" resultClass="java.lang.Integer">
<![CDATA[
SELECT IFNULL(MAX(FILE_SN),0)+1 AS FILE_SN
FROM COMTNFILEDETAIL
WHERE ATCH_FILE_ID = #atchFileId#
]]>
</select>
<select id="FileManageDAO.selectFileInf" parameterClass="FileVO" resultMap="fileDetail" >
<![CDATA[
SELECT
ATCH_FILE_ID, FILE_CN, FILE_SN, FILE_STRE_COURS, STRE_FILE_NM,
FILE_EXTSN, ORIGNL_FILE_NM, FILE_SIZE
FROM
COMTNFILEDETAIL
WHERE
ATCH_FILE_ID = #atchFileId#
AND
FILE_SN = #fileSn#
]]>
</select>
<update id="FileManageDAO.deleteCOMTNFILE" parameterClass="FileVO" >
<![CDATA[
UPDATE COMTNFILE
SET USE_AT = 'N'
WHERE ATCH_FILE_ID = #atchFileId#
]]>
</update>
<select id="FileManageDAO.selectFileListByFileNm" parameterClass="FileVO" resultMap="fileList" >
<![CDATA[
SELECT
a.ATCH_FILE_ID, b.FILE_CN, b.FILE_SN, b.FILE_STRE_COURS, b.STRE_FILE_NM,
b.FILE_EXTSN, b.ORIGNL_FILE_NM, b.FILE_SIZE, a.CREAT_DT
FROM
COMTNFILE a, COMTNFILEDETAIL b
WHERE
a.ATCH_FILE_ID = b.ATCH_FILE_ID
AND
a.USE_AT = 'Y'
]]>
<isEqual prepend="AND" property="searchCnd" compareValue="streFileNm">
<![CDATA[ b.STRE_FILE_NM LIKE CONCAT ('%', #searchWrd#,'%') ]]>
</isEqual>
<isEqual prepend="AND" property="searchCnd" compareValue="orignlFileNm">
<![CDATA[ b.ORIGNL_FILE_NM LIKE CONCAT ('%', #searchWrd#,'%') ]]>
</isEqual>
<![CDATA[
ORDER BY a.ATCH_FILE_ID, b.FILE_SN
LIMIT #recordCountPerPage# OFFSET #firstIndex#
]]>
</select>
<select id="FileManageDAO.selectFileListCntByFileNm" parameterClass="FileVO" resultClass="java.lang.Integer" >
<![CDATA[
SELECT
COUNT(a.ATCH_FILE_ID)
FROM
COMTNFILE a, COMTNFILEDETAIL b
WHERE
a.ATCH_FILE_ID = b.ATCH_FILE_ID
AND
a.USE_AT = 'Y'
]]>
<isEqual prepend="AND" property="searchCnd" compareValue="streFileNm">
<![CDATA[ b.STRE_FILE_NM LIKE CONCAT ('%', #searchWrd#,'%') ]]>
</isEqual>
<isEqual prepend="AND" property="searchCnd" compareValue="orignlFileNm">
<![CDATA[ b.ORIGNL_FILE_NM LIKE CONCAT ('%', #searchWrd#,'%') ]]>
</isEqual>
</select>
<select id="FileManageDAO.selectImageFileList" parameterClass="FileVO" resultMap="fileList" >
<![CDATA[
SELECT
a.ATCH_FILE_ID, b.FILE_CN, b.FILE_SN, b.FILE_STRE_COURS, b.STRE_FILE_NM,
b.FILE_EXTSN, b.ORIGNL_FILE_NM, b.FILE_SIZE, a.CREAT_DT
FROM
COMTNFILE a, COMTNFILEDETAIL b
WHERE
a.ATCH_FILE_ID = #atchFileId#
AND
a.ATCH_FILE_ID = b.ATCH_FILE_ID
AND
UPPER(b.FILE_EXTSN) IN ('GIF','JPG','BMP','PNG')
AND
a.USE_AT = 'Y'
ORDER BY b.FILE_SN
]]>
</select>
</sqlMap>

View File

@@ -0,0 +1,173 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<sqlMap namespace="File">
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
<typeAlias alias="FileVO" type="egovframework.com.cmm.service.FileVO"/>
<resultMap id="fileList" class="egovframework.com.cmm.service.FileVO">
<result property="atchFileId" column="ATCH_FILE_ID" columnIndex="1"/>
<result property="fileCn" column="FILE_CN" columnIndex="2"/>
<result property="fileExtsn" column="FILE_EXTSN" columnIndex="3"/>
<result property="fileMg" column="FILE_SIZE" columnIndex="4"/>
<result property="fileSn" column="FILE_SN" columnIndex="5"/>
<result property="fileStreCours" column="FILE_STRE_COURS" columnIndex="6"/>
<result property="orignlFileNm" column="ORIGNL_FILE_NM" columnIndex="7"/>
<result property="streFileNm" column="STRE_FILE_NM" columnIndex="8"/>
<result property="creatDt" column="CREAT_DT" columnIndex="9"/>
</resultMap>
<resultMap id="fileDetail" class="egovframework.com.cmm.service.FileVO">
<result property="atchFileId" column="ATCH_FILE_ID" columnIndex="1"/>
<result property="fileCn" column="FILE_CN" columnIndex="2"/>
<result property="fileExtsn" column="FILE_EXTSN" columnIndex="3"/>
<result property="fileMg" column="FILE_SIZE" columnIndex="4"/>
<result property="fileSn" column="FILE_SN" columnIndex="5"/>
<result property="fileStreCours" column="FILE_STRE_COURS" columnIndex="6"/>
<result property="orignlFileNm" column="ORIGNL_FILE_NM" columnIndex="7"/>
<result property="streFileNm" column="STRE_FILE_NM" columnIndex="8"/>
</resultMap>
<select id="FileManageDAO.selectFileList" parameterClass="FileVO" resultMap="fileList" >
<![CDATA[
SELECT
a.ATCH_FILE_ID, b.FILE_CN, b.FILE_SN, b.FILE_STRE_COURS, b.STRE_FILE_NM,
b.FILE_EXTSN, b.ORIGNL_FILE_NM, b.FILE_SIZE, a.CREAT_DT
FROM
COMTNFILE a, COMTNFILEDETAIL b
WHERE
a.ATCH_FILE_ID = #atchFileId#
AND
a.ATCH_FILE_ID = b.ATCH_FILE_ID
AND
a.USE_AT = 'Y'
ORDER BY b.FILE_SN
]]>
</select>
<insert id="FileManageDAO.insertFileMaster" parameterClass="FileVO" >
<![CDATA[
INSERT INTO COMTNFILE
(ATCH_FILE_ID, CREAT_DT, USE_AT)
VALUES
( #atchFileId#, SYSDATE, 'Y')
]]>
</insert>
<insert id="FileManageDAO.insertFileDetail" parameterClass="FileVO" >
<![CDATA[
INSERT INTO COMTNFILEDETAIL
( ATCH_FILE_ID, FILE_SN, FILE_STRE_COURS, STRE_FILE_NM,
ORIGNL_FILE_NM, FILE_EXTSN, FILE_SIZE, FILE_CN )
VALUES
( #atchFileId#, #fileSn#, #fileStreCours#, #streFileNm#,
#orignlFileNm#, #fileExtsn#, #fileMg#, #fileCn# )
]]>
</insert>
<delete id="FileManageDAO.deleteFileDetail" parameterClass="FileVO" >
<![CDATA[
DELETE FROM COMTNFILEDETAIL
WHERE
ATCH_FILE_ID = #atchFileId#
AND
FILE_SN = #fileSn#
]]>
</delete>
<select id="FileManageDAO.getMaxFileSN" parameterClass="FileVO" resultClass="java.lang.Integer">
<![CDATA[
SELECT NVL(MAX(FILE_SN),0)+1 AS FILE_SN
FROM COMTNFILEDETAIL
WHERE ATCH_FILE_ID = #atchFileId#
]]>
</select>
<select id="FileManageDAO.selectFileInf" parameterClass="FileVO" resultMap="fileDetail" >
<![CDATA[
SELECT
ATCH_FILE_ID, FILE_CN, FILE_SN, FILE_STRE_COURS, STRE_FILE_NM,
FILE_EXTSN, ORIGNL_FILE_NM, FILE_SIZE
FROM
COMTNFILEDETAIL
WHERE
ATCH_FILE_ID = #atchFileId#
AND
FILE_SN = #fileSn#
]]>
</select>
<update id="FileManageDAO.deleteCOMTNFILE" parameterClass="FileVO" >
<![CDATA[
UPDATE COMTNFILE
SET USE_AT = 'N'
WHERE ATCH_FILE_ID = #atchFileId#
]]>
</update>
<select id="FileManageDAO.selectFileListByFileNm" parameterClass="FileVO" resultMap="fileList" >
<![CDATA[
SELECT * FROM ( SELECT rownum rn, TB.* FROM (
SELECT
a.ATCH_FILE_ID, b.FILE_CN, b.FILE_SN, b.FILE_STRE_COURS, b.STRE_FILE_NM,
b.FILE_EXTSN, b.ORIGNL_FILE_NM, b.FILE_SIZE, a.CREAT_DT
FROM
COMTNFILE a, COMTNFILEDETAIL b
WHERE
a.ATCH_FILE_ID = b.ATCH_FILE_ID
AND
a.USE_AT = 'Y'
]]>
<isEqual prepend="AND" property="searchCnd" compareValue="streFileNm">
<![CDATA[ b.STRE_FILE_NM LIKE '%' || #searchWrd# || '%' ]]>
</isEqual>
<isEqual prepend="AND" property="searchCnd" compareValue="orignlFileNm">
<![CDATA[ b.ORIGNL_FILE_NM LIKE '%' || #searchWrd# || '%' ]]>
</isEqual>
<![CDATA[
ORDER BY a.ATCH_FILE_ID, b.FILE_SN
) TB ) WHERE rn BETWEEN #firstIndex# + 1 AND #firstIndex# + #recordCountPerPage#
]]>
</select>
<select id="FileManageDAO.selectFileListCntByFileNm" parameterClass="FileVO" resultClass="java.lang.Integer" >
<![CDATA[
SELECT
COUNT(a.ATCH_FILE_ID)
FROM
COMTNFILE a, COMTNFILEDETAIL b
WHERE
a.ATCH_FILE_ID = b.ATCH_FILE_ID
AND
a.USE_AT = 'Y'
]]>
<isEqual prepend="AND" property="searchCnd" compareValue="streFileNm">
<![CDATA[ b.STRE_FILE_NM LIKE '%' || #searchWrd# || '%' ]]>
</isEqual>
<isEqual prepend="AND" property="searchCnd" compareValue="orignlFileNm">
<![CDATA[ b.ORIGNL_FILE_NM LIKE '%' || #searchWrd# || '%' ]]>
</isEqual>
</select>
<select id="FileManageDAO.selectImageFileList" parameterClass="FileVO" resultMap="fileList" >
<![CDATA[
SELECT
a.ATCH_FILE_ID, b.FILE_CN, b.FILE_SN, b.FILE_STRE_COURS, b.STRE_FILE_NM,
b.FILE_EXTSN, b.ORIGNL_FILE_NM, b.FILE_SIZE, a.CREAT_DT
FROM
COMTNFILE a, COMTNFILEDETAIL b
WHERE
a.ATCH_FILE_ID = #atchFileId#
AND
a.ATCH_FILE_ID = b.ATCH_FILE_ID
AND
UPPER(b.FILE_EXTSN) IN ('GIF','JPG','BMP','PNG')
AND
a.USE_AT = 'Y'
ORDER BY b.FILE_SN
]]>
</select>
</sqlMap>

View File

@@ -0,0 +1,196 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<sqlMap namespace="File">
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
<typeAlias alias="FileVO" type="egovframework.com.cmm.service.FileVO"/>
<resultMap id="fileList" class="egovframework.com.cmm.service.FileVO">
<result property="atchFileId" column="ATCH_FILE_ID" columnIndex="1"/>
<result property="fileCn" column="FILE_CN" columnIndex="2"/>
<result property="fileExtsn" column="FILE_EXTSN" columnIndex="3"/>
<result property="fileMg" column="FILE_SIZE" columnIndex="4"/>
<result property="fileSn" column="FILE_SN" columnIndex="5"/>
<result property="fileStreCours" column="FILE_STRE_COURS" columnIndex="6"/>
<result property="orignlFileNm" column="ORIGNL_FILE_NM" columnIndex="7"/>
<result property="streFileNm" column="STRE_FILE_NM" columnIndex="8"/>
<result property="creatDt" column="CREAT_DT" columnIndex="9"/>
</resultMap>
<resultMap id="fileDetail" class="egovframework.com.cmm.service.FileVO">
<result property="atchFileId" column="ATCH_FILE_ID" columnIndex="1"/>
<result property="fileCn" column="FILE_CN" columnIndex="2"/>
<result property="fileExtsn" column="FILE_EXTSN" columnIndex="3"/>
<result property="fileMg" column="FILE_SIZE" columnIndex="4"/>
<result property="fileSn" column="FILE_SN" columnIndex="5"/>
<result property="fileStreCours" column="FILE_STRE_COURS" columnIndex="6"/>
<result property="orignlFileNm" column="ORIGNL_FILE_NM" columnIndex="7"/>
<result property="streFileNm" column="STRE_FILE_NM" columnIndex="8"/>
</resultMap>
<select id="FileManageDAO.selectFileList" parameterClass="FileVO" resultMap="fileList" >
<![CDATA[
SELECT
a.ATCH_FILE_ID, b.FILE_CN, b.FILE_SN, b.FILE_STRE_COURS, b.STRE_FILE_NM,
b.FILE_EXTSN, b.ORIGNL_FILE_NM, b.FILE_SIZE, a.CREAT_DT
FROM
COMTNFILE a, COMTNFILEDETAIL b
WHERE
a.ATCH_FILE_ID = #atchFileId#
AND
a.ATCH_FILE_ID = b.ATCH_FILE_ID
AND
a.USE_AT = 'Y'
ORDER BY b.FILE_SN
]]>
</select>
<insert id="FileManageDAO.insertFileMaster" parameterClass="FileVO" >
<![CDATA[
INSERT INTO COMTNFILE
(ATCH_FILE_ID, CREAT_DT, USE_AT)
VALUES
( #atchFileId#, SYSDATE, 'Y')
]]>
</insert>
<insert id="FileManageDAO.insertFileDetail" parameterClass="FileVO" >
<![CDATA[
INSERT INTO COMTNFILEDETAIL
( ATCH_FILE_ID, FILE_SN, FILE_STRE_COURS, STRE_FILE_NM,
ORIGNL_FILE_NM, FILE_EXTSN, FILE_SIZE, FILE_CN )
VALUES
( #atchFileId#, #fileSn#, #fileStreCours#, #streFileNm#,
#orignlFileNm#, #fileExtsn#, #fileMg#, #fileCn# )
]]>
</insert>
<delete id="FileManageDAO.deleteFileDetail" parameterClass="FileVO" >
<![CDATA[
DELETE FROM COMTNFILEDETAIL
WHERE
ATCH_FILE_ID = #atchFileId#
AND
FILE_SN = #fileSn#
]]>
</delete>
<select id="FileManageDAO.getMaxFileSN" parameterClass="FileVO" resultClass="java.lang.Integer">
<![CDATA[
SELECT NVL(MAX(FILE_SN),0)+1 AS FILE_SN
FROM COMTNFILEDETAIL
WHERE ATCH_FILE_ID = #atchFileId#
]]>
</select>
<select id="FileManageDAO.selectFileInf" parameterClass="FileVO" resultMap="fileDetail" >
<![CDATA[
SELECT
ATCH_FILE_ID, FILE_CN, FILE_SN, FILE_STRE_COURS, STRE_FILE_NM,
FILE_EXTSN, ORIGNL_FILE_NM, FILE_SIZE
FROM
COMTNFILEDETAIL
WHERE
ATCH_FILE_ID = #atchFileId#
AND
FILE_SN = #fileSn#
]]>
</select>
<update id="FileManageDAO.deleteCOMTNFILE" parameterClass="FileVO" >
<![CDATA[
UPDATE COMTNFILE
SET USE_AT = 'N'
WHERE ATCH_FILE_ID = #atchFileId#
]]>
</update>
<select id="FileManageDAO.selectFileListByFileNm" parameterClass="FileVO" resultMap="fileList" >
<![CDATA[
SELECT * FROM ( SELECT rownum rn, TB.* FROM (
SELECT
a.ATCH_FILE_ID, b.FILE_CN, b.FILE_SN, b.FILE_STRE_COURS, b.STRE_FILE_NM,
b.FILE_EXTSN, b.ORIGNL_FILE_NM, b.FILE_SIZE, a.CREAT_DT
FROM
COMTNFILE a, COMTNFILEDETAIL b
WHERE
a.ATCH_FILE_ID = b.ATCH_FILE_ID
AND
a.USE_AT = 'Y'
]]>
<isEqual prepend="AND" property="searchCnd" compareValue="streFileNm">
<![CDATA[ b.STRE_FILE_NM LIKE '%' || #searchWrd# || '%' ]]>
</isEqual>
<isEqual prepend="AND" property="searchCnd" compareValue="orignlFileNm">
<![CDATA[ b.ORIGNL_FILE_NM LIKE '%' || #searchWrd# || '%' ]]>
</isEqual>
<![CDATA[
ORDER BY a.ATCH_FILE_ID, b.FILE_SN
) TB ) WHERE rn BETWEEN #firstIndex# + 1 AND #firstIndex# + #recordCountPerPage#
]]>
</select>
<select id="FileManageDAO.selectFileListCntByFileNm" parameterClass="FileVO" resultClass="java.lang.Integer" >
<![CDATA[
SELECT
COUNT(a.ATCH_FILE_ID)
FROM
COMTNFILE a, COMTNFILEDETAIL b
WHERE
a.ATCH_FILE_ID = b.ATCH_FILE_ID
AND
a.USE_AT = 'Y'
]]>
<isEqual prepend="AND" property="searchCnd" compareValue="streFileNm">
<![CDATA[ b.STRE_FILE_NM LIKE '%' || #searchWrd# || '%' ]]>
</isEqual>
<isEqual prepend="AND" property="searchCnd" compareValue="orignlFileNm">
<![CDATA[ b.ORIGNL_FILE_NM LIKE '%' || #searchWrd# || '%' ]]>
</isEqual>
</select>
<select id="FileManageDAO.selectImageFileList" parameterClass="FileVO" resultMap="fileList" >
<![CDATA[
SELECT
a.ATCH_FILE_ID, b.FILE_CN, b.FILE_SN, b.FILE_STRE_COURS, b.STRE_FILE_NM,
b.FILE_EXTSN, b.ORIGNL_FILE_NM, b.FILE_SIZE, a.CREAT_DT
FROM
COMTNFILE a, COMTNFILEDETAIL b
WHERE
a.ATCH_FILE_ID = #atchFileId#
AND
a.ATCH_FILE_ID = b.ATCH_FILE_ID
AND
UPPER(b.FILE_EXTSN) IN ('GIF','JPG','BMP','PNG')
AND
a.USE_AT = 'Y'
]]>
<isEqual prepend="AND" property="gubun" compareValue="list">
<![CDATA[ b.FILE_SN = #fileSn# ]]>
</isEqual>
<![CDATA[
ORDER BY b.FILE_SN
]]>
</select>
<select id="FileManageDAO.selectFileListByArray" parameterClass="FileVO" resultMap="fileList" >
SELECT
a.ATCH_FILE_ID, b.FILE_CN, b.FILE_SN, b.FILE_STRE_COURS, b.STRE_FILE_NM,
b.FILE_EXTSN, b.ORIGNL_FILE_NM, b.FILE_SIZE, a.CREAT_DT
FROM
COMTNFILE a, COMTNFILEDETAIL b
WHERE 1=1
AND a.ATCH_FILE_ID IN
<iterate property="atchFileIdArray" conjunction="," open="(" close=")" >
#atchFileIdArray[]#
</iterate>
AND
a.ATCH_FILE_ID = b.ATCH_FILE_ID
AND
a.USE_AT = 'Y'
ORDER BY a.ATCH_FILE_ID, b.FILE_SN
</select>
</sqlMap>

Some files were not shown because too many files have changed in this diff Show More