|
|
@@ -0,0 +1,366 @@
|
|
|
+<?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.DwFileDetail01Mapper">
|
|
|
+ <resultMap id="BaseResultMap" type="com.minpay.db.table.model.DwFileDetail01">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ <id column="DFD1_ID" jdbcType="VARCHAR" property="id" />
|
|
|
+ <result column="DFD1_EXCEL_ID" jdbcType="VARCHAR" property="excelId" />
|
|
|
+ <result column="DFD1_EXCEL_TNAME" jdbcType="VARCHAR" property="excelTname" />
|
|
|
+ <result column="DFD1_EXCEL_CMODE" jdbcType="VARCHAR" property="excelCmode" />
|
|
|
+ <result column="DFD1_EXCEL_VALUE" jdbcType="VARCHAR" property="excelValue" />
|
|
|
+ <result column="DFD1_EXCEL_FACNAME" jdbcType="VARCHAR" property="excelFacname" />
|
|
|
+ <result column="DFD1_EXCEL_TYPE" jdbcType="VARCHAR" property="excelType" />
|
|
|
+ <result column="DFD1_EXCEL_FDID" jdbcType="VARCHAR" property="excelFdid" />
|
|
|
+ <result column="DFD1_EXCEL_YXSTATUS" jdbcType="VARCHAR" property="excelYxstatus" />
|
|
|
+ <result column="DFD1_EXCEL_TYTIME" jdbcType="VARCHAR" property="excelTytime" />
|
|
|
+ <result column="DFD1_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.
|
|
|
+ -->
|
|
|
+ DFD1_ID, DFD1_EXCEL_ID, DFD1_EXCEL_TNAME, DFD1_EXCEL_CMODE, DFD1_EXCEL_VALUE, DFD1_EXCEL_FACNAME,
|
|
|
+ DFD1_EXCEL_TYPE, DFD1_EXCEL_FDID, DFD1_EXCEL_YXSTATUS, DFD1_EXCEL_TYTIME, DFD1_FILE_ID
|
|
|
+ </sql>
|
|
|
+ <select id="selectByExample" parameterType="com.minpay.db.table.model.DwFileDetail01Example" 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_01
|
|
|
+ <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_01
|
|
|
+ where DFD1_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_01
|
|
|
+ where DFD1_ID = #{id,jdbcType=VARCHAR}
|
|
|
+ </delete>
|
|
|
+ <delete id="deleteByExample" parameterType="com.minpay.db.table.model.DwFileDetail01Example">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ delete from dw_file_detail_01
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </delete>
|
|
|
+ <insert id="insert" parameterType="com.minpay.db.table.model.DwFileDetail01">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ insert into dw_file_detail_01 (DFD1_ID, DFD1_EXCEL_ID, DFD1_EXCEL_TNAME,
|
|
|
+ DFD1_EXCEL_CMODE, DFD1_EXCEL_VALUE, DFD1_EXCEL_FACNAME,
|
|
|
+ DFD1_EXCEL_TYPE, DFD1_EXCEL_FDID, DFD1_EXCEL_YXSTATUS,
|
|
|
+ DFD1_EXCEL_TYTIME, DFD1_FILE_ID)
|
|
|
+ values (#{id,jdbcType=VARCHAR}, #{excelId,jdbcType=VARCHAR}, #{excelTname,jdbcType=VARCHAR},
|
|
|
+ #{excelCmode,jdbcType=VARCHAR}, #{excelValue,jdbcType=VARCHAR}, #{excelFacname,jdbcType=VARCHAR},
|
|
|
+ #{excelType,jdbcType=VARCHAR}, #{excelFdid,jdbcType=VARCHAR}, #{excelYxstatus,jdbcType=VARCHAR},
|
|
|
+ #{excelTytime,jdbcType=VARCHAR}, #{fileId,jdbcType=VARCHAR})
|
|
|
+ </insert>
|
|
|
+ <insert id="insertSelective" parameterType="com.minpay.db.table.model.DwFileDetail01">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ insert into dw_file_detail_01
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="id != null">
|
|
|
+ DFD1_ID,
|
|
|
+ </if>
|
|
|
+ <if test="excelId != null">
|
|
|
+ DFD1_EXCEL_ID,
|
|
|
+ </if>
|
|
|
+ <if test="excelTname != null">
|
|
|
+ DFD1_EXCEL_TNAME,
|
|
|
+ </if>
|
|
|
+ <if test="excelCmode != null">
|
|
|
+ DFD1_EXCEL_CMODE,
|
|
|
+ </if>
|
|
|
+ <if test="excelValue != null">
|
|
|
+ DFD1_EXCEL_VALUE,
|
|
|
+ </if>
|
|
|
+ <if test="excelFacname != null">
|
|
|
+ DFD1_EXCEL_FACNAME,
|
|
|
+ </if>
|
|
|
+ <if test="excelType != null">
|
|
|
+ DFD1_EXCEL_TYPE,
|
|
|
+ </if>
|
|
|
+ <if test="excelFdid != null">
|
|
|
+ DFD1_EXCEL_FDID,
|
|
|
+ </if>
|
|
|
+ <if test="excelYxstatus != null">
|
|
|
+ DFD1_EXCEL_YXSTATUS,
|
|
|
+ </if>
|
|
|
+ <if test="excelTytime != null">
|
|
|
+ DFD1_EXCEL_TYTIME,
|
|
|
+ </if>
|
|
|
+ <if test="fileId != null">
|
|
|
+ DFD1_FILE_ID,
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="id != null">
|
|
|
+ #{id,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="excelId != null">
|
|
|
+ #{excelId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="excelTname != null">
|
|
|
+ #{excelTname,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="excelCmode != null">
|
|
|
+ #{excelCmode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="excelValue != null">
|
|
|
+ #{excelValue,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="excelFacname != null">
|
|
|
+ #{excelFacname,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="excelType != null">
|
|
|
+ #{excelType,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="excelFdid != null">
|
|
|
+ #{excelFdid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="excelYxstatus != null">
|
|
|
+ #{excelYxstatus,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="excelTytime != null">
|
|
|
+ #{excelTytime,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="fileId != null">
|
|
|
+ #{fileId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ </insert>
|
|
|
+ <select id="countByExample" parameterType="com.minpay.db.table.model.DwFileDetail01Example" resultType="java.lang.Integer">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ select count(*) from dw_file_detail_01
|
|
|
+ <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_01
|
|
|
+ <set>
|
|
|
+ <if test="record.id != null">
|
|
|
+ DFD1_ID = #{record.id,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.excelId != null">
|
|
|
+ DFD1_EXCEL_ID = #{record.excelId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.excelTname != null">
|
|
|
+ DFD1_EXCEL_TNAME = #{record.excelTname,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.excelCmode != null">
|
|
|
+ DFD1_EXCEL_CMODE = #{record.excelCmode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.excelValue != null">
|
|
|
+ DFD1_EXCEL_VALUE = #{record.excelValue,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.excelFacname != null">
|
|
|
+ DFD1_EXCEL_FACNAME = #{record.excelFacname,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.excelType != null">
|
|
|
+ DFD1_EXCEL_TYPE = #{record.excelType,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.excelFdid != null">
|
|
|
+ DFD1_EXCEL_FDID = #{record.excelFdid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.excelYxstatus != null">
|
|
|
+ DFD1_EXCEL_YXSTATUS = #{record.excelYxstatus,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.excelTytime != null">
|
|
|
+ DFD1_EXCEL_TYTIME = #{record.excelTytime,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.fileId != null">
|
|
|
+ DFD1_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_01
|
|
|
+ set DFD1_ID = #{record.id,jdbcType=VARCHAR},
|
|
|
+ DFD1_EXCEL_ID = #{record.excelId,jdbcType=VARCHAR},
|
|
|
+ DFD1_EXCEL_TNAME = #{record.excelTname,jdbcType=VARCHAR},
|
|
|
+ DFD1_EXCEL_CMODE = #{record.excelCmode,jdbcType=VARCHAR},
|
|
|
+ DFD1_EXCEL_VALUE = #{record.excelValue,jdbcType=VARCHAR},
|
|
|
+ DFD1_EXCEL_FACNAME = #{record.excelFacname,jdbcType=VARCHAR},
|
|
|
+ DFD1_EXCEL_TYPE = #{record.excelType,jdbcType=VARCHAR},
|
|
|
+ DFD1_EXCEL_FDID = #{record.excelFdid,jdbcType=VARCHAR},
|
|
|
+ DFD1_EXCEL_YXSTATUS = #{record.excelYxstatus,jdbcType=VARCHAR},
|
|
|
+ DFD1_EXCEL_TYTIME = #{record.excelTytime,jdbcType=VARCHAR},
|
|
|
+ DFD1_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.DwFileDetail01">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ update dw_file_detail_01
|
|
|
+ <set>
|
|
|
+ <if test="excelId != null">
|
|
|
+ DFD1_EXCEL_ID = #{excelId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="excelTname != null">
|
|
|
+ DFD1_EXCEL_TNAME = #{excelTname,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="excelCmode != null">
|
|
|
+ DFD1_EXCEL_CMODE = #{excelCmode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="excelValue != null">
|
|
|
+ DFD1_EXCEL_VALUE = #{excelValue,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="excelFacname != null">
|
|
|
+ DFD1_EXCEL_FACNAME = #{excelFacname,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="excelType != null">
|
|
|
+ DFD1_EXCEL_TYPE = #{excelType,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="excelFdid != null">
|
|
|
+ DFD1_EXCEL_FDID = #{excelFdid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="excelYxstatus != null">
|
|
|
+ DFD1_EXCEL_YXSTATUS = #{excelYxstatus,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="excelTytime != null">
|
|
|
+ DFD1_EXCEL_TYTIME = #{excelTytime,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="fileId != null">
|
|
|
+ DFD1_FILE_ID = #{fileId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ </set>
|
|
|
+ where DFD1_ID = #{id,jdbcType=VARCHAR}
|
|
|
+ </update>
|
|
|
+ <update id="updateByPrimaryKey" parameterType="com.minpay.db.table.model.DwFileDetail01">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ update dw_file_detail_01
|
|
|
+ set DFD1_EXCEL_ID = #{excelId,jdbcType=VARCHAR},
|
|
|
+ DFD1_EXCEL_TNAME = #{excelTname,jdbcType=VARCHAR},
|
|
|
+ DFD1_EXCEL_CMODE = #{excelCmode,jdbcType=VARCHAR},
|
|
|
+ DFD1_EXCEL_VALUE = #{excelValue,jdbcType=VARCHAR},
|
|
|
+ DFD1_EXCEL_FACNAME = #{excelFacname,jdbcType=VARCHAR},
|
|
|
+ DFD1_EXCEL_TYPE = #{excelType,jdbcType=VARCHAR},
|
|
|
+ DFD1_EXCEL_FDID = #{excelFdid,jdbcType=VARCHAR},
|
|
|
+ DFD1_EXCEL_YXSTATUS = #{excelYxstatus,jdbcType=VARCHAR},
|
|
|
+ DFD1_EXCEL_TYTIME = #{excelTytime,jdbcType=VARCHAR},
|
|
|
+ DFD1_FILE_ID = #{fileId,jdbcType=VARCHAR}
|
|
|
+ where DFD1_ID = #{id,jdbcType=VARCHAR}
|
|
|
+ </update>
|
|
|
+</mapper>
|