forked from angelo/java-retail-app
				
			
		
			
	
	
		
			36 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			XML
		
	
	
	
		
		
			
		
	
	
			36 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			XML
		
	
	
	
| 
								 | 
							
								<?xml version="1.0" encoding="UTF-8"?>
							 | 
						||
| 
								 | 
							
								<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
							 | 
						||
| 
								 | 
							
								<mapper namespace="com.hzs.third.pay.mapper.TOnlinePaymentSepAccMapper">
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <!-- 通用查询映射结果 -->
							 | 
						||
| 
								 | 
							
								    <resultMap id="BaseResultMap" type="com.hzs.common.domain.third.pay.TOnlinePaymentSepAcc">
							 | 
						||
| 
								 | 
							
								        <id column="PK_ID" property="pkId" />
							 | 
						||
| 
								 | 
							
								        <result column="DEL_FLAG" property="delFlag" />
							 | 
						||
| 
								 | 
							
								        <result column="CREATION_TIME" property="creationTime" />
							 | 
						||
| 
								 | 
							
								        <result column="MODIFIED_TIME" property="modifiedTime" />
							 | 
						||
| 
								 | 
							
								        <result column="PK_CREATOR" property="pkCreator" />
							 | 
						||
| 
								 | 
							
								        <result column="PK_MODIFIED" property="pkModified" />
							 | 
						||
| 
								 | 
							
								        <result column="PK_PAYMENT" property="pkPayment" />
							 | 
						||
| 
								 | 
							
								        <result column="VERSION" property="version" />
							 | 
						||
| 
								 | 
							
								        <result column="REQ_CONTENT" property="reqContent" />
							 | 
						||
| 
								 | 
							
								        <result column="REQ_CONTENT_SEP_ACC" property="reqContentSepAcc" />
							 | 
						||
| 
								 | 
							
								        <result column="RESP_CONTENT" property="respContent" />
							 | 
						||
| 
								 | 
							
								        <result column="TRADE_AMOUNT" property="tradeAmount" />
							 | 
						||
| 
								 | 
							
								        <result column="OUT_TRADE_NO" property="outTradeNo" />
							 | 
						||
| 
								 | 
							
								    </resultMap>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <!-- 通用查询结果列 -->
							 | 
						||
| 
								 | 
							
								    <sql id="Base_Column_List">
							 | 
						||
| 
								 | 
							
								        DEL_FLAG,
							 | 
						||
| 
								 | 
							
								        CREATION_TIME,
							 | 
						||
| 
								 | 
							
								        MODIFIED_TIME,
							 | 
						||
| 
								 | 
							
								        PK_CREATOR,
							 | 
						||
| 
								 | 
							
								        PK_MODIFIED,
							 | 
						||
| 
								 | 
							
								        PK_ID, PK_PAYMENT, VERSION, REQ_CONTENT, REQ_CONTENT_SEP_ACC, RESP_CONTENT
							 | 
						||
| 
								 | 
							
								    </sql>
							 | 
						||
| 
								 | 
							
								    <select id="getSepAccByOrderCode" resultType="com.hzs.common.domain.third.pay.TOnlinePaymentSepAcc">
							 | 
						||
| 
								 | 
							
								        select * from T_ONLINE_PAYMENT_SEP_ACC where pk_payment in (select pk_id from T_ONLINE_PAYMENT where BUSINESS_CODE = #{orderCode})
							 | 
						||
| 
								 | 
							
								    </select>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								</mapper>
							 |