作者 xudada

提前运抵

  1 +package com.sy.mapper;
  2 +
  3 +import com.sy.model.LAND_BUSINEESTYPE_LIST_INFO;
  4 +import org.apache.ibatis.annotations.Param;
  5 +
  6 +import java.util.List;
  7 +
  8 +public interface LAND_BUSINEESTYPE_LIST_INFOMapper {
  9 + int deleteByPrimaryKey(String id);
  10 +
  11 + int insert(LAND_BUSINEESTYPE_LIST_INFO record);
  12 +
  13 + int insertSelective(LAND_BUSINEESTYPE_LIST_INFO record);
  14 +
  15 + LAND_BUSINEESTYPE_LIST_INFO selectByPrimaryKey(String id);
  16 +
  17 + int updateByPrimaryKeySelective(LAND_BUSINEESTYPE_LIST_INFO record);
  18 +
  19 + int updateByPrimaryKey(LAND_BUSINEESTYPE_LIST_INFO record);
  20 +
  21 + List<LAND_BUSINEESTYPE_LIST_INFO> selectarrive(@Param("applicationformid") String applicationformid);
  22 +
  23 + List<LAND_BUSINEESTYPE_LIST_INFO> selectpartialidentity(@Param("applicationformid") String applicationformid);
  24 +}
  1 +package com.sy.mapper;
  2 +
  3 +import com.sy.model.businesstypelistinfo_view;
  4 +import org.apache.ibatis.annotations.Param;
  5 +
  6 +import java.util.List;
  7 +
  8 +public interface businesstypelistinfo_viewMapper {
  9 + int insert(businesstypelistinfo_view record);
  10 +
  11 + int insertSelective(businesstypelistinfo_view record);
  12 +
  13 + List<businesstypelistinfo_view> selectawb(@Param("awba") String awba);
  14 +}
  1 +package com.sy.model;
  2 +
  3 +public class LAND_BUSINEESTYPE_LIST_INFO {
  4 + private String id;
  5 +
  6 + private String licenseplatenumber;
  7 +
  8 + private String awba;
  9 +
  10 + private String partialidentity;
  11 +
  12 + private String arrivedaheadtime;
  13 +
  14 + private String applicationformid;
  15 +
  16 + private String ext1;
  17 +
  18 + private String ext2;
  19 +
  20 + private String ext3;
  21 +
  22 + private String ext4;
  23 +
  24 + public String getId() {
  25 + return id;
  26 + }
  27 +
  28 + public void setId(String id) {
  29 + this.id = id == null ? null : id.trim();
  30 + }
  31 +
  32 + public String getLicenseplatenumber() {
  33 + return licenseplatenumber;
  34 + }
  35 +
  36 + public void setLicenseplatenumber(String licenseplatenumber) {
  37 + this.licenseplatenumber = licenseplatenumber == null ? null : licenseplatenumber.trim();
  38 + }
  39 +
  40 + public String getAwba() {
  41 + return awba;
  42 + }
  43 +
  44 + public void setAwba(String awba) {
  45 + this.awba = awba == null ? null : awba.trim();
  46 + }
  47 +
  48 + public String getPartialidentity() {
  49 + return partialidentity;
  50 + }
  51 +
  52 + public void setPartialidentity(String partialidentity) {
  53 + this.partialidentity = partialidentity == null ? null : partialidentity.trim();
  54 + }
  55 +
  56 + public String getArrivedaheadtime() {
  57 + return arrivedaheadtime;
  58 + }
  59 +
  60 + public void setArrivedaheadtime(String arrivedaheadtime) {
  61 + this.arrivedaheadtime = arrivedaheadtime == null ? null : arrivedaheadtime.trim();
  62 + }
  63 +
  64 + public String getApplicationformid() {
  65 + return applicationformid;
  66 + }
  67 +
  68 + public void setApplicationformid(String applicationformid) {
  69 + this.applicationformid = applicationformid == null ? null : applicationformid.trim();
  70 + }
  71 +
  72 + public String getExt1() {
  73 + return ext1;
  74 + }
  75 +
  76 + public void setExt1(String ext1) {
  77 + this.ext1 = ext1 == null ? null : ext1.trim();
  78 + }
  79 +
  80 + public String getExt2() {
  81 + return ext2;
  82 + }
  83 +
  84 + public void setExt2(String ext2) {
  85 + this.ext2 = ext2 == null ? null : ext2.trim();
  86 + }
  87 +
  88 + public String getExt3() {
  89 + return ext3;
  90 + }
  91 +
  92 + public void setExt3(String ext3) {
  93 + this.ext3 = ext3 == null ? null : ext3.trim();
  94 + }
  95 +
  96 + public String getExt4() {
  97 + return ext4;
  98 + }
  99 +
  100 + public void setExt4(String ext4) {
  101 + this.ext4 = ext4 == null ? null : ext4.trim();
  102 + }
  103 +}
  1 +package com.sy.model;
  2 +
  3 +public class businesstypelistinfo_view {
  4 + private String id;
  5 +
  6 + private String licenseplatenumber;
  7 +
  8 + private String awba;
  9 +
  10 + private String partialidentity;
  11 +
  12 + private String arrivedaheadtime;
  13 +
  14 + private String applicationformid;
  15 +
  16 + private String ext1;
  17 +
  18 + private String ext2;
  19 +
  20 + private String ext3;
  21 +
  22 + private String ext4;
  23 +
  24 + public String getId() {
  25 + return id;
  26 + }
  27 +
  28 + public void setId(String id) {
  29 + this.id = id == null ? null : id.trim();
  30 + }
  31 +
  32 + public String getLicenseplatenumber() {
  33 + return licenseplatenumber;
  34 + }
  35 +
  36 + public void setLicenseplatenumber(String licenseplatenumber) {
  37 + this.licenseplatenumber = licenseplatenumber == null ? null : licenseplatenumber.trim();
  38 + }
  39 +
  40 + public String getAwba() {
  41 + return awba;
  42 + }
  43 +
  44 + public void setAwba(String awba) {
  45 + this.awba = awba == null ? null : awba.trim();
  46 + }
  47 +
  48 + public String getPartialidentity() {
  49 + return partialidentity;
  50 + }
  51 +
  52 + public void setPartialidentity(String partialidentity) {
  53 + this.partialidentity = partialidentity == null ? null : partialidentity.trim();
  54 + }
  55 +
  56 + public String getArrivedaheadtime() {
  57 + return arrivedaheadtime;
  58 + }
  59 +
  60 + public void setArrivedaheadtime(String arrivedaheadtime) {
  61 + this.arrivedaheadtime = arrivedaheadtime == null ? null : arrivedaheadtime.trim();
  62 + }
  63 +
  64 + public String getApplicationformid() {
  65 + return applicationformid;
  66 + }
  67 +
  68 + public void setApplicationformid(String applicationformid) {
  69 + this.applicationformid = applicationformid == null ? null : applicationformid.trim();
  70 + }
  71 +
  72 + public String getExt1() {
  73 + return ext1;
  74 + }
  75 +
  76 + public void setExt1(String ext1) {
  77 + this.ext1 = ext1 == null ? null : ext1.trim();
  78 + }
  79 +
  80 + public String getExt2() {
  81 + return ext2;
  82 + }
  83 +
  84 + public void setExt2(String ext2) {
  85 + this.ext2 = ext2 == null ? null : ext2.trim();
  86 + }
  87 +
  88 + public String getExt3() {
  89 + return ext3;
  90 + }
  91 +
  92 + public void setExt3(String ext3) {
  93 + this.ext3 = ext3 == null ? null : ext3.trim();
  94 + }
  95 +
  96 + public String getExt4() {
  97 + return ext4;
  98 + }
  99 +
  100 + public void setExt4(String ext4) {
  101 + this.ext4 = ext4 == null ? null : ext4.trim();
  102 + }
  103 +}
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3 +<mapper namespace="com.sy.mapper.LAND_BUSINEESTYPE_LIST_INFOMapper">
  4 + <resultMap id="BaseResultMap" type="com.sy.model.LAND_BUSINEESTYPE_LIST_INFO">
  5 + <id column="id" jdbcType="VARCHAR" property="id" />
  6 + <result column="licensePlateNumber" jdbcType="VARCHAR" property="licenseplatenumber" />
  7 + <result column="awba" jdbcType="VARCHAR" property="awba" />
  8 + <result column="partialIdentity" jdbcType="VARCHAR" property="partialidentity" />
  9 + <result column="arrivedAheadTime" jdbcType="VARCHAR" property="arrivedaheadtime" />
  10 + <result column="applicationFormId" jdbcType="VARCHAR" property="applicationformid" />
  11 + <result column="ext1" jdbcType="VARCHAR" property="ext1" />
  12 + <result column="ext2" jdbcType="VARCHAR" property="ext2" />
  13 + <result column="ext3" jdbcType="VARCHAR" property="ext3" />
  14 + <result column="ext4" jdbcType="VARCHAR" property="ext4" />
  15 + </resultMap>
  16 + <sql id="Base_Column_List">
  17 + id, licensePlateNumber, awba, partialIdentity, arrivedAheadTime, applicationFormId,
  18 + ext1, ext2, ext3, ext4
  19 + </sql>
  20 + <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
  21 + select
  22 + <include refid="Base_Column_List" />
  23 + from land_busineestype_list_info
  24 + where id = #{id,jdbcType=VARCHAR}
  25 + </select>
  26 + <select id="selectarrive" parameterType="java.lang.String" resultMap="BaseResultMap">
  27 + select
  28 + <include refid="Base_Column_List" />
  29 + from land_busineestype_list_info
  30 + where 1=1 and arrivedAheadTime='1'
  31 + and applicationFormId = #{applicationformid,jdbcType=VARCHAR}
  32 + </select>
  33 + <select id="selectpartialidentity" parameterType="java.lang.String" resultMap="BaseResultMap">
  34 + select
  35 + <include refid="Base_Column_List" />
  36 + from land_busineestype_list_info
  37 + where 1=1 and partialIdentity='1'
  38 + and applicationFormId = #{applicationformid,jdbcType=VARCHAR}
  39 + </select>
  40 + <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
  41 + delete from land_busineestype_list_info
  42 + where id = #{id,jdbcType=VARCHAR}
  43 + </delete>
  44 + <insert id="insert" parameterType="com.sy.model.LAND_BUSINEESTYPE_LIST_INFO">
  45 + insert into land_busineestype_list_info (id, licensePlateNumber, awba,
  46 + partialIdentity, arrivedAheadTime, applicationFormId,
  47 + ext1, ext2, ext3, ext4
  48 + )
  49 + values (#{id,jdbcType=VARCHAR}, #{licenseplatenumber,jdbcType=VARCHAR}, #{awba,jdbcType=VARCHAR},
  50 + #{partialidentity,jdbcType=VARCHAR}, #{arrivedaheadtime,jdbcType=VARCHAR}, #{applicationformid,jdbcType=VARCHAR},
  51 + #{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR}, #{ext4,jdbcType=VARCHAR}
  52 + )
  53 + </insert>
  54 + <insert id="insertSelective" parameterType="com.sy.model.LAND_BUSINEESTYPE_LIST_INFO">
  55 + insert into land_busineestype_list_info
  56 + <trim prefix="(" suffix=")" suffixOverrides=",">
  57 + <if test="id != null">
  58 + id,
  59 + </if>
  60 + <if test="licenseplatenumber != null">
  61 + licensePlateNumber,
  62 + </if>
  63 + <if test="awba != null">
  64 + awba,
  65 + </if>
  66 + <if test="partialidentity != null">
  67 + partialIdentity,
  68 + </if>
  69 + <if test="arrivedaheadtime != null">
  70 + arrivedAheadTime,
  71 + </if>
  72 + <if test="applicationformid != null">
  73 + applicationFormId,
  74 + </if>
  75 + <if test="ext1 != null">
  76 + ext1,
  77 + </if>
  78 + <if test="ext2 != null">
  79 + ext2,
  80 + </if>
  81 + <if test="ext3 != null">
  82 + ext3,
  83 + </if>
  84 + <if test="ext4 != null">
  85 + ext4,
  86 + </if>
  87 + </trim>
  88 + <trim prefix="values (" suffix=")" suffixOverrides=",">
  89 + <if test="id != null">
  90 + #{id,jdbcType=VARCHAR},
  91 + </if>
  92 + <if test="licenseplatenumber != null">
  93 + #{licenseplatenumber,jdbcType=VARCHAR},
  94 + </if>
  95 + <if test="awba != null">
  96 + #{awba,jdbcType=VARCHAR},
  97 + </if>
  98 + <if test="partialidentity != null">
  99 + #{partialidentity,jdbcType=VARCHAR},
  100 + </if>
  101 + <if test="arrivedaheadtime != null">
  102 + #{arrivedaheadtime,jdbcType=VARCHAR},
  103 + </if>
  104 + <if test="applicationformid != null">
  105 + #{applicationformid,jdbcType=VARCHAR},
  106 + </if>
  107 + <if test="ext1 != null">
  108 + #{ext1,jdbcType=VARCHAR},
  109 + </if>
  110 + <if test="ext2 != null">
  111 + #{ext2,jdbcType=VARCHAR},
  112 + </if>
  113 + <if test="ext3 != null">
  114 + #{ext3,jdbcType=VARCHAR},
  115 + </if>
  116 + <if test="ext4 != null">
  117 + #{ext4,jdbcType=VARCHAR},
  118 + </if>
  119 + </trim>
  120 + </insert>
  121 + <update id="updateByPrimaryKeySelective" parameterType="com.sy.model.LAND_BUSINEESTYPE_LIST_INFO">
  122 + update land_busineestype_list_info
  123 + <set>
  124 + <if test="licenseplatenumber != null">
  125 + licensePlateNumber = #{licenseplatenumber,jdbcType=VARCHAR},
  126 + </if>
  127 + <if test="awba != null">
  128 + awba = #{awba,jdbcType=VARCHAR},
  129 + </if>
  130 + <if test="partialidentity != null">
  131 + partialIdentity = #{partialidentity,jdbcType=VARCHAR},
  132 + </if>
  133 + <if test="arrivedaheadtime != null">
  134 + arrivedAheadTime = #{arrivedaheadtime,jdbcType=VARCHAR},
  135 + </if>
  136 + <if test="applicationformid != null">
  137 + applicationFormId = #{applicationformid,jdbcType=VARCHAR},
  138 + </if>
  139 + <if test="ext1 != null">
  140 + ext1 = #{ext1,jdbcType=VARCHAR},
  141 + </if>
  142 + <if test="ext2 != null">
  143 + ext2 = #{ext2,jdbcType=VARCHAR},
  144 + </if>
  145 + <if test="ext3 != null">
  146 + ext3 = #{ext3,jdbcType=VARCHAR},
  147 + </if>
  148 + <if test="ext4 != null">
  149 + ext4 = #{ext4,jdbcType=VARCHAR},
  150 + </if>
  151 + </set>
  152 + where id = #{id,jdbcType=VARCHAR}
  153 + </update>
  154 + <update id="updateByPrimaryKey" parameterType="com.sy.model.LAND_BUSINEESTYPE_LIST_INFO">
  155 + update land_busineestype_list_info
  156 + set licensePlateNumber = #{licenseplatenumber,jdbcType=VARCHAR},
  157 + awba = #{awba,jdbcType=VARCHAR},
  158 + partialIdentity = #{partialidentity,jdbcType=VARCHAR},
  159 + arrivedAheadTime = #{arrivedaheadtime,jdbcType=VARCHAR},
  160 + applicationFormId = #{applicationformid,jdbcType=VARCHAR},
  161 + ext1 = #{ext1,jdbcType=VARCHAR},
  162 + ext2 = #{ext2,jdbcType=VARCHAR},
  163 + ext3 = #{ext3,jdbcType=VARCHAR},
  164 + ext4 = #{ext4,jdbcType=VARCHAR}
  165 + where id = #{id,jdbcType=VARCHAR}
  166 + </update>
  167 +</mapper>
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3 +<mapper namespace="com.sy.mapper.businesstypelistinfo_viewMapper">
  4 + <resultMap id="BaseResultMap" type="com.sy.model.businesstypelistinfo_view">
  5 + <result column="id" jdbcType="VARCHAR" property="id" />
  6 + <result column="licensePlateNumber" jdbcType="VARCHAR" property="licenseplatenumber" />
  7 + <result column="awba" jdbcType="VARCHAR" property="awba" />
  8 + <result column="partialIdentity" jdbcType="VARCHAR" property="partialidentity" />
  9 + <result column="arrivedAheadTime" jdbcType="VARCHAR" property="arrivedaheadtime" />
  10 + <result column="applicationFormId" jdbcType="VARCHAR" property="applicationformid" />
  11 + <result column="ext1" jdbcType="VARCHAR" property="ext1" />
  12 + <result column="ext2" jdbcType="VARCHAR" property="ext2" />
  13 + <result column="ext3" jdbcType="VARCHAR" property="ext3" />
  14 + <result column="ext4" jdbcType="VARCHAR" property="ext4" />
  15 + </resultMap>
  16 + <select id="selectawb" parameterType="java.lang.String" resultMap="BaseResultMap">
  17 + SELECT * FROM businesstypelistinfo_view where 1=1 and awba=#{awba,jdbcType=VARCHAR}
  18 + </select>
  19 + <insert id="insert" parameterType="com.sy.model.businesstypelistinfo_view">
  20 + insert into businesstypelistinfo_view (id, licensePlateNumber, awba,
  21 + partialIdentity, arrivedAheadTime, applicationFormId,
  22 + ext1, ext2, ext3, ext4
  23 + )
  24 + values (#{id,jdbcType=VARCHAR}, #{licenseplatenumber,jdbcType=VARCHAR}, #{awba,jdbcType=VARCHAR},
  25 + #{partialidentity,jdbcType=VARCHAR}, #{arrivedaheadtime,jdbcType=VARCHAR}, #{applicationformid,jdbcType=VARCHAR},
  26 + #{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR}, #{ext4,jdbcType=VARCHAR}
  27 + )
  28 + </insert>
  29 + <insert id="insertSelective" parameterType="com.sy.model.businesstypelistinfo_view">
  30 + insert into businesstypelistinfo_view
  31 + <trim prefix="(" suffix=")" suffixOverrides=",">
  32 + <if test="id != null">
  33 + id,
  34 + </if>
  35 + <if test="licenseplatenumber != null">
  36 + licensePlateNumber,
  37 + </if>
  38 + <if test="awba != null">
  39 + awba,
  40 + </if>
  41 + <if test="partialidentity != null">
  42 + partialIdentity,
  43 + </if>
  44 + <if test="arrivedaheadtime != null">
  45 + arrivedAheadTime,
  46 + </if>
  47 + <if test="applicationformid != null">
  48 + applicationFormId,
  49 + </if>
  50 + <if test="ext1 != null">
  51 + ext1,
  52 + </if>
  53 + <if test="ext2 != null">
  54 + ext2,
  55 + </if>
  56 + <if test="ext3 != null">
  57 + ext3,
  58 + </if>
  59 + <if test="ext4 != null">
  60 + ext4,
  61 + </if>
  62 + </trim>
  63 + <trim prefix="values (" suffix=")" suffixOverrides=",">
  64 + <if test="id != null">
  65 + #{id,jdbcType=VARCHAR},
  66 + </if>
  67 + <if test="licenseplatenumber != null">
  68 + #{licenseplatenumber,jdbcType=VARCHAR},
  69 + </if>
  70 + <if test="awba != null">
  71 + #{awba,jdbcType=VARCHAR},
  72 + </if>
  73 + <if test="partialidentity != null">
  74 + #{partialidentity,jdbcType=VARCHAR},
  75 + </if>
  76 + <if test="arrivedaheadtime != null">
  77 + #{arrivedaheadtime,jdbcType=VARCHAR},
  78 + </if>
  79 + <if test="applicationformid != null">
  80 + #{applicationformid,jdbcType=VARCHAR},
  81 + </if>
  82 + <if test="ext1 != null">
  83 + #{ext1,jdbcType=VARCHAR},
  84 + </if>
  85 + <if test="ext2 != null">
  86 + #{ext2,jdbcType=VARCHAR},
  87 + </if>
  88 + <if test="ext3 != null">
  89 + #{ext3,jdbcType=VARCHAR},
  90 + </if>
  91 + <if test="ext4 != null">
  92 + #{ext4,jdbcType=VARCHAR},
  93 + </if>
  94 + </trim>
  95 + </insert>
  96 +</mapper>