作者 王勇

添加swagger的相关API

server:
port: 10001
port: 8678
# spring 配置
spring:
... ... @@ -9,7 +9,7 @@ spring:
password: 123456
application:
name: vehicle_manage
name: vehicle-manage
# 数据源配置
datasource:
... ... @@ -96,6 +96,6 @@ management:
# 基础信息配置
info:
version: 1.0
description: "车辆管理系统"
version: 1.0.0
description: "陆运运输:包括车辆管理、挂车管理、企业管理、驾驶员管理"
... ...
package com.sunyo.wlpt.vehicle.manage.controller;
import com.sunyo.wlpt.vehicle.manage.domain.LandCorporationInfo;
import com.sunyo.wlpt.vehicle.manage.response.ResultJson;
import com.sunyo.wlpt.vehicle.manage.service.LandCorporationInfoService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
/**
* @author 子诚
* Description:企业信息,控制器
* 时间:2020/9/25 10:37
*/
@Api(tags = "企业信息,控制器")
@CrossOrigin
@RequestMapping("corporation")
@RestController
public class CorporationController {
@Resource
private LandCorporationInfoService landCorporationInfoService;
@ApiOperation(value = "企业信息,分页查询")
@GetMapping("/page")
public ResultJson selectListByPage(@RequestParam(value = "coCode", required = false) String coCode,
@RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum,
@RequestParam(value = "pageSize", defaultValue = "10") Integer pageSize)
{
LandCorporationInfo landCorporationInfo = LandCorporationInfo.builder()
.coCode(coCode)
.build();
return landCorporationInfoService.selectListByPage(landCorporationInfo, pageNum, pageSize);
}
/**
* 删除
* 条件:id
*
* @param landCorporationInfo 企业信息 {@link LandCorporationInfo}
* @return
*/
@ApiOperation(value = "企业信息,删除")
@DeleteMapping("/delete")
public ResultJson deleteCorporation(@RequestBody LandCorporationInfo landCorporationInfo)
{
return landCorporationInfoService.deleteByPrimaryKey(landCorporationInfo.getId());
}
/**
* 批量删除
* 条件:{id: id1,id2...}
*
* @param landCorporationInfo 企业信息 {@link LandCorporationInfo}
* @return
*/
@ApiOperation(value = "企业信息,批量删除")
@DeleteMapping("/batchRemove")
public ResultJson batchRemoveCorporation(@RequestBody LandCorporationInfo landCorporationInfo)
{
String id = landCorporationInfo.getId();
return id.contains(",") ? landCorporationInfoService.batchRemoveByIds(id)
: landCorporationInfoService.deleteByPrimaryKey(id);
}
/**
* 修改 or 编辑
*
* @param landCorporationInfo 企业信息 {@link LandCorporationInfo}
* @return 成功 or 失败
*/
@ApiOperation(value = "企业信息,编辑")
@PutMapping("/update")
public ResultJson updateCorporation(@RequestBody LandCorporationInfo landCorporationInfo)
{
return landCorporationInfoService.updateByPrimaryKeySelective(landCorporationInfo);
}
/**
* 新增
*
* @param landCorporationInfo 企业信息 {@link LandCorporationInfo}
* @return 成功 or 失败
*/
@ApiOperation(value = "企业信息,增加")
@PostMapping("/insert")
public ResultJson insertCorporation(@RequestBody LandCorporationInfo landCorporationInfo)
{
return landCorporationInfoService.insertSelective(landCorporationInfo);
}
}
... ...
package com.sunyo.wlpt.vehicle.manage.controller;
import com.sunyo.wlpt.vehicle.manage.domain.LandRoadDrRecord;
import com.sunyo.wlpt.vehicle.manage.domain.LandRoadTrailerRecord;
import com.sunyo.wlpt.vehicle.manage.domain.LandRoadVeRecord;
import com.sunyo.wlpt.vehicle.manage.response.ResultJson;
import com.sunyo.wlpt.vehicle.manage.service.LandRoadDrRecordService;
import io.swagger.annotations.Api;
... ...
... ... @@ -86,7 +86,7 @@ public class TrailerController {
* 批量删除
* 条件:{id: id1,id2...}
*
* @param landRoadTrailerRecord 车辆信息 {@link LandRoadTrailerRecord}
* @param landRoadTrailerRecord 挂车信息 {@link LandRoadTrailerRecord}
* @return
*/
@ApiOperation(value = "挂车信息,批量删除")
... ...
... ... @@ -16,7 +16,7 @@ import javax.annotation.Resource;
*/
@Api(tags = "车辆信息,控制器")
@CrossOrigin
@RequestMapping("vehicle")
@RequestMapping("/vehicle")
@RestController
public class VehicleController {
... ...
package com.sunyo.wlpt.vehicle.manage.domain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author 子诚
* Description:
* 时间:2020/9/25 10:34
*/
@ApiModel("企业信息")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class LandCorporationInfo implements Serializable {
@ApiModelProperty(value = "")
private String id;
/**
* 电子口岸录入号ID
*/
@ApiModelProperty(value = "电子口岸录入号ID")
private String eportId;
/**
* 企业代码
*/
@ApiModelProperty(value = "企业代码")
private String coCode;
/**
* 主管海关代码
*/
@ApiModelProperty(value = "主管海关代码")
private String mainPort;
/**
* 企业注册地
*/
@ApiModelProperty(value = "企业注册地")
private String coRegAddr;
/**
* 批准海关
*/
@ApiModelProperty(value = "批准海关")
private String apprDep;
/**
* 批准/许可批文号
*/
@ApiModelProperty(value = "批准/许可批文号")
private String apprNo;
/**
* 批准/许可批文有效期
*/
@ApiModelProperty(value = "批准/许可批文有效期")
private Date apprValidTime;
/**
* 批准行驶口岸
*/
@ApiModelProperty(value = "批准行驶口岸")
private String apprPorts;
/**
* 企业中文名称
*/
@ApiModelProperty(value = "企业中文名称")
private String coNameCn;
/**
* 企业外文名称
*/
@ApiModelProperty(value = "企业外文名称")
private String coNameEn;
/**
* 企业经营类型:1.货运企业;2.客运企业;3.转关运输企业;4.其他。
*/
@ApiModelProperty(value = "企业经营类型:1.货运企业;2.客运企业;3.转关运输企业;4.其他。")
private String coDealType;
/**
* 企业经营资格
*/
@ApiModelProperty(value = "企业经营资格")
private String coDealQua;
/**
* 企业地址
*/
@ApiModelProperty(value = "企业地址")
private String coAddr;
/**
* 企业负责人
*/
@ApiModelProperty(value = "企业负责人")
private String coRep;
/**
* 企业负责人联系电话
*/
@ApiModelProperty(value = "企业负责人联系电话")
private String coRepPhon;
/**
* 境内联系地址
*/
@ApiModelProperty(value = "境内联系地址")
private String insideAddr;
/**
* 境内联系电话
*/
@ApiModelProperty(value = "境内联系电话")
private String insidePhone;
/**
* 运输工具服务企业名称
*/
@ApiModelProperty(value = "运输工具服务企业名称")
private String coServiceName;
/**
* 运输工具服务企业地址
*/
@ApiModelProperty(value = "运输工具服务企业地址")
private String coServiceAddp;
/**
* 运输工具服务企业联系电话
*/
@ApiModelProperty(value = "运输工具服务企业联系电话")
private String coServicePhone;
/**
* 批准货运车辆指标数
*/
@ApiModelProperty(value = "批准货运车辆指标数")
private String apprGoodsVeCount;
/**
* 批准客运车辆指标数
*/
@ApiModelProperty(value = "批准客运车辆指标数")
private String apprPassengersVeCount;
/**
* 担保方式
*/
@ApiModelProperty(value = "担保方式")
private String assureType;
/**
* 担保函编号(唯一)
*/
@ApiModelProperty(value = "担保函编号(唯一)")
private String assureLetterNo;
/**
* 担保函金额
*/
@ApiModelProperty(value = "担保函金额")
private String assureMoney;
/**
* 担保期限
*/
@ApiModelProperty(value = "担保期限")
private Date assureTerm;
/**
* 担保企业组织机构代码
*/
@ApiModelProperty(value = "担保企业组织机构代码")
private String assureCoOrgCode;
/**
* 担保企业名称(人、单位)
*/
@ApiModelProperty(value = "担保企业名称(人、单位)")
private String assureCoName;
/**
* 担保企业法人代表
*/
@ApiModelProperty(value = "担保企业法人代表")
private String assureCoRep;
/**
* 担保企业电话
*/
@ApiModelProperty(value = "担保企业电话")
private String assureCoPhone;
/**
* 担保企业地址
*/
@ApiModelProperty(value = "担保企业地址")
private String assureOAddr;
/**
* 担保企业联系人
*/
@ApiModelProperty(value = "担保企业联系人")
private String assureContact;
/**
* 担保企业联系人电话
*/
@ApiModelProperty(value = "担保企业联系人电话")
private String assureCoConPhone;
/**
* 备注
*/
@ApiModelProperty(value = "备注")
private String memo;
/**
* 最新更新申请业务类型
*/
@ApiModelProperty(value = "最新更新申请业务类型")
private String currApplyBussine;
/**
* 申请人
*/
@ApiModelProperty(value = "申请人")
private String proposer;
/**
* 申请时间
*/
@ApiModelProperty(value = "申请时间")
private Date proposeTime;
/**
* 企业备案类别:1.经营性进出境公路运输企业;2.非经营性进出境公路交通工具负责人;3.进出境公路运输工具代理企业;4.经营性来往港澳公路运输企业;5.非经营性来往港澳公路交通工具负责人;6.来往港澳公路运输工具代理企业。
*/
@ApiModelProperty(value = "企业备案类别:1.经营性进出境公路运输企业;2.非经营性进出境公路交通工具负责人;3.进出境公路运输工具代理企业;4.经营性来往港澳公路运输企业;5.非经营性来往港澳公路交通工具负责人;6.来往港澳公路运输工具代理企业。")
private String coRecType;
/**
* 数据操作类型
*/
@ApiModelProperty(value = "数据操作类型")
private String operationType;
/**
* 批文扫描图
*/
@ApiModelProperty(value = "批文扫描图")
private String approNoPic;
/**
* 电子口岸表体顺序号(电子口岸与海关数据传输使用,企业无需填写)
*/
@ApiModelProperty(value = "电子口岸表体顺序号(电子口岸与海关数据传输使用,企业无需填写)")
private String abroadCoInfo;
/**
* 境外商号海关关键字
*/
@ApiModelProperty(value = "境外商号海关关键字")
private String abroadId;
/**
* 境外商号注册人
*/
@ApiModelProperty(value = "境外商号注册人")
private String abroadRegister;
/**
* 境外商号地址
*/
@ApiModelProperty(value = "境外商号地址")
private String abroadAddr;
/**
* 境外商号电话
*/
@ApiModelProperty(value = "境外商号电话")
private String abroadPhone;
/**
* 数据操作类型
*/
@ApiModelProperty(value = "数据操作类型")
private String operationTypeAbroad;
/**
* 电子口岸表体顺序号(电子口岸与海关数据传输使用,企业无需填写)
*/
@ApiModelProperty(value = "电子口岸表体顺序号(电子口岸与海关数据传输使用,企业无需填写)")
private String assumeCoInfo;
/**
* 内承单位海关关键字
*/
@ApiModelProperty(value = "内承单位海关关键字")
private String assumeId;
/**
* 内承单位名称
*/
@ApiModelProperty(value = "内承单位名称")
private String assumeName;
/**
* 内承单位法人代表
*/
@ApiModelProperty(value = "内承单位法人代表")
private String assumeRep;
/**
* 内承单位法人代表电话
*/
@ApiModelProperty(value = "内承单位法人代表电话")
private String assumeRepPhone;
/**
* 内承单位联系地址
*/
@ApiModelProperty(value = "内承单位联系地址")
private String assumeAddr;
/**
* 内承单位联系电话
*/
@ApiModelProperty(value = "内承单位联系电话")
private String assumePhone;
/**
* 数据操作类型
*/
@ApiModelProperty(value = "数据操作类型")
private String operationTypeAssume;
/**
* 电子口岸表体顺序号(电子口岸与海关数据传输使用,企业无需填写)
*/
@ApiModelProperty(value = "电子口岸表体顺序号(电子口岸与海关数据传输使用,企业无需填写)")
private String coBelongPartOrg;
/**
* 企业所属分支机构海关关键字
*/
@ApiModelProperty(value = "企业所属分支机构海关关键字")
private String partOrgId;
/**
* 所属分支机构名称
*/
@ApiModelProperty(value = "所属分支机构名称")
private String belongOrgName;
/**
* 所属分支机构地址
*/
@ApiModelProperty(value = "所属分支机构地址")
private String belongOrgAddress;
/**
* 所属分支机构负责人
*/
@ApiModelProperty(value = "所属分支机构负责人")
private String belongOrgPrincinal;
/**
* 所属分支机构联系电话
*/
@ApiModelProperty(value = "所属分支机构联系电话")
private String belongOrgPhone;
/**
* 数据操作类型
*/
@ApiModelProperty(value = "数据操作类型")
private String operationTypeBelong;
/**
* 回执内容
*/
@ApiModelProperty(value = "回执内容")
private String returnMessage;
@ApiModelProperty(value = "创建者")
private String createBy;
@ApiModelProperty(value = "创建时间")
private Date createDate;
@ApiModelProperty(value = "修改者")
private String updateBy;
@ApiModelProperty(value = "修改时间")
private Date updateDate;
private static final long serialVersionUID = 1L;
}
\ No newline at end of file
... ...
package com.sunyo.wlpt.vehicle.manage.mapper;
import com.sunyo.wlpt.vehicle.manage.domain.LandCorporationInfo;
import com.sunyo.wlpt.vehicle.manage.response.ResultJson;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
/**
* @author 子诚
* Description:
* 时间:2020/9/25 10:34
*/
@Mapper
public interface LandCorporationInfoMapper {
/**
* delete by primary key
*
* @param id primaryKey
* @return deleteCount
*/
int deleteByPrimaryKey(String id);
/**
* 批量删除
*
* @param idList id数组
* @return
*/
int batchRemoveByIds(String[] idList);
/**
* insert record to table
*
* @param record the record
* @return insert count
*/
int insert(LandCorporationInfo record);
/**
* insert record to table selective
*
* @param record the record
* @return insert count
*/
int insertSelective(LandCorporationInfo record);
/**
* select by primary key
*
* @param id primary key
* @return object by primary key
*/
LandCorporationInfo selectByPrimaryKey(String id);
/**
* update record selective
*
* @param record the updated record
* @return update count
*/
int updateByPrimaryKeySelective(LandCorporationInfo record);
/**
* update record
*
* @param record the updated record
* @return update count
*/
int updateByPrimaryKey(LandCorporationInfo record);
/**
* 用于分页查询
* 条件:企业代码
*
* @param landCorporationInfo 企业信息
* @return
*/
List<LandCorporationInfo> selectListByPage(LandCorporationInfo landCorporationInfo);
}
\ No newline at end of file
... ...
package com.sunyo.wlpt.vehicle.manage.service;
import com.sunyo.wlpt.vehicle.manage.domain.LandCorporationInfo;
import com.sunyo.wlpt.vehicle.manage.response.ResultJson;
/**
* @author 子诚
* Description:
* 时间:2020/9/24 17:39
*/
public interface LandCorporationInfoService {
/**
* delete by primary key
*
* @param id primaryKey
* @return deleteCount
*/
ResultJson deleteByPrimaryKey(String id);
/**
* 批量删除驾驶员信息
*
* @param ids 被删除的id,多个以,相隔的字符串
* @return
*/
ResultJson batchRemoveByIds(String ids);
/**
* insert record to table
*
* @param record the record
* @return insert count
*/
int insert(LandCorporationInfo record);
/**
* insert record to table selective
*
* @param record the record
* @return insert count
*/
ResultJson insertSelective(LandCorporationInfo record);
/**
* select by primary key
*
* @param id primary key
* @return object by primary key
*/
LandCorporationInfo selectByPrimaryKey(String id);
/**
* update record selective
*
* @param record the updated record
* @return update count
*/
ResultJson updateByPrimaryKeySelective(LandCorporationInfo record);
/**
* update record
*
* @param record the updated record
* @return update count
*/
int updateByPrimaryKey(LandCorporationInfo record);
/**
* 分页查询
*
* @param landCorporationInfo 企业信息
* @param pageNum 当前页数
* @param pageSize 每页大小
* @return
*/
ResultJson selectListByPage(LandCorporationInfo landCorporationInfo, Integer pageNum, Integer pageSize);
}
... ...
package com.sunyo.wlpt.vehicle.manage.service.impl;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.sunyo.wlpt.vehicle.manage.response.ResultJson;
import com.sunyo.wlpt.vehicle.manage.utils.IdUtils;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.sunyo.wlpt.vehicle.manage.mapper.LandCorporationInfoMapper;
import com.sunyo.wlpt.vehicle.manage.domain.LandCorporationInfo;
import com.sunyo.wlpt.vehicle.manage.service.LandCorporationInfoService;
import java.util.List;
/**
* @author 子诚
* Description:
* 时间:2020/9/24 17:39
*/
@Service
public class LandCorporationInfoServiceImpl implements LandCorporationInfoService {
@Resource
private LandCorporationInfoMapper landCorporationInfoMapper;
@Override
public ResultJson deleteByPrimaryKey(String id)
{
return landCorporationInfoMapper.deleteByPrimaryKey(id) > 0
? ResultJson.success("200", "删除企业信息,成功")
: ResultJson.error("500", "删除企业信息,失败");
}
@Override
public ResultJson batchRemoveByIds(String ids)
{
String[] idList = ids.split(",");
return landCorporationInfoMapper.batchRemoveByIds(idList) > 0
? ResultJson.success("200", "批量删除企业信息,成功")
: ResultJson.error("500", "批量删除企业信息,失败");
}
@Override
public int insert(LandCorporationInfo record)
{
return landCorporationInfoMapper.insert(record);
}
@Override
public ResultJson insertSelective(LandCorporationInfo corporationInfo)
{
corporationInfo.setId(IdUtils.generateId());
return landCorporationInfoMapper.insertSelective(corporationInfo) > 0
? ResultJson.success("200", "增加企业信息,成功")
: ResultJson.error("500", "增加企业信息,失败");
}
@Override
public LandCorporationInfo selectByPrimaryKey(String id)
{
return landCorporationInfoMapper.selectByPrimaryKey(id);
}
@Override
public ResultJson selectListByPage(LandCorporationInfo landCorporationInfo, Integer pageNum, Integer pageSize)
{
PageHelper.startPage(pageNum, pageSize);
List<LandCorporationInfo> corporationInfoList = landCorporationInfoMapper.selectListByPage(landCorporationInfo);
PageInfo<LandCorporationInfo> pageInfo = new PageInfo<>(corporationInfoList);
return pageInfo.getTotal() >= 0
? ResultJson.success("200", "查询企业信息列表,成功!", pageInfo)
: ResultJson.error("500", "查询企业信息列表,失败!");
}
@Override
public ResultJson updateByPrimaryKeySelective(LandCorporationInfo record)
{
return landCorporationInfoMapper.updateByPrimaryKeySelective(record) > 0
? ResultJson.success("200", "编辑企业信息,成功")
: ResultJson.error("500", "编辑企业信息,失败");
}
@Override
public int updateByPrimaryKey(LandCorporationInfo record)
{
return landCorporationInfoMapper.updateByPrimaryKey(record);
}
}
... ...
<?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.sunyo.wlpt.vehicle.manage.mapper.LandCorporationInfoMapper">
<cache type="com.sunyo.wlpt.vehicle.manage.cache.RedisCache"/>
<resultMap id="BaseResultMap" type="com.sunyo.wlpt.vehicle.manage.domain.LandCorporationInfo">
<!--@mbg.generated-->
<!--@Table land_corporation_info-->
<id column="ID" jdbcType="VARCHAR" property="id"/>
<result column="EPORT_ID" jdbcType="VARCHAR" property="eportId"/>
<result column="CO_CODE" jdbcType="VARCHAR" property="coCode"/>
<result column="MAIN_PORT" jdbcType="VARCHAR" property="mainPort"/>
<result column="CO_REG_ADDR" jdbcType="VARCHAR" property="coRegAddr"/>
<result column="APPR_DEP" jdbcType="VARCHAR" property="apprDep"/>
<result column="APPR_NO" jdbcType="VARCHAR" property="apprNo"/>
<result column="APPR_VALID_TIME" jdbcType="DATE" property="apprValidTime"/>
<result column="APPR_PORTS" jdbcType="VARCHAR" property="apprPorts"/>
<result column="CO_NAME_CN" jdbcType="VARCHAR" property="coNameCn"/>
<result column="CO_NAME_EN" jdbcType="VARCHAR" property="coNameEn"/>
<result column="CO_DEAL_TYPE" jdbcType="VARCHAR" property="coDealType"/>
<result column="CO_DEAL_QUA" jdbcType="VARCHAR" property="coDealQua"/>
<result column="CO_ADDR" jdbcType="VARCHAR" property="coAddr"/>
<result column="CO_REP" jdbcType="VARCHAR" property="coRep"/>
<result column="CO_REP_PHON" jdbcType="VARCHAR" property="coRepPhon"/>
<result column="INSIDE_ADDR" jdbcType="VARCHAR" property="insideAddr"/>
<result column="INSIDE_PHONE" jdbcType="VARCHAR" property="insidePhone"/>
<result column="CO_SERVICE_NAME" jdbcType="VARCHAR" property="coServiceName"/>
<result column="CO_SERVICE_ADDP" jdbcType="VARCHAR" property="coServiceAddp"/>
<result column="CO_SERVICE_PHONE" jdbcType="VARCHAR" property="coServicePhone"/>
<result column="APPR_GOODS_VE_COUNT" jdbcType="VARCHAR" property="apprGoodsVeCount"/>
<result column="APPR_PASSENGERS_VE_COUNT" jdbcType="VARCHAR" property="apprPassengersVeCount"/>
<result column="ASSURE_TYPE" jdbcType="VARCHAR" property="assureType"/>
<result column="ASSURE_LETTER_NO" jdbcType="VARCHAR" property="assureLetterNo"/>
<result column="ASSURE_MONEY" jdbcType="VARCHAR" property="assureMoney"/>
<result column="ASSURE_TERM" jdbcType="DATE" property="assureTerm"/>
<result column="ASSURE_CO_ORG_CODE" jdbcType="VARCHAR" property="assureCoOrgCode"/>
<result column="ASSURE_CO_NAME" jdbcType="VARCHAR" property="assureCoName"/>
<result column="ASSURE_CO_REP" jdbcType="VARCHAR" property="assureCoRep"/>
<result column="ASSURE_CO_PHONE" jdbcType="VARCHAR" property="assureCoPhone"/>
<result column="ASSURE_O_ADDR" jdbcType="VARCHAR" property="assureOAddr"/>
<result column="ASSURE_CONTACT" jdbcType="VARCHAR" property="assureContact"/>
<result column="ASSURE_CO_CON_PHONE" jdbcType="VARCHAR" property="assureCoConPhone"/>
<result column="MEMO" jdbcType="VARCHAR" property="memo"/>
<result column="CURR_APPLY_BUSSINE" jdbcType="VARCHAR" property="currApplyBussine"/>
<result column="PROPOSER" jdbcType="VARCHAR" property="proposer"/>
<result column="PROPOSE_TIME" jdbcType="TIMESTAMP" property="proposeTime"/>
<result column="CO_REC_TYPE" jdbcType="VARCHAR" property="coRecType"/>
<result column="OPERATION_TYPE" jdbcType="VARCHAR" property="operationType"/>
<result column="APPRO_NO_PIC" jdbcType="VARCHAR" property="approNoPic"/>
<result column="ABROAD_CO_INFO" jdbcType="VARCHAR" property="abroadCoInfo"/>
<result column="ABROAD_ID" jdbcType="VARCHAR" property="abroadId"/>
<result column="ABROAD_REGISTER" jdbcType="VARCHAR" property="abroadRegister"/>
<result column="ABROAD_ADDR" jdbcType="VARCHAR" property="abroadAddr"/>
<result column="ABROAD_PHONE" jdbcType="VARCHAR" property="abroadPhone"/>
<result column="OPERATION_TYPE_ABROAD" jdbcType="VARCHAR" property="operationTypeAbroad"/>
<result column="ASSUME_CO_INFO" jdbcType="VARCHAR" property="assumeCoInfo"/>
<result column="ASSUME_ID" jdbcType="VARCHAR" property="assumeId"/>
<result column="ASSUME_NAME" jdbcType="VARCHAR" property="assumeName"/>
<result column="ASSUME_REP" jdbcType="VARCHAR" property="assumeRep"/>
<result column="ASSUME_REP_PHONE" jdbcType="VARCHAR" property="assumeRepPhone"/>
<result column="ASSUME_ADDR" jdbcType="VARCHAR" property="assumeAddr"/>
<result column="ASSUME_PHONE" jdbcType="VARCHAR" property="assumePhone"/>
<result column="OPERATION_TYPE_ASSUME" jdbcType="VARCHAR" property="operationTypeAssume"/>
<result column="CO_BELONG_PART_ORG" jdbcType="VARCHAR" property="coBelongPartOrg"/>
<result column="PART_ORG_ID" jdbcType="VARCHAR" property="partOrgId"/>
<result column="BELONG_ORG_NAME" jdbcType="VARCHAR" property="belongOrgName"/>
<result column="BELONG_ORG_ADDRESS" jdbcType="VARCHAR" property="belongOrgAddress"/>
<result column="BELONG_ORG_PRINCINAL" jdbcType="VARCHAR" property="belongOrgPrincinal"/>
<result column="BELONG_ORG_PHONE" jdbcType="VARCHAR" property="belongOrgPhone"/>
<result column="OPERAYION_TYPE_BELONG" jdbcType="VARCHAR" property="operationTypeBelong"/>
<result column="RETURNMESSAGE" jdbcType="VARCHAR" property="returnMessage"/>
<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"/>
</resultMap>
<sql id="Base_Column_List">
<!--@mbg.generated-->
ID, EPORT_ID, CO_CODE, MAIN_PORT, CO_REG_ADDR, APPR_DEP, APPR_NO, APPR_VALID_TIME,
APPR_PORTS, CO_NAME_CN, CO_NAME_EN, CO_DEAL_TYPE, CO_DEAL_QUA, CO_ADDR, CO_REP, CO_REP_PHON,
INSIDE_ADDR, INSIDE_PHONE, CO_SERVICE_NAME, CO_SERVICE_ADDP, CO_SERVICE_PHONE, APPR_GOODS_VE_COUNT,
APPR_PASSENGERS_VE_COUNT, ASSURE_TYPE, ASSURE_LETTER_NO, ASSURE_MONEY, ASSURE_TERM,
ASSURE_CO_ORG_CODE, ASSURE_CO_NAME, ASSURE_CO_REP, ASSURE_CO_PHONE, ASSURE_O_ADDR,
ASSURE_CONTACT, ASSURE_CO_CON_PHONE, MEMO, CURR_APPLY_BUSSINE, PROPOSER, PROPOSE_TIME,
CO_REC_TYPE, OPERATION_TYPE, APPRO_NO_PIC, ABROAD_CO_INFO, ABROAD_ID, ABROAD_REGISTER,
ABROAD_ADDR, ABROAD_PHONE, OPERATION_TYPE_ABROAD, ASSUME_CO_INFO, ASSUME_ID, ASSUME_NAME,
ASSUME_REP, ASSUME_REP_PHONE, ASSUME_ADDR, ASSUME_PHONE, OPERATION_TYPE_ASSUME, CO_BELONG_PART_ORG,
PART_ORG_ID, BELONG_ORG_NAME, BELONG_ORG_ADDRESS, BELONG_ORG_PRINCINAL, BELONG_ORG_PHONE,
OPERAYION_TYPE_BELONG, RETURNMESSAGE, CREATE_BY, CREATE_DATE, UPDATE_BY, UPDATE_DATE
</sql>
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
<!--@mbg.generated-->
select
<include refid="Base_Column_List"/>
from land_corporation_info
where ID = #{id,jdbcType=VARCHAR}
</select>
<select id="selectListByPage" parameterType="com.sunyo.wlpt.vehicle.manage.domain.LandCorporationInfo" resultMap="BaseResultMap">
select
<include refid="Base_Column_List"/>
from land_corporation_info
<where>
<!-- 企业代码 -->
<if test="coCode != null and coCode != ''">
CO_CODE = #{coCode,jdbcType=VARCHAR}
</if>
</where>
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
<!--@mbg.generated-->
delete
from land_corporation_info
where ID = #{id,jdbcType=VARCHAR}
</delete>
<delete id="batchRemoveByIds" parameterType="java.lang.String">
delete
from land_corporation_info
where ID in
<foreach collection="array" open="(" close=")" separator="," item="id">
#{id,jdbcType=VARCHAR}
</foreach>
</delete>
<insert id="insert" parameterType="com.sunyo.wlpt.vehicle.manage.domain.LandCorporationInfo">
<!--@mbg.generated-->
insert into land_corporation_info (ID, EPORT_ID, CO_CODE,
MAIN_PORT, CO_REG_ADDR, APPR_DEP,
APPR_NO, APPR_VALID_TIME, APPR_PORTS,
CO_NAME_CN, CO_NAME_EN, CO_DEAL_TYPE,
CO_DEAL_QUA, CO_ADDR, CO_REP,
CO_REP_PHON, INSIDE_ADDR, INSIDE_PHONE,
CO_SERVICE_NAME, CO_SERVICE_ADDP, CO_SERVICE_PHONE,
APPR_GOODS_VE_COUNT, APPR_PASSENGERS_VE_COUNT,
ASSURE_TYPE, ASSURE_LETTER_NO, ASSURE_MONEY,
ASSURE_TERM, ASSURE_CO_ORG_CODE, ASSURE_CO_NAME,
ASSURE_CO_REP, ASSURE_CO_PHONE, ASSURE_O_ADDR,
ASSURE_CONTACT, ASSURE_CO_CON_PHONE, MEMO,
CURR_APPLY_BUSSINE, PROPOSER, PROPOSE_TIME,
CO_REC_TYPE, OPERATION_TYPE, APPRO_NO_PIC,
ABROAD_CO_INFO, ABROAD_ID, ABROAD_REGISTER,
ABROAD_ADDR, ABROAD_PHONE, OPERATION_TYPE_ABROAD,
ASSUME_CO_INFO, ASSUME_ID, ASSUME_NAME,
ASSUME_REP, ASSUME_REP_PHONE, ASSUME_ADDR,
ASSUME_PHONE, OPERATION_TYPE_ASSUME, CO_BELONG_PART_ORG,
PART_ORG_ID, BELONG_ORG_NAME, BELONG_ORG_ADDRESS,
BELONG_ORG_PRINCINAL, BELONG_ORG_PHONE, OPERAYION_TYPE_BELONG,
RETURNMESSAGE, CREATE_BY, CREATE_DATE,
UPDATE_BY, UPDATE_DATE)
values (#{id,jdbcType=VARCHAR}, #{eportId,jdbcType=VARCHAR}, #{coCode,jdbcType=VARCHAR},
#{mainPort,jdbcType=VARCHAR}, #{coRegAddr,jdbcType=VARCHAR}, #{apprDep,jdbcType=VARCHAR},
#{apprNo,jdbcType=VARCHAR}, #{apprValidTime,jdbcType=DATE}, #{apprPorts,jdbcType=VARCHAR},
#{coNameCn,jdbcType=VARCHAR}, #{coNameEn,jdbcType=VARCHAR}, #{coDealType,jdbcType=VARCHAR},
#{coDealQua,jdbcType=VARCHAR}, #{coAddr,jdbcType=VARCHAR}, #{coRep,jdbcType=VARCHAR},
#{coRepPhon,jdbcType=VARCHAR}, #{insideAddr,jdbcType=VARCHAR}, #{insidePhone,jdbcType=VARCHAR},
#{coServiceName,jdbcType=VARCHAR}, #{coServiceAddp,jdbcType=VARCHAR}, #{coServicePhone,jdbcType=VARCHAR},
#{apprGoodsVeCount,jdbcType=VARCHAR}, #{apprPassengersVeCount,jdbcType=VARCHAR},
#{assureType,jdbcType=VARCHAR}, #{assureLetterNo,jdbcType=VARCHAR}, #{assureMoney,jdbcType=VARCHAR},
#{assureTerm,jdbcType=DATE}, #{assureCoOrgCode,jdbcType=VARCHAR}, #{assureCoName,jdbcType=VARCHAR},
#{assureCoRep,jdbcType=VARCHAR}, #{assureCoPhone,jdbcType=VARCHAR}, #{assureOAddr,jdbcType=VARCHAR},
#{assureContact,jdbcType=VARCHAR}, #{assureCoConPhone,jdbcType=VARCHAR}, #{memo,jdbcType=VARCHAR},
#{currApplyBussine,jdbcType=VARCHAR}, #{proposer,jdbcType=VARCHAR}, #{proposeTime,jdbcType=TIMESTAMP},
#{coRecType,jdbcType=VARCHAR}, #{operationType,jdbcType=VARCHAR}, #{approNoPic,jdbcType=VARCHAR},
#{abroadCoInfo,jdbcType=VARCHAR}, #{abroadId,jdbcType=VARCHAR}, #{abroadRegister,jdbcType=VARCHAR},
#{abroadAddr,jdbcType=VARCHAR}, #{abroadPhone,jdbcType=VARCHAR}, #{operationTypeAbroad,jdbcType=VARCHAR},
#{assumeCoInfo,jdbcType=VARCHAR}, #{assumeId,jdbcType=VARCHAR}, #{assumeName,jdbcType=VARCHAR},
#{assumeRep,jdbcType=VARCHAR}, #{assumeRepPhone,jdbcType=VARCHAR}, #{assumeAddr,jdbcType=VARCHAR},
#{assumePhone,jdbcType=VARCHAR}, #{operationTypeAssume,jdbcType=VARCHAR}, #{coBelongPartOrg,jdbcType=VARCHAR},
#{partOrgId,jdbcType=VARCHAR}, #{belongOrgName,jdbcType=VARCHAR}, #{belongOrgAddress,jdbcType=VARCHAR},
#{belongOrgPrincinal,jdbcType=VARCHAR}, #{belongOrgPhone,jdbcType=VARCHAR}, #{operationTypeBelong,jdbcType=VARCHAR},
#{returnMessage,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR}, #{createDate,jdbcType=TIMESTAMP},
#{updateBy,jdbcType=VARCHAR}, #{updateDate,jdbcType=TIMESTAMP})
</insert>
<insert id="insertSelective" parameterType="com.sunyo.wlpt.vehicle.manage.domain.LandCorporationInfo">
<!--@mbg.generated-->
insert into land_corporation_info
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">
ID,
</if>
<if test="eportId != null">
EPORT_ID,
</if>
<if test="coCode != null">
CO_CODE,
</if>
<if test="mainPort != null">
MAIN_PORT,
</if>
<if test="coRegAddr != null">
CO_REG_ADDR,
</if>
<if test="apprDep != null">
APPR_DEP,
</if>
<if test="apprNo != null">
APPR_NO,
</if>
<if test="apprValidTime != null">
APPR_VALID_TIME,
</if>
<if test="apprPorts != null">
APPR_PORTS,
</if>
<if test="coNameCn != null">
CO_NAME_CN,
</if>
<if test="coNameEn != null">
CO_NAME_EN,
</if>
<if test="coDealType != null">
CO_DEAL_TYPE,
</if>
<if test="coDealQua != null">
CO_DEAL_QUA,
</if>
<if test="coAddr != null">
CO_ADDR,
</if>
<if test="coRep != null">
CO_REP,
</if>
<if test="coRepPhon != null">
CO_REP_PHON,
</if>
<if test="insideAddr != null">
INSIDE_ADDR,
</if>
<if test="insidePhone != null">
INSIDE_PHONE,
</if>
<if test="coServiceName != null">
CO_SERVICE_NAME,
</if>
<if test="coServiceAddp != null">
CO_SERVICE_ADDP,
</if>
<if test="coServicePhone != null">
CO_SERVICE_PHONE,
</if>
<if test="apprGoodsVeCount != null">
APPR_GOODS_VE_COUNT,
</if>
<if test="apprPassengersVeCount != null">
APPR_PASSENGERS_VE_COUNT,
</if>
<if test="assureType != null">
ASSURE_TYPE,
</if>
<if test="assureLetterNo != null">
ASSURE_LETTER_NO,
</if>
<if test="assureMoney != null">
ASSURE_MONEY,
</if>
<if test="assureTerm != null">
ASSURE_TERM,
</if>
<if test="assureCoOrgCode != null">
ASSURE_CO_ORG_CODE,
</if>
<if test="assureCoName != null">
ASSURE_CO_NAME,
</if>
<if test="assureCoRep != null">
ASSURE_CO_REP,
</if>
<if test="assureCoPhone != null">
ASSURE_CO_PHONE,
</if>
<if test="assureOAddr != null">
ASSURE_O_ADDR,
</if>
<if test="assureContact != null">
ASSURE_CONTACT,
</if>
<if test="assureCoConPhone != null">
ASSURE_CO_CON_PHONE,
</if>
<if test="memo != null">
MEMO,
</if>
<if test="currApplyBussine != null">
CURR_APPLY_BUSSINE,
</if>
<if test="proposer != null">
PROPOSER,
</if>
<if test="proposeTime != null">
PROPOSE_TIME,
</if>
<if test="coRecType != null">
CO_REC_TYPE,
</if>
<if test="operationType != null">
OPERATION_TYPE,
</if>
<if test="approNoPic != null">
APPRO_NO_PIC,
</if>
<if test="abroadCoInfo != null">
ABROAD_CO_INFO,
</if>
<if test="abroadId != null">
ABROAD_ID,
</if>
<if test="abroadRegister != null">
ABROAD_REGISTER,
</if>
<if test="abroadAddr != null">
ABROAD_ADDR,
</if>
<if test="abroadPhone != null">
ABROAD_PHONE,
</if>
<if test="operationTypeAbroad != null">
OPERATION_TYPE_ABROAD,
</if>
<if test="assumeCoInfo != null">
ASSUME_CO_INFO,
</if>
<if test="assumeId != null">
ASSUME_ID,
</if>
<if test="assumeName != null">
ASSUME_NAME,
</if>
<if test="assumeRep != null">
ASSUME_REP,
</if>
<if test="assumeRepPhone != null">
ASSUME_REP_PHONE,
</if>
<if test="assumeAddr != null">
ASSUME_ADDR,
</if>
<if test="assumePhone != null">
ASSUME_PHONE,
</if>
<if test="operationTypeAssume != null">
OPERATION_TYPE_ASSUME,
</if>
<if test="coBelongPartOrg != null">
CO_BELONG_PART_ORG,
</if>
<if test="partOrgId != null">
PART_ORG_ID,
</if>
<if test="belongOrgName != null">
BELONG_ORG_NAME,
</if>
<if test="belongOrgAddress != null">
BELONG_ORG_ADDRESS,
</if>
<if test="belongOrgPrincinal != null">
BELONG_ORG_PRINCINAL,
</if>
<if test="belongOrgPhone != null">
BELONG_ORG_PHONE,
</if>
<if test="operationTypeBelong != null">
OPERAYION_TYPE_BELONG,
</if>
<if test="returnMessage != null">
RETURNMESSAGE,
</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>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">
#{id,jdbcType=VARCHAR},
</if>
<if test="eportId != null">
#{eportId,jdbcType=VARCHAR},
</if>
<if test="coCode != null">
#{coCode,jdbcType=VARCHAR},
</if>
<if test="mainPort != null">
#{mainPort,jdbcType=VARCHAR},
</if>
<if test="coRegAddr != null">
#{coRegAddr,jdbcType=VARCHAR},
</if>
<if test="apprDep != null">
#{apprDep,jdbcType=VARCHAR},
</if>
<if test="apprNo != null">
#{apprNo,jdbcType=VARCHAR},
</if>
<if test="apprValidTime != null">
#{apprValidTime,jdbcType=DATE},
</if>
<if test="apprPorts != null">
#{apprPorts,jdbcType=VARCHAR},
</if>
<if test="coNameCn != null">
#{coNameCn,jdbcType=VARCHAR},
</if>
<if test="coNameEn != null">
#{coNameEn,jdbcType=VARCHAR},
</if>
<if test="coDealType != null">
#{coDealType,jdbcType=VARCHAR},
</if>
<if test="coDealQua != null">
#{coDealQua,jdbcType=VARCHAR},
</if>
<if test="coAddr != null">
#{coAddr,jdbcType=VARCHAR},
</if>
<if test="coRep != null">
#{coRep,jdbcType=VARCHAR},
</if>
<if test="coRepPhon != null">
#{coRepPhon,jdbcType=VARCHAR},
</if>
<if test="insideAddr != null">
#{insideAddr,jdbcType=VARCHAR},
</if>
<if test="insidePhone != null">
#{insidePhone,jdbcType=VARCHAR},
</if>
<if test="coServiceName != null">
#{coServiceName,jdbcType=VARCHAR},
</if>
<if test="coServiceAddp != null">
#{coServiceAddp,jdbcType=VARCHAR},
</if>
<if test="coServicePhone != null">
#{coServicePhone,jdbcType=VARCHAR},
</if>
<if test="apprGoodsVeCount != null">
#{apprGoodsVeCount,jdbcType=VARCHAR},
</if>
<if test="apprPassengersVeCount != null">
#{apprPassengersVeCount,jdbcType=VARCHAR},
</if>
<if test="assureType != null">
#{assureType,jdbcType=VARCHAR},
</if>
<if test="assureLetterNo != null">
#{assureLetterNo,jdbcType=VARCHAR},
</if>
<if test="assureMoney != null">
#{assureMoney,jdbcType=VARCHAR},
</if>
<if test="assureTerm != null">
#{assureTerm,jdbcType=DATE},
</if>
<if test="assureCoOrgCode != null">
#{assureCoOrgCode,jdbcType=VARCHAR},
</if>
<if test="assureCoName != null">
#{assureCoName,jdbcType=VARCHAR},
</if>
<if test="assureCoRep != null">
#{assureCoRep,jdbcType=VARCHAR},
</if>
<if test="assureCoPhone != null">
#{assureCoPhone,jdbcType=VARCHAR},
</if>
<if test="assureOAddr != null">
#{assureOAddr,jdbcType=VARCHAR},
</if>
<if test="assureContact != null">
#{assureContact,jdbcType=VARCHAR},
</if>
<if test="assureCoConPhone != null">
#{assureCoConPhone,jdbcType=VARCHAR},
</if>
<if test="memo != null">
#{memo,jdbcType=VARCHAR},
</if>
<if test="currApplyBussine != null">
#{currApplyBussine,jdbcType=VARCHAR},
</if>
<if test="proposer != null">
#{proposer,jdbcType=VARCHAR},
</if>
<if test="proposeTime != null">
#{proposeTime,jdbcType=TIMESTAMP},
</if>
<if test="coRecType != null">
#{coRecType,jdbcType=VARCHAR},
</if>
<if test="operationType != null">
#{operationType,jdbcType=VARCHAR},
</if>
<if test="approNoPic != null">
#{approNoPic,jdbcType=VARCHAR},
</if>
<if test="abroadCoInfo != null">
#{abroadCoInfo,jdbcType=VARCHAR},
</if>
<if test="abroadId != null">
#{abroadId,jdbcType=VARCHAR},
</if>
<if test="abroadRegister != null">
#{abroadRegister,jdbcType=VARCHAR},
</if>
<if test="abroadAddr != null">
#{abroadAddr,jdbcType=VARCHAR},
</if>
<if test="abroadPhone != null">
#{abroadPhone,jdbcType=VARCHAR},
</if>
<if test="operationTypeAbroad != null">
#{operationTypeAbroad,jdbcType=VARCHAR},
</if>
<if test="assumeCoInfo != null">
#{assumeCoInfo,jdbcType=VARCHAR},
</if>
<if test="assumeId != null">
#{assumeId,jdbcType=VARCHAR},
</if>
<if test="assumeName != null">
#{assumeName,jdbcType=VARCHAR},
</if>
<if test="assumeRep != null">
#{assumeRep,jdbcType=VARCHAR},
</if>
<if test="assumeRepPhone != null">
#{assumeRepPhone,jdbcType=VARCHAR},
</if>
<if test="assumeAddr != null">
#{assumeAddr,jdbcType=VARCHAR},
</if>
<if test="assumePhone != null">
#{assumePhone,jdbcType=VARCHAR},
</if>
<if test="operationTypeAssume != null">
#{operationTypeAssume,jdbcType=VARCHAR},
</if>
<if test="coBelongPartOrg != null">
#{coBelongPartOrg,jdbcType=VARCHAR},
</if>
<if test="partOrgId != null">
#{partOrgId,jdbcType=VARCHAR},
</if>
<if test="belongOrgName != null">
#{belongOrgName,jdbcType=VARCHAR},
</if>
<if test="belongOrgAddress != null">
#{belongOrgAddress,jdbcType=VARCHAR},
</if>
<if test="belongOrgPrincinal != null">
#{belongOrgPrincinal,jdbcType=VARCHAR},
</if>
<if test="belongOrgPhone != null">
#{belongOrgPhone,jdbcType=VARCHAR},
</if>
<if test="operationTypeBelong != null">
#{operationTypeBelong,jdbcType=VARCHAR},
</if>
<if test="returnMessage != null">
#{returnMessage,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>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.sunyo.wlpt.vehicle.manage.domain.LandCorporationInfo">
<!--@mbg.generated-->
update land_corporation_info
<set>
<if test="eportId != null">
EPORT_ID = #{eportId,jdbcType=VARCHAR},
</if>
<if test="coCode != null">
CO_CODE = #{coCode,jdbcType=VARCHAR},
</if>
<if test="mainPort != null">
MAIN_PORT = #{mainPort,jdbcType=VARCHAR},
</if>
<if test="coRegAddr != null">
CO_REG_ADDR = #{coRegAddr,jdbcType=VARCHAR},
</if>
<if test="apprDep != null">
APPR_DEP = #{apprDep,jdbcType=VARCHAR},
</if>
<if test="apprNo != null">
APPR_NO = #{apprNo,jdbcType=VARCHAR},
</if>
<if test="apprValidTime != null">
APPR_VALID_TIME = #{apprValidTime,jdbcType=DATE},
</if>
<if test="apprPorts != null">
APPR_PORTS = #{apprPorts,jdbcType=VARCHAR},
</if>
<if test="coNameCn != null">
CO_NAME_CN = #{coNameCn,jdbcType=VARCHAR},
</if>
<if test="coNameEn != null">
CO_NAME_EN = #{coNameEn,jdbcType=VARCHAR},
</if>
<if test="coDealType != null">
CO_DEAL_TYPE = #{coDealType,jdbcType=VARCHAR},
</if>
<if test="coDealQua != null">
CO_DEAL_QUA = #{coDealQua,jdbcType=VARCHAR},
</if>
<if test="coAddr != null">
CO_ADDR = #{coAddr,jdbcType=VARCHAR},
</if>
<if test="coRep != null">
CO_REP = #{coRep,jdbcType=VARCHAR},
</if>
<if test="coRepPhon != null">
CO_REP_PHON = #{coRepPhon,jdbcType=VARCHAR},
</if>
<if test="insideAddr != null">
INSIDE_ADDR = #{insideAddr,jdbcType=VARCHAR},
</if>
<if test="insidePhone != null">
INSIDE_PHONE = #{insidePhone,jdbcType=VARCHAR},
</if>
<if test="coServiceName != null">
CO_SERVICE_NAME = #{coServiceName,jdbcType=VARCHAR},
</if>
<if test="coServiceAddp != null">
CO_SERVICE_ADDP = #{coServiceAddp,jdbcType=VARCHAR},
</if>
<if test="coServicePhone != null">
CO_SERVICE_PHONE = #{coServicePhone,jdbcType=VARCHAR},
</if>
<if test="apprGoodsVeCount != null">
APPR_GOODS_VE_COUNT = #{apprGoodsVeCount,jdbcType=VARCHAR},
</if>
<if test="apprPassengersVeCount != null">
APPR_PASSENGERS_VE_COUNT = #{apprPassengersVeCount,jdbcType=VARCHAR},
</if>
<if test="assureType != null">
ASSURE_TYPE = #{assureType,jdbcType=VARCHAR},
</if>
<if test="assureLetterNo != null">
ASSURE_LETTER_NO = #{assureLetterNo,jdbcType=VARCHAR},
</if>
<if test="assureMoney != null">
ASSURE_MONEY = #{assureMoney,jdbcType=VARCHAR},
</if>
<if test="assureTerm != null">
ASSURE_TERM = #{assureTerm,jdbcType=DATE},
</if>
<if test="assureCoOrgCode != null">
ASSURE_CO_ORG_CODE = #{assureCoOrgCode,jdbcType=VARCHAR},
</if>
<if test="assureCoName != null">
ASSURE_CO_NAME = #{assureCoName,jdbcType=VARCHAR},
</if>
<if test="assureCoRep != null">
ASSURE_CO_REP = #{assureCoRep,jdbcType=VARCHAR},
</if>
<if test="assureCoPhone != null">
ASSURE_CO_PHONE = #{assureCoPhone,jdbcType=VARCHAR},
</if>
<if test="assureOAddr != null">
ASSURE_O_ADDR = #{assureOAddr,jdbcType=VARCHAR},
</if>
<if test="assureContact != null">
ASSURE_CONTACT = #{assureContact,jdbcType=VARCHAR},
</if>
<if test="assureCoConPhone != null">
ASSURE_CO_CON_PHONE = #{assureCoConPhone,jdbcType=VARCHAR},
</if>
<if test="memo != null">
MEMO = #{memo,jdbcType=VARCHAR},
</if>
<if test="currApplyBussine != null">
CURR_APPLY_BUSSINE = #{currApplyBussine,jdbcType=VARCHAR},
</if>
<if test="proposer != null">
PROPOSER = #{proposer,jdbcType=VARCHAR},
</if>
<if test="proposeTime != null">
PROPOSE_TIME = #{proposeTime,jdbcType=TIMESTAMP},
</if>
<if test="coRecType != null">
CO_REC_TYPE = #{coRecType,jdbcType=VARCHAR},
</if>
<if test="operationType != null">
OPERATION_TYPE = #{operationType,jdbcType=VARCHAR},
</if>
<if test="approNoPic != null">
APPRO_NO_PIC = #{approNoPic,jdbcType=VARCHAR},
</if>
<if test="abroadCoInfo != null">
ABROAD_CO_INFO = #{abroadCoInfo,jdbcType=VARCHAR},
</if>
<if test="abroadId != null">
ABROAD_ID = #{abroadId,jdbcType=VARCHAR},
</if>
<if test="abroadRegister != null">
ABROAD_REGISTER = #{abroadRegister,jdbcType=VARCHAR},
</if>
<if test="abroadAddr != null">
ABROAD_ADDR = #{abroadAddr,jdbcType=VARCHAR},
</if>
<if test="abroadPhone != null">
ABROAD_PHONE = #{abroadPhone,jdbcType=VARCHAR},
</if>
<if test="operationTypeAbroad != null">
OPERATION_TYPE_ABROAD = #{operationTypeAbroad,jdbcType=VARCHAR},
</if>
<if test="assumeCoInfo != null">
ASSUME_CO_INFO = #{assumeCoInfo,jdbcType=VARCHAR},
</if>
<if test="assumeId != null">
ASSUME_ID = #{assumeId,jdbcType=VARCHAR},
</if>
<if test="assumeName != null">
ASSUME_NAME = #{assumeName,jdbcType=VARCHAR},
</if>
<if test="assumeRep != null">
ASSUME_REP = #{assumeRep,jdbcType=VARCHAR},
</if>
<if test="assumeRepPhone != null">
ASSUME_REP_PHONE = #{assumeRepPhone,jdbcType=VARCHAR},
</if>
<if test="assumeAddr != null">
ASSUME_ADDR = #{assumeAddr,jdbcType=VARCHAR},
</if>
<if test="assumePhone != null">
ASSUME_PHONE = #{assumePhone,jdbcType=VARCHAR},
</if>
<if test="operationTypeAssume != null">
OPERATION_TYPE_ASSUME = #{operationTypeAssume,jdbcType=VARCHAR},
</if>
<if test="coBelongPartOrg != null">
CO_BELONG_PART_ORG = #{coBelongPartOrg,jdbcType=VARCHAR},
</if>
<if test="partOrgId != null">
PART_ORG_ID = #{partOrgId,jdbcType=VARCHAR},
</if>
<if test="belongOrgName != null">
BELONG_ORG_NAME = #{belongOrgName,jdbcType=VARCHAR},
</if>
<if test="belongOrgAddress != null">
BELONG_ORG_ADDRESS = #{belongOrgAddress,jdbcType=VARCHAR},
</if>
<if test="belongOrgPrincinal != null">
BELONG_ORG_PRINCINAL = #{belongOrgPrincinal,jdbcType=VARCHAR},
</if>
<if test="belongOrgPhone != null">
BELONG_ORG_PHONE = #{belongOrgPhone,jdbcType=VARCHAR},
</if>
<if test="operationTypeBelong != null">
OPERAYION_TYPE_BELONG = #{operationTypeBelong,jdbcType=VARCHAR},
</if>
<if test="returnMessage != null">
RETURNMESSAGE = #{returnMessage,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>
</set>
where ID = #{id,jdbcType=VARCHAR}
</update>
<update id="updateByPrimaryKey" parameterType="com.sunyo.wlpt.vehicle.manage.domain.LandCorporationInfo">
<!--@mbg.generated-->
update land_corporation_info
set EPORT_ID = #{eportId,jdbcType=VARCHAR},
CO_CODE = #{coCode,jdbcType=VARCHAR},
MAIN_PORT = #{mainPort,jdbcType=VARCHAR},
CO_REG_ADDR = #{coRegAddr,jdbcType=VARCHAR},
APPR_DEP = #{apprDep,jdbcType=VARCHAR},
APPR_NO = #{apprNo,jdbcType=VARCHAR},
APPR_VALID_TIME = #{apprValidTime,jdbcType=DATE},
APPR_PORTS = #{apprPorts,jdbcType=VARCHAR},
CO_NAME_CN = #{coNameCn,jdbcType=VARCHAR},
CO_NAME_EN = #{coNameEn,jdbcType=VARCHAR},
CO_DEAL_TYPE = #{coDealType,jdbcType=VARCHAR},
CO_DEAL_QUA = #{coDealQua,jdbcType=VARCHAR},
CO_ADDR = #{coAddr,jdbcType=VARCHAR},
CO_REP = #{coRep,jdbcType=VARCHAR},
CO_REP_PHON = #{coRepPhon,jdbcType=VARCHAR},
INSIDE_ADDR = #{insideAddr,jdbcType=VARCHAR},
INSIDE_PHONE = #{insidePhone,jdbcType=VARCHAR},
CO_SERVICE_NAME = #{coServiceName,jdbcType=VARCHAR},
CO_SERVICE_ADDP = #{coServiceAddp,jdbcType=VARCHAR},
CO_SERVICE_PHONE = #{coServicePhone,jdbcType=VARCHAR},
APPR_GOODS_VE_COUNT = #{apprGoodsVeCount,jdbcType=VARCHAR},
APPR_PASSENGERS_VE_COUNT = #{apprPassengersVeCount,jdbcType=VARCHAR},
ASSURE_TYPE = #{assureType,jdbcType=VARCHAR},
ASSURE_LETTER_NO = #{assureLetterNo,jdbcType=VARCHAR},
ASSURE_MONEY = #{assureMoney,jdbcType=VARCHAR},
ASSURE_TERM = #{assureTerm,jdbcType=DATE},
ASSURE_CO_ORG_CODE = #{assureCoOrgCode,jdbcType=VARCHAR},
ASSURE_CO_NAME = #{assureCoName,jdbcType=VARCHAR},
ASSURE_CO_REP = #{assureCoRep,jdbcType=VARCHAR},
ASSURE_CO_PHONE = #{assureCoPhone,jdbcType=VARCHAR},
ASSURE_O_ADDR = #{assureOAddr,jdbcType=VARCHAR},
ASSURE_CONTACT = #{assureContact,jdbcType=VARCHAR},
ASSURE_CO_CON_PHONE = #{assureCoConPhone,jdbcType=VARCHAR},
MEMO = #{memo,jdbcType=VARCHAR},
CURR_APPLY_BUSSINE = #{currApplyBussine,jdbcType=VARCHAR},
PROPOSER = #{proposer,jdbcType=VARCHAR},
PROPOSE_TIME = #{proposeTime,jdbcType=TIMESTAMP},
CO_REC_TYPE = #{coRecType,jdbcType=VARCHAR},
OPERATION_TYPE = #{operationType,jdbcType=VARCHAR},
APPRO_NO_PIC = #{approNoPic,jdbcType=VARCHAR},
ABROAD_CO_INFO = #{abroadCoInfo,jdbcType=VARCHAR},
ABROAD_ID = #{abroadId,jdbcType=VARCHAR},
ABROAD_REGISTER = #{abroadRegister,jdbcType=VARCHAR},
ABROAD_ADDR = #{abroadAddr,jdbcType=VARCHAR},
ABROAD_PHONE = #{abroadPhone,jdbcType=VARCHAR},
OPERATION_TYPE_ABROAD = #{operationTypeAbroad,jdbcType=VARCHAR},
ASSUME_CO_INFO = #{assumeCoInfo,jdbcType=VARCHAR},
ASSUME_ID = #{assumeId,jdbcType=VARCHAR},
ASSUME_NAME = #{assumeName,jdbcType=VARCHAR},
ASSUME_REP = #{assumeRep,jdbcType=VARCHAR},
ASSUME_REP_PHONE = #{assumeRepPhone,jdbcType=VARCHAR},
ASSUME_ADDR = #{assumeAddr,jdbcType=VARCHAR},
ASSUME_PHONE = #{assumePhone,jdbcType=VARCHAR},
OPERATION_TYPE_ASSUME = #{operationTypeAssume,jdbcType=VARCHAR},
CO_BELONG_PART_ORG = #{coBelongPartOrg,jdbcType=VARCHAR},
PART_ORG_ID = #{partOrgId,jdbcType=VARCHAR},
BELONG_ORG_NAME = #{belongOrgName,jdbcType=VARCHAR},
BELONG_ORG_ADDRESS = #{belongOrgAddress,jdbcType=VARCHAR},
BELONG_ORG_PRINCINAL = #{belongOrgPrincinal,jdbcType=VARCHAR},
BELONG_ORG_PHONE = #{belongOrgPhone,jdbcType=VARCHAR},
OPERAYION_TYPE_BELONG = #{operationTypeBelong,jdbcType=VARCHAR},
RETURNMESSAGE = #{returnMessage,jdbcType=VARCHAR},
CREATE_BY = #{createBy,jdbcType=VARCHAR},
CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
UPDATE_BY = #{updateBy,jdbcType=VARCHAR},
UPDATE_DATE = #{updateDate,jdbcType=TIMESTAMP}
where ID = #{id,jdbcType=VARCHAR}
</update>
</mapper>
\ No newline at end of file
... ...
<?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.sunyo.wlpt.vehicle.manage.mapper.LandRoadDrRecordMapper">
<cache type="com.sunyo.wlpt.vehicle.manage.cache.RedisCache"/>
<resultMap id="BaseResultMap" type="com.sunyo.wlpt.vehicle.manage.domain.LandRoadDrRecord">
<!--@mbg.generated-->
<!--@Table land_road_dr_record-->
... ...