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
<?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="OutQinglingQuery">
        <![CDATA[
 
SELECT ouql_id,
ouql_sn,
ouql_order_author,
ouql_syus_id,
ouql_org,
ouql_order_date,
ouql_recived_author,
ouql_flow_json,
ouql_flow_state,
ouql_state,
ouql_type,
ouql_remark
 
FROM out_qingling 
 
left join out_qingling_detail on ouqd_ouql_id = ouql_id
 
where 1=1 
 
<< and ouqd_state <> :ouqdState >>
<< and ouql_sn=:ouqlSn >>
<< and ouql_locationid=:locationid >>
 
 
   and ##CONDITIONS##
 
        ]]>
    </sql-query>
</hibernate-mapping>