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
33
34
35
36
37
38
39
40
41
42
43
<?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="HardwareExitQuery">
        <![CDATA[
 
select  e.iose_id,
e.iose_bbst_id,
e.iose_prpe_id,
e.iose_iopd_id,
e.iose_prsr_id,
e.iose_iodd_id,
e.iose_fivo_id,
e.iose_type,
e.iose_amount,
e.iose_reject_amount,
e.iose_price,
e.iose_good,
e.creator,
e.create_time,
e.modifier,
e.modify_time,
e.iose_remark,
e.iose_cgsd_id,
e.iose_department,
e.iose_old_amount,
e.iose_taker,
s.bbst_name,
s.bbst_style,
s.bbst_type
from
io_stuff_exit  e
Left Join bb_stuff  s on e.iose_bbst_id = s.bbst_id
where 1=1
<<and e.iose_type = :ioseType>>
   and ##CONDITIONS##
 
        ]]>
    </sql-query>
</hibernate-mapping>