<?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     = "GE7005"
	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 , TORIID , EXECID , TMHATU , LINENO , ERRMSG
				 , DYUPD , USRUPD , FGJ , UNIQ
		from GE76
	<og:where>
		<og:and value = "SYSTEM_ID	=		'{@SYSTEM_ID}'"		/>
		<og:and value = "TORIID		like	'{@TORIID}'"		/>
		<og:and value = "EXECID		like	'{@EXECID}'"		/>
		<og:and value = "ERRMSG		like	'{@ERRMSG}'"		/>
		<og:and value = "TMHATU		&gt;=	'{@YMDFROM}'"		/>
		<og:and value = "TMHATU		&lt;	'{@YMDTO}'"			/>
		<og:and value = "ERRMSG		like	'{@ERRMSG}'"		/>
		<jsp:directive.include file="/jsp/custom/extWhere.jsp" />
	</og:where>
	<og:appear startKey = "order by" value = "{@ORDER_BY}"
				defaultVal = "SYSTEM_ID,TMHATU DESC,LINENO" />
</og:query>

<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>
