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
| <?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="PeiHuoEditQuery">
| <![CDATA[
|
| select
| ouql_id,
| ouqd_bbpr_id,ouqd_size,ouqd_send_size,ouqd_remark,ouqd_jia_ji,ouql_org,ouqd_syde_id,ouqd_type,
| bbpr_sn,bbpr_size,bbpr_name,bbpr_brand,sydi_name as bbpr_lei_xing,ouqd_id,ouql_recived_author
| from out_qingling_detail
| left join out_qingling on ouql_id = ouqd_ouql_id
| left join bb_product on bbpr_id=ouqd_bbpr_id
| left join sys_dictionary on sydi_id=bbpr_sydi_id
| where 1=1
| <<and ouql_locationid = :locationid>>
| <<and ouqd_ouql_id = :detailpid>>
| and ##CONDITIONS##
|
| ]]>
| </sql-query>
| </hibernate-mapping>
|
|