|
|
@@ -0,0 +1,398 @@
|
|
|
+<?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.DwFileDetail02Mapper">
|
|
|
+ <resultMap id="BaseResultMap" type="com.minpay.db.table.model.DwFileDetail02">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ <id column="DFD2_ID" jdbcType="VARCHAR" property="id" />
|
|
|
+ <result column="DFD2_NO" jdbcType="VARCHAR" property="no" />
|
|
|
+ <result column="DFD2_BEGIN_TIME" jdbcType="VARCHAR" property="beginTime" />
|
|
|
+ <result column="DFD2_END_TIME" jdbcType="VARCHAR" property="endTime" />
|
|
|
+ <result column="DFD2_GDLX" jdbcType="VARCHAR" property="gdlx" />
|
|
|
+ <result column="DFD2_CXBDZ" jdbcType="VARCHAR" property="cxbdz" />
|
|
|
+ <result column="DFD2_XLMC" jdbcType="VARCHAR" property="xlmc" />
|
|
|
+ <result column="DFD2_XLLX" jdbcType="VARCHAR" property="xllx" />
|
|
|
+ <result column="DFD2_QDFA" jdbcType="VARCHAR" property="qdfa" />
|
|
|
+ <result column="DFD2_GZQJPD" jdbcType="VARCHAR" property="gzqjpd" />
|
|
|
+ <result column="DFD2_GZQHDHF" jdbcType="VARCHAR" property="gzqhdhf" />
|
|
|
+ <result column="DFD2_GZGL" jdbcType="VARCHAR" property="gzgl" />
|
|
|
+ <result column="DFD2_FILE_ID" jdbcType="VARCHAR" property="fileId" />
|
|
|
+ </resultMap>
|
|
|
+ <sql id="Example_Where_Clause">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ 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 - @mbggenerated
|
|
|
+ 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 - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ DFD2_ID, DFD2_NO, DFD2_BEGIN_TIME, DFD2_END_TIME, DFD2_GDLX, DFD2_CXBDZ, DFD2_XLMC,
|
|
|
+ DFD2_XLLX, DFD2_QDFA, DFD2_GZQJPD, DFD2_GZQHDHF, DFD2_GZGL, DFD2_FILE_ID
|
|
|
+ </sql>
|
|
|
+ <select id="selectByExample" parameterType="com.minpay.db.table.model.DwFileDetail02Example" resultMap="BaseResultMap">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ select
|
|
|
+ <if test="distinct">
|
|
|
+ distinct
|
|
|
+ </if>
|
|
|
+ <include refid="Base_Column_List" />
|
|
|
+ from dw_file_detail_02
|
|
|
+ <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="BaseResultMap">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ select
|
|
|
+ <include refid="Base_Column_List" />
|
|
|
+ from dw_file_detail_02
|
|
|
+ where DFD2_ID = #{id,jdbcType=VARCHAR}
|
|
|
+ </select>
|
|
|
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ delete from dw_file_detail_02
|
|
|
+ where DFD2_ID = #{id,jdbcType=VARCHAR}
|
|
|
+ </delete>
|
|
|
+ <delete id="deleteByExample" parameterType="com.minpay.db.table.model.DwFileDetail02Example">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ delete from dw_file_detail_02
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </delete>
|
|
|
+ <insert id="insert" parameterType="com.minpay.db.table.model.DwFileDetail02">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ insert into dw_file_detail_02 (DFD2_ID, DFD2_NO, DFD2_BEGIN_TIME,
|
|
|
+ DFD2_END_TIME, DFD2_GDLX, DFD2_CXBDZ,
|
|
|
+ DFD2_XLMC, DFD2_XLLX, DFD2_QDFA, DFD2_GZQJPD,
|
|
|
+ DFD2_GZQHDHF, DFD2_GZGL, DFD2_FILE_ID
|
|
|
+ )
|
|
|
+ values (#{id,jdbcType=VARCHAR}, #{no,jdbcType=VARCHAR}, #{beginTime,jdbcType=VARCHAR},
|
|
|
+ #{endTime,jdbcType=VARCHAR}, #{gdlx,jdbcType=VARCHAR}, #{cxbdz,jdbcType=VARCHAR},
|
|
|
+ #{xlmc,jdbcType=VARCHAR}, #{xllx,jdbcType=VARCHAR}, #{qdfa,jdbcType=VARCHAR}, #{gzqjpd,jdbcType=VARCHAR},
|
|
|
+ #{gzqhdhf,jdbcType=VARCHAR}, #{gzgl,jdbcType=VARCHAR}, #{fileId,jdbcType=VARCHAR}
|
|
|
+ )
|
|
|
+ </insert>
|
|
|
+ <insert id="insertSelective" parameterType="com.minpay.db.table.model.DwFileDetail02">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ insert into dw_file_detail_02
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="id != null">
|
|
|
+ DFD2_ID,
|
|
|
+ </if>
|
|
|
+ <if test="no != null">
|
|
|
+ DFD2_NO,
|
|
|
+ </if>
|
|
|
+ <if test="beginTime != null">
|
|
|
+ DFD2_BEGIN_TIME,
|
|
|
+ </if>
|
|
|
+ <if test="endTime != null">
|
|
|
+ DFD2_END_TIME,
|
|
|
+ </if>
|
|
|
+ <if test="gdlx != null">
|
|
|
+ DFD2_GDLX,
|
|
|
+ </if>
|
|
|
+ <if test="cxbdz != null">
|
|
|
+ DFD2_CXBDZ,
|
|
|
+ </if>
|
|
|
+ <if test="xlmc != null">
|
|
|
+ DFD2_XLMC,
|
|
|
+ </if>
|
|
|
+ <if test="xllx != null">
|
|
|
+ DFD2_XLLX,
|
|
|
+ </if>
|
|
|
+ <if test="qdfa != null">
|
|
|
+ DFD2_QDFA,
|
|
|
+ </if>
|
|
|
+ <if test="gzqjpd != null">
|
|
|
+ DFD2_GZQJPD,
|
|
|
+ </if>
|
|
|
+ <if test="gzqhdhf != null">
|
|
|
+ DFD2_GZQHDHF,
|
|
|
+ </if>
|
|
|
+ <if test="gzgl != null">
|
|
|
+ DFD2_GZGL,
|
|
|
+ </if>
|
|
|
+ <if test="fileId != null">
|
|
|
+ DFD2_FILE_ID,
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="id != null">
|
|
|
+ #{id,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="no != null">
|
|
|
+ #{no,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="beginTime != null">
|
|
|
+ #{beginTime,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="endTime != null">
|
|
|
+ #{endTime,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="gdlx != null">
|
|
|
+ #{gdlx,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="cxbdz != null">
|
|
|
+ #{cxbdz,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="xlmc != null">
|
|
|
+ #{xlmc,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="xllx != null">
|
|
|
+ #{xllx,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="qdfa != null">
|
|
|
+ #{qdfa,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="gzqjpd != null">
|
|
|
+ #{gzqjpd,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="gzqhdhf != null">
|
|
|
+ #{gzqhdhf,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="gzgl != null">
|
|
|
+ #{gzgl,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="fileId != null">
|
|
|
+ #{fileId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ </insert>
|
|
|
+ <select id="countByExample" parameterType="com.minpay.db.table.model.DwFileDetail02Example" resultType="java.lang.Integer">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ select count(*) from dw_file_detail_02
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </select>
|
|
|
+ <update id="updateByExampleSelective" parameterType="map">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ update dw_file_detail_02
|
|
|
+ <set>
|
|
|
+ <if test="record.id != null">
|
|
|
+ DFD2_ID = #{record.id,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.no != null">
|
|
|
+ DFD2_NO = #{record.no,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.beginTime != null">
|
|
|
+ DFD2_BEGIN_TIME = #{record.beginTime,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.endTime != null">
|
|
|
+ DFD2_END_TIME = #{record.endTime,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.gdlx != null">
|
|
|
+ DFD2_GDLX = #{record.gdlx,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.cxbdz != null">
|
|
|
+ DFD2_CXBDZ = #{record.cxbdz,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.xlmc != null">
|
|
|
+ DFD2_XLMC = #{record.xlmc,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.xllx != null">
|
|
|
+ DFD2_XLLX = #{record.xllx,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.qdfa != null">
|
|
|
+ DFD2_QDFA = #{record.qdfa,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.gzqjpd != null">
|
|
|
+ DFD2_GZQJPD = #{record.gzqjpd,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.gzqhdhf != null">
|
|
|
+ DFD2_GZQHDHF = #{record.gzqhdhf,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.gzgl != null">
|
|
|
+ DFD2_GZGL = #{record.gzgl,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.fileId != null">
|
|
|
+ DFD2_FILE_ID = #{record.fileId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ </set>
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Update_By_Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </update>
|
|
|
+ <update id="updateByExample" parameterType="map">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ update dw_file_detail_02
|
|
|
+ set DFD2_ID = #{record.id,jdbcType=VARCHAR},
|
|
|
+ DFD2_NO = #{record.no,jdbcType=VARCHAR},
|
|
|
+ DFD2_BEGIN_TIME = #{record.beginTime,jdbcType=VARCHAR},
|
|
|
+ DFD2_END_TIME = #{record.endTime,jdbcType=VARCHAR},
|
|
|
+ DFD2_GDLX = #{record.gdlx,jdbcType=VARCHAR},
|
|
|
+ DFD2_CXBDZ = #{record.cxbdz,jdbcType=VARCHAR},
|
|
|
+ DFD2_XLMC = #{record.xlmc,jdbcType=VARCHAR},
|
|
|
+ DFD2_XLLX = #{record.xllx,jdbcType=VARCHAR},
|
|
|
+ DFD2_QDFA = #{record.qdfa,jdbcType=VARCHAR},
|
|
|
+ DFD2_GZQJPD = #{record.gzqjpd,jdbcType=VARCHAR},
|
|
|
+ DFD2_GZQHDHF = #{record.gzqhdhf,jdbcType=VARCHAR},
|
|
|
+ DFD2_GZGL = #{record.gzgl,jdbcType=VARCHAR},
|
|
|
+ DFD2_FILE_ID = #{record.fileId,jdbcType=VARCHAR}
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Update_By_Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </update>
|
|
|
+ <update id="updateByPrimaryKeySelective" parameterType="com.minpay.db.table.model.DwFileDetail02">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ update dw_file_detail_02
|
|
|
+ <set>
|
|
|
+ <if test="no != null">
|
|
|
+ DFD2_NO = #{no,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="beginTime != null">
|
|
|
+ DFD2_BEGIN_TIME = #{beginTime,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="endTime != null">
|
|
|
+ DFD2_END_TIME = #{endTime,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="gdlx != null">
|
|
|
+ DFD2_GDLX = #{gdlx,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="cxbdz != null">
|
|
|
+ DFD2_CXBDZ = #{cxbdz,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="xlmc != null">
|
|
|
+ DFD2_XLMC = #{xlmc,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="xllx != null">
|
|
|
+ DFD2_XLLX = #{xllx,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="qdfa != null">
|
|
|
+ DFD2_QDFA = #{qdfa,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="gzqjpd != null">
|
|
|
+ DFD2_GZQJPD = #{gzqjpd,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="gzqhdhf != null">
|
|
|
+ DFD2_GZQHDHF = #{gzqhdhf,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="gzgl != null">
|
|
|
+ DFD2_GZGL = #{gzgl,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="fileId != null">
|
|
|
+ DFD2_FILE_ID = #{fileId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ </set>
|
|
|
+ where DFD2_ID = #{id,jdbcType=VARCHAR}
|
|
|
+ </update>
|
|
|
+ <update id="updateByPrimaryKey" parameterType="com.minpay.db.table.model.DwFileDetail02">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ update dw_file_detail_02
|
|
|
+ set DFD2_NO = #{no,jdbcType=VARCHAR},
|
|
|
+ DFD2_BEGIN_TIME = #{beginTime,jdbcType=VARCHAR},
|
|
|
+ DFD2_END_TIME = #{endTime,jdbcType=VARCHAR},
|
|
|
+ DFD2_GDLX = #{gdlx,jdbcType=VARCHAR},
|
|
|
+ DFD2_CXBDZ = #{cxbdz,jdbcType=VARCHAR},
|
|
|
+ DFD2_XLMC = #{xlmc,jdbcType=VARCHAR},
|
|
|
+ DFD2_XLLX = #{xllx,jdbcType=VARCHAR},
|
|
|
+ DFD2_QDFA = #{qdfa,jdbcType=VARCHAR},
|
|
|
+ DFD2_GZQJPD = #{gzqjpd,jdbcType=VARCHAR},
|
|
|
+ DFD2_GZQHDHF = #{gzqhdhf,jdbcType=VARCHAR},
|
|
|
+ DFD2_GZGL = #{gzgl,jdbcType=VARCHAR},
|
|
|
+ DFD2_FILE_ID = #{fileId,jdbcType=VARCHAR}
|
|
|
+ where DFD2_ID = #{id,jdbcType=VARCHAR}
|
|
|
+ </update>
|
|
|
+</mapper>
|