| 
 | 
 | 
 <?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.sy.mapper.LAND_BUSINEESTYPE_LIST_INFOMapper">
 | 
| 
 | 
 | 
   <resultMap id="BaseResultMap" type="com.sy.model.LAND_BUSINEESTYPE_LIST_INFO">
 | 
| 
 | 
 | 
     <id column="id" jdbcType="VARCHAR" property="id" />
 | 
| 
 | 
 | 
     <result column="licensePlateNumber" jdbcType="VARCHAR" property="licenseplatenumber" />
 | 
| 
 | 
 | 
     <result column="awba" jdbcType="VARCHAR" property="awba" />
 | 
| 
 | 
 | 
     <result column="partialIdentity" jdbcType="VARCHAR" property="partialidentity" />
 | 
| 
 | 
 | 
     <result column="arrivedAheadTime" jdbcType="VARCHAR" property="arrivedaheadtime" />
 | 
| 
 | 
 | 
     <result column="applicationFormId" jdbcType="VARCHAR" property="applicationformid" />
 | 
| 
 | 
 | 
     <result column="ext1" jdbcType="VARCHAR" property="ext1" />
 | 
| 
 | 
 | 
     <result column="ext2" jdbcType="VARCHAR" property="ext2" />
 | 
| 
 | 
 | 
     <result column="ext3" jdbcType="VARCHAR" property="ext3" />
 | 
| 
 | 
 | 
     <result column="ext4" jdbcType="VARCHAR" property="ext4" />
 | 
| 
 | 
 | 
   </resultMap>
 | 
| 
 | 
 | 
   <sql id="Base_Column_List">
 | 
| 
 | 
 | 
     id, licensePlateNumber, awba, partialIdentity, arrivedAheadTime, applicationFormId,
 | 
| 
 | 
 | 
     ext1, ext2, ext3, ext4
 | 
| 
 | 
 | 
   </sql>
 | 
| 
 | 
 | 
   <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
 | 
| 
 | 
 | 
     select
 | 
| 
 | 
 | 
     <include refid="Base_Column_List" />
 | 
| 
 | 
 | 
     from land_busineestype_list_info
 | 
| 
 | 
 | 
     where id = #{id,jdbcType=VARCHAR}
 | 
| 
 | 
 | 
   </select>
 | 
| 
 | 
 | 
   <select id="selectarrive" parameterType="java.lang.String" resultMap="BaseResultMap">
 | 
| 
 | 
 | 
     select
 | 
| 
 | 
 | 
     <include refid="Base_Column_List" />
 | 
| 
 | 
 | 
     from land_busineestype_list_info
 | 
| 
 | 
 | 
     where 1=1 and arrivedAheadTime='1'
 | 
| 
 | 
 | 
     and applicationFormId = #{applicationformid,jdbcType=VARCHAR}
 | 
| 
 | 
 | 
   </select>
 | 
| 
 | 
 | 
   <select id="selectpartialidentity" parameterType="java.lang.String" resultMap="BaseResultMap">
 | 
| 
 | 
 | 
     select
 | 
| 
 | 
 | 
     <include refid="Base_Column_List" />
 | 
| 
 | 
 | 
     from land_busineestype_list_info
 | 
| 
 | 
 | 
     where 1=1 and partialIdentity='1'
 | 
| 
 | 
 | 
     and applicationFormId = #{applicationformid,jdbcType=VARCHAR}
 | 
| 
 | 
 | 
   </select>
 | 
| 
 | 
 | 
   <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
 | 
| 
 | 
 | 
     delete from land_busineestype_list_info
 | 
| 
 | 
 | 
     where id = #{id,jdbcType=VARCHAR}
 | 
| 
 | 
 | 
   </delete>
 | 
| 
 | 
 | 
   <insert id="insert" parameterType="com.sy.model.LAND_BUSINEESTYPE_LIST_INFO">
 | 
| 
 | 
 | 
     insert into land_busineestype_list_info (id, licensePlateNumber, awba,
 | 
| 
 | 
 | 
       partialIdentity, arrivedAheadTime, applicationFormId,
 | 
| 
 | 
 | 
       ext1, ext2, ext3, ext4
 | 
| 
 | 
 | 
       )
 | 
| 
 | 
 | 
     values (#{id,jdbcType=VARCHAR}, #{licenseplatenumber,jdbcType=VARCHAR}, #{awba,jdbcType=VARCHAR},
 | 
| 
 | 
 | 
       #{partialidentity,jdbcType=VARCHAR}, #{arrivedaheadtime,jdbcType=VARCHAR}, #{applicationformid,jdbcType=VARCHAR},
 | 
| 
 | 
 | 
       #{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR}, #{ext4,jdbcType=VARCHAR}
 | 
| 
 | 
 | 
       )
 | 
| 
 | 
 | 
   </insert>
 | 
| 
 | 
 | 
   <insert id="insertSelective" parameterType="com.sy.model.LAND_BUSINEESTYPE_LIST_INFO">
 | 
| 
 | 
 | 
     insert into land_busineestype_list_info
 | 
| 
 | 
 | 
     <trim prefix="(" suffix=")" suffixOverrides=",">
 | 
| 
 | 
 | 
       <if test="id != null">
 | 
| 
 | 
 | 
         id,
 | 
| 
 | 
 | 
       </if>
 | 
| 
 | 
 | 
       <if test="licenseplatenumber != null">
 | 
| 
 | 
 | 
         licensePlateNumber,
 | 
| 
 | 
 | 
       </if>
 | 
| 
 | 
 | 
       <if test="awba != null">
 | 
| 
 | 
 | 
         awba,
 | 
| 
 | 
 | 
       </if>
 | 
| 
 | 
 | 
       <if test="partialidentity != null">
 | 
| 
 | 
 | 
         partialIdentity,
 | 
| 
 | 
 | 
       </if>
 | 
| 
 | 
 | 
       <if test="arrivedaheadtime != null">
 | 
| 
 | 
 | 
         arrivedAheadTime,
 | 
| 
 | 
 | 
       </if>
 | 
| 
 | 
 | 
       <if test="applicationformid != null">
 | 
| 
 | 
 | 
         applicationFormId,
 | 
| 
 | 
 | 
       </if>
 | 
| 
 | 
 | 
       <if test="ext1 != null">
 | 
| 
 | 
 | 
         ext1,
 | 
| 
 | 
 | 
       </if>
 | 
| 
 | 
 | 
       <if test="ext2 != null">
 | 
| 
 | 
 | 
         ext2,
 | 
| 
 | 
 | 
       </if>
 | 
| 
 | 
 | 
       <if test="ext3 != null">
 | 
| 
 | 
 | 
         ext3,
 | 
| 
 | 
 | 
       </if>
 | 
| 
 | 
 | 
       <if test="ext4 != null">
 | 
| 
 | 
 | 
         ext4,
 | 
| 
 | 
 | 
       </if>
 | 
| 
 | 
 | 
     </trim>
 | 
| 
 | 
 | 
     <trim prefix="values (" suffix=")" suffixOverrides=",">
 | 
| 
 | 
 | 
       <if test="id != null">
 | 
| 
 | 
 | 
         #{id,jdbcType=VARCHAR},
 | 
| 
 | 
 | 
       </if>
 | 
| 
 | 
 | 
       <if test="licenseplatenumber != null">
 | 
| 
 | 
 | 
         #{licenseplatenumber,jdbcType=VARCHAR},
 | 
| 
 | 
 | 
       </if>
 | 
| 
 | 
 | 
       <if test="awba != null">
 | 
| 
 | 
 | 
         #{awba,jdbcType=VARCHAR},
 | 
| 
 | 
 | 
       </if>
 | 
| 
 | 
 | 
       <if test="partialidentity != null">
 | 
| 
 | 
 | 
         #{partialidentity,jdbcType=VARCHAR},
 | 
| 
 | 
 | 
       </if>
 | 
| 
 | 
 | 
       <if test="arrivedaheadtime != null">
 | 
| 
 | 
 | 
         #{arrivedaheadtime,jdbcType=VARCHAR},
 | 
| 
 | 
 | 
       </if>
 | 
| 
 | 
 | 
       <if test="applicationformid != null">
 | 
| 
 | 
 | 
         #{applicationformid,jdbcType=VARCHAR},
 | 
| 
 | 
 | 
       </if>
 | 
| 
 | 
 | 
       <if test="ext1 != null">
 | 
| 
 | 
 | 
         #{ext1,jdbcType=VARCHAR},
 | 
| 
 | 
 | 
       </if>
 | 
| 
 | 
 | 
       <if test="ext2 != null">
 | 
| 
 | 
 | 
         #{ext2,jdbcType=VARCHAR},
 | 
| 
 | 
 | 
       </if>
 | 
| 
 | 
 | 
       <if test="ext3 != null">
 | 
| 
 | 
 | 
         #{ext3,jdbcType=VARCHAR},
 | 
| 
 | 
 | 
       </if>
 | 
| 
 | 
 | 
       <if test="ext4 != null">
 | 
| 
 | 
 | 
         #{ext4,jdbcType=VARCHAR},
 | 
| 
 | 
 | 
       </if>
 | 
| 
 | 
 | 
     </trim>
 | 
| 
 | 
 | 
   </insert>
 | 
| 
 | 
 | 
   <update id="updateByPrimaryKeySelective" parameterType="com.sy.model.LAND_BUSINEESTYPE_LIST_INFO">
 | 
| 
 | 
 | 
     update land_busineestype_list_info
 | 
| 
 | 
 | 
     <set>
 | 
| 
 | 
 | 
       <if test="licenseplatenumber != null">
 | 
| 
 | 
 | 
         licensePlateNumber = #{licenseplatenumber,jdbcType=VARCHAR},
 | 
| 
 | 
 | 
       </if>
 | 
| 
 | 
 | 
       <if test="awba != null">
 | 
| 
 | 
 | 
         awba = #{awba,jdbcType=VARCHAR},
 | 
| 
 | 
 | 
       </if>
 | 
| 
 | 
 | 
       <if test="partialidentity != null">
 | 
| 
 | 
 | 
         partialIdentity = #{partialidentity,jdbcType=VARCHAR},
 | 
| 
 | 
 | 
       </if>
 | 
| 
 | 
 | 
       <if test="arrivedaheadtime != null">
 | 
| 
 | 
 | 
         arrivedAheadTime = #{arrivedaheadtime,jdbcType=VARCHAR},
 | 
| 
 | 
 | 
       </if>
 | 
| 
 | 
 | 
       <if test="applicationformid != null">
 | 
| 
 | 
 | 
         applicationFormId = #{applicationformid,jdbcType=VARCHAR},
 | 
| 
 | 
 | 
       </if>
 | 
| 
 | 
 | 
       <if test="ext1 != null">
 | 
| 
 | 
 | 
         ext1 = #{ext1,jdbcType=VARCHAR},
 | 
| 
 | 
 | 
       </if>
 | 
| 
 | 
 | 
       <if test="ext2 != null">
 | 
| 
 | 
 | 
         ext2 = #{ext2,jdbcType=VARCHAR},
 | 
| 
 | 
 | 
       </if>
 | 
| 
 | 
 | 
       <if test="ext3 != null">
 | 
| 
 | 
 | 
         ext3 = #{ext3,jdbcType=VARCHAR},
 | 
| 
 | 
 | 
       </if>
 | 
| 
 | 
 | 
       <if test="ext4 != null">
 | 
| 
 | 
 | 
         ext4 = #{ext4,jdbcType=VARCHAR},
 | 
| 
 | 
 | 
       </if>
 | 
| 
 | 
 | 
     </set>
 | 
| 
 | 
 | 
     where id = #{id,jdbcType=VARCHAR}
 | 
| 
 | 
 | 
   </update>
 | 
| 
 | 
 | 
   <update id="updateByPrimaryKey" parameterType="com.sy.model.LAND_BUSINEESTYPE_LIST_INFO">
 | 
| 
 | 
 | 
     update land_busineestype_list_info
 | 
| 
 | 
 | 
     set licensePlateNumber = #{licenseplatenumber,jdbcType=VARCHAR},
 | 
| 
 | 
 | 
       awba = #{awba,jdbcType=VARCHAR},
 | 
| 
 | 
 | 
       partialIdentity = #{partialidentity,jdbcType=VARCHAR},
 | 
| 
 | 
 | 
       arrivedAheadTime = #{arrivedaheadtime,jdbcType=VARCHAR},
 | 
| 
 | 
 | 
       applicationFormId = #{applicationformid,jdbcType=VARCHAR},
 | 
| 
 | 
 | 
       ext1 = #{ext1,jdbcType=VARCHAR},
 | 
| 
 | 
 | 
       ext2 = #{ext2,jdbcType=VARCHAR},
 | 
| 
 | 
 | 
       ext3 = #{ext3,jdbcType=VARCHAR},
 | 
| 
 | 
 | 
       ext4 = #{ext4,jdbcType=VARCHAR}
 | 
| 
 | 
 | 
     where id = #{id,jdbcType=VARCHAR}
 | 
| 
 | 
 | 
   </update>
 | 
| 
 | 
 | 
 </mapper> | 
...
 | 
...
 | 
 |