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
<?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="AdjustListQuery">
        <![CDATA[
 
select ioam_id,create_time, ioam_name,ioam_type,ioam_size,ioam_remark,ioam_content,ioam_fivo_id,bbst_type 
from io_adjustment left join bb_stuff on bbst_id=ioam_resource_id
where 1=1
<<and ioam_name like concat("%",:ioamName,"%")>>
<<and ioam_type=:ioamType>>
<<and create_time>=:startDate>>
<<and create_time<=:endDate>>
<<and ioam_type='材料' and bbst_type=:bbstType>>
 
   and ##CONDITIONS##
 
        ]]>
    </sql-query>
</hibernate-mapping>