|
@@ -1,48 +1,50 @@
|
|
|
-<?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.minpay.db.table.mapper.VmAccountMapper" >
|
|
|
|
|
- <resultMap id="BaseResultMap" type="com.minpay.db.table.model.VmAccount" >
|
|
|
|
|
|
|
+<?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.minpay.db.table.mapper.VmAccountMapper">
|
|
|
|
|
+ <resultMap id="BaseResultMap" type="com.minpay.db.table.model.VmAccount">
|
|
|
<!--
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
-->
|
|
|
- <id column="ACT_ID" property="id" jdbcType="VARCHAR" />
|
|
|
|
|
- <result column="ACT_CHANNEL" property="channel" jdbcType="VARCHAR" />
|
|
|
|
|
- <result column="ACT_USRID" property="usrid" jdbcType="VARCHAR" />
|
|
|
|
|
- <result column="ACT_TYPE" property="type" jdbcType="VARCHAR" />
|
|
|
|
|
- <result column="ACT_NAME" property="name" jdbcType="VARCHAR" />
|
|
|
|
|
- <result column="ACT_NUMBER" property="number" jdbcType="VARCHAR" />
|
|
|
|
|
- <result column="ACT_AMT" property="amt" jdbcType="VARCHAR" />
|
|
|
|
|
- <result column="ACT_AVA_AMT" property="avaAmt" jdbcType="VARCHAR" />
|
|
|
|
|
- <result column="ACT_CREATE_USER" property="createUser" jdbcType="VARCHAR" />
|
|
|
|
|
- <result column="ACT_CREATE_TIME" property="createTime" jdbcType="VARCHAR" />
|
|
|
|
|
- <result column="ACT_MODIFY_USER" property="modifyUser" jdbcType="VARCHAR" />
|
|
|
|
|
- <result column="ACT_MODIFY_TIME" property="modifyTime" jdbcType="VARCHAR" />
|
|
|
|
|
- <result column="ACT_STATE" property="state" jdbcType="VARCHAR" />
|
|
|
|
|
|
|
+ <id column="ACT_ID" jdbcType="VARCHAR" property="id" />
|
|
|
|
|
+ <result column="ACT_CHANNEL" jdbcType="VARCHAR" property="channel" />
|
|
|
|
|
+ <result column="ACT_USRID" jdbcType="VARCHAR" property="usrid" />
|
|
|
|
|
+ <result column="ACT_TYPE" jdbcType="VARCHAR" property="type" />
|
|
|
|
|
+ <result column="ACT_NAME" jdbcType="VARCHAR" property="name" />
|
|
|
|
|
+ <result column="ACT_NUMBER" jdbcType="VARCHAR" property="number" />
|
|
|
|
|
+ <result column="ACT_AMT" jdbcType="VARCHAR" property="amt" />
|
|
|
|
|
+ <result column="ACT_AVA_AMT" jdbcType="VARCHAR" property="avaAmt" />
|
|
|
|
|
+ <result column="ACT_CREATE_USER" jdbcType="VARCHAR" property="createUser" />
|
|
|
|
|
+ <result column="ACT_CREATE_TIME" jdbcType="VARCHAR" property="createTime" />
|
|
|
|
|
+ <result column="ACT_MODIFY_USER" jdbcType="VARCHAR" property="modifyUser" />
|
|
|
|
|
+ <result column="ACT_MODIFY_TIME" jdbcType="VARCHAR" property="modifyTime" />
|
|
|
|
|
+ <result column="ACT_STATE" jdbcType="VARCHAR" property="state" />
|
|
|
|
|
+ <result column="ACT_EQUIPMENT_ID" jdbcType="VARCHAR" property="equipmentId" />
|
|
|
|
|
+ <result column="ACT_ISBRANCH" jdbcType="VARCHAR" property="isbranch" />
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
- <sql id="Example_Where_Clause" >
|
|
|
|
|
|
|
+ <sql id="Example_Where_Clause">
|
|
|
<!--
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
-->
|
|
|
- <where >
|
|
|
|
|
- <foreach collection="oredCriteria" item="criteria" separator="or" >
|
|
|
|
|
- <if test="criteria.valid" >
|
|
|
|
|
- <trim prefix="(" suffix=")" prefixOverrides="and" >
|
|
|
|
|
- <foreach collection="criteria.criteria" item="criterion" >
|
|
|
|
|
- <choose >
|
|
|
|
|
- <when test="criterion.noValue" >
|
|
|
|
|
|
|
+ <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}
|
|
and ${criterion.condition}
|
|
|
</when>
|
|
</when>
|
|
|
- <when test="criterion.singleValue" >
|
|
|
|
|
|
|
+ <when test="criterion.singleValue">
|
|
|
and ${criterion.condition} #{criterion.value}
|
|
and ${criterion.condition} #{criterion.value}
|
|
|
</when>
|
|
</when>
|
|
|
- <when test="criterion.betweenValue" >
|
|
|
|
|
|
|
+ <when test="criterion.betweenValue">
|
|
|
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
|
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
|
|
</when>
|
|
</when>
|
|
|
- <when test="criterion.listValue" >
|
|
|
|
|
|
|
+ <when test="criterion.listValue">
|
|
|
and ${criterion.condition}
|
|
and ${criterion.condition}
|
|
|
- <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
|
|
|
|
|
|
|
+ <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
|
|
#{listItem}
|
|
#{listItem}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
</when>
|
|
</when>
|
|
@@ -53,29 +55,29 @@
|
|
|
</foreach>
|
|
</foreach>
|
|
|
</where>
|
|
</where>
|
|
|
</sql>
|
|
</sql>
|
|
|
- <sql id="Update_By_Example_Where_Clause" >
|
|
|
|
|
|
|
+ <sql id="Update_By_Example_Where_Clause">
|
|
|
<!--
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
-->
|
|
|
- <where >
|
|
|
|
|
- <foreach collection="example.oredCriteria" item="criteria" separator="or" >
|
|
|
|
|
- <if test="criteria.valid" >
|
|
|
|
|
- <trim prefix="(" suffix=")" prefixOverrides="and" >
|
|
|
|
|
- <foreach collection="criteria.criteria" item="criterion" >
|
|
|
|
|
- <choose >
|
|
|
|
|
- <when test="criterion.noValue" >
|
|
|
|
|
|
|
+ <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}
|
|
and ${criterion.condition}
|
|
|
</when>
|
|
</when>
|
|
|
- <when test="criterion.singleValue" >
|
|
|
|
|
|
|
+ <when test="criterion.singleValue">
|
|
|
and ${criterion.condition} #{criterion.value}
|
|
and ${criterion.condition} #{criterion.value}
|
|
|
</when>
|
|
</when>
|
|
|
- <when test="criterion.betweenValue" >
|
|
|
|
|
|
|
+ <when test="criterion.betweenValue">
|
|
|
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
|
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
|
|
</when>
|
|
</when>
|
|
|
- <when test="criterion.listValue" >
|
|
|
|
|
|
|
+ <when test="criterion.listValue">
|
|
|
and ${criterion.condition}
|
|
and ${criterion.condition}
|
|
|
- <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
|
|
|
|
|
|
|
+ <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
|
|
#{listItem}
|
|
#{listItem}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
</when>
|
|
</when>
|
|
@@ -86,33 +88,34 @@
|
|
|
</foreach>
|
|
</foreach>
|
|
|
</where>
|
|
</where>
|
|
|
</sql>
|
|
</sql>
|
|
|
- <sql id="Base_Column_List" >
|
|
|
|
|
|
|
+ <sql id="Base_Column_List">
|
|
|
<!--
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
-->
|
|
|
ACT_ID, ACT_CHANNEL, ACT_USRID, ACT_TYPE, ACT_NAME, ACT_NUMBER, ACT_AMT, ACT_AVA_AMT,
|
|
ACT_ID, ACT_CHANNEL, ACT_USRID, ACT_TYPE, ACT_NAME, ACT_NUMBER, ACT_AMT, ACT_AVA_AMT,
|
|
|
- ACT_CREATE_USER, ACT_CREATE_TIME, ACT_MODIFY_USER, ACT_MODIFY_TIME, ACT_STATE
|
|
|
|
|
|
|
+ ACT_CREATE_USER, ACT_CREATE_TIME, ACT_MODIFY_USER, ACT_MODIFY_TIME, ACT_STATE, ACT_EQUIPMENT_ID,
|
|
|
|
|
+ ACT_ISBRANCH
|
|
|
</sql>
|
|
</sql>
|
|
|
- <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.minpay.db.table.model.VmAccountExample" >
|
|
|
|
|
|
|
+ <select id="selectByExample" parameterType="com.minpay.db.table.model.VmAccountExample" resultMap="BaseResultMap">
|
|
|
<!--
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
-->
|
|
|
select
|
|
select
|
|
|
- <if test="distinct" >
|
|
|
|
|
|
|
+ <if test="distinct">
|
|
|
distinct
|
|
distinct
|
|
|
</if>
|
|
</if>
|
|
|
<include refid="Base_Column_List" />
|
|
<include refid="Base_Column_List" />
|
|
|
from vm_account
|
|
from vm_account
|
|
|
- <if test="_parameter != null" >
|
|
|
|
|
|
|
+ <if test="_parameter != null">
|
|
|
<include refid="Example_Where_Clause" />
|
|
<include refid="Example_Where_Clause" />
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="orderByClause != null" >
|
|
|
|
|
|
|
+ <if test="orderByClause != null">
|
|
|
order by ${orderByClause}
|
|
order by ${orderByClause}
|
|
|
</if>
|
|
</if>
|
|
|
</select>
|
|
</select>
|
|
|
- <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
|
|
|
|
|
|
|
+ <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
|
|
|
<!--
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
@@ -122,7 +125,7 @@
|
|
|
from vm_account
|
|
from vm_account
|
|
|
where ACT_ID = #{id,jdbcType=VARCHAR}
|
|
where ACT_ID = #{id,jdbcType=VARCHAR}
|
|
|
</select>
|
|
</select>
|
|
|
- <delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
|
|
|
|
|
|
|
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
|
|
<!--
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
@@ -130,17 +133,17 @@
|
|
|
delete from vm_account
|
|
delete from vm_account
|
|
|
where ACT_ID = #{id,jdbcType=VARCHAR}
|
|
where ACT_ID = #{id,jdbcType=VARCHAR}
|
|
|
</delete>
|
|
</delete>
|
|
|
- <delete id="deleteByExample" parameterType="com.minpay.db.table.model.VmAccountExample" >
|
|
|
|
|
|
|
+ <delete id="deleteByExample" parameterType="com.minpay.db.table.model.VmAccountExample">
|
|
|
<!--
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
-->
|
|
|
delete from vm_account
|
|
delete from vm_account
|
|
|
- <if test="_parameter != null" >
|
|
|
|
|
|
|
+ <if test="_parameter != null">
|
|
|
<include refid="Example_Where_Clause" />
|
|
<include refid="Example_Where_Clause" />
|
|
|
</if>
|
|
</if>
|
|
|
</delete>
|
|
</delete>
|
|
|
- <insert id="insert" parameterType="com.minpay.db.table.model.VmAccount" >
|
|
|
|
|
|
|
+ <insert id="insert" parameterType="com.minpay.db.table.model.VmAccount">
|
|
|
<!--
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
@@ -149,164 +152,184 @@
|
|
|
ACT_TYPE, ACT_NAME, ACT_NUMBER,
|
|
ACT_TYPE, ACT_NAME, ACT_NUMBER,
|
|
|
ACT_AMT, ACT_AVA_AMT, ACT_CREATE_USER,
|
|
ACT_AMT, ACT_AVA_AMT, ACT_CREATE_USER,
|
|
|
ACT_CREATE_TIME, ACT_MODIFY_USER, ACT_MODIFY_TIME,
|
|
ACT_CREATE_TIME, ACT_MODIFY_USER, ACT_MODIFY_TIME,
|
|
|
- ACT_STATE)
|
|
|
|
|
|
|
+ ACT_STATE, ACT_EQUIPMENT_ID, ACT_ISBRANCH
|
|
|
|
|
+ )
|
|
|
values (#{id,jdbcType=VARCHAR}, #{channel,jdbcType=VARCHAR}, #{usrid,jdbcType=VARCHAR},
|
|
values (#{id,jdbcType=VARCHAR}, #{channel,jdbcType=VARCHAR}, #{usrid,jdbcType=VARCHAR},
|
|
|
#{type,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{number,jdbcType=VARCHAR},
|
|
#{type,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{number,jdbcType=VARCHAR},
|
|
|
#{amt,jdbcType=VARCHAR}, #{avaAmt,jdbcType=VARCHAR}, #{createUser,jdbcType=VARCHAR},
|
|
#{amt,jdbcType=VARCHAR}, #{avaAmt,jdbcType=VARCHAR}, #{createUser,jdbcType=VARCHAR},
|
|
|
#{createTime,jdbcType=VARCHAR}, #{modifyUser,jdbcType=VARCHAR}, #{modifyTime,jdbcType=VARCHAR},
|
|
#{createTime,jdbcType=VARCHAR}, #{modifyUser,jdbcType=VARCHAR}, #{modifyTime,jdbcType=VARCHAR},
|
|
|
- #{state,jdbcType=VARCHAR})
|
|
|
|
|
|
|
+ #{state,jdbcType=VARCHAR}, #{equipmentId,jdbcType=VARCHAR}, #{isbranch,jdbcType=VARCHAR}
|
|
|
|
|
+ )
|
|
|
</insert>
|
|
</insert>
|
|
|
- <insert id="insertSelective" parameterType="com.minpay.db.table.model.VmAccount" >
|
|
|
|
|
|
|
+ <insert id="insertSelective" parameterType="com.minpay.db.table.model.VmAccount">
|
|
|
<!--
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
-->
|
|
|
insert into vm_account
|
|
insert into vm_account
|
|
|
- <trim prefix="(" suffix=")" suffixOverrides="," >
|
|
|
|
|
- <if test="id != null" >
|
|
|
|
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
|
|
+ <if test="id != null">
|
|
|
ACT_ID,
|
|
ACT_ID,
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="channel != null" >
|
|
|
|
|
|
|
+ <if test="channel != null">
|
|
|
ACT_CHANNEL,
|
|
ACT_CHANNEL,
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="usrid != null" >
|
|
|
|
|
|
|
+ <if test="usrid != null">
|
|
|
ACT_USRID,
|
|
ACT_USRID,
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="type != null" >
|
|
|
|
|
|
|
+ <if test="type != null">
|
|
|
ACT_TYPE,
|
|
ACT_TYPE,
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="name != null" >
|
|
|
|
|
|
|
+ <if test="name != null">
|
|
|
ACT_NAME,
|
|
ACT_NAME,
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="number != null" >
|
|
|
|
|
|
|
+ <if test="number != null">
|
|
|
ACT_NUMBER,
|
|
ACT_NUMBER,
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="amt != null" >
|
|
|
|
|
|
|
+ <if test="amt != null">
|
|
|
ACT_AMT,
|
|
ACT_AMT,
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="avaAmt != null" >
|
|
|
|
|
|
|
+ <if test="avaAmt != null">
|
|
|
ACT_AVA_AMT,
|
|
ACT_AVA_AMT,
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="createUser != null" >
|
|
|
|
|
|
|
+ <if test="createUser != null">
|
|
|
ACT_CREATE_USER,
|
|
ACT_CREATE_USER,
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="createTime != null" >
|
|
|
|
|
|
|
+ <if test="createTime != null">
|
|
|
ACT_CREATE_TIME,
|
|
ACT_CREATE_TIME,
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="modifyUser != null" >
|
|
|
|
|
|
|
+ <if test="modifyUser != null">
|
|
|
ACT_MODIFY_USER,
|
|
ACT_MODIFY_USER,
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="modifyTime != null" >
|
|
|
|
|
|
|
+ <if test="modifyTime != null">
|
|
|
ACT_MODIFY_TIME,
|
|
ACT_MODIFY_TIME,
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="state != null" >
|
|
|
|
|
|
|
+ <if test="state != null">
|
|
|
ACT_STATE,
|
|
ACT_STATE,
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="equipmentId != null">
|
|
|
|
|
+ ACT_EQUIPMENT_ID,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="isbranch != null">
|
|
|
|
|
+ ACT_ISBRANCH,
|
|
|
|
|
+ </if>
|
|
|
</trim>
|
|
</trim>
|
|
|
- <trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
|
|
|
- <if test="id != null" >
|
|
|
|
|
|
|
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
|
+ <if test="id != null">
|
|
|
#{id,jdbcType=VARCHAR},
|
|
#{id,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="channel != null" >
|
|
|
|
|
|
|
+ <if test="channel != null">
|
|
|
#{channel,jdbcType=VARCHAR},
|
|
#{channel,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="usrid != null" >
|
|
|
|
|
|
|
+ <if test="usrid != null">
|
|
|
#{usrid,jdbcType=VARCHAR},
|
|
#{usrid,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="type != null" >
|
|
|
|
|
|
|
+ <if test="type != null">
|
|
|
#{type,jdbcType=VARCHAR},
|
|
#{type,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="name != null" >
|
|
|
|
|
|
|
+ <if test="name != null">
|
|
|
#{name,jdbcType=VARCHAR},
|
|
#{name,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="number != null" >
|
|
|
|
|
|
|
+ <if test="number != null">
|
|
|
#{number,jdbcType=VARCHAR},
|
|
#{number,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="amt != null" >
|
|
|
|
|
|
|
+ <if test="amt != null">
|
|
|
#{amt,jdbcType=VARCHAR},
|
|
#{amt,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="avaAmt != null" >
|
|
|
|
|
|
|
+ <if test="avaAmt != null">
|
|
|
#{avaAmt,jdbcType=VARCHAR},
|
|
#{avaAmt,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="createUser != null" >
|
|
|
|
|
|
|
+ <if test="createUser != null">
|
|
|
#{createUser,jdbcType=VARCHAR},
|
|
#{createUser,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="createTime != null" >
|
|
|
|
|
|
|
+ <if test="createTime != null">
|
|
|
#{createTime,jdbcType=VARCHAR},
|
|
#{createTime,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="modifyUser != null" >
|
|
|
|
|
|
|
+ <if test="modifyUser != null">
|
|
|
#{modifyUser,jdbcType=VARCHAR},
|
|
#{modifyUser,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="modifyTime != null" >
|
|
|
|
|
|
|
+ <if test="modifyTime != null">
|
|
|
#{modifyTime,jdbcType=VARCHAR},
|
|
#{modifyTime,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="state != null" >
|
|
|
|
|
|
|
+ <if test="state != null">
|
|
|
#{state,jdbcType=VARCHAR},
|
|
#{state,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="equipmentId != null">
|
|
|
|
|
+ #{equipmentId,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="isbranch != null">
|
|
|
|
|
+ #{isbranch,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
</trim>
|
|
</trim>
|
|
|
</insert>
|
|
</insert>
|
|
|
- <select id="countByExample" parameterType="com.minpay.db.table.model.VmAccountExample" resultType="java.lang.Integer" >
|
|
|
|
|
|
|
+ <select id="countByExample" parameterType="com.minpay.db.table.model.VmAccountExample" resultType="java.lang.Integer">
|
|
|
<!--
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
-->
|
|
|
select count(*) from vm_account
|
|
select count(*) from vm_account
|
|
|
- <if test="_parameter != null" >
|
|
|
|
|
|
|
+ <if test="_parameter != null">
|
|
|
<include refid="Example_Where_Clause" />
|
|
<include refid="Example_Where_Clause" />
|
|
|
</if>
|
|
</if>
|
|
|
</select>
|
|
</select>
|
|
|
- <update id="updateByExampleSelective" parameterType="map" >
|
|
|
|
|
|
|
+ <update id="updateByExampleSelective" parameterType="map">
|
|
|
<!--
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
-->
|
|
|
update vm_account
|
|
update vm_account
|
|
|
- <set >
|
|
|
|
|
- <if test="record.id != null" >
|
|
|
|
|
|
|
+ <set>
|
|
|
|
|
+ <if test="record.id != null">
|
|
|
ACT_ID = #{record.id,jdbcType=VARCHAR},
|
|
ACT_ID = #{record.id,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="record.channel != null" >
|
|
|
|
|
|
|
+ <if test="record.channel != null">
|
|
|
ACT_CHANNEL = #{record.channel,jdbcType=VARCHAR},
|
|
ACT_CHANNEL = #{record.channel,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="record.usrid != null" >
|
|
|
|
|
|
|
+ <if test="record.usrid != null">
|
|
|
ACT_USRID = #{record.usrid,jdbcType=VARCHAR},
|
|
ACT_USRID = #{record.usrid,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="record.type != null" >
|
|
|
|
|
|
|
+ <if test="record.type != null">
|
|
|
ACT_TYPE = #{record.type,jdbcType=VARCHAR},
|
|
ACT_TYPE = #{record.type,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="record.name != null" >
|
|
|
|
|
|
|
+ <if test="record.name != null">
|
|
|
ACT_NAME = #{record.name,jdbcType=VARCHAR},
|
|
ACT_NAME = #{record.name,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="record.number != null" >
|
|
|
|
|
|
|
+ <if test="record.number != null">
|
|
|
ACT_NUMBER = #{record.number,jdbcType=VARCHAR},
|
|
ACT_NUMBER = #{record.number,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="record.amt != null" >
|
|
|
|
|
|
|
+ <if test="record.amt != null">
|
|
|
ACT_AMT = #{record.amt,jdbcType=VARCHAR},
|
|
ACT_AMT = #{record.amt,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="record.avaAmt != null" >
|
|
|
|
|
|
|
+ <if test="record.avaAmt != null">
|
|
|
ACT_AVA_AMT = #{record.avaAmt,jdbcType=VARCHAR},
|
|
ACT_AVA_AMT = #{record.avaAmt,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="record.createUser != null" >
|
|
|
|
|
|
|
+ <if test="record.createUser != null">
|
|
|
ACT_CREATE_USER = #{record.createUser,jdbcType=VARCHAR},
|
|
ACT_CREATE_USER = #{record.createUser,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="record.createTime != null" >
|
|
|
|
|
|
|
+ <if test="record.createTime != null">
|
|
|
ACT_CREATE_TIME = #{record.createTime,jdbcType=VARCHAR},
|
|
ACT_CREATE_TIME = #{record.createTime,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="record.modifyUser != null" >
|
|
|
|
|
|
|
+ <if test="record.modifyUser != null">
|
|
|
ACT_MODIFY_USER = #{record.modifyUser,jdbcType=VARCHAR},
|
|
ACT_MODIFY_USER = #{record.modifyUser,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="record.modifyTime != null" >
|
|
|
|
|
|
|
+ <if test="record.modifyTime != null">
|
|
|
ACT_MODIFY_TIME = #{record.modifyTime,jdbcType=VARCHAR},
|
|
ACT_MODIFY_TIME = #{record.modifyTime,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="record.state != null" >
|
|
|
|
|
|
|
+ <if test="record.state != null">
|
|
|
ACT_STATE = #{record.state,jdbcType=VARCHAR},
|
|
ACT_STATE = #{record.state,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="record.equipmentId != null">
|
|
|
|
|
+ ACT_EQUIPMENT_ID = #{record.equipmentId,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="record.isbranch != null">
|
|
|
|
|
+ ACT_ISBRANCH = #{record.isbranch,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
</set>
|
|
</set>
|
|
|
- <if test="_parameter != null" >
|
|
|
|
|
|
|
+ <if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
</if>
|
|
|
</update>
|
|
</update>
|
|
|
- <update id="updateByExample" parameterType="map" >
|
|
|
|
|
|
|
+ <update id="updateByExample" parameterType="map">
|
|
|
<!--
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
@@ -324,58 +347,66 @@
|
|
|
ACT_CREATE_TIME = #{record.createTime,jdbcType=VARCHAR},
|
|
ACT_CREATE_TIME = #{record.createTime,jdbcType=VARCHAR},
|
|
|
ACT_MODIFY_USER = #{record.modifyUser,jdbcType=VARCHAR},
|
|
ACT_MODIFY_USER = #{record.modifyUser,jdbcType=VARCHAR},
|
|
|
ACT_MODIFY_TIME = #{record.modifyTime,jdbcType=VARCHAR},
|
|
ACT_MODIFY_TIME = #{record.modifyTime,jdbcType=VARCHAR},
|
|
|
- ACT_STATE = #{record.state,jdbcType=VARCHAR}
|
|
|
|
|
- <if test="_parameter != null" >
|
|
|
|
|
|
|
+ ACT_STATE = #{record.state,jdbcType=VARCHAR},
|
|
|
|
|
+ ACT_EQUIPMENT_ID = #{record.equipmentId,jdbcType=VARCHAR},
|
|
|
|
|
+ ACT_ISBRANCH = #{record.isbranch,jdbcType=VARCHAR}
|
|
|
|
|
+ <if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
</if>
|
|
|
</update>
|
|
</update>
|
|
|
- <update id="updateByPrimaryKeySelective" parameterType="com.minpay.db.table.model.VmAccount" >
|
|
|
|
|
|
|
+ <update id="updateByPrimaryKeySelective" parameterType="com.minpay.db.table.model.VmAccount">
|
|
|
<!--
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
-->
|
|
|
update vm_account
|
|
update vm_account
|
|
|
- <set >
|
|
|
|
|
- <if test="channel != null" >
|
|
|
|
|
|
|
+ <set>
|
|
|
|
|
+ <if test="channel != null">
|
|
|
ACT_CHANNEL = #{channel,jdbcType=VARCHAR},
|
|
ACT_CHANNEL = #{channel,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="usrid != null" >
|
|
|
|
|
|
|
+ <if test="usrid != null">
|
|
|
ACT_USRID = #{usrid,jdbcType=VARCHAR},
|
|
ACT_USRID = #{usrid,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="type != null" >
|
|
|
|
|
|
|
+ <if test="type != null">
|
|
|
ACT_TYPE = #{type,jdbcType=VARCHAR},
|
|
ACT_TYPE = #{type,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="name != null" >
|
|
|
|
|
|
|
+ <if test="name != null">
|
|
|
ACT_NAME = #{name,jdbcType=VARCHAR},
|
|
ACT_NAME = #{name,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="number != null" >
|
|
|
|
|
|
|
+ <if test="number != null">
|
|
|
ACT_NUMBER = #{number,jdbcType=VARCHAR},
|
|
ACT_NUMBER = #{number,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="amt != null" >
|
|
|
|
|
|
|
+ <if test="amt != null">
|
|
|
ACT_AMT = #{amt,jdbcType=VARCHAR},
|
|
ACT_AMT = #{amt,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="avaAmt != null" >
|
|
|
|
|
|
|
+ <if test="avaAmt != null">
|
|
|
ACT_AVA_AMT = #{avaAmt,jdbcType=VARCHAR},
|
|
ACT_AVA_AMT = #{avaAmt,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="createUser != null" >
|
|
|
|
|
|
|
+ <if test="createUser != null">
|
|
|
ACT_CREATE_USER = #{createUser,jdbcType=VARCHAR},
|
|
ACT_CREATE_USER = #{createUser,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="createTime != null" >
|
|
|
|
|
|
|
+ <if test="createTime != null">
|
|
|
ACT_CREATE_TIME = #{createTime,jdbcType=VARCHAR},
|
|
ACT_CREATE_TIME = #{createTime,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="modifyUser != null" >
|
|
|
|
|
|
|
+ <if test="modifyUser != null">
|
|
|
ACT_MODIFY_USER = #{modifyUser,jdbcType=VARCHAR},
|
|
ACT_MODIFY_USER = #{modifyUser,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="modifyTime != null" >
|
|
|
|
|
|
|
+ <if test="modifyTime != null">
|
|
|
ACT_MODIFY_TIME = #{modifyTime,jdbcType=VARCHAR},
|
|
ACT_MODIFY_TIME = #{modifyTime,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="state != null" >
|
|
|
|
|
|
|
+ <if test="state != null">
|
|
|
ACT_STATE = #{state,jdbcType=VARCHAR},
|
|
ACT_STATE = #{state,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="equipmentId != null">
|
|
|
|
|
+ ACT_EQUIPMENT_ID = #{equipmentId,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="isbranch != null">
|
|
|
|
|
+ ACT_ISBRANCH = #{isbranch,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
</set>
|
|
</set>
|
|
|
where ACT_ID = #{id,jdbcType=VARCHAR}
|
|
where ACT_ID = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
</update>
|
|
|
- <update id="updateByPrimaryKey" parameterType="com.minpay.db.table.model.VmAccount" >
|
|
|
|
|
|
|
+ <update id="updateByPrimaryKey" parameterType="com.minpay.db.table.model.VmAccount">
|
|
|
<!--
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
@@ -392,7 +423,9 @@
|
|
|
ACT_CREATE_TIME = #{createTime,jdbcType=VARCHAR},
|
|
ACT_CREATE_TIME = #{createTime,jdbcType=VARCHAR},
|
|
|
ACT_MODIFY_USER = #{modifyUser,jdbcType=VARCHAR},
|
|
ACT_MODIFY_USER = #{modifyUser,jdbcType=VARCHAR},
|
|
|
ACT_MODIFY_TIME = #{modifyTime,jdbcType=VARCHAR},
|
|
ACT_MODIFY_TIME = #{modifyTime,jdbcType=VARCHAR},
|
|
|
- ACT_STATE = #{state,jdbcType=VARCHAR}
|
|
|
|
|
|
|
+ ACT_STATE = #{state,jdbcType=VARCHAR},
|
|
|
|
|
+ ACT_EQUIPMENT_ID = #{equipmentId,jdbcType=VARCHAR},
|
|
|
|
|
+ ACT_ISBRANCH = #{isbranch,jdbcType=VARCHAR}
|
|
|
where ACT_ID = #{id,jdbcType=VARCHAR}
|
|
where ACT_ID = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
</update>
|
|
|
</mapper>
|
|
</mapper>
|