<?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="query">
	<script type="text/javascript" src="../customan/ankKomoku.js" ><!-- --></script>
	<style type="text/css">
		#queryTime  { display: none; }
		#viewTime  { display: none; }
	</style>
</og:head>
<jsp:directive.include file="/jsp/custom/query_info.jsp" />

<!-- キーのチェック・復号化 -->
<og:bizLogic logics="an.OP0001S" keys="KEY" />
<og:value command="SET" key="CDANK" value="{@RETURN}" />

<og:value command="SQL">
	select case when A.FGRESDISP in ('1','2') then 'true' else '' end RESDISP
	from AN01 A
	where A.CDANK = '{@CDANK}'
	and A.FGJ = '1'
</og:value>

<div class="contents">

<og:equals val1="{@RESDISP}" nullCheck="true" notEquals="true">
	<og:value command="SET" key="UVIEW" value="true" />
	<jsp:directive.include file="/jsp/customan/resultVIEW.jsp" />
</og:equals>

</div>

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