summaryrefslogtreecommitdiff
path: root/tests/unit/Data/SqlMap/maps/tests.xml
blob: d2f45c2f142d1cd66968db358d3d37ba2aaed0a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?xml version="1.0" encoding="UTF-8" ?>
<sqlmap>

<statement id="test" parameterClass="array" >
	<![CDATA[
		SELECT a.*, b.*
		FROM img_request a
			left join hello_mst b on a.img_pat_id=b.pat_id
		WHERE (img_requested_ap_dt >= #fromdt# and img_requested_ap_dt <= #todt#)
	]]>
</statement>

<select id="GetAllProgress" parameterClass="array" extends="test">
	<![CDATA[
	AND img_progress =#status#
	]]>	
</select>

</sqlmap>