liuxiaolong
2019-05-09 0d1d88cdb668e75ea8609417ac18ae19947e9525
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC 
    "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
    "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
 
<hibernate-mapping>
    <sql-query name="ExitDetailForViewQuery">
        <![CDATA[
 
SELECT
b.bbpr_sn,
b.bbpr_name,
b.bbpr_en_name,
b.bbpr_unit,
b.bbpr_style,
b.bbpr_brand,
a.oued_size,
a.oued_remark,
a.oued_subtotal,
a.oued_price
FROM
    out_exit_detail a
LEFT JOIN bb_product b ON a.oued_bbpr_id = b.bbpr_id
WHERE
    1 = 1
<<and oued_locationid=:locationid>>
<<and bbpr_locationid=:locationid>>
<<and oued_ouex_id=:ouexId>>
 
        ]]>
    </sql-query>
</hibernate-mapping>