|
@@ -0,0 +1,430 @@
|
|
|
|
+<?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.idea.paymentManagement.mapper.BillPayLogMapper">
|
|
|
|
+ <resultMap id="BaseResultMap" type="com.idea.paymentManagement.model.BillPayLog">
|
|
|
|
+ <id column="id" jdbcType="VARCHAR" property="id" />
|
|
|
|
+ <result column="bank_name" jdbcType="VARCHAR" property="bankName" />
|
|
|
|
+ <result column="bank_branch_name" jdbcType="VARCHAR" property="bankBranchName" />
|
|
|
|
+ <result column="bank_number" jdbcType="CHAR" property="bankNumber" />
|
|
|
|
+ <result column="pay_money" jdbcType="DECIMAL" property="payMoney" />
|
|
|
|
+ <result column="pay_type" jdbcType="INTEGER" property="payType" />
|
|
|
|
+ <result column="pay_time" jdbcType="TIMESTAMP" property="payTime" />
|
|
|
|
+ <result column="payment_method" jdbcType="INTEGER" property="paymentMethod" />
|
|
|
|
+ <result column="status" jdbcType="INTEGER" property="status" />
|
|
|
|
+ <result column="created_by" jdbcType="VARCHAR" property="createdBy" />
|
|
|
|
+ <result column="created_at" jdbcType="TIMESTAMP" property="createdAt" />
|
|
|
|
+ <result column="updated_by" jdbcType="VARCHAR" property="updatedBy" />
|
|
|
|
+ <result column="updated_at" jdbcType="TIMESTAMP" property="updatedAt" />
|
|
|
|
+ <result column="remark" jdbcType="VARCHAR" property="remark" />
|
|
|
|
+ </resultMap>
|
|
|
|
+ <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.idea.paymentManagement.model.BillPayLog">
|
|
|
|
+ <result column="file_list" jdbcType="LONGVARCHAR" property="fileList" />
|
|
|
|
+ </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">
|
|
|
|
+ id, bank_name, bank_branch_name, bank_number, pay_money, pay_type, pay_time, payment_method,
|
|
|
|
+ status, created_by, created_at, updated_by, updated_at, remark
|
|
|
|
+ </sql>
|
|
|
|
+ <sql id="Blob_Column_List">
|
|
|
|
+ file_list
|
|
|
|
+ </sql>
|
|
|
|
+ <select id="selectByExampleWithBLOBs" parameterType="com.idea.paymentManagement.model.BillPayLogExample" resultMap="ResultMapWithBLOBs">
|
|
|
|
+ select
|
|
|
|
+ <if test="distinct">
|
|
|
|
+ distinct
|
|
|
|
+ </if>
|
|
|
|
+ <include refid="Base_Column_List" />
|
|
|
|
+ ,
|
|
|
|
+ <include refid="Blob_Column_List" />
|
|
|
|
+ from bill_pay_log
|
|
|
|
+ <if test="_parameter != null">
|
|
|
|
+ <include refid="Example_Where_Clause" />
|
|
|
|
+ </if>
|
|
|
|
+ <if test="orderByClause != null">
|
|
|
|
+ order by ${orderByClause}
|
|
|
|
+ </if>
|
|
|
|
+ </select>
|
|
|
|
+ <select id="selectByExample" parameterType="com.idea.paymentManagement.model.BillPayLogExample" resultMap="BaseResultMap">
|
|
|
|
+ select
|
|
|
|
+ <if test="distinct">
|
|
|
|
+ distinct
|
|
|
|
+ </if>
|
|
|
|
+ <include refid="Base_Column_List" />
|
|
|
|
+ from bill_pay_log
|
|
|
|
+ <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.String" resultMap="ResultMapWithBLOBs">
|
|
|
|
+ select
|
|
|
|
+ <include refid="Base_Column_List" />
|
|
|
|
+ ,
|
|
|
|
+ <include refid="Blob_Column_List" />
|
|
|
|
+ from bill_pay_log
|
|
|
|
+ where id = #{id,jdbcType=VARCHAR}
|
|
|
|
+ </select>
|
|
|
|
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
|
|
|
+ delete from bill_pay_log
|
|
|
|
+ where id = #{id,jdbcType=VARCHAR}
|
|
|
|
+ </delete>
|
|
|
|
+ <delete id="deleteByExample" parameterType="com.idea.paymentManagement.model.BillPayLogExample">
|
|
|
|
+ delete from bill_pay_log
|
|
|
|
+ <if test="_parameter != null">
|
|
|
|
+ <include refid="Example_Where_Clause" />
|
|
|
|
+ </if>
|
|
|
|
+ </delete>
|
|
|
|
+ <insert id="insert" parameterType="com.idea.paymentManagement.model.BillPayLog">
|
|
|
|
+ insert into bill_pay_log (id, bank_name, bank_branch_name,
|
|
|
|
+ bank_number, pay_money, pay_type,
|
|
|
|
+ pay_time, payment_method, status,
|
|
|
|
+ created_by, created_at, updated_by,
|
|
|
|
+ updated_at, remark, file_list
|
|
|
|
+ )
|
|
|
|
+ values (#{id,jdbcType=VARCHAR}, #{bankName,jdbcType=VARCHAR}, #{bankBranchName,jdbcType=VARCHAR},
|
|
|
|
+ #{bankNumber,jdbcType=CHAR}, #{payMoney,jdbcType=DECIMAL}, #{payType,jdbcType=INTEGER},
|
|
|
|
+ #{payTime,jdbcType=TIMESTAMP}, #{paymentMethod,jdbcType=INTEGER}, #{status,jdbcType=INTEGER},
|
|
|
|
+ #{createdBy,jdbcType=VARCHAR}, #{createdAt,jdbcType=TIMESTAMP}, #{updatedBy,jdbcType=VARCHAR},
|
|
|
|
+ #{updatedAt,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}, #{fileList,jdbcType=LONGVARCHAR}
|
|
|
|
+ )
|
|
|
|
+ </insert>
|
|
|
|
+ <insert id="insertSelective" parameterType="com.idea.paymentManagement.model.BillPayLog">
|
|
|
|
+ insert into bill_pay_log
|
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
|
+ <if test="id != null">
|
|
|
|
+ id,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="bankName != null">
|
|
|
|
+ bank_name,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="bankBranchName != null">
|
|
|
|
+ bank_branch_name,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="bankNumber != null">
|
|
|
|
+ bank_number,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="payMoney != null">
|
|
|
|
+ pay_money,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="payType != null">
|
|
|
|
+ pay_type,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="payTime != null">
|
|
|
|
+ pay_time,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="paymentMethod != null">
|
|
|
|
+ payment_method,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="status != null">
|
|
|
|
+ status,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="createdBy != null">
|
|
|
|
+ created_by,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="createdAt != null">
|
|
|
|
+ created_at,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="updatedBy != null">
|
|
|
|
+ updated_by,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="updatedAt != null">
|
|
|
|
+ updated_at,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="remark != null">
|
|
|
|
+ remark,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="fileList != null">
|
|
|
|
+ file_list,
|
|
|
|
+ </if>
|
|
|
|
+ </trim>
|
|
|
|
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
+ <if test="id != null">
|
|
|
|
+ #{id,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="bankName != null">
|
|
|
|
+ #{bankName,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="bankBranchName != null">
|
|
|
|
+ #{bankBranchName,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="bankNumber != null">
|
|
|
|
+ #{bankNumber,jdbcType=CHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="payMoney != null">
|
|
|
|
+ #{payMoney,jdbcType=DECIMAL},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="payType != null">
|
|
|
|
+ #{payType,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="payTime != null">
|
|
|
|
+ #{payTime,jdbcType=TIMESTAMP},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="paymentMethod != null">
|
|
|
|
+ #{paymentMethod,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="status != null">
|
|
|
|
+ #{status,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="createdBy != null">
|
|
|
|
+ #{createdBy,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="createdAt != null">
|
|
|
|
+ #{createdAt,jdbcType=TIMESTAMP},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="updatedBy != null">
|
|
|
|
+ #{updatedBy,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="updatedAt != null">
|
|
|
|
+ #{updatedAt,jdbcType=TIMESTAMP},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="remark != null">
|
|
|
|
+ #{remark,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="fileList != null">
|
|
|
|
+ #{fileList,jdbcType=LONGVARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ </trim>
|
|
|
|
+ </insert>
|
|
|
|
+ <select id="countByExample" parameterType="com.idea.paymentManagement.model.BillPayLogExample" resultType="java.lang.Long">
|
|
|
|
+ select count(*) from bill_pay_log
|
|
|
|
+ <if test="_parameter != null">
|
|
|
|
+ <include refid="Example_Where_Clause" />
|
|
|
|
+ </if>
|
|
|
|
+ </select>
|
|
|
|
+ <update id="updateByExampleSelective" parameterType="map">
|
|
|
|
+ update bill_pay_log
|
|
|
|
+ <set>
|
|
|
|
+ <if test="record.id != null">
|
|
|
|
+ id = #{record.id,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="record.bankName != null">
|
|
|
|
+ bank_name = #{record.bankName,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="record.bankBranchName != null">
|
|
|
|
+ bank_branch_name = #{record.bankBranchName,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="record.bankNumber != null">
|
|
|
|
+ bank_number = #{record.bankNumber,jdbcType=CHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="record.payMoney != null">
|
|
|
|
+ pay_money = #{record.payMoney,jdbcType=DECIMAL},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="record.payType != null">
|
|
|
|
+ pay_type = #{record.payType,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="record.payTime != null">
|
|
|
|
+ pay_time = #{record.payTime,jdbcType=TIMESTAMP},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="record.paymentMethod != null">
|
|
|
|
+ payment_method = #{record.paymentMethod,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="record.status != null">
|
|
|
|
+ status = #{record.status,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="record.createdBy != null">
|
|
|
|
+ created_by = #{record.createdBy,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="record.createdAt != null">
|
|
|
|
+ created_at = #{record.createdAt,jdbcType=TIMESTAMP},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="record.updatedBy != null">
|
|
|
|
+ updated_by = #{record.updatedBy,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="record.updatedAt != null">
|
|
|
|
+ updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="record.remark != null">
|
|
|
|
+ remark = #{record.remark,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="record.fileList != null">
|
|
|
|
+ file_list = #{record.fileList,jdbcType=LONGVARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ </set>
|
|
|
|
+ <if test="_parameter != null">
|
|
|
|
+ <include refid="Update_By_Example_Where_Clause" />
|
|
|
|
+ </if>
|
|
|
|
+ </update>
|
|
|
|
+ <update id="updateByExampleWithBLOBs" parameterType="map">
|
|
|
|
+ update bill_pay_log
|
|
|
|
+ set id = #{record.id,jdbcType=VARCHAR},
|
|
|
|
+ bank_name = #{record.bankName,jdbcType=VARCHAR},
|
|
|
|
+ bank_branch_name = #{record.bankBranchName,jdbcType=VARCHAR},
|
|
|
|
+ bank_number = #{record.bankNumber,jdbcType=CHAR},
|
|
|
|
+ pay_money = #{record.payMoney,jdbcType=DECIMAL},
|
|
|
|
+ pay_type = #{record.payType,jdbcType=INTEGER},
|
|
|
|
+ pay_time = #{record.payTime,jdbcType=TIMESTAMP},
|
|
|
|
+ payment_method = #{record.paymentMethod,jdbcType=INTEGER},
|
|
|
|
+ status = #{record.status,jdbcType=INTEGER},
|
|
|
|
+ created_by = #{record.createdBy,jdbcType=VARCHAR},
|
|
|
|
+ created_at = #{record.createdAt,jdbcType=TIMESTAMP},
|
|
|
|
+ updated_by = #{record.updatedBy,jdbcType=VARCHAR},
|
|
|
|
+ updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
|
|
|
|
+ remark = #{record.remark,jdbcType=VARCHAR},
|
|
|
|
+ file_list = #{record.fileList,jdbcType=LONGVARCHAR}
|
|
|
|
+ <if test="_parameter != null">
|
|
|
|
+ <include refid="Update_By_Example_Where_Clause" />
|
|
|
|
+ </if>
|
|
|
|
+ </update>
|
|
|
|
+ <update id="updateByExample" parameterType="map">
|
|
|
|
+ update bill_pay_log
|
|
|
|
+ set id = #{record.id,jdbcType=VARCHAR},
|
|
|
|
+ bank_name = #{record.bankName,jdbcType=VARCHAR},
|
|
|
|
+ bank_branch_name = #{record.bankBranchName,jdbcType=VARCHAR},
|
|
|
|
+ bank_number = #{record.bankNumber,jdbcType=CHAR},
|
|
|
|
+ pay_money = #{record.payMoney,jdbcType=DECIMAL},
|
|
|
|
+ pay_type = #{record.payType,jdbcType=INTEGER},
|
|
|
|
+ pay_time = #{record.payTime,jdbcType=TIMESTAMP},
|
|
|
|
+ payment_method = #{record.paymentMethod,jdbcType=INTEGER},
|
|
|
|
+ status = #{record.status,jdbcType=INTEGER},
|
|
|
|
+ created_by = #{record.createdBy,jdbcType=VARCHAR},
|
|
|
|
+ created_at = #{record.createdAt,jdbcType=TIMESTAMP},
|
|
|
|
+ updated_by = #{record.updatedBy,jdbcType=VARCHAR},
|
|
|
|
+ updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
|
|
|
|
+ remark = #{record.remark,jdbcType=VARCHAR}
|
|
|
|
+ <if test="_parameter != null">
|
|
|
|
+ <include refid="Update_By_Example_Where_Clause" />
|
|
|
|
+ </if>
|
|
|
|
+ </update>
|
|
|
|
+ <update id="updateByPrimaryKeySelective" parameterType="com.idea.paymentManagement.model.BillPayLog">
|
|
|
|
+ update bill_pay_log
|
|
|
|
+ <set>
|
|
|
|
+ <if test="bankName != null">
|
|
|
|
+ bank_name = #{bankName,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="bankBranchName != null">
|
|
|
|
+ bank_branch_name = #{bankBranchName,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="bankNumber != null">
|
|
|
|
+ bank_number = #{bankNumber,jdbcType=CHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="payMoney != null">
|
|
|
|
+ pay_money = #{payMoney,jdbcType=DECIMAL},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="payType != null">
|
|
|
|
+ pay_type = #{payType,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="payTime != null">
|
|
|
|
+ pay_time = #{payTime,jdbcType=TIMESTAMP},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="paymentMethod != null">
|
|
|
|
+ payment_method = #{paymentMethod,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="status != null">
|
|
|
|
+ status = #{status,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="createdBy != null">
|
|
|
|
+ created_by = #{createdBy,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="createdAt != null">
|
|
|
|
+ created_at = #{createdAt,jdbcType=TIMESTAMP},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="updatedBy != null">
|
|
|
|
+ updated_by = #{updatedBy,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="updatedAt != null">
|
|
|
|
+ updated_at = #{updatedAt,jdbcType=TIMESTAMP},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="remark != null">
|
|
|
|
+ remark = #{remark,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="fileList != null">
|
|
|
|
+ file_list = #{fileList,jdbcType=LONGVARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ </set>
|
|
|
|
+ where id = #{id,jdbcType=VARCHAR}
|
|
|
|
+ </update>
|
|
|
|
+ <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.idea.paymentManagement.model.BillPayLog">
|
|
|
|
+ update bill_pay_log
|
|
|
|
+ set bank_name = #{bankName,jdbcType=VARCHAR},
|
|
|
|
+ bank_branch_name = #{bankBranchName,jdbcType=VARCHAR},
|
|
|
|
+ bank_number = #{bankNumber,jdbcType=CHAR},
|
|
|
|
+ pay_money = #{payMoney,jdbcType=DECIMAL},
|
|
|
|
+ pay_type = #{payType,jdbcType=INTEGER},
|
|
|
|
+ pay_time = #{payTime,jdbcType=TIMESTAMP},
|
|
|
|
+ payment_method = #{paymentMethod,jdbcType=INTEGER},
|
|
|
|
+ status = #{status,jdbcType=INTEGER},
|
|
|
|
+ created_by = #{createdBy,jdbcType=VARCHAR},
|
|
|
|
+ created_at = #{createdAt,jdbcType=TIMESTAMP},
|
|
|
|
+ updated_by = #{updatedBy,jdbcType=VARCHAR},
|
|
|
|
+ updated_at = #{updatedAt,jdbcType=TIMESTAMP},
|
|
|
|
+ remark = #{remark,jdbcType=VARCHAR},
|
|
|
|
+ file_list = #{fileList,jdbcType=LONGVARCHAR}
|
|
|
|
+ where id = #{id,jdbcType=VARCHAR}
|
|
|
|
+ </update>
|
|
|
|
+ <update id="updateByPrimaryKey" parameterType="com.idea.paymentManagement.model.BillPayLog">
|
|
|
|
+ update bill_pay_log
|
|
|
|
+ set bank_name = #{bankName,jdbcType=VARCHAR},
|
|
|
|
+ bank_branch_name = #{bankBranchName,jdbcType=VARCHAR},
|
|
|
|
+ bank_number = #{bankNumber,jdbcType=CHAR},
|
|
|
|
+ pay_money = #{payMoney,jdbcType=DECIMAL},
|
|
|
|
+ pay_type = #{payType,jdbcType=INTEGER},
|
|
|
|
+ pay_time = #{payTime,jdbcType=TIMESTAMP},
|
|
|
|
+ payment_method = #{paymentMethod,jdbcType=INTEGER},
|
|
|
|
+ status = #{status,jdbcType=INTEGER},
|
|
|
|
+ created_by = #{createdBy,jdbcType=VARCHAR},
|
|
|
|
+ created_at = #{createdAt,jdbcType=TIMESTAMP},
|
|
|
|
+ updated_by = #{updatedBy,jdbcType=VARCHAR},
|
|
|
|
+ updated_at = #{updatedAt,jdbcType=TIMESTAMP},
|
|
|
|
+ remark = #{remark,jdbcType=VARCHAR}
|
|
|
|
+ where id = #{id,jdbcType=VARCHAR}
|
|
|
|
+ </update>
|
|
|
|
+</mapper>
|