<?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.boco.nbd.wios.manage.mapper.def.UserPayBillDeleteMapper" > <resultMap id="BaseResultMap" type="com.boco.nbd.wios.manage.entity.bo.UserPayBillDelete" > <id column="id" property="id" jdbcType="VARCHAR" /> <result column="user_id" property="userId" jdbcType="VARCHAR" /> <result column="user_phone" property="userPhone" jdbcType="VARCHAR" /> <result column="amount" property="amount" jdbcType="DECIMAL" /> <result column="info" property="info" jdbcType="VARCHAR" /> <result column="pay_type" property="payType" jdbcType="INTEGER" /> <result column="business_type" property="businessType" jdbcType="INTEGER" /> <result column="pay_account" property="payAccount" jdbcType="VARCHAR" /> <result column="pay_trade_no" property="payTradeNo" jdbcType="VARCHAR" /> <result column="pay_time" property="payTime" jdbcType="TIMESTAMP" /> <result column="ref_id" property="refId" jdbcType="VARCHAR" /> <result column="status" property="status" jdbcType="INTEGER" /> <result column="source" property="source" jdbcType="INTEGER" /> <result column="create_account" property="createAccount" jdbcType="VARCHAR" /> <result column="create_time" property="createTime" jdbcType="TIMESTAMP" /> <result column="modify_account" property="modifyAccount" jdbcType="VARCHAR" /> <result column="modify_time" property="modifyTime" jdbcType="TIMESTAMP" /> </resultMap> <sql id="Base_Column_List" > id, user_id, user_phone, amount, info, pay_type, business_type, pay_account, pay_trade_no, pay_time, ref_id, status, source, create_account, create_time, modify_account, modify_time </sql> <insert id="insert" parameterType="com.boco.nbd.wios.manage.entity.bo.UserPayBillDelete" > insert into t_user_pay_bill_delete (id, user_id, user_phone, amount, info, pay_type, business_type, pay_account, pay_trade_no, pay_time, ref_id, status, source, create_account, create_time, modify_account, modify_time) values (#{id,jdbcType=VARCHAR}, #{userId,jdbcType=VARCHAR}, #{userPhone,jdbcType=VARCHAR}, #{amount,jdbcType=DECIMAL}, #{info,jdbcType=VARCHAR}, #{payType,jdbcType=INTEGER}, #{businessType,jdbcType=INTEGER}, #{payAccount,jdbcType=VARCHAR}, #{payTradeNo,jdbcType=VARCHAR}, #{payTime,jdbcType=TIMESTAMP}, #{refId,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{source,jdbcType=INTEGER}, #{createAccount,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{modifyAccount,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP}) </insert> <insert id="insertSelective" parameterType="com.boco.nbd.wios.manage.entity.bo.UserPayBillDelete" > insert into t_user_pay_bill_delete <trim prefix="(" suffix=")" suffixOverrides="," > <if test="id != null" > id, </if> <if test="userId != null" > user_id, </if> <if test="userPhone != null" > user_phone, </if> <if test="amount != null" > amount, </if> <if test="info != null" > info, </if> <if test="payType != null" > pay_type, </if> <if test="businessType != null" > business_type, </if> <if test="payAccount != null" > pay_account, </if> <if test="payTradeNo != null" > pay_trade_no, </if> <if test="payTime != null" > pay_time, </if> <if test="refId != null" > ref_id, </if> <if test="status != null" > status, </if> <if test="source != null" > source, </if> <if test="createAccount != null" > create_account, </if> <if test="createTime != null" > create_time, </if> <if test="modifyAccount != null" > modify_account, </if> <if test="modifyTime != null" > modify_time, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides="," > <if test="id != null" > #{id,jdbcType=VARCHAR}, </if> <if test="userId != null" > #{userId,jdbcType=VARCHAR}, </if> <if test="userPhone != null" > #{userPhone,jdbcType=VARCHAR}, </if> <if test="amount != null" > #{amount,jdbcType=DECIMAL}, </if> <if test="info != null" > #{info,jdbcType=VARCHAR}, </if> <if test="payType != null" > #{payType,jdbcType=INTEGER}, </if> <if test="businessType != null" > #{businessType,jdbcType=INTEGER}, </if> <if test="payAccount != null" > #{payAccount,jdbcType=VARCHAR}, </if> <if test="payTradeNo != null" > #{payTradeNo,jdbcType=VARCHAR}, </if> <if test="payTime != null" > #{payTime,jdbcType=TIMESTAMP}, </if> <if test="refId != null" > #{refId,jdbcType=VARCHAR}, </if> <if test="status != null" > #{status,jdbcType=INTEGER}, </if> <if test="source != null" > #{source,jdbcType=INTEGER}, </if> <if test="createAccount != null" > #{createAccount,jdbcType=VARCHAR}, </if> <if test="createTime != null" > #{createTime,jdbcType=TIMESTAMP}, </if> <if test="modifyAccount != null" > #{modifyAccount,jdbcType=VARCHAR}, </if> <if test="modifyTime != null" > #{modifyTime,jdbcType=TIMESTAMP}, </if> </trim> </insert> </mapper>