|
|
<?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.LandListDao">
|
|
|
<resultMap id="BaseResultMap" type="com.sy.model.LandList">
|
|
|
<id column="id" jdbcType="VARCHAR" property="id" />
|
|
|
<result column="MASSAGE_ID" jdbcType="VARCHAR" property="massageId" />
|
|
|
<result column="TRAILER_FRAME_NO" jdbcType="VARCHAR" property="trailerFrameNo" />
|
|
|
<result column="TRAILER_LICENSE_NO" jdbcType="VARCHAR" property="trailerLicenseNo" />
|
|
|
<result column="MASTER_LIST" jdbcType="VARCHAR" property="masterList" />
|
|
|
<result column="PRODECT_TIME" jdbcType="TIMESTAMP" property="prodectTime" />
|
|
|
<result column="IS_DELETE" jdbcType="VARCHAR" property="isDelete" />
|
|
|
<result column="AGENTNO" jdbcType="VARCHAR" property="agentno" />
|
|
|
<result column="AGENTNAME" jdbcType="VARCHAR" property="agentname" />
|
|
|
<result column="COCODE" jdbcType="VARCHAR" property="cocode" />
|
|
|
<result column="DRIVERNAME" jdbcType="VARCHAR" property="drivername" />
|
|
|
<result column="DRIVERID" jdbcType="VARCHAR" property="driverid" />
|
|
|
<result column="STARTPORT" jdbcType="VARCHAR" property="startport" />
|
|
|
<result column="ENDPORT" jdbcType="VARCHAR" property="endport" />
|
|
|
<result column="STARTSATATION" jdbcType="VARCHAR" property="startsatation" />
|
|
|
<result column="ENDSTATION" jdbcType="VARCHAR" property="endstation" />
|
|
|
<result column="AISLE" jdbcType="VARCHAR" property="aisle" />
|
|
|
<result column="BUSINESSTYPE" jdbcType="VARCHAR" property="businesstype" />
|
|
|
<result column="TURNOVERFLAG" jdbcType="VARCHAR" property="turnoverflag" />
|
|
|
<result column="BARCODE" jdbcType="VARCHAR" property="barcode" />
|
|
|
<result column="CONTRASTFLAG" jdbcType="VARCHAR" property="contrastflag" />
|
|
|
<result column="CREATE_BY" jdbcType="VARCHAR" property="createBy" />
|
|
|
<result column="CREATE_DATE" jdbcType="TIMESTAMP" property="createDate" />
|
|
|
<result column="UPDATE_BY" jdbcType="VARCHAR" property="updateBy" />
|
|
|
<result column="UPDATE_DATE" jdbcType="TIMESTAMP" property="updateDate" />
|
|
|
<result column="ISVALID" jdbcType="VARCHAR" property="isvalid" />
|
|
|
<result column="AISLEWT" jdbcType="DOUBLE" property="aislewt" />
|
|
|
<result column="ISFULL" jdbcType="VARCHAR" property="isfull" />
|
|
|
<result column="REMARK" jdbcType="VARCHAR" property="remark" />
|
|
|
<result column="REMARK1" jdbcType="VARCHAR" property="remark1" />
|
|
|
<result column="REMARK2" jdbcType="VARCHAR" property="remark2" />
|
|
|
<result column="REMARK3" jdbcType="VARCHAR" property="remark3" />
|
|
|
<result column="ISTHREE" jdbcType="VARCHAR" property="isthree" />
|
|
|
<result column="VEPROPERTY" jdbcType="VARCHAR" property="veproperty" />
|
|
|
<result column="MEDIUMTYPE" jdbcType="VARCHAR" property="mediumtype" />
|
|
|
<result column="SEQN" jdbcType="VARCHAR" property="seqn" />
|
|
|
<result column="TRAINSCONFIRMATION_NUMBER" jdbcType="VARCHAR" property="trainsconfirmationNumber" />
|
|
|
<result column="APPLICATION_STATUS" jdbcType="VARCHAR" property="applicationStatus" />
|
|
|
<result column="ENTERPRISE_CREDIT_CODE" jdbcType="VARCHAR" property="enterpriseCreditCode" />
|
|
|
<result column="ORGANIZATION_CODE" jdbcType="VARCHAR" property="organizationCode" />
|
|
|
<result column="DECLARE_PERSONNEL_NUMBERS" jdbcType="VARCHAR" property="declarePersonnelNumbers" />
|
|
|
<result column="MODE_TRANSPORTATION" jdbcType="VARCHAR" property="modeTransportation" />
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List">
|
|
|
id, MASSAGE_ID, TRAILER_FRAME_NO, TRAILER_LICENSE_NO, MASTER_LIST, PRODECT_TIME,
|
|
|
IS_DELETE, AGENTNO, AGENTNAME, COCODE, DRIVERNAME, DRIVERID, STARTPORT, ENDPORT,
|
|
|
STARTSATATION, ENDSTATION, AISLE, BUSINESSTYPE, TURNOVERFLAG, BARCODE, CONTRASTFLAG,
|
|
|
CREATE_BY, CREATE_DATE, UPDATE_BY, UPDATE_DATE, ISVALID, AISLEWT, ISFULL, REMARK,
|
|
|
REMARK1, REMARK2, REMARK3, ISTHREE, VEPROPERTY, MEDIUMTYPE, SEQN, TRAINSCONFIRMATION_NUMBER,
|
|
|
APPLICATION_STATUS, ENTERPRISE_CREDIT_CODE, ORGANIZATION_CODE, DECLARE_PERSONNEL_NUMBERS,
|
|
|
MODE_TRANSPORTATION
|
|
|
</sql>
|
|
|
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
|
|
|
select
|
|
|
<include refid="Base_Column_List" />
|
|
|
from land_list
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</select>
|
|
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
|
|
delete from land_list
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</delete>
|
|
|
<insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.sy.model.LandList" useGeneratedKeys="true">
|
|
|
insert into land_list (MASSAGE_ID, TRAILER_FRAME_NO, TRAILER_LICENSE_NO,
|
|
|
MASTER_LIST, PRODECT_TIME, IS_DELETE,
|
|
|
AGENTNO, AGENTNAME, COCODE,
|
|
|
DRIVERNAME, DRIVERID, STARTPORT,
|
|
|
ENDPORT, STARTSATATION, ENDSTATION,
|
|
|
AISLE, BUSINESSTYPE, TURNOVERFLAG,
|
|
|
BARCODE, CONTRASTFLAG, CREATE_BY,
|
|
|
CREATE_DATE, UPDATE_BY, UPDATE_DATE,
|
|
|
ISVALID, AISLEWT, ISFULL,
|
|
|
REMARK, REMARK1, REMARK2,
|
|
|
REMARK3, ISTHREE, VEPROPERTY,
|
|
|
MEDIUMTYPE, SEQN, TRAINSCONFIRMATION_NUMBER,
|
|
|
APPLICATION_STATUS, ENTERPRISE_CREDIT_CODE,
|
|
|
ORGANIZATION_CODE, DECLARE_PERSONNEL_NUMBERS,
|
|
|
MODE_TRANSPORTATION)
|
|
|
values (#{massageId,jdbcType=VARCHAR}, #{trailerFrameNo,jdbcType=VARCHAR}, #{trailerLicenseNo,jdbcType=VARCHAR},
|
|
|
#{masterList,jdbcType=VARCHAR}, #{prodectTime,jdbcType=TIMESTAMP}, #{isDelete,jdbcType=VARCHAR},
|
|
|
#{agentno,jdbcType=VARCHAR}, #{agentname,jdbcType=VARCHAR}, #{cocode,jdbcType=VARCHAR},
|
|
|
#{drivername,jdbcType=VARCHAR}, #{driverid,jdbcType=VARCHAR}, #{startport,jdbcType=VARCHAR},
|
|
|
#{endport,jdbcType=VARCHAR}, #{startsatation,jdbcType=VARCHAR}, #{endstation,jdbcType=VARCHAR},
|
|
|
#{aisle,jdbcType=VARCHAR}, #{businesstype,jdbcType=VARCHAR}, #{turnoverflag,jdbcType=VARCHAR},
|
|
|
#{barcode,jdbcType=VARCHAR}, #{contrastflag,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR},
|
|
|
#{createDate,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateDate,jdbcType=TIMESTAMP},
|
|
|
#{isvalid,jdbcType=VARCHAR}, #{aislewt,jdbcType=DOUBLE}, #{isfull,jdbcType=VARCHAR},
|
|
|
#{remark,jdbcType=VARCHAR}, #{remark1,jdbcType=VARCHAR}, #{remark2,jdbcType=VARCHAR},
|
|
|
#{remark3,jdbcType=VARCHAR}, #{isthree,jdbcType=VARCHAR}, #{veproperty,jdbcType=VARCHAR},
|
|
|
#{mediumtype,jdbcType=VARCHAR}, #{seqn,jdbcType=VARCHAR}, #{trainsconfirmationNumber,jdbcType=VARCHAR},
|
|
|
#{applicationStatus,jdbcType=VARCHAR}, #{enterpriseCreditCode,jdbcType=VARCHAR},
|
|
|
#{organizationCode,jdbcType=VARCHAR}, #{declarePersonnelNumbers,jdbcType=VARCHAR},
|
|
|
#{modeTransportation,jdbcType=VARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.sy.model.LandList" useGeneratedKeys="true">
|
|
|
insert into land_list
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
<if test="massageId != null">
|
|
|
MASSAGE_ID,
|
|
|
</if>
|
|
|
<if test="trailerFrameNo != null">
|
|
|
TRAILER_FRAME_NO,
|
|
|
</if>
|
|
|
<if test="trailerLicenseNo != null">
|
|
|
TRAILER_LICENSE_NO,
|
|
|
</if>
|
|
|
<if test="masterList != null">
|
|
|
MASTER_LIST,
|
|
|
</if>
|
|
|
<if test="prodectTime != null">
|
|
|
PRODECT_TIME,
|
|
|
</if>
|
|
|
<if test="isDelete != null">
|
|
|
IS_DELETE,
|
|
|
</if>
|
|
|
<if test="agentno != null">
|
|
|
AGENTNO,
|
|
|
</if>
|
|
|
<if test="agentname != null">
|
|
|
AGENTNAME,
|
|
|
</if>
|
|
|
<if test="cocode != null">
|
|
|
COCODE,
|
|
|
</if>
|
|
|
<if test="drivername != null">
|
|
|
DRIVERNAME,
|
|
|
</if>
|
|
|
<if test="driverid != null">
|
|
|
DRIVERID,
|
|
|
</if>
|
|
|
<if test="startport != null">
|
|
|
STARTPORT,
|
|
|
</if>
|
|
|
<if test="endport != null">
|
|
|
ENDPORT,
|
|
|
</if>
|
|
|
<if test="startsatation != null">
|
|
|
STARTSATATION,
|
|
|
</if>
|
|
|
<if test="endstation != null">
|
|
|
ENDSTATION,
|
|
|
</if>
|
|
|
<if test="aisle != null">
|
|
|
AISLE,
|
|
|
</if>
|
|
|
<if test="businesstype != null">
|
|
|
BUSINESSTYPE,
|
|
|
</if>
|
|
|
<if test="turnoverflag != null">
|
|
|
TURNOVERFLAG,
|
|
|
</if>
|
|
|
<if test="barcode != null">
|
|
|
BARCODE,
|
|
|
</if>
|
|
|
<if test="contrastflag != null">
|
|
|
CONTRASTFLAG,
|
|
|
</if>
|
|
|
<if test="createBy != null">
|
|
|
CREATE_BY,
|
|
|
</if>
|
|
|
<if test="createDate != null">
|
|
|
CREATE_DATE,
|
|
|
</if>
|
|
|
<if test="updateBy != null">
|
|
|
UPDATE_BY,
|
|
|
</if>
|
|
|
<if test="updateDate != null">
|
|
|
UPDATE_DATE,
|
|
|
</if>
|
|
|
<if test="isvalid != null">
|
|
|
ISVALID,
|
|
|
</if>
|
|
|
<if test="aislewt != null">
|
|
|
AISLEWT,
|
|
|
</if>
|
|
|
<if test="isfull != null">
|
|
|
ISFULL,
|
|
|
</if>
|
|
|
<if test="remark != null">
|
|
|
REMARK,
|
|
|
</if>
|
|
|
<if test="remark1 != null">
|
|
|
REMARK1,
|
|
|
</if>
|
|
|
<if test="remark2 != null">
|
|
|
REMARK2,
|
|
|
</if>
|
|
|
<if test="remark3 != null">
|
|
|
REMARK3,
|
|
|
</if>
|
|
|
<if test="isthree != null">
|
|
|
ISTHREE,
|
|
|
</if>
|
|
|
<if test="veproperty != null">
|
|
|
VEPROPERTY,
|
|
|
</if>
|
|
|
<if test="mediumtype != null">
|
|
|
MEDIUMTYPE,
|
|
|
</if>
|
|
|
<if test="seqn != null">
|
|
|
SEQN,
|
|
|
</if>
|
|
|
<if test="trainsconfirmationNumber != null">
|
|
|
TRAINSCONFIRMATION_NUMBER,
|
|
|
</if>
|
|
|
<if test="applicationStatus != null">
|
|
|
APPLICATION_STATUS,
|
|
|
</if>
|
|
|
<if test="enterpriseCreditCode != null">
|
|
|
ENTERPRISE_CREDIT_CODE,
|
|
|
</if>
|
|
|
<if test="organizationCode != null">
|
|
|
ORGANIZATION_CODE,
|
|
|
</if>
|
|
|
<if test="declarePersonnelNumbers != null">
|
|
|
DECLARE_PERSONNEL_NUMBERS,
|
|
|
</if>
|
|
|
<if test="modeTransportation != null">
|
|
|
MODE_TRANSPORTATION,
|
|
|
</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="massageId != null">
|
|
|
#{massageId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="trailerFrameNo != null">
|
|
|
#{trailerFrameNo,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="trailerLicenseNo != null">
|
|
|
#{trailerLicenseNo,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="masterList != null">
|
|
|
#{masterList,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="prodectTime != null">
|
|
|
#{prodectTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="isDelete != null">
|
|
|
#{isDelete,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="agentno != null">
|
|
|
#{agentno,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="agentname != null">
|
|
|
#{agentname,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="cocode != null">
|
|
|
#{cocode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="drivername != null">
|
|
|
#{drivername,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="driverid != null">
|
|
|
#{driverid,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="startport != null">
|
|
|
#{startport,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="endport != null">
|
|
|
#{endport,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="startsatation != null">
|
|
|
#{startsatation,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="endstation != null">
|
|
|
#{endstation,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="aisle != null">
|
|
|
#{aisle,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="businesstype != null">
|
|
|
#{businesstype,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="turnoverflag != null">
|
|
|
#{turnoverflag,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="barcode != null">
|
|
|
#{barcode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="contrastflag != null">
|
|
|
#{contrastflag,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="createBy != null">
|
|
|
#{createBy,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="createDate != null">
|
|
|
#{createDate,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="updateBy != null">
|
|
|
#{updateBy,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="updateDate != null">
|
|
|
#{updateDate,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="isvalid != null">
|
|
|
#{isvalid,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="aislewt != null">
|
|
|
#{aislewt,jdbcType=DOUBLE},
|
|
|
</if>
|
|
|
<if test="isfull != null">
|
|
|
#{isfull,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="remark != null">
|
|
|
#{remark,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="remark1 != null">
|
|
|
#{remark1,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="remark2 != null">
|
|
|
#{remark2,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="remark3 != null">
|
|
|
#{remark3,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="isthree != null">
|
|
|
#{isthree,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="veproperty != null">
|
|
|
#{veproperty,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="mediumtype != null">
|
|
|
#{mediumtype,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="seqn != null">
|
|
|
#{seqn,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="trainsconfirmationNumber != null">
|
|
|
#{trainsconfirmationNumber,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="applicationStatus != null">
|
|
|
#{applicationStatus,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="enterpriseCreditCode != null">
|
|
|
#{enterpriseCreditCode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="organizationCode != null">
|
|
|
#{organizationCode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="declarePersonnelNumbers != null">
|
|
|
#{declarePersonnelNumbers,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="modeTransportation != null">
|
|
|
#{modeTransportation,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.sy.model.LandList">
|
|
|
update land_list
|
|
|
<set>
|
|
|
<if test="massageId != null">
|
|
|
MASSAGE_ID = #{massageId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="trailerFrameNo != null">
|
|
|
TRAILER_FRAME_NO = #{trailerFrameNo,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="trailerLicenseNo != null">
|
|
|
TRAILER_LICENSE_NO = #{trailerLicenseNo,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="masterList != null">
|
|
|
MASTER_LIST = #{masterList,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="prodectTime != null">
|
|
|
PRODECT_TIME = #{prodectTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="isDelete != null">
|
|
|
IS_DELETE = #{isDelete,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="agentno != null">
|
|
|
AGENTNO = #{agentno,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="agentname != null">
|
|
|
AGENTNAME = #{agentname,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="cocode != null">
|
|
|
COCODE = #{cocode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="drivername != null">
|
|
|
DRIVERNAME = #{drivername,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="driverid != null">
|
|
|
DRIVERID = #{driverid,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="startport != null">
|
|
|
STARTPORT = #{startport,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="endport != null">
|
|
|
ENDPORT = #{endport,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="startsatation != null">
|
|
|
STARTSATATION = #{startsatation,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="endstation != null">
|
|
|
ENDSTATION = #{endstation,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="aisle != null">
|
|
|
AISLE = #{aisle,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="businesstype != null">
|
|
|
BUSINESSTYPE = #{businesstype,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="turnoverflag != null">
|
|
|
TURNOVERFLAG = #{turnoverflag,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="barcode != null">
|
|
|
BARCODE = #{barcode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="contrastflag != null">
|
|
|
CONTRASTFLAG = #{contrastflag,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="createBy != null">
|
|
|
CREATE_BY = #{createBy,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="createDate != null">
|
|
|
CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="updateBy != null">
|
|
|
UPDATE_BY = #{updateBy,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="updateDate != null">
|
|
|
UPDATE_DATE = #{updateDate,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="isvalid != null">
|
|
|
ISVALID = #{isvalid,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="aislewt != null">
|
|
|
AISLEWT = #{aislewt,jdbcType=DOUBLE},
|
|
|
</if>
|
|
|
<if test="isfull != null">
|
|
|
ISFULL = #{isfull,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="remark != null">
|
|
|
REMARK = #{remark,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="remark1 != null">
|
|
|
REMARK1 = #{remark1,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="remark2 != null">
|
|
|
REMARK2 = #{remark2,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="remark3 != null">
|
|
|
REMARK3 = #{remark3,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="isthree != null">
|
|
|
ISTHREE = #{isthree,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="veproperty != null">
|
|
|
VEPROPERTY = #{veproperty,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="mediumtype != null">
|
|
|
MEDIUMTYPE = #{mediumtype,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="seqn != null">
|
|
|
SEQN = #{seqn,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="trainsconfirmationNumber != null">
|
|
|
TRAINSCONFIRMATION_NUMBER = #{trainsconfirmationNumber,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="applicationStatus != null">
|
|
|
APPLICATION_STATUS = #{applicationStatus,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="enterpriseCreditCode != null">
|
|
|
ENTERPRISE_CREDIT_CODE = #{enterpriseCreditCode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="organizationCode != null">
|
|
|
ORGANIZATION_CODE = #{organizationCode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="declarePersonnelNumbers != null">
|
|
|
DECLARE_PERSONNEL_NUMBERS = #{declarePersonnelNumbers,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="modeTransportation != null">
|
|
|
MODE_TRANSPORTATION = #{modeTransportation,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
</set>
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
<update id="updateByPrimaryKey" parameterType="com.sy.model.LandList">
|
|
|
update land_list
|
|
|
set MASSAGE_ID = #{massageId,jdbcType=VARCHAR},
|
|
|
TRAILER_FRAME_NO = #{trailerFrameNo,jdbcType=VARCHAR},
|
|
|
TRAILER_LICENSE_NO = #{trailerLicenseNo,jdbcType=VARCHAR},
|
|
|
MASTER_LIST = #{masterList,jdbcType=VARCHAR},
|
|
|
PRODECT_TIME = #{prodectTime,jdbcType=TIMESTAMP},
|
|
|
IS_DELETE = #{isDelete,jdbcType=VARCHAR},
|
|
|
AGENTNO = #{agentno,jdbcType=VARCHAR},
|
|
|
AGENTNAME = #{agentname,jdbcType=VARCHAR},
|
|
|
COCODE = #{cocode,jdbcType=VARCHAR},
|
|
|
DRIVERNAME = #{drivername,jdbcType=VARCHAR},
|
|
|
DRIVERID = #{driverid,jdbcType=VARCHAR},
|
|
|
STARTPORT = #{startport,jdbcType=VARCHAR},
|
|
|
ENDPORT = #{endport,jdbcType=VARCHAR},
|
|
|
STARTSATATION = #{startsatation,jdbcType=VARCHAR},
|
|
|
ENDSTATION = #{endstation,jdbcType=VARCHAR},
|
|
|
AISLE = #{aisle,jdbcType=VARCHAR},
|
|
|
BUSINESSTYPE = #{businesstype,jdbcType=VARCHAR},
|
|
|
TURNOVERFLAG = #{turnoverflag,jdbcType=VARCHAR},
|
|
|
BARCODE = #{barcode,jdbcType=VARCHAR},
|
|
|
CONTRASTFLAG = #{contrastflag,jdbcType=VARCHAR},
|
|
|
CREATE_BY = #{createBy,jdbcType=VARCHAR},
|
|
|
CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
|
|
|
UPDATE_BY = #{updateBy,jdbcType=VARCHAR},
|
|
|
UPDATE_DATE = #{updateDate,jdbcType=TIMESTAMP},
|
|
|
ISVALID = #{isvalid,jdbcType=VARCHAR},
|
|
|
AISLEWT = #{aislewt,jdbcType=DOUBLE},
|
|
|
ISFULL = #{isfull,jdbcType=VARCHAR},
|
|
|
REMARK = #{remark,jdbcType=VARCHAR},
|
|
|
REMARK1 = #{remark1,jdbcType=VARCHAR},
|
|
|
REMARK2 = #{remark2,jdbcType=VARCHAR},
|
|
|
REMARK3 = #{remark3,jdbcType=VARCHAR},
|
|
|
ISTHREE = #{isthree,jdbcType=VARCHAR},
|
|
|
VEPROPERTY = #{veproperty,jdbcType=VARCHAR},
|
|
|
MEDIUMTYPE = #{mediumtype,jdbcType=VARCHAR},
|
|
|
SEQN = #{seqn,jdbcType=VARCHAR},
|
|
|
TRAINSCONFIRMATION_NUMBER = #{trainsconfirmationNumber,jdbcType=VARCHAR},
|
|
|
APPLICATION_STATUS = #{applicationStatus,jdbcType=VARCHAR},
|
|
|
ENTERPRISE_CREDIT_CODE = #{enterpriseCreditCode,jdbcType=VARCHAR},
|
|
|
ORGANIZATION_CODE = #{organizationCode,jdbcType=VARCHAR},
|
|
|
DECLARE_PERSONNEL_NUMBERS = #{declarePersonnelNumbers,jdbcType=VARCHAR},
|
|
|
MODE_TRANSPORTATION = #{modeTransportation,jdbcType=VARCHAR}
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
|
|
|
<update id="releaseBarcode" parameterType="java.lang.String">
|
|
|
update land_list
|
|
|
set
|
|
|
ISVALID = '1'
|
|
|
where BARCODE = #{barcode,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
</mapper> |
...
|
...
|
|