<?xml version="1.0" encoding="UTF-8"?>
<queryMap desc="测试">
	<query id="Test.Query" desc="查询">
		<![CDATA[
	   		SELECT T.CODE, T.NAME, TO_CHAR(T.TIME, 'YYYY-MM-DD HH24:MI:SS') TIME FROM TEST T WHERE DECODE(?, NULL, '1', T.NAME) = DECODE(?, NULL, '1', ?)
		]]>
	</query>
	
	<query id="Test.Update" desc="修改">
		<![CDATA[
	   		UPDATE TEST T SET T.NAME = ?, T.TIME = TO_DATE(?, 'YYYY-MM-DD HH24:MI:SS') WHERE T.CODE = ?
		]]>
	</query>
	
	<query id="Test.Query2" desc="查询2">
		<![CDATA[
	   		SELECT COUNT(1) FROM TEST T WHERE T.CODE = ?
		]]>
	</query>
</queryMap>
