<?xml version="1.0" encoding="UTF-8" ?>
<jsp:root
	xmlns:jsp="http://java.sun.com/JSP/Page"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:og="hybs-taglib.tld"
	version="2.0">
<jsp:directive.page language="java" contentType="text/html; charset=UTF-8" />
<og:head headType="result" />
<jsp:directive.include file="/jsp/custom/result_info.jsp" />
<!-- comment -->

<og:upload
	fileURL     = "{@USER.REF_KEY}"
/>

<og:equals val1="{@FILE_1}" nullCheck="true" notEquals="true">
	<og:query command="NEW">
		insert into ge39 (
			uniq_id, seqno, suffix, ref_key, system_id, sykey, syfile, syname, save_folder, file_url, file_name, contents, DYFILESET, USRTOROKU
		) values (
			ge39s02.nextval, 1, '', '{@REF_KEY}', '{@SYS.SYSTEM_ID}', 'COMMON', 'FILE_1', '添付ファイル', '{@SYS.REAL_PATH}{@directory}', '{@SYS.CONTEXT_URL}{@directory}{@FILE_1}', '{@FILE_1}', '{@CONTENTS_1}' , '{@USER.YMDH}', '{@USER.ID}'
		)
	</og:query>
</og:equals>

<og:equals val1="{@FILE_2}" nullCheck="true" notEquals="true">
	<og:query command="NEW">
		insert into ge39 (
			uniq_id, seqno, suffix, ref_key, system_id, sykey, syfile, syname, save_folder, file_url, file_name, contents, DYFILESET, USRTOROKU
		) values (
			ge39s02.nextval, 1, '', '{@REF_KEY}', '{@SYS.SYSTEM_ID}', 'COMMON', 'FILE_2', '添付ファイル', '{@SYS.REAL_PATH}{@directory}', '{@SYS.CONTEXT_URL}{@directory}{@FILE_2}', '{@FILE_2}', '{@CONTENTS_2}', '{@USER.YMDH}', '{@USER.ID}'
		)
	</og:query>
</og:equals>

<og:equals val1="{@FILE_3}" nullCheck="true" notEquals="true">
	<og:query command="NEW">
		insert into ge39 (
			uniq_id, seqno, suffix, ref_key, system_id, sykey, syfile, syname, save_folder, file_url, file_name, contents, DYFILESET, USRTOROKU
		) values (
			ge39s02.nextval, 1, '', '{@REF_KEY}', '{@SYS.SYSTEM_ID}', 'COMMON', 'FILE_3', '添付ファイル', '{@SYS.REAL_PATH}{@directory}', '{@SYS.CONTEXT_URL}{@directory}{@FILE_3}', '{@FILE_3}', '{@CONTENTS_3}', '{@USER.YMDH}', '{@USER.ID}'
		)
	</og:query>
</og:equals>

<og:equals val1="{@FILE_4}" nullCheck="true" notEquals="true">
	<og:query command="NEW">
		insert into ge39 (
			uniq_id, seqno, suffix, ref_key, system_id, sykey, syfile, syname, save_folder, file_url, file_name, contents, DYFILESET, USRTOROKU
		) values (
			ge39s02.nextval, 1, '', '{@REF_KEY}', '{@SYS.SYSTEM_ID}', 'COMMON', 'FILE_4', '添付ファイル', '{@SYS.REAL_PATH}{@directory}', '{@SYS.CONTEXT_URL}{@directory}{@FILE_4}', '{@FILE_4}', '{@CONTENTS_4}', '{@USER.YMDH}', '{@USER.ID}'
		)
	</og:query>
</og:equals>

<og:equals val1="{@FILE_5}" nullCheck="true" notEquals="true">
	<og:query command="NEW">
		insert into ge39 (
			uniq_id, seqno, suffix, ref_key, system_id, sykey, syfile, syname, save_folder, file_url, file_name, contents, DYFILESET, USRTOROKU
		) values (
			ge39s02.nextval, 1, '', '{@REF_KEY}', '{@SYS.SYSTEM_ID}', 'COMMON', 'FILE_5', '添付ファイル', '{@SYS.REAL_PATH}{@directory}', '{@SYS.CONTEXT_URL}{@directory}{@FILE_5}', '{@FILE_5}', '{@CONTENTS_5}', '{@USER.YMDH}', '{@USER.ID}'
		)
	</og:query>
</og:equals>

<og:message lbl="MSG0003" comment="ファイルの登録が完了しました。" />

<jsp:directive.include file="/jsp/common/htmlend.jsp" />
</jsp:root>
