$PBExportHeader$dw_mainface_msg_q6.srd release 11.5; datawindow(units=0 timer_interval=0 color=33093365 brushmode=0 transparency=0 gradient.angle=0 gradient.color=8421504 gradient.focus=0 gradient.repetition.count=0 gradient.repetition.length=100 gradient.repetition.mode=0 gradient.scale=100 gradient.spread=100 gradient.transparency=0 picture.blur=0 picture.clip.bottom=0 picture.clip.left=0 picture.clip.right=0 picture.clip.top=0 picture.mode=0 picture.scale.x=100 picture.scale.y=100 picture.transparency=0 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 110 print.margin.right = 110 print.margin.top = 96 print.margin.bottom = 96 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes print.background=no print.preview.background=no print.preview.outline=yes hidegrayline=no showbackcoloronxp=no picture.file="" ) header(height=0 color="536870912" transparency="0" gradient.color="8421504" gradient.transparency="0" gradient.angle="0" brushmode="0" gradient.repetition.mode="0" gradient.repetition.count="0" gradient.repetition.length="100" gradient.focus="0" gradient.scale="100" gradient.spread="100" ) summary(height=0 color="536870912" transparency="0" gradient.color="8421504" gradient.transparency="0" gradient.angle="0" brushmode="0" gradient.repetition.mode="0" gradient.repetition.count="0" gradient.repetition.length="100" gradient.focus="0" gradient.scale="100" gradient.spread="100" ) footer(height=0 color="536870912" transparency="0" gradient.color="8421504" gradient.transparency="0" gradient.angle="0" brushmode="0" gradient.repetition.mode="0" gradient.repetition.count="0" gradient.repetition.length="100" gradient.focus="0" gradient.scale="100" gradient.spread="100" ) detail(height=268 color="33093365" transparency="0" gradient.color="8421504" gradient.transparency="0" gradient.angle="0" brushmode="0" gradient.repetition.mode="0" gradient.repetition.count="0" gradient.repetition.length="100" gradient.focus="0" gradient.scale="100" gradient.spread="100" height.autosize=yes ) table(column=(type=long updatewhereclause=yes name=msgid dbname="msgid" ) column=(type=datetime updatewhereclause=yes name=senddt dbname="senddt" ) column=(type=char(10) updatewhereclause=yes name=sendemp dbname="sendemp" ) column=(type=long updatewhereclause=yes name=dealflag dbname="dealflag" ) column=(type=datetime updatewhereclause=yes name=dealdt dbname="dealdt" ) column=(type=char(100) updatewhereclause=yes name=s_msgtitle dbname="s_msgtitle" ) column=(type=char(32766) updatewhereclause=no name=s_msg dbname="s_msg" ) column=(type=long updatewhereclause=yes name=sendempid dbname="sendempid" ) column=(type=long updatewhereclause=yes name=empid dbname="empid" ) column=(type=long updatewhereclause=yes name=senddtint dbname="senddtint" ) column=(type=char(30) updatewhereclause=yes name=billcode dbname="billcode" ) column=(type=long updatewhereclause=yes name=scid dbname="scid" ) column=(type=long updatewhereclause=yes name=read_flag dbname="read_flag" ) column=(type=long updatewhereclause=yes identity=yes name=fjcnt dbname="fjcnt" ) column=(type=char(24) updatewhereclause=yes name=fjstr dbname="fjstr" ) retrieve="SELECT top 99 sys_admsgmx.msgid ,sys_admsg.senddt ,sys_admsg.sendemp ,sys_admsgmx.dealflag ,sys_admsgmx.dealdt ,sys_admsgmx.s_msgtitle ,REPLACE( REPLACE( REPLACE( REPLACE( REPLACE( REPLACE( REPLACE( REPLACE( REPLACE( REPLACE( REPLACE( REPLACE( REPLACE( REPLACE( REPLACE( REPLACE(sys_admsgmx.s_msg, '
','') ,'','') ,'

',''), '

',''), ' ',''), ' face=幼圆',''), ' face=宋体',''), ' face=~"汉仪旗黑-55 Book~"',''), ' size=2',''), ' size=3',''), ' size=4',''), ' size=5',''), ' size=6',''), ' size=7',''), '',''), '
','') as s_msg ,sys_admsg.sendempid ,sys_admsgmx.empid ,sys_admsgmx.senddtint ,sys_admsgmx.billcode ,sys_admsgmx.scid ,sys_admsgmx.read_flag ,ISNULL(v_fj.fjcnt, 0) AS fjcnt ,'点击查看'+cast(ISNULL(v_fj.fjcnt, 0) as varchar(10))+'个附件' as fjstr FROM Sys_admsg INNER JOIN Sys_admsgmx ON Sys_admsg.msgid = Sys_admsgmx.msgid LEFT JOIN ( SELECT count(fjid) as fjcnt, msgid FROM Sys_admsg_fj group by msgid ) v_fj ON Sys_admsgmx.msgid = v_fj.msgid WHERE (sys_admsgmx.dealflag = 0) AND (sys_admsgmx.empid = :arg_empid) order by Sys_admsgmx.msgid desc" arguments=(("arg_empid", number)) ) column(band=detail id=6 alignment="0" tabsequence=32766 border="0" color="33554432" x="55" y="24" height="64" width="2254" format="[general]" html.valueishtml="0" name=s_msgtitle visible="1" edit.limit=100 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes font.face="宋体" font.height="-9" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" ) column(band=detail id=7 alignment="0" tabsequence=32766 border="0" color="33554432" x="55" y="160" height="64" width="2258" format="[general]" html.valueishtml="0" name=s_msg visible="1" height.autosize=yes edit.limit=32000 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.autohscroll=yes font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" ) column(band=detail id=3 alignment="0" tabsequence=32766 border="0" color="8421504" x="55" y="92" height="64" width="233" format="[general]" html.valueishtml="0" name=sendemp visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" ) column(band=detail id=2 alignment="0" tabsequence=32766 border="0" color="8421504" x="297" y="92" height="64" width="457" format="[shortdate] [time]~tif(date( senddt ) = date(today()), '今天 '+ 'h:mm','yyyy/m/d h:mm')" html.valueishtml="0" name=senddt visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" ) text(band=detail alignment="0" text="确认" border="0" color="29920514" x="763" y="92" height="56" width="114" html.valueishtml="0" name=t_deal pointer="HyperLink!" visible="1~tif(dealflag = 1,0,1)" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" ) column(band=detail id=11 alignment="0" tabsequence=32766 border="0" color="21250786" x="1102" y="92" height="64" width="334" format="[general]" html.valueishtml="0" name=billcode pointer="HyperLink!" visible="1~tif(len(trim(billcode))> 0 ,1,0)" edit.limit=30 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" ) text(band=detail alignment="1" text="相关号:" border="0" color="21250786" x="891" y="96" height="56" width="201" html.valueishtml="0" name=t_1 visible="1~tif(len(trim(billcode))> 0 ,1,0)" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" ) column(band=detail id=15 alignment="0" tabsequence=32766 border="0" color="8421504" x="1522" y="92" height="64" width="475" format="[general]" html.valueishtml="0" name=fjstr pointer="HyperLink!" visible="1~tif( fjcnt = 0 ,0,1)" edit.limit=24 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" ) bitmap(band=detail filename="mt_fj_add.png" x="1440" y="80" height="64" width="73" border="0" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" name=p_fj visible="1~tif( fjcnt = 0 ,0,1)" transparency="0" ) htmltable(border="1" ) htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" pagingmethod=0 generatedddwframes="1" ) xhtmlgen() cssgen(sessionspecific="0" ) xmlgen(inline="0" ) xsltgen() jsgen() export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 ) import.xml() export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" ) export.xhtml()