Advertisement
Guest User

Untitled

a guest
Jul 7th, 2012
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 5.35 KB | None | 0 0
  1. <?xml version="1.0" encoding="windows-1251"?>
  2.  
  3.  
  4.     <jasperReport name="ReportName" >
  5.        
  6.     <queryString>
  7.     <![CDATA[
  8.         select register_num as num from ecm.doc_cards where doc_cards.id = 4
  9.     ]]>
  10.     <![CDATA[
  11.         select card_gm_orders.sign_date as date from ecm.card_gm_orders, ecm.doc_cards
  12.         where ecm.doc_cards.id = ecm.card_gm_orders.doc_cardid
  13.         and ecm.card_gm_orders.doc_cardid = 4;
  14.     ]]>
  15.     <![CDATA[
  16.         select ou.users.uname as uname_gen from                            
  17.         ou.users, ecm.doc_bpm_roles
  18.         where ou.users.id = ecm.doc_bpm_roles.userid
  19.         and ecm.doc_bpm_roles.roleid = 31 group by ou.users.id
  20.     ]]>
  21.     <![CDATA[
  22.         select ou.users.uname as uname_exec from
  23.         ou.users, ecm.doc_bpm_roles
  24.         where ou.users.id = ecm.doc_bpm_roles.userid
  25.         and ecm.doc_bpm_roles.roleid = 27 group by ou.users.id
  26.     ]]>
  27.     <![CDATA[
  28.         select ou.orgunit_users.post as uname_pos_mat_all from ecm.doc_bpm_roles,ou.orgunit_users
  29.         where ecm.doc_bpm_roles.doc_cardid = 4
  30.         and ecm.doc_bpm_roles.roleid = 24
  31.         and ou.orgunit_users.userid = ecm.doc_bpm_roles.userid
  32.     ]]>
  33.     <![CDATA[
  34.         select ou.users.uname as uname_pos_mat from
  35.         ou.users, ecm.doc_bpm_roles
  36.         where ou.users.id = ecm.doc_bpm_roles.userid
  37.         and ecm.doc_bpm_roles.roleid = 24 group by ou.users.id
  38.     ]]>
  39.     <![CDATA[
  40.         select ou.orgunit_users.post as uname_mach_all from ecm.doc_bpm_roles,ou.orgunit_users
  41.         where ecm.doc_bpm_roles.doc_cardid = 4
  42.         and ecm.doc_bpm_roles.roleid = 32
  43.         and ou.orgunit_users.userid = ecm.doc_bpm_roles.userid  
  44.     ]]>
  45.     <![CDATA[
  46.         select ou.users.uname as uname_mach from
  47.         ou.users, ecm.doc_bpm_roles
  48.         where ou.users.id = ecm.doc_bpm_roles.userid
  49.         and ecm.doc_bpm_roles.roleid = 32 group by ou.users.id  
  50.     ]]>
  51.     </queryString>
  52.    
  53.         <field name="num" class="java.lang.String" />
  54.         <field name="date" class="java.lang.String" />
  55.         <field name="uname_gen" class="java.lang.String" />
  56.         <field name="uname_exec" class="java.lang.String" />
  57.         <field name="uname_pos_mat_all" class="java.lang.String" />
  58.         <field name="uname_pos_mat" class="java.lang.String" />
  59.         <field name="uname_mach_all" class="java.lang.String" />
  60.         <field name="uname_mach" class="java.lang.String" />
  61.    
  62. <pageHeader>
  63.      <band height="30">
  64.          <staticText>
  65.          <reportElement x="0" y="0" width="69" height="24" />
  66.          <textElement verticalAlignment="Bottom" />
  67.          <text>
  68.          <![CDATA[Order Number: ]]>
  69.          </text>
  70.          </staticText>
  71.          
  72.          <staticText>
  73.          <reportElement x="140" y="0" width="79" height="24" />
  74.          <text>
  75.          <![CDATA[Date: ]]>
  76.          </text>
  77.          </staticText>
  78.          
  79.          <staticText>
  80.          <reportElement x="280" y="0" width="69" height="24" />
  81.          <text>
  82.          <![CDATA[Gen_dir: ]]>
  83.          </text>
  84.          </staticText>
  85.          
  86.          <staticText>
  87.          <reportElement x="420" y="0" width="69" height="24" />
  88.          <text>
  89.          <![CDATA[Executor: ]]>
  90.          </text>
  91.          </staticText>
  92.          
  93.          <staticText>
  94.          <reportElement x="420" y="0" width="69" height="24" />
  95.          <text>
  96.          <![CDATA[Position_matching: ]]>
  97.          </text>
  98.          </staticText>
  99.          
  100.          <staticText>
  101.          <reportElement x="420" y="0" width="69" height="24" />
  102.          <text>
  103.          <![CDATA[Matching: ]]>
  104.          </text>
  105.          </staticText>
  106.          
  107.          <staticText>
  108.          <reportElement x="420" y="0" width="69" height="24" />
  109.          <text>
  110.          <![CDATA[Acquaint: ]]>
  111.          </text>
  112.          </staticText>
  113.          
  114.          <staticText>
  115.          <reportElement x="420" y="0" width="69" height="24" />
  116.          <text>
  117.          <![CDATA[person_for_familiarize: ]]>
  118.          </text>
  119.          </staticText>
  120.      </band>
  121.  </pageHeader>
  122.  
  123.  <detail>
  124.      <band height="500">
  125.          <textField evaluationTime="Report">
  126.          <reportElement x="100" y="200" width="100" height="24" />
  127.          <textFieldExpression class="java.lang.String">
  128.          <![CDATA[$F{num}]]>
  129.          </textFieldExpression>
  130.          </textField>
  131.          
  132.          <textField evaluationTime="Report">
  133.          <reportElement x="400" y="200" width="150" height="24" />
  134.          <textFieldExpression class="java.lang.String">
  135.          <![CDATA[$F{date}]]>
  136.          </textFieldExpression>
  137.          </textField>
  138.          
  139.          <textField evaluationTime="Report">
  140.          <reportElement x="390" y="390" width="150" height="24" />
  141.          <textFieldExpression class="java.lang.String">
  142.          <![CDATA[$F{uname_gen}]]>
  143.          </textFieldExpression>
  144.          </textField>
  145.          
  146.          <textField evaluationTime="Report">
  147.          <reportElement x="390" y="480" width="69" height="24" />
  148.          <textFieldExpression class="java.lang.String">
  149.          <![CDATA[$F{uname_exec}]]>
  150.          </textFieldExpression>
  151.          </textField>
  152.          
  153.          <textField evaluationTime="Report">
  154.          <reportElement x="420" y="0" width="69" height="24" />
  155.          <textFieldExpression class="java.lang.String">
  156.          <![CDATA[$F{uname_pos_mat_all}]]>
  157.          </textFieldExpression>
  158.          </textField>
  159.          
  160.          <textField evaluationTime="Report">
  161.          <reportElement x="420" y="0" width="69" height="24" />
  162.          <textFieldExpression class="java.lang.String">
  163.          <![CDATA[$F{uname_pos_mat}]]>
  164.          </textFieldExpression>
  165.          </textField>
  166.          
  167.          <textField evaluationTime="Report">
  168.          <reportElement x="420" y="0" width="69" height="24" />
  169.          <textFieldExpression class="java.lang.String">
  170.          <![CDATA[$F{uname_mach_all}]]>
  171.          </textFieldExpression>
  172.          </textField>
  173.          
  174.          <textField evaluationTime="Report">
  175.          <reportElement x="420" y="0" width="69" height="24" />
  176.          <textFieldExpression class="java.lang.String">
  177.          <![CDATA[$F{uname_mach}]]>
  178.          </textFieldExpression>
  179.          </textField>
  180.      </band>
  181.  </detail>
  182.  
  183. </jasperReport>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement