|
@@ -0,0 +1,326 @@
|
|
|
+<?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.DwFileDetail35Mapper">
|
|
|
+ <resultMap id="BaseResultMap" type="com.minpay.db.table.model.DwFileDetail35">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ <result column="DFD35_ID" jdbcType="VARCHAR" property="id" />
|
|
|
+ <result column="DFD35_SEQU" jdbcType="VARCHAR" property="sequ" />
|
|
|
+ <result column="DFD35_DW" jdbcType="VARCHAR" property="dw" />
|
|
|
+ <result column="DFD35_SLS" jdbcType="VARCHAR" property="sls" />
|
|
|
+ <result column="DFD35_ZDSJ" jdbcType="VARCHAR" property="zdsj" />
|
|
|
+ <result column="DFD35_ZDXFGH" jdbcType="VARCHAR" property="zdxfgh" />
|
|
|
+ <result column="DFD35_ZCSJ" jdbcType="VARCHAR" property="zcsj" />
|
|
|
+ <result column="DFD35_ZCXFGH" jdbcType="VARCHAR" property="zcxfgh" />
|
|
|
+ <result column="DFD35_PJSJ" jdbcType="VARCHAR" property="pjsj" />
|
|
|
+ <result column="DFD35_DATESTART" jdbcType="VARCHAR" property="datestart" />
|
|
|
+ <result column="DFD35_DATEEND" jdbcType="VARCHAR" property="dateend" />
|
|
|
+ <result column="DFD35_BBLX" jdbcType="VARCHAR" property="bblx" />
|
|
|
+ <result column="DFD35_FILEID" jdbcType="VARCHAR" property="fileid" />
|
|
|
+ <result column="DFD35_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.
|
|
|
+ -->
|
|
|
+ DFD35_ID, DFD35_SEQU, DFD35_DW, DFD35_SLS, DFD35_ZDSJ, DFD35_ZDXFGH, DFD35_ZCSJ,
|
|
|
+ DFD35_ZCXFGH, DFD35_PJSJ, DFD35_DATESTART, DFD35_DATEEND, DFD35_BBLX, DFD35_FILEID,
|
|
|
+ DFD35_STATE
|
|
|
+ </sql>
|
|
|
+ <select id="selectByExample" parameterType="com.minpay.db.table.model.DwFileDetail35Example" 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 dw_file_detail_35
|
|
|
+ <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.DwFileDetail35Example">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ delete from dw_file_detail_35
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </delete>
|
|
|
+ <insert id="insert" parameterType="com.minpay.db.table.model.DwFileDetail35">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ insert into dw_file_detail_35 (DFD35_ID, DFD35_SEQU, DFD35_DW,
|
|
|
+ DFD35_SLS, DFD35_ZDSJ, DFD35_ZDXFGH,
|
|
|
+ DFD35_ZCSJ, DFD35_ZCXFGH, DFD35_PJSJ,
|
|
|
+ DFD35_DATESTART, DFD35_DATEEND, DFD35_BBLX,
|
|
|
+ DFD35_FILEID, DFD35_STATE)
|
|
|
+ values (#{id,jdbcType=VARCHAR}, #{sequ,jdbcType=VARCHAR}, #{dw,jdbcType=VARCHAR},
|
|
|
+ #{sls,jdbcType=VARCHAR}, #{zdsj,jdbcType=VARCHAR}, #{zdxfgh,jdbcType=VARCHAR},
|
|
|
+ #{zcsj,jdbcType=VARCHAR}, #{zcxfgh,jdbcType=VARCHAR}, #{pjsj,jdbcType=VARCHAR},
|
|
|
+ #{datestart,jdbcType=VARCHAR}, #{dateend,jdbcType=VARCHAR}, #{bblx,jdbcType=VARCHAR},
|
|
|
+ #{fileid,jdbcType=VARCHAR}, #{state,jdbcType=VARCHAR})
|
|
|
+ </insert>
|
|
|
+ <insert id="insertSelective" parameterType="com.minpay.db.table.model.DwFileDetail35">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ insert into dw_file_detail_35
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="id != null">
|
|
|
+ DFD35_ID,
|
|
|
+ </if>
|
|
|
+ <if test="sequ != null">
|
|
|
+ DFD35_SEQU,
|
|
|
+ </if>
|
|
|
+ <if test="dw != null">
|
|
|
+ DFD35_DW,
|
|
|
+ </if>
|
|
|
+ <if test="sls != null">
|
|
|
+ DFD35_SLS,
|
|
|
+ </if>
|
|
|
+ <if test="zdsj != null">
|
|
|
+ DFD35_ZDSJ,
|
|
|
+ </if>
|
|
|
+ <if test="zdxfgh != null">
|
|
|
+ DFD35_ZDXFGH,
|
|
|
+ </if>
|
|
|
+ <if test="zcsj != null">
|
|
|
+ DFD35_ZCSJ,
|
|
|
+ </if>
|
|
|
+ <if test="zcxfgh != null">
|
|
|
+ DFD35_ZCXFGH,
|
|
|
+ </if>
|
|
|
+ <if test="pjsj != null">
|
|
|
+ DFD35_PJSJ,
|
|
|
+ </if>
|
|
|
+ <if test="datestart != null">
|
|
|
+ DFD35_DATESTART,
|
|
|
+ </if>
|
|
|
+ <if test="dateend != null">
|
|
|
+ DFD35_DATEEND,
|
|
|
+ </if>
|
|
|
+ <if test="bblx != null">
|
|
|
+ DFD35_BBLX,
|
|
|
+ </if>
|
|
|
+ <if test="fileid != null">
|
|
|
+ DFD35_FILEID,
|
|
|
+ </if>
|
|
|
+ <if test="state != null">
|
|
|
+ DFD35_STATE,
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="id != null">
|
|
|
+ #{id,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="sequ != null">
|
|
|
+ #{sequ,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="dw != null">
|
|
|
+ #{dw,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="sls != null">
|
|
|
+ #{sls,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="zdsj != null">
|
|
|
+ #{zdsj,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="zdxfgh != null">
|
|
|
+ #{zdxfgh,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="zcsj != null">
|
|
|
+ #{zcsj,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="zcxfgh != null">
|
|
|
+ #{zcxfgh,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="pjsj != null">
|
|
|
+ #{pjsj,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="datestart != null">
|
|
|
+ #{datestart,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="dateend != null">
|
|
|
+ #{dateend,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="bblx != null">
|
|
|
+ #{bblx,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="fileid != null">
|
|
|
+ #{fileid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="state != null">
|
|
|
+ #{state,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ </insert>
|
|
|
+ <select id="countByExample" parameterType="com.minpay.db.table.model.DwFileDetail35Example" resultType="java.lang.Long">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ select count(*) from dw_file_detail_35
|
|
|
+ <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 dw_file_detail_35
|
|
|
+ <set>
|
|
|
+ <if test="record.id != null">
|
|
|
+ DFD35_ID = #{record.id,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.sequ != null">
|
|
|
+ DFD35_SEQU = #{record.sequ,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.dw != null">
|
|
|
+ DFD35_DW = #{record.dw,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.sls != null">
|
|
|
+ DFD35_SLS = #{record.sls,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.zdsj != null">
|
|
|
+ DFD35_ZDSJ = #{record.zdsj,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.zdxfgh != null">
|
|
|
+ DFD35_ZDXFGH = #{record.zdxfgh,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.zcsj != null">
|
|
|
+ DFD35_ZCSJ = #{record.zcsj,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.zcxfgh != null">
|
|
|
+ DFD35_ZCXFGH = #{record.zcxfgh,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.pjsj != null">
|
|
|
+ DFD35_PJSJ = #{record.pjsj,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.datestart != null">
|
|
|
+ DFD35_DATESTART = #{record.datestart,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.dateend != null">
|
|
|
+ DFD35_DATEEND = #{record.dateend,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.bblx != null">
|
|
|
+ DFD35_BBLX = #{record.bblx,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.fileid != null">
|
|
|
+ DFD35_FILEID = #{record.fileid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.state != null">
|
|
|
+ DFD35_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 dw_file_detail_35
|
|
|
+ set DFD35_ID = #{record.id,jdbcType=VARCHAR},
|
|
|
+ DFD35_SEQU = #{record.sequ,jdbcType=VARCHAR},
|
|
|
+ DFD35_DW = #{record.dw,jdbcType=VARCHAR},
|
|
|
+ DFD35_SLS = #{record.sls,jdbcType=VARCHAR},
|
|
|
+ DFD35_ZDSJ = #{record.zdsj,jdbcType=VARCHAR},
|
|
|
+ DFD35_ZDXFGH = #{record.zdxfgh,jdbcType=VARCHAR},
|
|
|
+ DFD35_ZCSJ = #{record.zcsj,jdbcType=VARCHAR},
|
|
|
+ DFD35_ZCXFGH = #{record.zcxfgh,jdbcType=VARCHAR},
|
|
|
+ DFD35_PJSJ = #{record.pjsj,jdbcType=VARCHAR},
|
|
|
+ DFD35_DATESTART = #{record.datestart,jdbcType=VARCHAR},
|
|
|
+ DFD35_DATEEND = #{record.dateend,jdbcType=VARCHAR},
|
|
|
+ DFD35_BBLX = #{record.bblx,jdbcType=VARCHAR},
|
|
|
+ DFD35_FILEID = #{record.fileid,jdbcType=VARCHAR},
|
|
|
+ DFD35_STATE = #{record.state,jdbcType=VARCHAR}
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Update_By_Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </update>
|
|
|
+</mapper>
|