liuxiaolong
2019-05-09 0d1d88cdb668e75ea8609417ac18ae19947e9525
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?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="ProductWarehouseItemEditQuery">
        <![CDATA[
 
select bbit_id,bbit_sheng_chan_date,bbit_xiao_qi_date,bbit_xu_hao,bbit_batch_number from bb_product_item
left join bb_product on bbit_bbpr_id=bbpr_id
where 1=1
<<and bbit_bbpr_id=:bbprId>>
 
   and ##CONDITIONS##
 
        ]]>
    </sql-query>
</hibernate-mapping>