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="OuqpAuthorUpdate">
| <![CDATA[
|
| update out_qingling_process,out_qingling_detail,bb_warehouse
| set ouqp_author='1'
| where
| 1=1
| and ouqp_ouqd_id=ouqd_id
| and ouqd_bbwh_id=bbwh_id
| and ouqp_date=:ouqdDate
| and ouqd_locationid=:locationid
| and ouqd_bbpr_id in (:bbprIds)
| <<and (ouqd_bbwh_id is null or bbwh_syus_ids like concat('%',:syusId,'%'))>>
|
| ]]>
| </sql-query>
| </hibernate-mapping>
|
|