<?xml version="1.0" encoding="UTF-8" ?>
<jsp:root
	xmlns:jsp="http://java.sun.com/JSP/Page"
	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" />
<og:comment
	system   = "GE:エンジンサンプル"
	pgid     = "GE7002"
	title    = "取込実績ﾃｰﾌﾞﾙ"
	date     = "2017/06/27"
	author   = "K.HASEGAWA"
	text     = "ZZZZ"
	version  = "001"
/>

<!-- ワーニングメッセージです。ここでは、登録完了のメッセージを表示します。 -->
<og:errorMessage command="{@command}" clear="{@clear}" displayMsg="{@displayMsg}" />

<og:columnCheck
	command   = "{@command}"
	columns   = "*"
/>

<!-- 取り消しボタンが押された時に必要です。 -->
<og:entry command = "{@command}" />

<!-- 開始時刻の範囲指定の初期値決め -->
<og:value command="SET" key="YMDFROM" value="{@NVL.DYFROM 000000}{@NVL.TMFROM 0000}00" />
<og:value command="SET" key="YMDTO"   value="{@NVL.DYTO 999999}{@NVL.TMTO 9999}99" />

<og:query command="{@command}" debug="{@debug}" maxRowCount="{@maxRowCount}" >
		select	SYSTEM_ID , RSRV_NO , EXECID , FGTKAN , TMSTR , TMEND
				 , FILE_IN , FILE_OK , FILE_NG , SUTORI , ERRMSG
				 , DYUPD , USRUPD , FGJ , UNIQ
		from GE71
	<og:where>
		<og:and value = "SYSTEM_ID	=		'{@SYSTEM_ID}'"		/>
		<og:and value = "RSRV_NO	=		'{@RSRV_NO}'"		/>
		<og:and value = "EXECID		like	'{@EXECID}'"		/>
		<og:and value = "FGTKAN		=		'{@FGTKAN}'"		/>
		<og:and value = "TMSTR		&gt;=	'{@YMDFROM}'"		/>
		<og:and value = "TMSTR		&lt;	'{@YMDTO}'"			/>
		<og:and value = "FILE_IN	like	'{@FILE_IN}'"		/>
		<jsp:directive.include file="/jsp/custom/extWhere.jsp" />
	</og:where>
	<og:appear startKey = "order by" value = "{@ORDER_BY}"
				defaultVal = "SYSTEM_ID,RSRV_NO" />
</og:query>

<og:viewLink command="{@command}">
	<og:link column="RSRV_NO" gamenId="GE7002" href="index.jsp" target="CONTENTS"
		keys="command,SYSTEM_ID,RSRV_NO,FGJ"
		vals="NEW,{@SYSTEM_ID},[RSRV_NO],1" />
	<og:link column="EXECID" gamenId="GE7004" href="index.jsp" target="CONTENTS"
		keys="command,SYSTEM_ID,EXECID,FGJ"
		vals="NEW,{@SYSTEM_ID},[EXECID],1" />
</og:viewLink>

<og:view
	viewFormType = "HTMLTable"
	command		= "{@command}"
	noDisplay	= "UNIQ"
	writable	= "false"
	checked		= "{@checked}"
	startNo		= "{@startNo}"
	pageSize	= "{@pageSize}" />

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