保盛仓库管理系统后台程序管理
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223242526272829303132333435
  1. <?xml version="1.0" encoding="UTF-8"?><ureport><cell expand="Down" name="A1" row="1" col="1" row-span="3" col-span="8"><cell-style font-size="27" forecolor="0,0,0" font-family="宋体" bold="true" align="center" valign="middle"></cell-style><dataset-value dataset-name="detail" aggregate="group" property="CHUKUDAN_NM" order="none" mapping-type="simple"></dataset-value></cell><cell expand="None" name="I1" row="1" col="9"><cell-style font-size="9" forecolor="0,0,0" font-family="宋体" align="center" valign="middle"></cell-style><simple-value><![CDATA[]]></simple-value></cell><cell expand="None" name="J1" row="1" col="10"><cell-style font-size="9" forecolor="0,0,0" font-family="宋体" align="center" valign="middle"></cell-style><simple-value><![CDATA[]]></simple-value></cell><cell expand="None" name="K1" row="1" col="11"><cell-style font-size="9" forecolor="0,0,0" font-family="宋体" align="center" valign="middle"></cell-style><simple-value><![CDATA[]]></simple-value></cell><cell expand="None" name="I2" row="2" col="9"><cell-style font-size="12" forecolor="0,0,0" font-family="宋体" align="left" valign="middle"></cell-style><simple-value><![CDATA[]]></simple-value></cell><cell expand="Down" name="J2" row="2" col="10" col-span="2"><cell-style font-size="14" forecolor="0,0,0" font-family="宋体" format="yyyy年MM月dd日HH:mm" bold="true" align="left" valign="middle"></cell-style><dataset-value dataset-name="out" aggregate="group" property="add_time" order="none" mapping-type="simple"></dataset-value></cell><cell expand="None" name="I3" row="3" col="9"><cell-style font-size="12" forecolor="0,0,0" font-family="宋体" align="left" valign="middle"></cell-style><simple-value><![CDATA[]]></simple-value></cell><cell expand="None" name="J3" row="3" col="10"><cell-style font-size="12" forecolor="0,0,0" font-family="宋体" format="单号:" bold="true" align="left" valign="middle"></cell-style><simple-value><![CDATA[单号:]]></simple-value></cell><cell expand="Down" name="K3" row="3" col="11"><cell-style font-size="15" forecolor="0,0,0" font-family="宋体" format="单号:" bold="true" align="left" valign="middle"></cell-style><dataset-value dataset-name="out" aggregate="group" property="distribution_no" order="none" mapping-type="simple"></dataset-value></cell><cell expand="None" name="A4" row="4" col="1"><cell-style font-size="15" forecolor="0,0,0" font-family="宋体" bold="true" align="center" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><simple-value><![CDATA[订货单位]]></simple-value></cell><cell expand="Down" name="B4" row="4" col="2" col-span="4"><cell-style font-size="17" forecolor="0,0,0" font-family="宋体" bold="true" align="center" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><dataset-value dataset-name="detail" aggregate="group" property="customer_s_name" order="none" mapping-type="simple"></dataset-value></cell><cell expand="None" name="F4" row="4" col="6"><cell-style font-size="15" forecolor="0,0,0" font-family="宋体" bold="true" align="center" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><simple-value><![CDATA[提货车号]]></simple-value></cell><cell expand="Down" name="G4" row="4" col="7" col-span="5"><cell-style font-size="17" forecolor="0,0,0" font-family="黑体" bold="true" align="center" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><dataset-value dataset-name="out" aggregate="group" property="truck_no" order="none" mapping-type="simple"></dataset-value></cell><cell expand="None" name="A5" row="5" col="1"><cell-style font-size="15" forecolor="0,0,0" font-family="宋体" bold="true" align="center" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><simple-value><![CDATA[收货单位]]></simple-value></cell><cell expand="Down" name="B5" row="5" col="2" col-span="4"><cell-style font-size="17" forecolor="0,0,0" font-family="宋体" bold="true" align="center" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><dataset-value dataset-name="detail" aggregate="group" property="customer_name" order="none" mapping-type="simple"></dataset-value></cell><cell expand="None" name="F5" row="5" col="6"><cell-style font-size="15" forecolor="0,0,0" font-family="宋体" bold="true" align="center" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><simple-value><![CDATA[提货单位]]></simple-value></cell><cell expand="Down" name="G5" row="5" col="7" col-span="5"><cell-style font-size="17" forecolor="0,0,0" font-family="宋体" bold="true" align="center" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><dataset-value dataset-name="detail" aggregate="group" property="fk_compony_id" order="none" mapping-type="simple"></dataset-value></cell><cell expand="None" name="A6" row="6" col="1"><cell-style font-size="15" forecolor="0,0,0" font-family="宋体" bold="true" align="center" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><simple-value><![CDATA[收货地址]]></simple-value></cell><cell expand="Down" name="B6" row="6" col="2" col-span="10"><cell-style font-size="17" forecolor="0,0,0" font-family="宋体" bold="true" align="center" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><dataset-value dataset-name="detail" aggregate="group" property="receive_address" order="none" mapping-type="simple"></dataset-value></cell><cell expand="None" name="A7" row="7" col="1"><cell-style font-size="15" forecolor="0,0,0" font-family="宋体" bold="true" align="center" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><simple-value><![CDATA[序号]]></simple-value></cell><cell expand="None" name="B7" row="7" col="2"><cell-style font-size="15" forecolor="0,0,0" font-family="宋体" bold="true" align="center" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><simple-value><![CDATA[品 名]]></simple-value></cell><cell expand="None" name="C7" row="7" col="3"><cell-style font-size="15" forecolor="0,0,0" font-family="宋体" bold="true" align="center" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><simple-value><![CDATA[规 格]]></simple-value></cell><cell expand="None" name="D7" row="7" col="4"><cell-style font-size="15" forecolor="0,0,0" font-family="宋体" bold="true" align="center" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><simple-value><![CDATA[材 质]]></simple-value></cell><cell expand="None" name="E7" row="7" col="5" col-span="2"><cell-style font-size="15" forecolor="0,0,0" font-family="宋体" bold="true" align="center" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><simple-value><![CDATA[板(卷)号]]></simple-value></cell><cell expand="None" name="G7" row="7" col="7"><cell-style font-size="15" forecolor="0,0,0" font-family="宋体" bold="true" align="center" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><simple-value><![CDATA[数量]]></simple-value></cell><cell expand="None" name="H7" row="7" col="8"><cell-style font-size="15" forecolor="0,0,0" font-family="宋体" bold="true" align="center" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><simple-value><![CDATA[重量]]></simple-value></cell><cell expand="None" name="I7" row="7" col="9" col-span="2"><cell-style font-size="15" forecolor="0,0,0" font-family="宋体" bold="true" align="center" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><simple-value><![CDATA[垛位]]></simple-value></cell><cell expand="None" name="K7" row="7" col="11"><cell-style font-size="15" forecolor="0,0,0" font-family="宋体" bold="true" align="center" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><simple-value><![CDATA[合同号]]></simple-value></cell><cell expand="Down" name="A8" row="8" col="1"><cell-style font-size="16" forecolor="0,0,0" font-family="宋体" bold="true" wrap-compute="false" align="center" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><dataset-value dataset-name="detail" aggregate="group" property="run_num" order="none" mapping-type="simple"></dataset-value></cell><cell expand="Down" name="B8" row="8" col="2"><cell-style font-size="15" forecolor="0,0,0" font-family="宋体" bold="true" align="center" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><dataset-value dataset-name="detail" aggregate="group" property="material_name" order="none" mapping-type="simple"></dataset-value></cell><cell expand="Down" name="C8" row="8" col="3"><cell-style font-size="15" forecolor="0,0,0" font-family="宋体" bold="true" align="center" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><dataset-value dataset-name="detail" aggregate="group" property="model" order="none" mapping-type="simple"></dataset-value></cell><cell expand="Down" name="D8" row="8" col="4"><cell-style font-size="15" forecolor="0,0,0" font-family="宋体" bold="true" align="center" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><dataset-value dataset-name="detail" aggregate="group" property="standard" order="none" mapping-type="simple"></dataset-value></cell><cell expand="Down" name="E8" row="8" col="5" col-span="2"><cell-style font-size="17" forecolor="0,0,0" font-family="黑体" bold="true" align="center" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><dataset-value dataset-name="detail" aggregate="group" property="plate_no" order="none" mapping-type="simple"></dataset-value></cell><cell expand="Down" name="G8" row="8" col="7"><cell-style font-size="17" forecolor="0,0,0" font-family="黑体" bold="true" align="center" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><dataset-value dataset-name="detail" aggregate="group" property="count" order="none" mapping-type="simple"></dataset-value></cell><cell expand="Down" name="H8" row="8" col="8"><cell-style font-size="17" forecolor="0,0,0" font-family="黑体" bold="true" align="center" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><dataset-value dataset-name="detail" aggregate="group" property="weight" order="none" mapping-type="simple"></dataset-value></cell><cell expand="Down" name="I8" row="8" col="9" col-span="2"><cell-style font-size="17" forecolor="0,0,0" font-family="黑体" bold="true" align="center" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><dataset-value dataset-name="detail" aggregate="group" property="stack_name" order="none" mapping-type="simple"></dataset-value></cell><cell expand="Down" name="K8" row="8" col="11"><cell-style font-size="17" forecolor="0,0,0" font-family="黑体" bold="true" align="center" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><dataset-value dataset-name="detail" aggregate="group" property="ord_no" order="none" mapping-type="simple"></dataset-value></cell><cell expand="None" name="A9" row="9" col="1"><cell-style font-size="16" forecolor="0,0,0" font-family="宋体" bold="true" align="center" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><simple-value><![CDATA[备注]]></simple-value></cell><cell expand="Down" name="B9" row="9" col="2" col-span="3"><cell-style font-size="15" forecolor="0,0,0" font-family="宋体" bold="true" align="center" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><dataset-value dataset-name="detail" aggregate="group" property="telephon" order="none" mapping-type="simple"></dataset-value></cell><cell expand="None" name="E9" row="9" col="5" col-span="2"><cell-style font-size="13" forecolor="0,0,0" font-family="宋体" bold="true" align="center" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><simple-value><![CDATA[合计]]></simple-value></cell><cell expand="Down" name="G9" row="9" col="7"><cell-style font-size="17" forecolor="0,0,0" font-family="黑体" bold="true" align="center" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><dataset-value dataset-name="out" aggregate="select" property="STORE_COUNT" order="none" mapping-type="simple"></dataset-value></cell><cell expand="Down" name="H9" row="9" col="8"><cell-style font-size="17" forecolor="0,0,0" font-family="黑体" bold="true" align="center" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><dataset-value dataset-name="out" aggregate="select" property="STORE_WEIGHT" order="none" mapping-type="simple"></dataset-value></cell><cell expand="None" name="I9" row="9" col="9" col-span="2"><cell-style font-size="17" forecolor="0,0,0" font-family="黑体" bold="true" align="center" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><simple-value><![CDATA[]]></simple-value></cell><cell expand="None" name="K9" row="9" col="11"><cell-style font-size="13" forecolor="0,0,0" font-family="宋体" bold="true" align="center" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><simple-value><![CDATA[]]></simple-value></cell><cell expand="None" name="A10" row="10" col="1"><cell-style font-size="15" forecolor="0,0,0" font-family="宋体" bold="true" align="center" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><simple-value><![CDATA[注意事项]]></simple-value></cell><cell expand="None" name="B10" row="10" col="2" col-span="10"><cell-style font-size="15" forecolor="0,0,0" font-family="宋体" bold="true" align="left" valign="middle"><left-border width="2" style="solid" color="0,0,0"/><right-border width="2" style="solid" color="0,0,0"/><top-border width="2" style="solid" color="0,0,0"/><bottom-border width="2" style="solid" color="0,0,0"/></cell-style><simple-value><![CDATA[1.本单据手写涂改无效;2.提货人应当面清点货物,确认无误后签字,离库概不负责;3.本单据当日有效。]]></simple-value></cell><cell expand="None" name="A11" row="11" col="1" col-span="11"><cell-style font-size="18" forecolor="0,0,0" font-family="宋体" bold="true" align="left" valign="middle"></cell-style><simple-value><![CDATA[理货员: 制单员: 提货人: 提货人电话: 签收人:]]></simple-value></cell><row row-number="1" height="11" band="headerrepeat"/><row row-number="2" height="7" band="headerrepeat"/><row row-number="3" height="7" band="headerrepeat"/><row row-number="4" height="35" band="headerrepeat"/><row row-number="5" height="35" band="headerrepeat"/><row row-number="6" height="35" band="headerrepeat"/><row row-number="7" height="35" band="headerrepeat"/><row row-number="8" height="35"/><row row-number="9" height="35" band="footerrepeat"/><row row-number="10" height="35" band="footerrepeat"/><row row-number="11" height="35" band="footerrepeat"/><column col-number="1" width="71"/><column col-number="2" width="106"/><column col-number="3" width="91"/><column col-number="4" width="124"/><column col-number="5" width="63"/><column col-number="6" width="104"/><column col-number="7" width="65"/><column col-number="8" width="66"/><column col-number="9" width="19"/><column col-number="10" width="39"/><column col-number="11" width="146"/><datasource name="thware" type="jdbc" username="root" password="root" url="jdbc:mysql://localhost:3306/ware?useUnicode=true&amp;characterEncoding=utf8" driver="com.mysql.jdbc.Driver"><dataset name="out" type="sql"><sql><![CDATA[select t.*,CONVERT(round(t.sum_count),char) as sum_count_int ,SUM(B.count) AS STORE_COUNT,SUM(B.weight) AS STORE_WEIGHT from t_ware_distribution t,t_ware_distribution_detail A,t_ware_store B where t.id = :id
  2. AND t.id= A.distribution_id AND A.store_id = B.id AND A.cancel_flag = '0']]></sql><field name="id"/><field name="truck_no"/><field name="driver_name"/><field name="driver_phone"/><field name="sum_weight"/><field name="sum_count"/><field name="suttle"/><field name="out_flag"/><field name="add_id"/><field name="add_time"/><field name="modify_id"/><field name="modify_time"/><field name="cancel_id"/><field name="cancel_time"/><field name="cancel_flag"/><field name="belong_id"/><field name="delivery_company"/><field name="delivery_address"/><field name="distribution_no"/><field name="tally_people"/><field name="sum_count_int"/><field name="STORE_COUNT"/><field name="STORE_WEIGHT"/><parameter name="id" type="String" default-value="b03e3529b76811ee99f3525400d775b2"/></dataset><dataset name="detail" type="sql"><sql><![CDATA[select a.name as ware_name, b.name as stack_name, m.layer, c.name as material_name,
  3. c.standard , m.model, m.plate_no, d.name as customer_name, CONVERT(round(m.count),char) as count,m.weight,
  4. m.receive_address , m.remark,CONVERT(@rowNum:=@rowNum + 1 , char) as run_num,m.ord_no,
  5. CASE WHEN e.name = '济南恒大物流' AND (m.ord_no like '1522003094%' or m.ord_no like '1522003095%' or m.ord_no like '1522003096%' or m.ord_no like '1522003213%' or m.ord_no like '1522003214%') THEN '睢县联合运输有限公司'
  6. WHEN e.name = '济南恒大物流' AND (m.ord_no like '1522003075%' or m.ord_no like '1522003076%' or m.ord_no like '1522003077%' or m.ord_no like '1522003078%' ) THEN '远航物流'
  7. WHEN e.name = '济南恒大物流' AND m.ord_no NOT IN ('1522003094','1522003095','1522003096','1522003213','1522003214') THEN'郓城聚合物流'
  8. ELSE
  9. e.name
  10. END as fk_compony_id,CASE m.fk_compony_id
  11. WHEN 'b83d6ffec3c911ecb191525400d775b2' THEN
  12. ' 出库单'
  13. WHEN 'd58428746cb711eda4aa525400d775b2' THEN
  14. ' 出库单'
  15. WHEN '2bf1530b51fe11ee99f3525400d775b2' THEN
  16. ' 出库单'
  17. ELSE
  18. ' 出库单'
  19. END AS CHUKUDAN_NM,
  20. CASE :telephon
  21. WHEN 'N' THEN
  22. ''
  23. ELSE
  24. m.remark
  25. END AS telephon
  26. from t_ware_distribution_detail t,t_ware_store m ,
  27. t_maint_ware a,t_maint_stack b,t_maint_material c ,t_maint_customer d ,t_maint_customer e
  28. ,(SELECT @rownum := 0) AS rn
  29. where m.ware_id = a.id and m.stack_id = b.id
  30. and t.cancel_flag = 0
  31. and m.material_id = c.id and m.customer_id = d.id
  32. and m.fk_compony_id = e.id
  33. and t.store_id = m.id and t.distribution_id = :id]]></sql><field name="ware_name"/><field name="stack_name"/><field name="layer"/><field name="material_name"/><field name="standard"/><field name="model"/><field name="plate_no"/><field name="customer_name"/><field name="count"/><field name="weight"/><field name="receive_address"/><field name="remark"/><field name="run_num"/><field name="ord_no"/><field name="fk_compony_id"/><field name="CHUKUDAN_NM"/><field name="telephon"/><parameter name="id" type="String" default-value="aff481b5d40e11ecaab8525400d775b2"/><parameter name="telephon" type="String" default-value="Y"/></dataset></datasource><paper type="A4" left-margin="90" right-margin="90"
  34. top-margin="72" bottom-margin="72" paging-mode="fixrows" fixrows="19"
  35. width="595" height="842" orientation="portrait" html-report-align="left" bg-image="" html-interval-refresh-value="0" column-enabled="false"></paper></ureport>