dw_rp_attendance_3.srd 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. $PBExportHeader$dw_rp_attendance_3.srd
  2. release 11.5;
  3. datawindow(units=0 timer_interval=0 color=1073741824 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=4 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="" crosstab.dynamic = yes grid.lines=0 grid.columnmove=no selected.mouse=no )
  4. header[1](height=232 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" )
  5. header[2](height=72 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" )
  6. 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" )
  7. 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" )
  8. detail(height=76 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" )
  9. table(column=(type=char(20) updatewhereclause=yes name=scname dbname="scname" )
  10. column=(type=char(20) updatewhereclause=yes name=departmentname dbname="departmentname" )
  11. column=(type=char(20) updatewhereclause=yes name=cardcode dbname="cardcode" )
  12. column=(type=char(20) updatewhereclause=yes name=empcode dbname="empcode" )
  13. column=(type=char(20) updatewhereclause=yes name=empname dbname="empname" )
  14. column=(type=char(20) updatewhereclause=yes name=duty dbname="duty" )
  15. column=(type=number updatewhereclause=yes name=rownum dbname="rownum" )
  16. column=(type=char(20) updatewhereclause=yes name=startdate dbname="startdate" )
  17. retrieve="select (
  18. SELECT COUNT(1) AS rowcnt
  19. FROM (
  20. SELECT u_scdef.scname as scname,cw_department.handtype as departmentname,
  21. u_attendance.cardcode,
  22. u_attendance.empcode,
  23. u_attendance.empname,
  24. u_rs_empinfo.duty,
  25. convert(char(10),u_attendance.starttime, 108) as starttime,
  26. convert(char(10),u_attendance.starttime, 121) as startdate
  27. FROM u_attendance INNER join u_rs_empinfo on
  28. u_attendance.empid = u_rs_empinfo.empid INNER join cw_department on
  29. u_rs_empinfo.deptid = cw_department.departmentid INNER join u_scdef on
  30. u_rs_empinfo.scid = u_scdef.scid left outer join u_hand_att on
  31. u_hand_att.handattid = u_attendance.handattid
  32. WHERE ( (u_attendance.starttime >= :arg_fromtime
  33. AND u_attendance.starttime <= :arg_endtime ) )
  34. AND ( u_rs_empinfo.handtype LIKE :arg_handtype OR :arg_handtype = '' )
  35. And ( ( u_rs_empinfo.empcode Like :arg_empcode OR :arg_empcode = '' )
  36. or ( u_rs_empinfo.empname Like :arg_empcode OR :arg_empcode = '' ))
  37. AND (u_rs_empinfo.status = :arg_empstatus OR :arg_empstatus = -1)
  38. union all
  39. SELECT u_scdef.scname, cw_department.handtype AS departmentname,u_rs_empinfo.Cardcode, u_rs_empinfo.Empcode,
  40. u_rs_empinfo.Empname, u_rs_empinfo.duty,
  41. convert(char(10),DERIVEDTBL.checktime, 108) as starttime,
  42. convert(char(10),DERIVEDTBL.checktime, 121) as startdate
  43. FROM (SELECT u_kq_cworkmx.begindate AS checktime, u_kq_cworkmx.empid,
  44. u_kq_cwork.billcode, u_gz_cworkitem.itemtype
  45. FROM u_kq_cworkmx INNER JOIN
  46. u_kq_cwork ON u_kq_cworkmx.billid = u_kq_cwork.billid INNER JOIN
  47. u_gz_cworkitem ON u_kq_cwork.cworkid = u_gz_cworkitem.cworkid
  48. WHERE ((u_gz_cworkitem.itemtype = 10) OR
  49. (u_gz_cworkitem.itemtype = 13)) and
  50. u_kq_cwork.priceflag = 1
  51. UNION ALL
  52. SELECT u_kq_cworkmx.enddate AS checktime, u_kq_cworkmx.empid,
  53. u_kq_cwork.billcode, u_gz_cworkitem.itemtype
  54. FROM u_kq_cworkmx INNER JOIN
  55. u_kq_cwork ON u_kq_cworkmx.billid = u_kq_cwork.billid INNER JOIN
  56. u_gz_cworkitem ON u_kq_cwork.cworkid = u_gz_cworkitem.cworkid
  57. WHERE ((u_gz_cworkitem.itemtype = 10) OR
  58. (u_gz_cworkitem.itemtype = 13)) and
  59. u_kq_cwork.priceflag = 1 ) DERIVEDTBL INNER JOIN
  60. u_rs_empinfo ON DERIVEDTBL.empid = u_rs_empinfo.empid INNER JOIN
  61. cw_department ON u_rs_empinfo.Deptid = cw_department.departmentid INNER JOIN
  62. u_scdef ON u_rs_empinfo.scid = u_scdef.ScID
  63. WHERE ( (DERIVEDTBL.checktime >= :arg_fromtime
  64. AND DERIVEDTBL.checktime <= :arg_endtime ) )
  65. AND ( u_rs_empinfo.handtype LIKE :arg_handtype OR :arg_handtype = '' )
  66. And ( ( u_rs_empinfo.empcode Like :arg_empcode OR :arg_empcode = '' )
  67. or ( u_rs_empinfo.empname Like :arg_empcode OR :arg_empcode = '' ))
  68. AND (u_rs_empinfo.status = :arg_empstatus OR :arg_empstatus = -1)
  69. UNION ALL
  70. SELECT '' as scname ,
  71. '' as departmentname ,
  72. u_attendance.cardcode,
  73. u_attendance.empcode,
  74. u_attendance.empname,
  75. '' as duty,
  76. convert(char(10),u_attendance.starttime, 108) as starttime,
  77. convert(char(10),u_attendance.starttime, 121) as startdate
  78. FROM u_attendance
  79. WHERE ( u_attendance.starttime >= :arg_fromtime )
  80. AND ( u_attendance.starttime <= :arg_endtime )
  81. AND ( u_attendance.empid = 0 ) and (:arg_handtype = '' or :arg_handtype = '%')
  82. ) t2
  83. WHERE t2.scname = t1.scname
  84. AND t2.departmentname = t1.departmentname
  85. AND t2.cardcode = t1.cardcode
  86. AND t2.empcode = t1.empcode
  87. AND t2.empname = t1.empname
  88. AND t2.duty = t1.duty
  89. AND t2.startdate = t1.startdate
  90. AND t2.starttime <= t1.starttime
  91. ) as rownum,
  92. t1.scname, t1.departmentname, t1.cardcode, t1.empcode, t1.empname, t1.duty, t1.starttime, t1.startdate
  93. from (
  94. SELECT u_scdef.scname as scname,cw_department.handtype as departmentname,
  95. u_attendance.cardcode,
  96. u_attendance.empcode,
  97. u_attendance.empname,
  98. u_rs_empinfo.duty,
  99. convert(char(10),u_attendance.starttime, 108) as starttime,
  100. convert(char(10),u_attendance.starttime, 121) as startdate
  101. FROM u_attendance INNER join u_rs_empinfo on
  102. u_attendance.empid = u_rs_empinfo.empid INNER join cw_department on
  103. u_rs_empinfo.deptid = cw_department.departmentid INNER join u_scdef on
  104. u_rs_empinfo.scid = u_scdef.scid left outer join u_hand_att on
  105. u_hand_att.handattid = u_attendance.handattid
  106. WHERE ( (u_attendance.starttime >= :arg_fromtime
  107. AND u_attendance.starttime <= :arg_endtime ) )
  108. AND ( u_rs_empinfo.handtype LIKE :arg_handtype OR :arg_handtype = '' )
  109. And ( ( u_rs_empinfo.empcode Like :arg_empcode OR :arg_empcode = '' )
  110. or ( u_rs_empinfo.empname Like :arg_empcode OR :arg_empcode = '' ))
  111. AND (u_rs_empinfo.status = :arg_empstatus OR :arg_empstatus = -1)
  112. union all
  113. SELECT u_scdef.scname, cw_department.handtype AS departmentname,u_rs_empinfo.Cardcode, u_rs_empinfo.Empcode,
  114. u_rs_empinfo.Empname, u_rs_empinfo.duty,
  115. convert(char(10),DERIVEDTBL.checktime, 108) as starttime,
  116. convert(char(10),DERIVEDTBL.checktime, 121) as startdate
  117. FROM (SELECT u_kq_cworkmx.begindate AS checktime, u_kq_cworkmx.empid,
  118. u_kq_cwork.billcode, u_gz_cworkitem.itemtype
  119. FROM u_kq_cworkmx INNER JOIN
  120. u_kq_cwork ON u_kq_cworkmx.billid = u_kq_cwork.billid INNER JOIN
  121. u_gz_cworkitem ON u_kq_cwork.cworkid = u_gz_cworkitem.cworkid
  122. WHERE ((u_gz_cworkitem.itemtype = 10) OR
  123. (u_gz_cworkitem.itemtype = 13)) and
  124. u_kq_cwork.priceflag = 1
  125. UNION ALL
  126. SELECT u_kq_cworkmx.enddate AS checktime, u_kq_cworkmx.empid,
  127. u_kq_cwork.billcode, u_gz_cworkitem.itemtype
  128. FROM u_kq_cworkmx INNER JOIN
  129. u_kq_cwork ON u_kq_cworkmx.billid = u_kq_cwork.billid INNER JOIN
  130. u_gz_cworkitem ON u_kq_cwork.cworkid = u_gz_cworkitem.cworkid
  131. WHERE ((u_gz_cworkitem.itemtype = 10) OR
  132. (u_gz_cworkitem.itemtype = 13)) and
  133. u_kq_cwork.priceflag = 1 ) DERIVEDTBL INNER JOIN
  134. u_rs_empinfo ON DERIVEDTBL.empid = u_rs_empinfo.empid INNER JOIN
  135. cw_department ON u_rs_empinfo.Deptid = cw_department.departmentid INNER JOIN
  136. u_scdef ON u_rs_empinfo.scid = u_scdef.ScID
  137. WHERE ( (DERIVEDTBL.checktime >= :arg_fromtime
  138. AND DERIVEDTBL.checktime <= :arg_endtime ) )
  139. AND ( u_rs_empinfo.handtype LIKE :arg_handtype OR :arg_handtype = '' )
  140. And ( ( u_rs_empinfo.empcode Like :arg_empcode OR :arg_empcode = '' )
  141. or ( u_rs_empinfo.empname Like :arg_empcode OR :arg_empcode = '' ))
  142. AND (u_rs_empinfo.status = :arg_empstatus OR :arg_empstatus = -1)
  143. UNION ALL
  144. SELECT '' as scname ,
  145. '' as departmentname ,
  146. u_attendance.cardcode,
  147. u_attendance.empcode,
  148. u_attendance.empname,
  149. '' as duty,
  150. convert(char(10),u_attendance.starttime, 108) as starttime,
  151. convert(char(10),u_attendance.starttime, 121) as startdate
  152. FROM u_attendance
  153. WHERE ( u_attendance.starttime >= :arg_fromtime )
  154. AND ( u_attendance.starttime <= :arg_endtime )
  155. AND ( u_attendance.empid = 0 ) and (:arg_handtype = '' or :arg_handtype = '%')
  156. ) t1
  157. " arguments=(("arg_fromtime", datetime),("arg_endtime", datetime),("arg_handtype", string),("arg_empstatus", number),("arg_empcode", string)) sort="scname A departmentname A cardcode A empcode A empname A duty A rownum A " )
  158. text(band=header[2] alignment="2" text="@startdate" border="2" color="0" x="3159" y="4" height="88" width="439" html.valueishtml="0" name=startdate_t visible="1" 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" )
  159. text(band=header[2] alignment="2" text="分部" border="2" color="0" x="9" y="4" height="88" width="457" html.valueishtml="0" name=scname_t visible="1" 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" )
  160. text(band=header[2] alignment="2" text="部门" border="2" color="0" x="475" y="4" height="88" width="457" html.valueishtml="0" name=departmentname_t visible="1" 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" )
  161. text(band=header[2] alignment="2" text="卡号" border="2" color="0" x="942" y="4" height="88" width="457" html.valueishtml="0" name=cardcode_t visible="1" 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" )
  162. text(band=header[2] alignment="2" text="工号" border="2" color="0" x="1408" y="4" height="88" width="457" html.valueishtml="0" name=empcode_t visible="1" 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" )
  163. text(band=header[2] alignment="2" text="姓名" border="2" color="0" x="1874" y="4" height="88" width="457" html.valueishtml="0" name=empname_t visible="1" 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" )
  164. text(band=header[2] alignment="2" text="职位" border="2" color="0" x="2341" y="4" height="88" width="457" html.valueishtml="0" name=duty_t visible="1" 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" )
  165. text(band=header[2] alignment="2" text="序号" border="2" color="0" x="2807" y="4" height="88" width="343" html.valueishtml="0" name=rownum_t visible="1" 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" )
  166. column(band=detail id=1 alignment="0" tabsequence=32766 border="0" color="33554432" x="9" y="4" height="68" width="457" format="[general]" html.valueishtml="0" name=scname 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" )
  167. column(band=detail id=2 alignment="0" tabsequence=32766 border="0" color="33554432" x="475" y="4" height="68" width="457" format="[general]" html.valueishtml="0" name=departmentname 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" )
  168. column(band=detail id=3 alignment="0" tabsequence=32766 border="0" color="33554432" x="942" y="4" height="68" width="457" format="[general]" html.valueishtml="0" name=cardcode 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" )
  169. column(band=detail id=4 alignment="0" tabsequence=32766 border="0" color="33554432" x="1408" y="4" height="68" width="457" format="[general]" html.valueishtml="0" name=empcode 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" )
  170. column(band=detail id=5 alignment="0" tabsequence=32766 border="0" color="33554432" x="1874" y="4" height="68" width="457" format="[general]" html.valueishtml="0" name=empname 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" )
  171. column(band=detail id=6 alignment="0" tabsequence=32766 border="0" color="33554432" x="2341" y="4" height="68" width="457" format="[general]" html.valueishtml="0" name=duty 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" )
  172. column(band=detail id=7 alignment="1" tabsequence=32766 border="0" color="33554432" x="2807" y="4" height="68" width="343" format="[general]" html.valueishtml="0" name=rownum 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" )
  173. column(band=detail id=8 alignment="2" tabsequence=32766 border="0" color="33554432" x="3159" y="4" height="68" width="439" format="[general]" html.valueishtml="0" name=startdate visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.autohscroll=yes crosstab.repeat=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" )
  174. text(band=foreground alignment="0" text="打卡明细表" border="0" color="33554432" x="0" y="4" height="236" width="2455" html.valueishtml="0" name=t_2 visible="1" font.face="宋体" font.height="-22" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" 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" )
  175. compute(band=foreground alignment="0" expression="~"日期:~"+string( arg_fromtime,~"YYYY-MM-DD~" )+~"至~"+string(arg_endtime,~"yyyy-mm-dd~") +' 打印日期: '+string(today(),'yyyy-mm-dd')+' 共 '+string(pageCount())+' 页/第 ' + string(page()) + ' 页'"border="0" color="33554432" x="5" y="164" height="76" width="2446" format="[GENERAL]" html.valueishtml="0" name=compute_1 visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" 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" )
  176. crosstab(band = foreground crosstabonly = yes
  177. columns = "startdate" rows = "scname, departmentname, cardcode, empcode, empname, duty, rownum" values = "starttime" sourcenames = "rownum, scname, departmentname, cardcode, empcode, empname, duty, starttime, startdate")
  178. sparse(names="scname departmentname cardcode empcode empname duty")htmltable(border="0" cellpadding="1" cellspacing="1" )
  179. htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" pagingmethod=0 generatedddwframes="1" )
  180. xhtmlgen() cssgen(sessionspecific="0" )
  181. xmlgen(inline="0" )
  182. xsltgen()
  183. jsgen()
  184. export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 template=(comment="" encoding="UTF-16LE" name="l1v2" xml="<?xml version=~"1.0~" encoding=~"UTF-16LE~" standalone=~"no~"?><dw_rp_attendance_3><dw_rp_attendance_3_row __pbband=~"detail~"><u_scdef_scname/><cw_department_departmentname/><u_attendance_cardcode/><u_attendance_empcode/><u_attendance_empname/><u_rs_empinfo_duty/><u_attendance_dscrp/><u_attendance_starttime/></dw_rp_attendance_3_row></dw_rp_attendance_3>"))
  185. import.xml()
  186. export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
  187. export.xhtml()