1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
| <?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="RoleQuery">
| <![CDATA[
|
| select r.syro_id,
| r.syro_locationid,
| r.syro_name,
| r.syro_description,
| r.syro_order,
| r.syro_state
| from sys_role r where 1=1
| << and r.syro_locationid = :locationid>>
| << and r.syro_id = :syroId>>
| << and r.syro_name = :syroName>>
| << and r.syro_state = :syroState>>
| and ##CONDITIONS##
| ]]>
| </sql-query>
| </hibernate-mapping>
|
|