|
@@ -0,0 +1,733 @@
|
|
|
+<?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.hcloud.microserver.mbg.mapper.BTransferDetailRequestMapper">
|
|
|
+ <resultMap id="BaseResultMap" type="com.hcloud.microserver.mbg.modul.BTransferDetailRequest">
|
|
|
+ <id column="guid" jdbcType="BIGINT" property="guid" />
|
|
|
+ <result column="fk_transfer_detail_id" jdbcType="BIGINT" property="fkTransferDetailId" />
|
|
|
+ <result column="fk_user_id" jdbcType="BIGINT" property="fkUserId" />
|
|
|
+ <result column="user_id" jdbcType="VARCHAR" property="userId" />
|
|
|
+ <result column="submitter" jdbcType="VARCHAR" property="submitter" />
|
|
|
+ <result column="authorizer" jdbcType="VARCHAR" property="authorizer" />
|
|
|
+ <result column="cha_serial_no" jdbcType="VARCHAR" property="chaSerialNo" />
|
|
|
+ <result column="ent_serial_no" jdbcType="VARCHAR" property="entSerialNo" />
|
|
|
+ <result column="currency" jdbcType="VARCHAR" property="currency" />
|
|
|
+ <result column="pay_amount" jdbcType="DECIMAL" property="payAmount" />
|
|
|
+ <result column="pay_bank_name" jdbcType="VARCHAR" property="payBankName" />
|
|
|
+ <result column="pay_account" jdbcType="VARCHAR" property="payAccount" />
|
|
|
+ <result column="pay_name" jdbcType="VARCHAR" property="payName" />
|
|
|
+ <result column="pay_date" jdbcType="VARCHAR" property="payDate" />
|
|
|
+ <result column="pay_serial" jdbcType="VARCHAR" property="paySerial" />
|
|
|
+ <result column="hand_fee_type" jdbcType="VARCHAR" property="handFeeType" />
|
|
|
+ <result column="pay_status" jdbcType="VARCHAR" property="payStatus" />
|
|
|
+ <result column="pay_msg" jdbcType="VARCHAR" property="payMsg" />
|
|
|
+ <result column="pay_response_code" jdbcType="VARCHAR" property="payResponseCode" />
|
|
|
+ <result column="fail_reson" jdbcType="VARCHAR" property="failReson" />
|
|
|
+ <result column="account_money" jdbcType="DECIMAL" property="accountMoney" />
|
|
|
+ <result column="hand_fee" jdbcType="DECIMAL" property="handFee" />
|
|
|
+ <result column="post_fee" jdbcType="DECIMAL" property="postFee" />
|
|
|
+ <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
|
|
+ <result column="status" jdbcType="INTEGER" property="status" />
|
|
|
+ <result column="serial_no" jdbcType="VARCHAR" property="serialNo" />
|
|
|
+ <result column="service_id" jdbcType="VARCHAR" property="serviceId" />
|
|
|
+ <result column="session_id" jdbcType="VARCHAR" property="sessionId" />
|
|
|
+ <result column="req_time" jdbcType="VARCHAR" property="reqTime" />
|
|
|
+ <result column="ret_code" jdbcType="VARCHAR" property="retCode" />
|
|
|
+ <result column="error_msg" jdbcType="VARCHAR" property="errorMsg" />
|
|
|
+ <result column="urgent_sign" jdbcType="VARCHAR" property="urgentSign" />
|
|
|
+ <result column="transaction_type" jdbcType="VARCHAR" property="transactionType" />
|
|
|
+ <result column="ent_order_code" jdbcType="VARCHAR" property="entOrderCode" />
|
|
|
+ <result column="use_way" jdbcType="VARCHAR" property="useWay" />
|
|
|
+ <result column="remark" jdbcType="VARCHAR" property="remark" />
|
|
|
+ <result column="check_mark" jdbcType="VARCHAR" property="checkMark" />
|
|
|
+ <result column="pay_mark" jdbcType="VARCHAR" property="payMark" />
|
|
|
+ </resultMap>
|
|
|
+ <sql id="Example_Where_Clause">
|
|
|
+ <where>
|
|
|
+ <foreach collection="oredCriteria" item="criteria" separator="or">
|
|
|
+ <if test="criteria.valid">
|
|
|
+ <trim prefix="(" prefixOverrides="and" suffix=")">
|
|
|
+ <foreach collection="criteria.criteria" item="criterion">
|
|
|
+ <choose>
|
|
|
+ <when test="criterion.noValue">
|
|
|
+ and ${criterion.condition}
|
|
|
+ </when>
|
|
|
+ <when test="criterion.singleValue">
|
|
|
+ and ${criterion.condition} #{criterion.value}
|
|
|
+ </when>
|
|
|
+ <when test="criterion.betweenValue">
|
|
|
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
|
|
+ </when>
|
|
|
+ <when test="criterion.listValue">
|
|
|
+ and ${criterion.condition}
|
|
|
+ <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
|
|
+ #{listItem}
|
|
|
+ </foreach>
|
|
|
+ </when>
|
|
|
+ </choose>
|
|
|
+ </foreach>
|
|
|
+ </trim>
|
|
|
+ </if>
|
|
|
+ </foreach>
|
|
|
+ </where>
|
|
|
+ </sql>
|
|
|
+ <sql id="Update_By_Example_Where_Clause">
|
|
|
+ <where>
|
|
|
+ <foreach collection="example.oredCriteria" item="criteria" separator="or">
|
|
|
+ <if test="criteria.valid">
|
|
|
+ <trim prefix="(" prefixOverrides="and" suffix=")">
|
|
|
+ <foreach collection="criteria.criteria" item="criterion">
|
|
|
+ <choose>
|
|
|
+ <when test="criterion.noValue">
|
|
|
+ and ${criterion.condition}
|
|
|
+ </when>
|
|
|
+ <when test="criterion.singleValue">
|
|
|
+ and ${criterion.condition} #{criterion.value}
|
|
|
+ </when>
|
|
|
+ <when test="criterion.betweenValue">
|
|
|
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
|
|
+ </when>
|
|
|
+ <when test="criterion.listValue">
|
|
|
+ and ${criterion.condition}
|
|
|
+ <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
|
|
+ #{listItem}
|
|
|
+ </foreach>
|
|
|
+ </when>
|
|
|
+ </choose>
|
|
|
+ </foreach>
|
|
|
+ </trim>
|
|
|
+ </if>
|
|
|
+ </foreach>
|
|
|
+ </where>
|
|
|
+ </sql>
|
|
|
+ <sql id="Base_Column_List">
|
|
|
+ guid, fk_transfer_detail_id, fk_user_id, user_id, submitter, authorizer, cha_serial_no,
|
|
|
+ ent_serial_no, currency, pay_amount, pay_bank_name, pay_account, pay_name, pay_date,
|
|
|
+ pay_serial, hand_fee_type, pay_status, pay_msg, pay_response_code, fail_reson, account_money,
|
|
|
+ hand_fee, post_fee, create_time, status, serial_no, service_id, session_id, req_time,
|
|
|
+ ret_code, error_msg, urgent_sign, transaction_type, ent_order_code, use_way, remark,
|
|
|
+ check_mark, pay_mark
|
|
|
+ </sql>
|
|
|
+ <select id="selectByExample" parameterType="com.hcloud.microserver.mbg.modul.BTransferDetailRequestExample" resultMap="BaseResultMap">
|
|
|
+ select
|
|
|
+ <if test="distinct">
|
|
|
+ distinct
|
|
|
+ </if>
|
|
|
+ <include refid="Base_Column_List" />
|
|
|
+ from b_transfer_detail_request
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ <if test="orderByClause != null">
|
|
|
+ order by ${orderByClause}
|
|
|
+ </if>
|
|
|
+ </select>
|
|
|
+ <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
|
|
|
+ select
|
|
|
+ <include refid="Base_Column_List" />
|
|
|
+ from b_transfer_detail_request
|
|
|
+ where guid = #{guid,jdbcType=BIGINT}
|
|
|
+ </select>
|
|
|
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
|
|
|
+ delete from b_transfer_detail_request
|
|
|
+ where guid = #{guid,jdbcType=BIGINT}
|
|
|
+ </delete>
|
|
|
+ <delete id="deleteByExample" parameterType="com.hcloud.microserver.mbg.modul.BTransferDetailRequestExample">
|
|
|
+ delete from b_transfer_detail_request
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </delete>
|
|
|
+ <insert id="insert" parameterType="com.hcloud.microserver.mbg.modul.BTransferDetailRequest">
|
|
|
+ <selectKey keyProperty="guid" order="AFTER" resultType="java.lang.Long">
|
|
|
+ SELECT LAST_INSERT_ID()
|
|
|
+ </selectKey>
|
|
|
+ insert into b_transfer_detail_request (fk_transfer_detail_id, fk_user_id, user_id,
|
|
|
+ submitter, authorizer, cha_serial_no,
|
|
|
+ ent_serial_no, currency, pay_amount,
|
|
|
+ pay_bank_name, pay_account, pay_name,
|
|
|
+ pay_date, pay_serial, hand_fee_type,
|
|
|
+ pay_status, pay_msg, pay_response_code,
|
|
|
+ fail_reson, account_money, hand_fee,
|
|
|
+ post_fee, create_time, status,
|
|
|
+ serial_no, service_id, session_id,
|
|
|
+ req_time, ret_code, error_msg,
|
|
|
+ urgent_sign, transaction_type, ent_order_code,
|
|
|
+ use_way, remark, check_mark,
|
|
|
+ pay_mark)
|
|
|
+ values (#{fkTransferDetailId,jdbcType=BIGINT}, #{fkUserId,jdbcType=BIGINT}, #{userId,jdbcType=VARCHAR},
|
|
|
+ #{submitter,jdbcType=VARCHAR}, #{authorizer,jdbcType=VARCHAR}, #{chaSerialNo,jdbcType=VARCHAR},
|
|
|
+ #{entSerialNo,jdbcType=VARCHAR}, #{currency,jdbcType=VARCHAR}, #{payAmount,jdbcType=DECIMAL},
|
|
|
+ #{payBankName,jdbcType=VARCHAR}, #{payAccount,jdbcType=VARCHAR}, #{payName,jdbcType=VARCHAR},
|
|
|
+ #{payDate,jdbcType=VARCHAR}, #{paySerial,jdbcType=VARCHAR}, #{handFeeType,jdbcType=VARCHAR},
|
|
|
+ #{payStatus,jdbcType=VARCHAR}, #{payMsg,jdbcType=VARCHAR}, #{payResponseCode,jdbcType=VARCHAR},
|
|
|
+ #{failReson,jdbcType=VARCHAR}, #{accountMoney,jdbcType=DECIMAL}, #{handFee,jdbcType=DECIMAL},
|
|
|
+ #{postFee,jdbcType=DECIMAL}, #{createTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER},
|
|
|
+ #{serialNo,jdbcType=VARCHAR}, #{serviceId,jdbcType=VARCHAR}, #{sessionId,jdbcType=VARCHAR},
|
|
|
+ #{reqTime,jdbcType=VARCHAR}, #{retCode,jdbcType=VARCHAR}, #{errorMsg,jdbcType=VARCHAR},
|
|
|
+ #{urgentSign,jdbcType=VARCHAR}, #{transactionType,jdbcType=VARCHAR}, #{entOrderCode,jdbcType=VARCHAR},
|
|
|
+ #{useWay,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{checkMark,jdbcType=VARCHAR},
|
|
|
+ #{payMark,jdbcType=VARCHAR})
|
|
|
+ </insert>
|
|
|
+ <insert id="insertSelective" parameterType="com.hcloud.microserver.mbg.modul.BTransferDetailRequest">
|
|
|
+ <selectKey keyProperty="guid" order="AFTER" resultType="java.lang.Long">
|
|
|
+ SELECT LAST_INSERT_ID()
|
|
|
+ </selectKey>
|
|
|
+ insert into b_transfer_detail_request
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="fkTransferDetailId != null">
|
|
|
+ fk_transfer_detail_id,
|
|
|
+ </if>
|
|
|
+ <if test="fkUserId != null">
|
|
|
+ fk_user_id,
|
|
|
+ </if>
|
|
|
+ <if test="userId != null">
|
|
|
+ user_id,
|
|
|
+ </if>
|
|
|
+ <if test="submitter != null">
|
|
|
+ submitter,
|
|
|
+ </if>
|
|
|
+ <if test="authorizer != null">
|
|
|
+ authorizer,
|
|
|
+ </if>
|
|
|
+ <if test="chaSerialNo != null">
|
|
|
+ cha_serial_no,
|
|
|
+ </if>
|
|
|
+ <if test="entSerialNo != null">
|
|
|
+ ent_serial_no,
|
|
|
+ </if>
|
|
|
+ <if test="currency != null">
|
|
|
+ currency,
|
|
|
+ </if>
|
|
|
+ <if test="payAmount != null">
|
|
|
+ pay_amount,
|
|
|
+ </if>
|
|
|
+ <if test="payBankName != null">
|
|
|
+ pay_bank_name,
|
|
|
+ </if>
|
|
|
+ <if test="payAccount != null">
|
|
|
+ pay_account,
|
|
|
+ </if>
|
|
|
+ <if test="payName != null">
|
|
|
+ pay_name,
|
|
|
+ </if>
|
|
|
+ <if test="payDate != null">
|
|
|
+ pay_date,
|
|
|
+ </if>
|
|
|
+ <if test="paySerial != null">
|
|
|
+ pay_serial,
|
|
|
+ </if>
|
|
|
+ <if test="handFeeType != null">
|
|
|
+ hand_fee_type,
|
|
|
+ </if>
|
|
|
+ <if test="payStatus != null">
|
|
|
+ pay_status,
|
|
|
+ </if>
|
|
|
+ <if test="payMsg != null">
|
|
|
+ pay_msg,
|
|
|
+ </if>
|
|
|
+ <if test="payResponseCode != null">
|
|
|
+ pay_response_code,
|
|
|
+ </if>
|
|
|
+ <if test="failReson != null">
|
|
|
+ fail_reson,
|
|
|
+ </if>
|
|
|
+ <if test="accountMoney != null">
|
|
|
+ account_money,
|
|
|
+ </if>
|
|
|
+ <if test="handFee != null">
|
|
|
+ hand_fee,
|
|
|
+ </if>
|
|
|
+ <if test="postFee != null">
|
|
|
+ post_fee,
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null">
|
|
|
+ create_time,
|
|
|
+ </if>
|
|
|
+ <if test="status != null">
|
|
|
+ status,
|
|
|
+ </if>
|
|
|
+ <if test="serialNo != null">
|
|
|
+ serial_no,
|
|
|
+ </if>
|
|
|
+ <if test="serviceId != null">
|
|
|
+ service_id,
|
|
|
+ </if>
|
|
|
+ <if test="sessionId != null">
|
|
|
+ session_id,
|
|
|
+ </if>
|
|
|
+ <if test="reqTime != null">
|
|
|
+ req_time,
|
|
|
+ </if>
|
|
|
+ <if test="retCode != null">
|
|
|
+ ret_code,
|
|
|
+ </if>
|
|
|
+ <if test="errorMsg != null">
|
|
|
+ error_msg,
|
|
|
+ </if>
|
|
|
+ <if test="urgentSign != null">
|
|
|
+ urgent_sign,
|
|
|
+ </if>
|
|
|
+ <if test="transactionType != null">
|
|
|
+ transaction_type,
|
|
|
+ </if>
|
|
|
+ <if test="entOrderCode != null">
|
|
|
+ ent_order_code,
|
|
|
+ </if>
|
|
|
+ <if test="useWay != null">
|
|
|
+ use_way,
|
|
|
+ </if>
|
|
|
+ <if test="remark != null">
|
|
|
+ remark,
|
|
|
+ </if>
|
|
|
+ <if test="checkMark != null">
|
|
|
+ check_mark,
|
|
|
+ </if>
|
|
|
+ <if test="payMark != null">
|
|
|
+ pay_mark,
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="fkTransferDetailId != null">
|
|
|
+ #{fkTransferDetailId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="fkUserId != null">
|
|
|
+ #{fkUserId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="userId != null">
|
|
|
+ #{userId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="submitter != null">
|
|
|
+ #{submitter,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="authorizer != null">
|
|
|
+ #{authorizer,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="chaSerialNo != null">
|
|
|
+ #{chaSerialNo,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="entSerialNo != null">
|
|
|
+ #{entSerialNo,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="currency != null">
|
|
|
+ #{currency,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="payAmount != null">
|
|
|
+ #{payAmount,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="payBankName != null">
|
|
|
+ #{payBankName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="payAccount != null">
|
|
|
+ #{payAccount,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="payName != null">
|
|
|
+ #{payName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="payDate != null">
|
|
|
+ #{payDate,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="paySerial != null">
|
|
|
+ #{paySerial,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="handFeeType != null">
|
|
|
+ #{handFeeType,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="payStatus != null">
|
|
|
+ #{payStatus,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="payMsg != null">
|
|
|
+ #{payMsg,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="payResponseCode != null">
|
|
|
+ #{payResponseCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="failReson != null">
|
|
|
+ #{failReson,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="accountMoney != null">
|
|
|
+ #{accountMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="handFee != null">
|
|
|
+ #{handFee,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="postFee != null">
|
|
|
+ #{postFee,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null">
|
|
|
+ #{createTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="status != null">
|
|
|
+ #{status,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="serialNo != null">
|
|
|
+ #{serialNo,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="serviceId != null">
|
|
|
+ #{serviceId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="sessionId != null">
|
|
|
+ #{sessionId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="reqTime != null">
|
|
|
+ #{reqTime,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="retCode != null">
|
|
|
+ #{retCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="errorMsg != null">
|
|
|
+ #{errorMsg,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="urgentSign != null">
|
|
|
+ #{urgentSign,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="transactionType != null">
|
|
|
+ #{transactionType,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="entOrderCode != null">
|
|
|
+ #{entOrderCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="useWay != null">
|
|
|
+ #{useWay,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="remark != null">
|
|
|
+ #{remark,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="checkMark != null">
|
|
|
+ #{checkMark,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="payMark != null">
|
|
|
+ #{payMark,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ </insert>
|
|
|
+ <select id="countByExample" parameterType="com.hcloud.microserver.mbg.modul.BTransferDetailRequestExample" resultType="java.lang.Long">
|
|
|
+ select count(*) from b_transfer_detail_request
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </select>
|
|
|
+ <update id="updateByExampleSelective" parameterType="map">
|
|
|
+ update b_transfer_detail_request
|
|
|
+ <set>
|
|
|
+ <if test="record.guid != null">
|
|
|
+ guid = #{record.guid,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="record.fkTransferDetailId != null">
|
|
|
+ fk_transfer_detail_id = #{record.fkTransferDetailId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="record.fkUserId != null">
|
|
|
+ fk_user_id = #{record.fkUserId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="record.userId != null">
|
|
|
+ user_id = #{record.userId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.submitter != null">
|
|
|
+ submitter = #{record.submitter,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.authorizer != null">
|
|
|
+ authorizer = #{record.authorizer,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.chaSerialNo != null">
|
|
|
+ cha_serial_no = #{record.chaSerialNo,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.entSerialNo != null">
|
|
|
+ ent_serial_no = #{record.entSerialNo,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.currency != null">
|
|
|
+ currency = #{record.currency,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.payAmount != null">
|
|
|
+ pay_amount = #{record.payAmount,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.payBankName != null">
|
|
|
+ pay_bank_name = #{record.payBankName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.payAccount != null">
|
|
|
+ pay_account = #{record.payAccount,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.payName != null">
|
|
|
+ pay_name = #{record.payName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.payDate != null">
|
|
|
+ pay_date = #{record.payDate,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.paySerial != null">
|
|
|
+ pay_serial = #{record.paySerial,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.handFeeType != null">
|
|
|
+ hand_fee_type = #{record.handFeeType,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.payStatus != null">
|
|
|
+ pay_status = #{record.payStatus,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.payMsg != null">
|
|
|
+ pay_msg = #{record.payMsg,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.payResponseCode != null">
|
|
|
+ pay_response_code = #{record.payResponseCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.failReson != null">
|
|
|
+ fail_reson = #{record.failReson,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.accountMoney != null">
|
|
|
+ account_money = #{record.accountMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.handFee != null">
|
|
|
+ hand_fee = #{record.handFee,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.postFee != null">
|
|
|
+ post_fee = #{record.postFee,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.createTime != null">
|
|
|
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="record.status != null">
|
|
|
+ status = #{record.status,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.serialNo != null">
|
|
|
+ serial_no = #{record.serialNo,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.serviceId != null">
|
|
|
+ service_id = #{record.serviceId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.sessionId != null">
|
|
|
+ session_id = #{record.sessionId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.reqTime != null">
|
|
|
+ req_time = #{record.reqTime,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.retCode != null">
|
|
|
+ ret_code = #{record.retCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.errorMsg != null">
|
|
|
+ error_msg = #{record.errorMsg,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.urgentSign != null">
|
|
|
+ urgent_sign = #{record.urgentSign,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.transactionType != null">
|
|
|
+ transaction_type = #{record.transactionType,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.entOrderCode != null">
|
|
|
+ ent_order_code = #{record.entOrderCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.useWay != null">
|
|
|
+ use_way = #{record.useWay,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.remark != null">
|
|
|
+ remark = #{record.remark,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.checkMark != null">
|
|
|
+ check_mark = #{record.checkMark,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.payMark != null">
|
|
|
+ pay_mark = #{record.payMark,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ </set>
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Update_By_Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </update>
|
|
|
+ <update id="updateByExample" parameterType="map">
|
|
|
+ update b_transfer_detail_request
|
|
|
+ set guid = #{record.guid,jdbcType=BIGINT},
|
|
|
+ fk_transfer_detail_id = #{record.fkTransferDetailId,jdbcType=BIGINT},
|
|
|
+ fk_user_id = #{record.fkUserId,jdbcType=BIGINT},
|
|
|
+ user_id = #{record.userId,jdbcType=VARCHAR},
|
|
|
+ submitter = #{record.submitter,jdbcType=VARCHAR},
|
|
|
+ authorizer = #{record.authorizer,jdbcType=VARCHAR},
|
|
|
+ cha_serial_no = #{record.chaSerialNo,jdbcType=VARCHAR},
|
|
|
+ ent_serial_no = #{record.entSerialNo,jdbcType=VARCHAR},
|
|
|
+ currency = #{record.currency,jdbcType=VARCHAR},
|
|
|
+ pay_amount = #{record.payAmount,jdbcType=DECIMAL},
|
|
|
+ pay_bank_name = #{record.payBankName,jdbcType=VARCHAR},
|
|
|
+ pay_account = #{record.payAccount,jdbcType=VARCHAR},
|
|
|
+ pay_name = #{record.payName,jdbcType=VARCHAR},
|
|
|
+ pay_date = #{record.payDate,jdbcType=VARCHAR},
|
|
|
+ pay_serial = #{record.paySerial,jdbcType=VARCHAR},
|
|
|
+ hand_fee_type = #{record.handFeeType,jdbcType=VARCHAR},
|
|
|
+ pay_status = #{record.payStatus,jdbcType=VARCHAR},
|
|
|
+ pay_msg = #{record.payMsg,jdbcType=VARCHAR},
|
|
|
+ pay_response_code = #{record.payResponseCode,jdbcType=VARCHAR},
|
|
|
+ fail_reson = #{record.failReson,jdbcType=VARCHAR},
|
|
|
+ account_money = #{record.accountMoney,jdbcType=DECIMAL},
|
|
|
+ hand_fee = #{record.handFee,jdbcType=DECIMAL},
|
|
|
+ post_fee = #{record.postFee,jdbcType=DECIMAL},
|
|
|
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
|
+ status = #{record.status,jdbcType=INTEGER},
|
|
|
+ serial_no = #{record.serialNo,jdbcType=VARCHAR},
|
|
|
+ service_id = #{record.serviceId,jdbcType=VARCHAR},
|
|
|
+ session_id = #{record.sessionId,jdbcType=VARCHAR},
|
|
|
+ req_time = #{record.reqTime,jdbcType=VARCHAR},
|
|
|
+ ret_code = #{record.retCode,jdbcType=VARCHAR},
|
|
|
+ error_msg = #{record.errorMsg,jdbcType=VARCHAR},
|
|
|
+ urgent_sign = #{record.urgentSign,jdbcType=VARCHAR},
|
|
|
+ transaction_type = #{record.transactionType,jdbcType=VARCHAR},
|
|
|
+ ent_order_code = #{record.entOrderCode,jdbcType=VARCHAR},
|
|
|
+ use_way = #{record.useWay,jdbcType=VARCHAR},
|
|
|
+ remark = #{record.remark,jdbcType=VARCHAR},
|
|
|
+ check_mark = #{record.checkMark,jdbcType=VARCHAR},
|
|
|
+ pay_mark = #{record.payMark,jdbcType=VARCHAR}
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Update_By_Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </update>
|
|
|
+ <update id="updateByPrimaryKeySelective" parameterType="com.hcloud.microserver.mbg.modul.BTransferDetailRequest">
|
|
|
+ update b_transfer_detail_request
|
|
|
+ <set>
|
|
|
+ <if test="fkTransferDetailId != null">
|
|
|
+ fk_transfer_detail_id = #{fkTransferDetailId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="fkUserId != null">
|
|
|
+ fk_user_id = #{fkUserId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="userId != null">
|
|
|
+ user_id = #{userId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="submitter != null">
|
|
|
+ submitter = #{submitter,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="authorizer != null">
|
|
|
+ authorizer = #{authorizer,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="chaSerialNo != null">
|
|
|
+ cha_serial_no = #{chaSerialNo,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="entSerialNo != null">
|
|
|
+ ent_serial_no = #{entSerialNo,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="currency != null">
|
|
|
+ currency = #{currency,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="payAmount != null">
|
|
|
+ pay_amount = #{payAmount,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="payBankName != null">
|
|
|
+ pay_bank_name = #{payBankName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="payAccount != null">
|
|
|
+ pay_account = #{payAccount,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="payName != null">
|
|
|
+ pay_name = #{payName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="payDate != null">
|
|
|
+ pay_date = #{payDate,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="paySerial != null">
|
|
|
+ pay_serial = #{paySerial,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="handFeeType != null">
|
|
|
+ hand_fee_type = #{handFeeType,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="payStatus != null">
|
|
|
+ pay_status = #{payStatus,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="payMsg != null">
|
|
|
+ pay_msg = #{payMsg,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="payResponseCode != null">
|
|
|
+ pay_response_code = #{payResponseCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="failReson != null">
|
|
|
+ fail_reson = #{failReson,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="accountMoney != null">
|
|
|
+ account_money = #{accountMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="handFee != null">
|
|
|
+ hand_fee = #{handFee,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="postFee != null">
|
|
|
+ post_fee = #{postFee,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null">
|
|
|
+ create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="status != null">
|
|
|
+ status = #{status,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="serialNo != null">
|
|
|
+ serial_no = #{serialNo,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="serviceId != null">
|
|
|
+ service_id = #{serviceId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="sessionId != null">
|
|
|
+ session_id = #{sessionId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="reqTime != null">
|
|
|
+ req_time = #{reqTime,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="retCode != null">
|
|
|
+ ret_code = #{retCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="errorMsg != null">
|
|
|
+ error_msg = #{errorMsg,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="urgentSign != null">
|
|
|
+ urgent_sign = #{urgentSign,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="transactionType != null">
|
|
|
+ transaction_type = #{transactionType,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="entOrderCode != null">
|
|
|
+ ent_order_code = #{entOrderCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="useWay != null">
|
|
|
+ use_way = #{useWay,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="remark != null">
|
|
|
+ remark = #{remark,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="checkMark != null">
|
|
|
+ check_mark = #{checkMark,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="payMark != null">
|
|
|
+ pay_mark = #{payMark,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ </set>
|
|
|
+ where guid = #{guid,jdbcType=BIGINT}
|
|
|
+ </update>
|
|
|
+ <update id="updateByPrimaryKey" parameterType="com.hcloud.microserver.mbg.modul.BTransferDetailRequest">
|
|
|
+ update b_transfer_detail_request
|
|
|
+ set fk_transfer_detail_id = #{fkTransferDetailId,jdbcType=BIGINT},
|
|
|
+ fk_user_id = #{fkUserId,jdbcType=BIGINT},
|
|
|
+ user_id = #{userId,jdbcType=VARCHAR},
|
|
|
+ submitter = #{submitter,jdbcType=VARCHAR},
|
|
|
+ authorizer = #{authorizer,jdbcType=VARCHAR},
|
|
|
+ cha_serial_no = #{chaSerialNo,jdbcType=VARCHAR},
|
|
|
+ ent_serial_no = #{entSerialNo,jdbcType=VARCHAR},
|
|
|
+ currency = #{currency,jdbcType=VARCHAR},
|
|
|
+ pay_amount = #{payAmount,jdbcType=DECIMAL},
|
|
|
+ pay_bank_name = #{payBankName,jdbcType=VARCHAR},
|
|
|
+ pay_account = #{payAccount,jdbcType=VARCHAR},
|
|
|
+ pay_name = #{payName,jdbcType=VARCHAR},
|
|
|
+ pay_date = #{payDate,jdbcType=VARCHAR},
|
|
|
+ pay_serial = #{paySerial,jdbcType=VARCHAR},
|
|
|
+ hand_fee_type = #{handFeeType,jdbcType=VARCHAR},
|
|
|
+ pay_status = #{payStatus,jdbcType=VARCHAR},
|
|
|
+ pay_msg = #{payMsg,jdbcType=VARCHAR},
|
|
|
+ pay_response_code = #{payResponseCode,jdbcType=VARCHAR},
|
|
|
+ fail_reson = #{failReson,jdbcType=VARCHAR},
|
|
|
+ account_money = #{accountMoney,jdbcType=DECIMAL},
|
|
|
+ hand_fee = #{handFee,jdbcType=DECIMAL},
|
|
|
+ post_fee = #{postFee,jdbcType=DECIMAL},
|
|
|
+ create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
+ status = #{status,jdbcType=INTEGER},
|
|
|
+ serial_no = #{serialNo,jdbcType=VARCHAR},
|
|
|
+ service_id = #{serviceId,jdbcType=VARCHAR},
|
|
|
+ session_id = #{sessionId,jdbcType=VARCHAR},
|
|
|
+ req_time = #{reqTime,jdbcType=VARCHAR},
|
|
|
+ ret_code = #{retCode,jdbcType=VARCHAR},
|
|
|
+ error_msg = #{errorMsg,jdbcType=VARCHAR},
|
|
|
+ urgent_sign = #{urgentSign,jdbcType=VARCHAR},
|
|
|
+ transaction_type = #{transactionType,jdbcType=VARCHAR},
|
|
|
+ ent_order_code = #{entOrderCode,jdbcType=VARCHAR},
|
|
|
+ use_way = #{useWay,jdbcType=VARCHAR},
|
|
|
+ remark = #{remark,jdbcType=VARCHAR},
|
|
|
+ check_mark = #{checkMark,jdbcType=VARCHAR},
|
|
|
+ pay_mark = #{payMark,jdbcType=VARCHAR}
|
|
|
+ where guid = #{guid,jdbcType=BIGINT}
|
|
|
+ </update>
|
|
|
+</mapper>
|