98556811-1a0b-4a58-a70d-0261904ee15b<?xml version="1.0" encoding="UTF-8"?>

<foxreport>
<locale name="zh_CN"/>
<title text="储值卡促销调整表"/>
<parms>
<parm name="ar_hotelid" text="酒店" class="java.lang.String" value="" fixed="false" visiable="false" index="0" refid="jtextfield"/>
<parm name="ar_dep" text="结束时间" class="java.lang.String" value="" fixed="false" visiable="false" index="2" refid="jtextfield"/>
<parm name="ar_arr" text="开始时间" class="java.lang.String" value="" fixed="false" visiable="false" index="1" refid="jtextfield"/>
</parms>
<pramform store="class" builder="com.foxhis.report.DefaultReportParmBuilder" dialog="false">com.foxhis.lps.reportcond.LpsAccountPromAdjustReportPanel</pramform>
<engine/>
<syntax>&lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&gt;&lt;jatools Class="jatools.ReportDocument" Name="jatools report template"&gt;&lt;VariableContext&gt;&lt;Item0 Class="jatools.data.Formula" Name="test"&gt;&lt;Text&gt;return "aaa\r\nbbb"&lt;/Text&gt;&lt;/Item0&gt;&lt;Item1 Class="Parameter" Name="$color_even"&gt;&lt;Name&gt;$color_even&lt;/Name&gt;&lt;Type1&gt;java.lang.String&lt;/Type1&gt;&lt;DefaultValue&gt;#5599AA&lt;/DefaultValue&gt;&lt;Prompt&gt;#5599AA&lt;/Prompt&gt;&lt;/Item1&gt;&lt;Item2 Class="jatools.data.Formula" Name="parmsDesc1"&gt;&lt;Text&gt;desc1 = "";
if(!strEmpty(ar_hotelid)){
	desc1 += "酒店:"+sqlOne("select group_concat(descript) from hotelid where FIND_IN_SET(hotelid,'"+ar_hotelid+"')")+"  ";
}
return  desc1;&lt;/Text&gt;&lt;/Item2&gt;&lt;/VariableContext&gt;&lt;Page&gt;&lt;Children ItemClass="PagePanel"&gt;&lt;Item0&gt;&lt;Name&gt;tbl_body &lt;/Name&gt;&lt;Width&gt;2797&lt;/Width&gt;&lt;Height&gt;1380&lt;/Height&gt;&lt;Children&gt;&lt;Item0 Class="Table"&gt;&lt;NodePath&gt;hzq&lt;/NodePath&gt;&lt;X&gt;5&lt;/X&gt;&lt;Children ItemClass="RowPanel"&gt;&lt;Item0&gt;&lt;Cell&gt;&lt;Row&gt;4&lt;/Row&gt;&lt;Col&gt;0&lt;/Col&gt;&lt;ColSpan&gt;11&lt;/ColSpan&gt;&lt;/Cell&gt;&lt;PrintStyle&gt;print-mode:everypage;visible:true;&lt;/PrintStyle&gt;&lt;Children ItemClass="Text"&gt;&lt;Item0&gt;&lt;Variable&gt;=parmsDesc1&lt;/Variable&gt;&lt;Cell&gt;&lt;Row&gt;4&lt;/Row&gt;&lt;Col&gt;0&lt;/Col&gt;&lt;ColSpan&gt;11&lt;/ColSpan&gt;&lt;/Cell&gt;&lt;/Item0&gt;&lt;/Children&gt;&lt;/Item0&gt;&lt;Item1&gt;&lt;Cell&gt;&lt;Row&gt;0&lt;/Row&gt;&lt;Col&gt;0&lt;/Col&gt;&lt;RowSpan&gt;4&lt;/RowSpan&gt;&lt;ColSpan&gt;11&lt;/ColSpan&gt;&lt;/Cell&gt;&lt;PrintStyle&gt;print-mode:everypage;visible:true;&lt;/PrintStyle&gt;&lt;Children&gt;&lt;Item0 Class="Text"&gt;&lt;Variable&gt;=printtime&lt;/Variable&gt;&lt;HorizontalAlignment&gt;2&lt;/HorizontalAlignment&gt;&lt;Cell&gt;&lt;Row&gt;3&lt;/Row&gt;&lt;Col&gt;6&lt;/Col&gt;&lt;ColSpan&gt;5&lt;/ColSpan&gt;&lt;/Cell&gt;&lt;/Item0&gt;&lt;Item1 Class="Text"&gt;&lt;Variable&gt;=reportname&lt;/Variable&gt;&lt;Font&gt;&lt;Face&gt;宋体&lt;/Face&gt;&lt;Style&gt;0&lt;/Style&gt;&lt;Size&gt;16&lt;/Size&gt;&lt;/Font&gt;&lt;HorizontalAlignment&gt;1&lt;/HorizontalAlignment&gt;&lt;Cell&gt;&lt;Row&gt;2&lt;/Row&gt;&lt;Col&gt;0&lt;/Col&gt;&lt;ColSpan&gt;11&lt;/ColSpan&gt;&lt;/Cell&gt;&lt;/Item1&gt;&lt;Item2 Class="Text"&gt;&lt;Variable&gt;=hoteldesc&lt;/Variable&gt;&lt;Font&gt;&lt;Face&gt;宋体&lt;/Face&gt;&lt;Style&gt;0&lt;/Style&gt;&lt;Size&gt;16&lt;/Size&gt;&lt;/Font&gt;&lt;HorizontalAlignment&gt;1&lt;/HorizontalAlignment&gt;&lt;Cell&gt;&lt;Row&gt;1&lt;/Row&gt;&lt;Col&gt;0&lt;/Col&gt;&lt;ColSpan&gt;11&lt;/ColSpan&gt;&lt;/Cell&gt;&lt;/Item2&gt;&lt;Item3 Class="Text"&gt;&lt;Variable&gt;=fmtdt8(ar_arr,ar_dep,"yy-MM-dd","yy-MM-dd")&lt;/Variable&gt;&lt;Cell&gt;&lt;Row&gt;3&lt;/Row&gt;&lt;Col&gt;0&lt;/Col&gt;&lt;ColSpan&gt;6&lt;/ColSpan&gt;&lt;/Cell&gt;&lt;/Item3&gt;&lt;Item4 Class="Label"&gt;&lt;Cell&gt;&lt;Row&gt;0&lt;/Row&gt;&lt;Col&gt;10&lt;/Col&gt;&lt;/Cell&gt;&lt;/Item4&gt;&lt;Item5 Class="Label"&gt;&lt;Cell&gt;&lt;Row&gt;0&lt;/Row&gt;&lt;Col&gt;9&lt;/Col&gt;&lt;/Cell&gt;&lt;/Item5&gt;&lt;Item6 Class="Label"&gt;&lt;Cell&gt;&lt;Row&gt;0&lt;/Row&gt;&lt;Col&gt;8&lt;/Col&gt;&lt;/Cell&gt;&lt;/Item6&gt;&lt;Item7 Class="Label"&gt;&lt;Cell&gt;&lt;Row&gt;0&lt;/Row&gt;&lt;Col&gt;7&lt;/Col&gt;&lt;/Cell&gt;&lt;/Item7&gt;&lt;Item8 Class="Label"&gt;&lt;Cell&gt;&lt;Row&gt;0&lt;/Row&gt;&lt;Col&gt;6&lt;/Col&gt;&lt;/Cell&gt;&lt;/Item8&gt;&lt;Item9 Class="Label"&gt;&lt;Cell&gt;&lt;Row&gt;0&lt;/Row&gt;&lt;Col&gt;5&lt;/Col&gt;&lt;/Cell&gt;&lt;/Item9&gt;&lt;Item10 Class="Label"&gt;&lt;Cell&gt;&lt;Row&gt;0&lt;/Row&gt;&lt;Col&gt;4&lt;/Col&gt;&lt;/Cell&gt;&lt;/Item10&gt;&lt;Item11 Class="Label"&gt;&lt;Cell&gt;&lt;Row&gt;0&lt;/Row&gt;&lt;Col&gt;3&lt;/Col&gt;&lt;/Cell&gt;&lt;/Item11&gt;&lt;Item12 Class="Label"&gt;&lt;Cell&gt;&lt;Row&gt;0&lt;/Row&gt;&lt;Col&gt;2&lt;/Col&gt;&lt;/Cell&gt;&lt;/Item12&gt;&lt;Item13 Class="Label"&gt;&lt;Cell&gt;&lt;Row&gt;0&lt;/Row&gt;&lt;Col&gt;1&lt;/Col&gt;&lt;/Cell&gt;&lt;/Item13&gt;&lt;Item14 Class="Label"&gt;&lt;Cell&gt;&lt;Row&gt;0&lt;/Row&gt;&lt;Col&gt;0&lt;/Col&gt;&lt;/Cell&gt;&lt;/Item14&gt;&lt;/Children&gt;&lt;/Item1&gt;&lt;/Children&gt;&lt;ColumnWidths&gt;253,253,253,253,253,253,253,253,253,253,253&lt;/ColumnWidths&gt;&lt;RowHeights&gt;20,20,20,20,20&lt;/RowHeights&gt;&lt;/Item0&gt;&lt;Item1 Class="PowerTable"&gt;&lt;PrintStyle&gt;crosstab-top-header-visible:everypage;&lt;/PrintStyle&gt;&lt;X&gt;5&lt;/X&gt;&lt;Y&gt;100&lt;/Y&gt;&lt;Children&gt;&lt;Item0 Class="HeaderTable"&gt;&lt;NodePath&gt;hzq&lt;/NodePath&gt;&lt;Children ItemClass="RowPanel"&gt;&lt;Item0&gt;&lt;Cell&gt;&lt;Row&gt;1&lt;/Row&gt;&lt;Col&gt;0&lt;/Col&gt;&lt;/Cell&gt;&lt;Children ItemClass="Text"&gt;&lt;Item0&gt;&lt;Variable&gt;=$roomno&lt;/Variable&gt;&lt;Border&gt;&lt;StyleText&gt;border:1.0px solid #000000&lt;/StyleText&gt;&lt;/Border&gt;&lt;PrintStyle&gt;united-level:1;&lt;/PrintStyle&gt;&lt;Cell&gt;&lt;Row&gt;1&lt;/Row&gt;&lt;Col&gt;0&lt;/Col&gt;&lt;/Cell&gt;&lt;/Item0&gt;&lt;/Children&gt;&lt;NodePath&gt;roomno&lt;/NodePath&gt;&lt;/Item0&gt;&lt;/Children&gt;&lt;Cell&gt;&lt;Row&gt;1&lt;/Row&gt;&lt;Col&gt;0&lt;/Col&gt;&lt;/Cell&gt;&lt;/Item0&gt;&lt;Item1 Class="HeaderTable"&gt;&lt;NodePath&gt;hzq&lt;/NodePath&gt;&lt;Children ItemClass="ColumnPanel"&gt;&lt;Item0&gt;&lt;NodePath&gt;rmpostdate&lt;/NodePath&gt;&lt;Children ItemClass="Text"&gt;&lt;Item0&gt;&lt;Variable&gt;=$rmpostdate&lt;/Variable&gt;&lt;Border&gt;&lt;StyleText&gt;border:1.0px solid #000000&lt;/StyleText&gt;&lt;/Border&gt;&lt;HorizontalAlignment&gt;1&lt;/HorizontalAlignment&gt;&lt;Format Class="DateFormat"&gt;&lt;FormatStyle&gt;3&lt;/FormatStyle&gt;&lt;/Format&gt;&lt;Cell&gt;&lt;Row&gt;0&lt;/Row&gt;&lt;Col&gt;1&lt;/Col&gt;&lt;/Cell&gt;&lt;/Item0&gt;&lt;/Children&gt;&lt;Cell&gt;&lt;Row&gt;0&lt;/Row&gt;&lt;Col&gt;1&lt;/Col&gt;&lt;/Cell&gt;&lt;/Item0&gt;&lt;/Children&gt;&lt;RightFlow&gt;true&lt;/RightFlow&gt;&lt;Cell&gt;&lt;Row&gt;0&lt;/Row&gt;&lt;Col&gt;1&lt;/Col&gt;&lt;/Cell&gt;&lt;/Item1&gt;&lt;Item2 Class="Label"&gt;&lt;Text&gt;房号/日期&lt;/Text&gt;&lt;Border&gt;&lt;StyleText&gt;border:1.0px solid #000000&lt;/StyleText&gt;&lt;/Border&gt;&lt;Cell&gt;&lt;Row&gt;0&lt;/Row&gt;&lt;Col&gt;0&lt;/Col&gt;&lt;/Cell&gt;&lt;/Item2&gt;&lt;Item3 Class="Text"&gt;&lt;Variable&gt;=jx.fw.DEF2[0]&lt;/Variable&gt;&lt;Border&gt;&lt;StyleText&gt;border:1.0px solid #000000&lt;/StyleText&gt;&lt;/Border&gt;&lt;HorizontalAlignment&gt;1&lt;/HorizontalAlignment&gt;&lt;Cell&gt;&lt;Row&gt;1&lt;/Row&gt;&lt;Col&gt;1&lt;/Col&gt;&lt;/Cell&gt;&lt;/Item3&gt;&lt;/Children&gt;&lt;ColumnWidths&gt;61,60&lt;/ColumnWidths&gt;&lt;RowHeights&gt;20,20&lt;/RowHeights&gt;&lt;/Item1&gt;&lt;Item2 Class="Table"&gt;&lt;NodePath&gt;hzq&lt;/NodePath&gt;&lt;X&gt;5&lt;/X&gt;&lt;Y&gt;140&lt;/Y&gt;&lt;Children ItemClass="Text"&gt;&lt;Item0&gt;&lt;Variable&gt;=rptno_1&lt;/Variable&gt;&lt;HorizontalAlignment&gt;2&lt;/HorizontalAlignment&gt;&lt;Cell&gt;&lt;Row&gt;0&lt;/Row&gt;&lt;Col&gt;0&lt;/Col&gt;&lt;/Cell&gt;&lt;/Item0&gt;&lt;/Children&gt;&lt;ColumnWidths&gt;2782&lt;/ColumnWidths&gt;&lt;RowHeights&gt;20&lt;/RowHeights&gt;&lt;/Item2&gt;&lt;/Children&gt;&lt;Type&gt;102&lt;/Type&gt;&lt;/Item0&gt;&lt;/Children&gt;&lt;PageFormat&gt;&lt;Width&gt;2834&lt;/Width&gt;&lt;Height&gt;1417&lt;/Height&gt;&lt;Left&gt;18&lt;/Left&gt;&lt;Top&gt;18&lt;/Top&gt;&lt;Right&gt;19&lt;/Right&gt;&lt;Bottom&gt;19&lt;/Bottom&gt;&lt;Orientation&gt;0&lt;/Orientation&gt;&lt;/PageFormat&gt;&lt;InitPrint&gt;if(posted == "0"){
	table_model1.printStyle="visible:false";
	table_model1.height = 0;
	table_model2.printStyle="visible:false";
	table_model2.height = 0;	
}
else if(posted == "1"){
	table_model0.printStyle="visible:false";
	table_model0.height = 0;
	table_model2.printStyle="visible:false";
	table_model2.height = 0;	
}
else if(posted == "2"){
	table_model0.printStyle="visible:false";
	table_model0.height = 0;
	table_model1.printStyle="visible:false";
	table_model1.height = 0;	
}&lt;/InitPrint&gt;&lt;/Page&gt;&lt;NodeSource&gt;&lt;Children ItemClass="DatasetNodeSource"&gt;&lt;Item0&gt;&lt;Children&gt;&lt;Item0 Class="GroupNodeSource"&gt;&lt;Group&gt;&lt;Field&gt;roomno&lt;/Field&gt;&lt;/Group&gt;&lt;/Item0&gt;&lt;Item1 Class="GroupNodeSource"&gt;&lt;Group&gt;&lt;Field&gt;rmpostdate&lt;/Field&gt;&lt;/Group&gt;&lt;/Item1&gt;&lt;Item2 Class="CrossIndexNodeSource"&gt;&lt;IndexFields Len="1"&gt;roomno&lt;/IndexFields&gt;&lt;IndexFields2 Len="1"&gt;rmpostdate&lt;/IndexFields2&gt;&lt;TagName&gt;jx&lt;/TagName&gt;&lt;/Item2&gt;&lt;/Children&gt;&lt;Reader Class="com.foxhis.data.reader.SelfReader"&gt;&lt;Name&gt;hzq&lt;/Name&gt;&lt;Sql&gt;select r.roomno,rmt.rmpostdate,rmt.fw from rmsta r 
left join (select roomno,rmpostdate,'√' as fw from rmpostbucket r2 where hotelid='${ar_hotelid}' and rmpostdate&amp;gt;='${ar_arr}' and rmpostdate&amp;lt;='${ar_dep}') rmt on rmt.roomno=r.roomno
where r.tag='K' and r.hotelid='${ar_hotelid}'  and rmt.fw is not null
order by r.roomno



&lt;/Sql&gt;&lt;Description&gt;select r.roomno,rmt.rmpostdate,rmt.fw from rmsta r 
left join (select roomno,rmpostdate,'√' as fw from rmpostbucket r2 where hotelid='${ar_hotelid}' and rmpostdate&amp;gt;='${ar_arr}' and rmpostdate&amp;lt;='${ar_dep}') rmt on rmt.roomno=r.roomno
where r.tag='K' and r.hotelid='${ar_hotelid}'  and rmt.fw is not null
order by r.roomno



&lt;/Description&gt;&lt;/Reader&gt;&lt;TagName&gt;hzq&lt;/TagName&gt;&lt;/Item0&gt;&lt;/Children&gt;&lt;/NodeSource&gt;&lt;/jatools&gt;</syntax>
</foxreport>
