liuxiaolong
2019-05-09 0d1d88cdb668e75ea8609417ac18ae19947e9525
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?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="ProductItemByCodeQuery">
        <![CDATA[
 
select bbit_bbpr_id bbpr_id    from bb_product_item where 1=1
<<and bbit_batch_number=:batchNumber>>
<<and bbit_locationid=:locationid>>
<<and bbit_xu_hao=:xuHao>>
   and ##CONDITIONS##
 
        ]]>
    </sql-query>
</hibernate-mapping>