|
|
@@ -0,0 +1,385 @@
|
|
|
+<?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.PubBaseDcntzMapper">
|
|
|
+ <resultMap id="BaseResultMap" type="com.minpay.db.table.model.PubBaseDcntz">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ <result column="DCN_ID" jdbcType="VARCHAR" property="id" />
|
|
|
+ <result column="DCN_SEQU" jdbcType="INTEGER" property="sequ" />
|
|
|
+ <result column="DCN_TYPE" jdbcType="VARCHAR" property="type" />
|
|
|
+ <result column="DCN_UNITID" jdbcType="VARCHAR" property="unitid" />
|
|
|
+ <result column="DCN_UNIT" jdbcType="VARCHAR" property="unit" />
|
|
|
+ <result column="DCN_GDSID" jdbcType="VARCHAR" property="gdsid" />
|
|
|
+ <result column="DCN_GDS" jdbcType="VARCHAR" property="gds" />
|
|
|
+ <result column="DCN_USER" jdbcType="VARCHAR" property="user" />
|
|
|
+ <result column="DCN_USERNU" jdbcType="VARCHAR" property="usernu" />
|
|
|
+ <result column="DCN_SSXL" jdbcType="VARCHAR" property="ssxl" />
|
|
|
+ <result column="DCN_SBLX" jdbcType="VARCHAR" property="sblx" />
|
|
|
+ <result column="DCN_SJTQ" jdbcType="VARCHAR" property="sjtq" />
|
|
|
+ <result column="DCN_CNSBRL" jdbcType="REAL" property="cnsbrl" />
|
|
|
+ <result column="DCN_CNHS" jdbcType="INTEGER" property="cnhs" />
|
|
|
+ <result column="DCN_TQMCYX" jdbcType="VARCHAR" property="tqmcyx" />
|
|
|
+ <result column="DCN_SCSBMC" jdbcType="VARCHAR" property="scsbmc" />
|
|
|
+ <result column="DCN_TQMCGF" jdbcType="VARCHAR" property="tqmcgf" />
|
|
|
+ <result column="DCN_TQMCYC" jdbcType="VARCHAR" property="tqmcyc" />
|
|
|
+ <result column="DCN_STATE" jdbcType="VARCHAR" property="state" />
|
|
|
+ </resultMap>
|
|
|
+ <sql id="Example_Where_Clause">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ 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="(" 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">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ 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="(" 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">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ DCN_ID, DCN_SEQU, DCN_TYPE, DCN_UNITID, DCN_UNIT, DCN_GDSID, DCN_GDS, DCN_USER, DCN_USERNU,
|
|
|
+ DCN_SSXL, DCN_SBLX, DCN_SJTQ, DCN_CNSBRL, DCN_CNHS, DCN_TQMCYX, DCN_SCSBMC, DCN_TQMCGF,
|
|
|
+ DCN_TQMCYC, DCN_STATE
|
|
|
+ </sql>
|
|
|
+ <select id="selectByExample" parameterType="com.minpay.db.table.model.PubBaseDcntzExample" resultMap="BaseResultMap">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ select
|
|
|
+ <if test="distinct">
|
|
|
+ distinct
|
|
|
+ </if>
|
|
|
+ <include refid="Base_Column_List" />
|
|
|
+ from pub_base_dcntz
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ <if test="orderByClause != null">
|
|
|
+ order by ${orderByClause}
|
|
|
+ </if>
|
|
|
+ </select>
|
|
|
+ <delete id="deleteByExample" parameterType="com.minpay.db.table.model.PubBaseDcntzExample">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ delete from pub_base_dcntz
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </delete>
|
|
|
+ <insert id="insert" parameterType="com.minpay.db.table.model.PubBaseDcntz">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ insert into pub_base_dcntz (DCN_ID, DCN_SEQU, DCN_TYPE,
|
|
|
+ DCN_UNITID, DCN_UNIT, DCN_GDSID,
|
|
|
+ DCN_GDS, DCN_USER, DCN_USERNU,
|
|
|
+ DCN_SSXL, DCN_SBLX, DCN_SJTQ, DCN_CNSBRL,
|
|
|
+ DCN_CNHS, DCN_TQMCYX, DCN_SCSBMC,
|
|
|
+ DCN_TQMCGF, DCN_TQMCYC, DCN_STATE
|
|
|
+ )
|
|
|
+ values (#{id,jdbcType=VARCHAR}, #{sequ,jdbcType=INTEGER}, #{type,jdbcType=VARCHAR},
|
|
|
+ #{unitid,jdbcType=VARCHAR}, #{unit,jdbcType=VARCHAR}, #{gdsid,jdbcType=VARCHAR},
|
|
|
+ #{gds,jdbcType=VARCHAR}, #{user,jdbcType=VARCHAR}, #{usernu,jdbcType=VARCHAR},
|
|
|
+ #{ssxl,jdbcType=VARCHAR}, #{sblx,jdbcType=VARCHAR}, #{sjtq,jdbcType=VARCHAR}, #{cnsbrl,jdbcType=REAL},
|
|
|
+ #{cnhs,jdbcType=INTEGER}, #{tqmcyx,jdbcType=VARCHAR}, #{scsbmc,jdbcType=VARCHAR},
|
|
|
+ #{tqmcgf,jdbcType=VARCHAR}, #{tqmcyc,jdbcType=VARCHAR}, #{state,jdbcType=VARCHAR}
|
|
|
+ )
|
|
|
+ </insert>
|
|
|
+ <insert id="insertSelective" parameterType="com.minpay.db.table.model.PubBaseDcntz">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ insert into pub_base_dcntz
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="id != null">
|
|
|
+ DCN_ID,
|
|
|
+ </if>
|
|
|
+ <if test="sequ != null">
|
|
|
+ DCN_SEQU,
|
|
|
+ </if>
|
|
|
+ <if test="type != null">
|
|
|
+ DCN_TYPE,
|
|
|
+ </if>
|
|
|
+ <if test="unitid != null">
|
|
|
+ DCN_UNITID,
|
|
|
+ </if>
|
|
|
+ <if test="unit != null">
|
|
|
+ DCN_UNIT,
|
|
|
+ </if>
|
|
|
+ <if test="gdsid != null">
|
|
|
+ DCN_GDSID,
|
|
|
+ </if>
|
|
|
+ <if test="gds != null">
|
|
|
+ DCN_GDS,
|
|
|
+ </if>
|
|
|
+ <if test="user != null">
|
|
|
+ DCN_USER,
|
|
|
+ </if>
|
|
|
+ <if test="usernu != null">
|
|
|
+ DCN_USERNU,
|
|
|
+ </if>
|
|
|
+ <if test="ssxl != null">
|
|
|
+ DCN_SSXL,
|
|
|
+ </if>
|
|
|
+ <if test="sblx != null">
|
|
|
+ DCN_SBLX,
|
|
|
+ </if>
|
|
|
+ <if test="sjtq != null">
|
|
|
+ DCN_SJTQ,
|
|
|
+ </if>
|
|
|
+ <if test="cnsbrl != null">
|
|
|
+ DCN_CNSBRL,
|
|
|
+ </if>
|
|
|
+ <if test="cnhs != null">
|
|
|
+ DCN_CNHS,
|
|
|
+ </if>
|
|
|
+ <if test="tqmcyx != null">
|
|
|
+ DCN_TQMCYX,
|
|
|
+ </if>
|
|
|
+ <if test="scsbmc != null">
|
|
|
+ DCN_SCSBMC,
|
|
|
+ </if>
|
|
|
+ <if test="tqmcgf != null">
|
|
|
+ DCN_TQMCGF,
|
|
|
+ </if>
|
|
|
+ <if test="tqmcyc != null">
|
|
|
+ DCN_TQMCYC,
|
|
|
+ </if>
|
|
|
+ <if test="state != null">
|
|
|
+ DCN_STATE,
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="id != null">
|
|
|
+ #{id,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="sequ != null">
|
|
|
+ #{sequ,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="type != null">
|
|
|
+ #{type,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="unitid != null">
|
|
|
+ #{unitid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="unit != null">
|
|
|
+ #{unit,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="gdsid != null">
|
|
|
+ #{gdsid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="gds != null">
|
|
|
+ #{gds,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="user != null">
|
|
|
+ #{user,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="usernu != null">
|
|
|
+ #{usernu,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="ssxl != null">
|
|
|
+ #{ssxl,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="sblx != null">
|
|
|
+ #{sblx,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="sjtq != null">
|
|
|
+ #{sjtq,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="cnsbrl != null">
|
|
|
+ #{cnsbrl,jdbcType=REAL},
|
|
|
+ </if>
|
|
|
+ <if test="cnhs != null">
|
|
|
+ #{cnhs,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="tqmcyx != null">
|
|
|
+ #{tqmcyx,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="scsbmc != null">
|
|
|
+ #{scsbmc,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="tqmcgf != null">
|
|
|
+ #{tqmcgf,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="tqmcyc != null">
|
|
|
+ #{tqmcyc,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="state != null">
|
|
|
+ #{state,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ </insert>
|
|
|
+ <select id="countByExample" parameterType="com.minpay.db.table.model.PubBaseDcntzExample" resultType="java.lang.Long">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ select count(*) from pub_base_dcntz
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </select>
|
|
|
+ <update id="updateByExampleSelective" parameterType="map">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ update pub_base_dcntz
|
|
|
+ <set>
|
|
|
+ <if test="record.id != null">
|
|
|
+ DCN_ID = #{record.id,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.sequ != null">
|
|
|
+ DCN_SEQU = #{record.sequ,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.type != null">
|
|
|
+ DCN_TYPE = #{record.type,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.unitid != null">
|
|
|
+ DCN_UNITID = #{record.unitid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.unit != null">
|
|
|
+ DCN_UNIT = #{record.unit,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.gdsid != null">
|
|
|
+ DCN_GDSID = #{record.gdsid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.gds != null">
|
|
|
+ DCN_GDS = #{record.gds,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.user != null">
|
|
|
+ DCN_USER = #{record.user,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.usernu != null">
|
|
|
+ DCN_USERNU = #{record.usernu,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.ssxl != null">
|
|
|
+ DCN_SSXL = #{record.ssxl,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.sblx != null">
|
|
|
+ DCN_SBLX = #{record.sblx,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.sjtq != null">
|
|
|
+ DCN_SJTQ = #{record.sjtq,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.cnsbrl != null">
|
|
|
+ DCN_CNSBRL = #{record.cnsbrl,jdbcType=REAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.cnhs != null">
|
|
|
+ DCN_CNHS = #{record.cnhs,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.tqmcyx != null">
|
|
|
+ DCN_TQMCYX = #{record.tqmcyx,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.scsbmc != null">
|
|
|
+ DCN_SCSBMC = #{record.scsbmc,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.tqmcgf != null">
|
|
|
+ DCN_TQMCGF = #{record.tqmcgf,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.tqmcyc != null">
|
|
|
+ DCN_TQMCYC = #{record.tqmcyc,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.state != null">
|
|
|
+ DCN_STATE = #{record.state,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ </set>
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Update_By_Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </update>
|
|
|
+ <update id="updateByExample" parameterType="map">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ update pub_base_dcntz
|
|
|
+ set DCN_ID = #{record.id,jdbcType=VARCHAR},
|
|
|
+ DCN_SEQU = #{record.sequ,jdbcType=INTEGER},
|
|
|
+ DCN_TYPE = #{record.type,jdbcType=VARCHAR},
|
|
|
+ DCN_UNITID = #{record.unitid,jdbcType=VARCHAR},
|
|
|
+ DCN_UNIT = #{record.unit,jdbcType=VARCHAR},
|
|
|
+ DCN_GDSID = #{record.gdsid,jdbcType=VARCHAR},
|
|
|
+ DCN_GDS = #{record.gds,jdbcType=VARCHAR},
|
|
|
+ DCN_USER = #{record.user,jdbcType=VARCHAR},
|
|
|
+ DCN_USERNU = #{record.usernu,jdbcType=VARCHAR},
|
|
|
+ DCN_SSXL = #{record.ssxl,jdbcType=VARCHAR},
|
|
|
+ DCN_SBLX = #{record.sblx,jdbcType=VARCHAR},
|
|
|
+ DCN_SJTQ = #{record.sjtq,jdbcType=VARCHAR},
|
|
|
+ DCN_CNSBRL = #{record.cnsbrl,jdbcType=REAL},
|
|
|
+ DCN_CNHS = #{record.cnhs,jdbcType=INTEGER},
|
|
|
+ DCN_TQMCYX = #{record.tqmcyx,jdbcType=VARCHAR},
|
|
|
+ DCN_SCSBMC = #{record.scsbmc,jdbcType=VARCHAR},
|
|
|
+ DCN_TQMCGF = #{record.tqmcgf,jdbcType=VARCHAR},
|
|
|
+ DCN_TQMCYC = #{record.tqmcyc,jdbcType=VARCHAR},
|
|
|
+ DCN_STATE = #{record.state,jdbcType=VARCHAR}
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Update_By_Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </update>
|
|
|
+</mapper>
|