<?xml version="1.0" encoding="UTF-8" ?>
<jsp:root
	xmlns:jsp="http://java.sun.com/JSP/Page"
	xmlns:og="hybs-taglib.tld" 
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:fn="http://java.sun.com/jsp/jstl/functions"
	version="2.0">
<jsp:directive.page language="java" contentType="text/html; charset=UTF-8" />

<!-- update -->
<og:equals val1="{@init}" val2="true" notEquals="true">
	<og:value command="SET" key="orderList" value="{@orderList}" />
	<c:forTokens items = "${orderList}" delims = "," var = "keyval" >
		<og:query displayMsg="" notfoundMsg="" dbid="{@SYS.DEV_DBID}">
			update GF91 set
				SEQ = ${fn:split(keyval,'=')[1]}
			where SYSTEM_ID = '{@systemId}'
			and PGID = '{@pgId}'
			and TABLE_NAME{@DBF.CON}'__'{@DBF.CON}AS_TABLE = '${fn:split(keyval,'=')[0]}'
		</og:query>
	</c:forTokens>
</og:equals>

</jsp:root>
