TbE2eCaOrderMap.xml
1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE sqlMap
PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN"
"http://www.ibatis.com/dtd/sql-map-2.dtd">
<sqlMap namespace="TB_E2E_CA_ORDER">
<typeAlias alias="tbE2eCaOrder" type="com.sitech.ismp.coll.busi.e2e.domain.TbE2eCaOrder" />
<select id="selectTbE2eCaOrder1" resultClass="tbE2eCaOrder" parameterClass="java.util.HashMap">
select t.*
from TB_E2E_CA_ORDER t
where t.PRODUCT_TAG = #PRODUCT_TAG#
and t.FILE_TIME = #FILE_TIME#
and t.OPER_TYPE = #OPER_TYPE#
and t.CLIENT_TYPE = #CLIENT_TYPE#
and t.RESEND2ZZ_TIME is not null
and t.ORDER_STATUS in $ORDER_STATUS$
</select>
<select id="selectTbE2eCaOrder2" resultClass="tbE2eCaOrder" parameterClass="java.util.HashMap">
select t.*
from TB_E2E_CA_ORDER t
where t.PRODUCT_TAG = #PRODUCT_TAG#
and t.FILE_TIME = #FILE_TIME#
and t.OPER_TYPE = #OPER_TYPE#
and t.CLIENT_TYPE = #CLIENT_TYPE#
and t.RESEND2ZZ_TIME is null
and t.ORDER_STATUS in $ORDER_STATUS$
</select>
<select id="selectTbE2eCaOrderForOneStop" resultClass="tbE2eCaOrder" parameterClass="java.util.HashMap">
select t.*
from TB_E2E_CA_ORDER t
where t.FILE_TIME = #FILE_TIME#
and CRM_ORDER_ID = #crmId#
and P6_ID = #p6Id#
</select>
</sqlMap>