1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| <?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="StuffPickQuery">
| <![CDATA[
|
| select
| iosp_id,iosp_sn,iosp_size,iosp_volumes,iosp_pick_out_size,iosp_type,
| (iosp_size-iosp_pick_out_size) as iosp_pick_in_size,
| creator,bbst_id,bbst_name,bbst_style,bbst_type
| from io_stuff_pick,bb_stuff
| where 1=1
| and ##CONDITIONS##
| order by iosp_sn desc
|
| ]]>
| </sql-query>
| </hibernate-mapping>
|
|