作者 王勇

添加swagger的相关API

1 server: 1 server:
2 - port: 10001 2 + port: 8678
3 3
4 # spring 配置 4 # spring 配置
5 spring: 5 spring:
@@ -9,7 +9,7 @@ spring: @@ -9,7 +9,7 @@ spring:
9 password: 123456 9 password: 123456
10 10
11 application: 11 application:
12 - name: vehicle_manage 12 + name: vehicle-manage
13 13
14 # 数据源配置 14 # 数据源配置
15 datasource: 15 datasource:
@@ -96,6 +96,6 @@ management: @@ -96,6 +96,6 @@ management:
96 96
97 # 基础信息配置 97 # 基础信息配置
98 info: 98 info:
99 - version: 1.0  
100 - description: "车辆管理系统" 99 + version: 1.0.0
  100 + description: "陆运运输:包括车辆管理、挂车管理、企业管理、驾驶员管理"
101 101
  1 +package com.sunyo.wlpt.vehicle.manage.controller;
  2 +
  3 +import com.sunyo.wlpt.vehicle.manage.domain.LandCorporationInfo;
  4 +import com.sunyo.wlpt.vehicle.manage.response.ResultJson;
  5 +import com.sunyo.wlpt.vehicle.manage.service.LandCorporationInfoService;
  6 +import io.swagger.annotations.Api;
  7 +import io.swagger.annotations.ApiOperation;
  8 +import org.springframework.web.bind.annotation.*;
  9 +
  10 +import javax.annotation.Resource;
  11 +
  12 +/**
  13 + * @author 子诚
  14 + * Description:企业信息,控制器
  15 + * 时间:2020/9/25 10:37
  16 + */
  17 +@Api(tags = "企业信息,控制器")
  18 +@CrossOrigin
  19 +@RequestMapping("corporation")
  20 +@RestController
  21 +public class CorporationController {
  22 +
  23 + @Resource
  24 + private LandCorporationInfoService landCorporationInfoService;
  25 +
  26 + @ApiOperation(value = "企业信息,分页查询")
  27 + @GetMapping("/page")
  28 + public ResultJson selectListByPage(@RequestParam(value = "coCode", required = false) String coCode,
  29 + @RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum,
  30 + @RequestParam(value = "pageSize", defaultValue = "10") Integer pageSize)
  31 + {
  32 + LandCorporationInfo landCorporationInfo = LandCorporationInfo.builder()
  33 + .coCode(coCode)
  34 + .build();
  35 + return landCorporationInfoService.selectListByPage(landCorporationInfo, pageNum, pageSize);
  36 + }
  37 +
  38 + /**
  39 + * 删除
  40 + * 条件:id
  41 + *
  42 + * @param landCorporationInfo 企业信息 {@link LandCorporationInfo}
  43 + * @return
  44 + */
  45 + @ApiOperation(value = "企业信息,删除")
  46 + @DeleteMapping("/delete")
  47 + public ResultJson deleteCorporation(@RequestBody LandCorporationInfo landCorporationInfo)
  48 + {
  49 + return landCorporationInfoService.deleteByPrimaryKey(landCorporationInfo.getId());
  50 + }
  51 +
  52 + /**
  53 + * 批量删除
  54 + * 条件:{id: id1,id2...}
  55 + *
  56 + * @param landCorporationInfo 企业信息 {@link LandCorporationInfo}
  57 + * @return
  58 + */
  59 + @ApiOperation(value = "企业信息,批量删除")
  60 + @DeleteMapping("/batchRemove")
  61 + public ResultJson batchRemoveCorporation(@RequestBody LandCorporationInfo landCorporationInfo)
  62 + {
  63 + String id = landCorporationInfo.getId();
  64 + return id.contains(",") ? landCorporationInfoService.batchRemoveByIds(id)
  65 + : landCorporationInfoService.deleteByPrimaryKey(id);
  66 + }
  67 +
  68 + /**
  69 + * 修改 or 编辑
  70 + *
  71 + * @param landCorporationInfo 企业信息 {@link LandCorporationInfo}
  72 + * @return 成功 or 失败
  73 + */
  74 + @ApiOperation(value = "企业信息,编辑")
  75 + @PutMapping("/update")
  76 + public ResultJson updateCorporation(@RequestBody LandCorporationInfo landCorporationInfo)
  77 + {
  78 + return landCorporationInfoService.updateByPrimaryKeySelective(landCorporationInfo);
  79 + }
  80 +
  81 + /**
  82 + * 新增
  83 + *
  84 + * @param landCorporationInfo 企业信息 {@link LandCorporationInfo}
  85 + * @return 成功 or 失败
  86 + */
  87 + @ApiOperation(value = "企业信息,增加")
  88 + @PostMapping("/insert")
  89 + public ResultJson insertCorporation(@RequestBody LandCorporationInfo landCorporationInfo)
  90 + {
  91 + return landCorporationInfoService.insertSelective(landCorporationInfo);
  92 + }
  93 +
  94 +}
1 package com.sunyo.wlpt.vehicle.manage.controller; 1 package com.sunyo.wlpt.vehicle.manage.controller;
2 2
3 import com.sunyo.wlpt.vehicle.manage.domain.LandRoadDrRecord; 3 import com.sunyo.wlpt.vehicle.manage.domain.LandRoadDrRecord;
4 -import com.sunyo.wlpt.vehicle.manage.domain.LandRoadTrailerRecord;  
5 -import com.sunyo.wlpt.vehicle.manage.domain.LandRoadVeRecord;  
6 import com.sunyo.wlpt.vehicle.manage.response.ResultJson; 4 import com.sunyo.wlpt.vehicle.manage.response.ResultJson;
7 import com.sunyo.wlpt.vehicle.manage.service.LandRoadDrRecordService; 5 import com.sunyo.wlpt.vehicle.manage.service.LandRoadDrRecordService;
8 import io.swagger.annotations.Api; 6 import io.swagger.annotations.Api;
@@ -86,7 +86,7 @@ public class TrailerController { @@ -86,7 +86,7 @@ public class TrailerController {
86 * 批量删除 86 * 批量删除
87 * 条件:{id: id1,id2...} 87 * 条件:{id: id1,id2...}
88 * 88 *
89 - * @param landRoadTrailerRecord 车辆信息 {@link LandRoadTrailerRecord} 89 + * @param landRoadTrailerRecord 挂车信息 {@link LandRoadTrailerRecord}
90 * @return 90 * @return
91 */ 91 */
92 @ApiOperation(value = "挂车信息,批量删除") 92 @ApiOperation(value = "挂车信息,批量删除")
@@ -16,7 +16,7 @@ import javax.annotation.Resource; @@ -16,7 +16,7 @@ import javax.annotation.Resource;
16 */ 16 */
17 @Api(tags = "车辆信息,控制器") 17 @Api(tags = "车辆信息,控制器")
18 @CrossOrigin 18 @CrossOrigin
19 -@RequestMapping("vehicle") 19 +@RequestMapping("/vehicle")
20 @RestController 20 @RestController
21 public class VehicleController { 21 public class VehicleController {
22 22
  1 +package com.sunyo.wlpt.vehicle.manage.domain;
  2 +
  3 +import io.swagger.annotations.ApiModel;
  4 +import io.swagger.annotations.ApiModelProperty;
  5 +
  6 +import java.io.Serializable;
  7 +import java.util.Date;
  8 +
  9 +import lombok.AllArgsConstructor;
  10 +import lombok.Builder;
  11 +import lombok.Data;
  12 +import lombok.NoArgsConstructor;
  13 +
  14 +/**
  15 + * @author 子诚
  16 + * Description:
  17 + * 时间:2020/9/25 10:34
  18 + */
  19 +@ApiModel("企业信息")
  20 +@Data
  21 +@Builder
  22 +@AllArgsConstructor
  23 +@NoArgsConstructor
  24 +public class LandCorporationInfo implements Serializable {
  25 + @ApiModelProperty(value = "")
  26 + private String id;
  27 +
  28 + /**
  29 + * 电子口岸录入号ID
  30 + */
  31 + @ApiModelProperty(value = "电子口岸录入号ID")
  32 + private String eportId;
  33 +
  34 + /**
  35 + * 企业代码
  36 + */
  37 + @ApiModelProperty(value = "企业代码")
  38 + private String coCode;
  39 +
  40 + /**
  41 + * 主管海关代码
  42 + */
  43 + @ApiModelProperty(value = "主管海关代码")
  44 + private String mainPort;
  45 +
  46 + /**
  47 + * 企业注册地
  48 + */
  49 + @ApiModelProperty(value = "企业注册地")
  50 + private String coRegAddr;
  51 +
  52 + /**
  53 + * 批准海关
  54 + */
  55 + @ApiModelProperty(value = "批准海关")
  56 + private String apprDep;
  57 +
  58 + /**
  59 + * 批准/许可批文号
  60 + */
  61 + @ApiModelProperty(value = "批准/许可批文号")
  62 + private String apprNo;
  63 +
  64 + /**
  65 + * 批准/许可批文有效期
  66 + */
  67 + @ApiModelProperty(value = "批准/许可批文有效期")
  68 + private Date apprValidTime;
  69 +
  70 + /**
  71 + * 批准行驶口岸
  72 + */
  73 + @ApiModelProperty(value = "批准行驶口岸")
  74 + private String apprPorts;
  75 +
  76 + /**
  77 + * 企业中文名称
  78 + */
  79 + @ApiModelProperty(value = "企业中文名称")
  80 + private String coNameCn;
  81 +
  82 + /**
  83 + * 企业外文名称
  84 + */
  85 + @ApiModelProperty(value = "企业外文名称")
  86 + private String coNameEn;
  87 +
  88 + /**
  89 + * 企业经营类型:1.货运企业;2.客运企业;3.转关运输企业;4.其他。
  90 + */
  91 + @ApiModelProperty(value = "企业经营类型:1.货运企业;2.客运企业;3.转关运输企业;4.其他。")
  92 + private String coDealType;
  93 +
  94 + /**
  95 + * 企业经营资格
  96 + */
  97 + @ApiModelProperty(value = "企业经营资格")
  98 + private String coDealQua;
  99 +
  100 + /**
  101 + * 企业地址
  102 + */
  103 + @ApiModelProperty(value = "企业地址")
  104 + private String coAddr;
  105 +
  106 + /**
  107 + * 企业负责人
  108 + */
  109 + @ApiModelProperty(value = "企业负责人")
  110 + private String coRep;
  111 +
  112 + /**
  113 + * 企业负责人联系电话
  114 + */
  115 + @ApiModelProperty(value = "企业负责人联系电话")
  116 + private String coRepPhon;
  117 +
  118 + /**
  119 + * 境内联系地址
  120 + */
  121 + @ApiModelProperty(value = "境内联系地址")
  122 + private String insideAddr;
  123 +
  124 + /**
  125 + * 境内联系电话
  126 + */
  127 + @ApiModelProperty(value = "境内联系电话")
  128 + private String insidePhone;
  129 +
  130 + /**
  131 + * 运输工具服务企业名称
  132 + */
  133 + @ApiModelProperty(value = "运输工具服务企业名称")
  134 + private String coServiceName;
  135 +
  136 + /**
  137 + * 运输工具服务企业地址
  138 + */
  139 + @ApiModelProperty(value = "运输工具服务企业地址")
  140 + private String coServiceAddp;
  141 +
  142 + /**
  143 + * 运输工具服务企业联系电话
  144 + */
  145 + @ApiModelProperty(value = "运输工具服务企业联系电话")
  146 + private String coServicePhone;
  147 +
  148 + /**
  149 + * 批准货运车辆指标数
  150 + */
  151 + @ApiModelProperty(value = "批准货运车辆指标数")
  152 + private String apprGoodsVeCount;
  153 +
  154 + /**
  155 + * 批准客运车辆指标数
  156 + */
  157 + @ApiModelProperty(value = "批准客运车辆指标数")
  158 + private String apprPassengersVeCount;
  159 +
  160 + /**
  161 + * 担保方式
  162 + */
  163 + @ApiModelProperty(value = "担保方式")
  164 + private String assureType;
  165 +
  166 + /**
  167 + * 担保函编号(唯一)
  168 + */
  169 + @ApiModelProperty(value = "担保函编号(唯一)")
  170 + private String assureLetterNo;
  171 +
  172 + /**
  173 + * 担保函金额
  174 + */
  175 + @ApiModelProperty(value = "担保函金额")
  176 + private String assureMoney;
  177 +
  178 + /**
  179 + * 担保期限
  180 + */
  181 + @ApiModelProperty(value = "担保期限")
  182 + private Date assureTerm;
  183 +
  184 + /**
  185 + * 担保企业组织机构代码
  186 + */
  187 + @ApiModelProperty(value = "担保企业组织机构代码")
  188 + private String assureCoOrgCode;
  189 +
  190 + /**
  191 + * 担保企业名称(人、单位)
  192 + */
  193 + @ApiModelProperty(value = "担保企业名称(人、单位)")
  194 + private String assureCoName;
  195 +
  196 + /**
  197 + * 担保企业法人代表
  198 + */
  199 + @ApiModelProperty(value = "担保企业法人代表")
  200 + private String assureCoRep;
  201 +
  202 + /**
  203 + * 担保企业电话
  204 + */
  205 + @ApiModelProperty(value = "担保企业电话")
  206 + private String assureCoPhone;
  207 +
  208 + /**
  209 + * 担保企业地址
  210 + */
  211 + @ApiModelProperty(value = "担保企业地址")
  212 + private String assureOAddr;
  213 +
  214 + /**
  215 + * 担保企业联系人
  216 + */
  217 + @ApiModelProperty(value = "担保企业联系人")
  218 + private String assureContact;
  219 +
  220 + /**
  221 + * 担保企业联系人电话
  222 + */
  223 + @ApiModelProperty(value = "担保企业联系人电话")
  224 + private String assureCoConPhone;
  225 +
  226 + /**
  227 + * 备注
  228 + */
  229 + @ApiModelProperty(value = "备注")
  230 + private String memo;
  231 +
  232 + /**
  233 + * 最新更新申请业务类型
  234 + */
  235 + @ApiModelProperty(value = "最新更新申请业务类型")
  236 + private String currApplyBussine;
  237 +
  238 + /**
  239 + * 申请人
  240 + */
  241 + @ApiModelProperty(value = "申请人")
  242 + private String proposer;
  243 +
  244 + /**
  245 + * 申请时间
  246 + */
  247 + @ApiModelProperty(value = "申请时间")
  248 + private Date proposeTime;
  249 +
  250 + /**
  251 + * 企业备案类别:1.经营性进出境公路运输企业;2.非经营性进出境公路交通工具负责人;3.进出境公路运输工具代理企业;4.经营性来往港澳公路运输企业;5.非经营性来往港澳公路交通工具负责人;6.来往港澳公路运输工具代理企业。
  252 + */
  253 + @ApiModelProperty(value = "企业备案类别:1.经营性进出境公路运输企业;2.非经营性进出境公路交通工具负责人;3.进出境公路运输工具代理企业;4.经营性来往港澳公路运输企业;5.非经营性来往港澳公路交通工具负责人;6.来往港澳公路运输工具代理企业。")
  254 + private String coRecType;
  255 +
  256 + /**
  257 + * 数据操作类型
  258 + */
  259 + @ApiModelProperty(value = "数据操作类型")
  260 + private String operationType;
  261 +
  262 + /**
  263 + * 批文扫描图
  264 + */
  265 + @ApiModelProperty(value = "批文扫描图")
  266 + private String approNoPic;
  267 +
  268 + /**
  269 + * 电子口岸表体顺序号(电子口岸与海关数据传输使用,企业无需填写)
  270 + */
  271 + @ApiModelProperty(value = "电子口岸表体顺序号(电子口岸与海关数据传输使用,企业无需填写)")
  272 + private String abroadCoInfo;
  273 +
  274 + /**
  275 + * 境外商号海关关键字
  276 + */
  277 + @ApiModelProperty(value = "境外商号海关关键字")
  278 + private String abroadId;
  279 +
  280 + /**
  281 + * 境外商号注册人
  282 + */
  283 + @ApiModelProperty(value = "境外商号注册人")
  284 + private String abroadRegister;
  285 +
  286 + /**
  287 + * 境外商号地址
  288 + */
  289 + @ApiModelProperty(value = "境外商号地址")
  290 + private String abroadAddr;
  291 +
  292 + /**
  293 + * 境外商号电话
  294 + */
  295 + @ApiModelProperty(value = "境外商号电话")
  296 + private String abroadPhone;
  297 +
  298 + /**
  299 + * 数据操作类型
  300 + */
  301 + @ApiModelProperty(value = "数据操作类型")
  302 + private String operationTypeAbroad;
  303 +
  304 + /**
  305 + * 电子口岸表体顺序号(电子口岸与海关数据传输使用,企业无需填写)
  306 + */
  307 + @ApiModelProperty(value = "电子口岸表体顺序号(电子口岸与海关数据传输使用,企业无需填写)")
  308 + private String assumeCoInfo;
  309 +
  310 + /**
  311 + * 内承单位海关关键字
  312 + */
  313 + @ApiModelProperty(value = "内承单位海关关键字")
  314 + private String assumeId;
  315 +
  316 + /**
  317 + * 内承单位名称
  318 + */
  319 + @ApiModelProperty(value = "内承单位名称")
  320 + private String assumeName;
  321 +
  322 + /**
  323 + * 内承单位法人代表
  324 + */
  325 + @ApiModelProperty(value = "内承单位法人代表")
  326 + private String assumeRep;
  327 +
  328 + /**
  329 + * 内承单位法人代表电话
  330 + */
  331 + @ApiModelProperty(value = "内承单位法人代表电话")
  332 + private String assumeRepPhone;
  333 +
  334 + /**
  335 + * 内承单位联系地址
  336 + */
  337 + @ApiModelProperty(value = "内承单位联系地址")
  338 + private String assumeAddr;
  339 +
  340 + /**
  341 + * 内承单位联系电话
  342 + */
  343 + @ApiModelProperty(value = "内承单位联系电话")
  344 + private String assumePhone;
  345 +
  346 + /**
  347 + * 数据操作类型
  348 + */
  349 + @ApiModelProperty(value = "数据操作类型")
  350 + private String operationTypeAssume;
  351 +
  352 + /**
  353 + * 电子口岸表体顺序号(电子口岸与海关数据传输使用,企业无需填写)
  354 + */
  355 + @ApiModelProperty(value = "电子口岸表体顺序号(电子口岸与海关数据传输使用,企业无需填写)")
  356 + private String coBelongPartOrg;
  357 +
  358 + /**
  359 + * 企业所属分支机构海关关键字
  360 + */
  361 + @ApiModelProperty(value = "企业所属分支机构海关关键字")
  362 + private String partOrgId;
  363 +
  364 + /**
  365 + * 所属分支机构名称
  366 + */
  367 + @ApiModelProperty(value = "所属分支机构名称")
  368 + private String belongOrgName;
  369 +
  370 + /**
  371 + * 所属分支机构地址
  372 + */
  373 + @ApiModelProperty(value = "所属分支机构地址")
  374 + private String belongOrgAddress;
  375 +
  376 + /**
  377 + * 所属分支机构负责人
  378 + */
  379 + @ApiModelProperty(value = "所属分支机构负责人")
  380 + private String belongOrgPrincinal;
  381 +
  382 + /**
  383 + * 所属分支机构联系电话
  384 + */
  385 + @ApiModelProperty(value = "所属分支机构联系电话")
  386 + private String belongOrgPhone;
  387 +
  388 + /**
  389 + * 数据操作类型
  390 + */
  391 + @ApiModelProperty(value = "数据操作类型")
  392 + private String operationTypeBelong;
  393 +
  394 + /**
  395 + * 回执内容
  396 + */
  397 + @ApiModelProperty(value = "回执内容")
  398 + private String returnMessage;
  399 +
  400 + @ApiModelProperty(value = "创建者")
  401 + private String createBy;
  402 +
  403 + @ApiModelProperty(value = "创建时间")
  404 + private Date createDate;
  405 +
  406 + @ApiModelProperty(value = "修改者")
  407 + private String updateBy;
  408 +
  409 + @ApiModelProperty(value = "修改时间")
  410 + private Date updateDate;
  411 +
  412 + private static final long serialVersionUID = 1L;
  413 +}
  1 +package com.sunyo.wlpt.vehicle.manage.mapper;
  2 +
  3 +import com.sunyo.wlpt.vehicle.manage.domain.LandCorporationInfo;
  4 +import com.sunyo.wlpt.vehicle.manage.response.ResultJson;
  5 +import org.apache.ibatis.annotations.Mapper;
  6 +
  7 +import java.util.List;
  8 +
  9 +/**
  10 + * @author 子诚
  11 + * Description:
  12 + * 时间:2020/9/25 10:34
  13 + */
  14 +@Mapper
  15 +public interface LandCorporationInfoMapper {
  16 + /**
  17 + * delete by primary key
  18 + *
  19 + * @param id primaryKey
  20 + * @return deleteCount
  21 + */
  22 + int deleteByPrimaryKey(String id);
  23 +
  24 + /**
  25 + * 批量删除
  26 + *
  27 + * @param idList id数组
  28 + * @return
  29 + */
  30 + int batchRemoveByIds(String[] idList);
  31 +
  32 + /**
  33 + * insert record to table
  34 + *
  35 + * @param record the record
  36 + * @return insert count
  37 + */
  38 + int insert(LandCorporationInfo record);
  39 +
  40 + /**
  41 + * insert record to table selective
  42 + *
  43 + * @param record the record
  44 + * @return insert count
  45 + */
  46 + int insertSelective(LandCorporationInfo record);
  47 +
  48 + /**
  49 + * select by primary key
  50 + *
  51 + * @param id primary key
  52 + * @return object by primary key
  53 + */
  54 + LandCorporationInfo selectByPrimaryKey(String id);
  55 +
  56 + /**
  57 + * update record selective
  58 + *
  59 + * @param record the updated record
  60 + * @return update count
  61 + */
  62 + int updateByPrimaryKeySelective(LandCorporationInfo record);
  63 +
  64 + /**
  65 + * update record
  66 + *
  67 + * @param record the updated record
  68 + * @return update count
  69 + */
  70 + int updateByPrimaryKey(LandCorporationInfo record);
  71 +
  72 + /**
  73 + * 用于分页查询
  74 + * 条件:企业代码
  75 + *
  76 + * @param landCorporationInfo 企业信息
  77 + * @return
  78 + */
  79 + List<LandCorporationInfo> selectListByPage(LandCorporationInfo landCorporationInfo);
  80 +
  81 +
  82 +}
  1 +package com.sunyo.wlpt.vehicle.manage.service;
  2 +
  3 +import com.sunyo.wlpt.vehicle.manage.domain.LandCorporationInfo;
  4 +import com.sunyo.wlpt.vehicle.manage.response.ResultJson;
  5 +
  6 +/**
  7 + * @author 子诚
  8 + * Description:
  9 + * 时间:2020/9/24 17:39
  10 + */
  11 +public interface LandCorporationInfoService {
  12 +
  13 +
  14 + /**
  15 + * delete by primary key
  16 + *
  17 + * @param id primaryKey
  18 + * @return deleteCount
  19 + */
  20 + ResultJson deleteByPrimaryKey(String id);
  21 +
  22 + /**
  23 + * 批量删除驾驶员信息
  24 + *
  25 + * @param ids 被删除的id,多个以,相隔的字符串
  26 + * @return
  27 + */
  28 + ResultJson batchRemoveByIds(String ids);
  29 +
  30 + /**
  31 + * insert record to table
  32 + *
  33 + * @param record the record
  34 + * @return insert count
  35 + */
  36 + int insert(LandCorporationInfo record);
  37 +
  38 + /**
  39 + * insert record to table selective
  40 + *
  41 + * @param record the record
  42 + * @return insert count
  43 + */
  44 + ResultJson insertSelective(LandCorporationInfo record);
  45 +
  46 + /**
  47 + * select by primary key
  48 + *
  49 + * @param id primary key
  50 + * @return object by primary key
  51 + */
  52 + LandCorporationInfo selectByPrimaryKey(String id);
  53 +
  54 + /**
  55 + * update record selective
  56 + *
  57 + * @param record the updated record
  58 + * @return update count
  59 + */
  60 + ResultJson updateByPrimaryKeySelective(LandCorporationInfo record);
  61 +
  62 + /**
  63 + * update record
  64 + *
  65 + * @param record the updated record
  66 + * @return update count
  67 + */
  68 + int updateByPrimaryKey(LandCorporationInfo record);
  69 +
  70 + /**
  71 + * 分页查询
  72 + *
  73 + * @param landCorporationInfo 企业信息
  74 + * @param pageNum 当前页数
  75 + * @param pageSize 每页大小
  76 + * @return
  77 + */
  78 + ResultJson selectListByPage(LandCorporationInfo landCorporationInfo, Integer pageNum, Integer pageSize);
  79 +}
  80 +
  1 +package com.sunyo.wlpt.vehicle.manage.service.impl;
  2 +
  3 +import com.github.pagehelper.PageHelper;
  4 +import com.github.pagehelper.PageInfo;
  5 +import com.sunyo.wlpt.vehicle.manage.response.ResultJson;
  6 +import com.sunyo.wlpt.vehicle.manage.utils.IdUtils;
  7 +import org.springframework.stereotype.Service;
  8 +
  9 +import javax.annotation.Resource;
  10 +
  11 +import com.sunyo.wlpt.vehicle.manage.mapper.LandCorporationInfoMapper;
  12 +import com.sunyo.wlpt.vehicle.manage.domain.LandCorporationInfo;
  13 +import com.sunyo.wlpt.vehicle.manage.service.LandCorporationInfoService;
  14 +
  15 +import java.util.List;
  16 +
  17 +/**
  18 + * @author 子诚
  19 + * Description:
  20 + * 时间:2020/9/24 17:39
  21 + */
  22 +@Service
  23 +public class LandCorporationInfoServiceImpl implements LandCorporationInfoService {
  24 +
  25 + @Resource
  26 + private LandCorporationInfoMapper landCorporationInfoMapper;
  27 +
  28 + @Override
  29 + public ResultJson deleteByPrimaryKey(String id)
  30 + {
  31 + return landCorporationInfoMapper.deleteByPrimaryKey(id) > 0
  32 + ? ResultJson.success("200", "删除企业信息,成功")
  33 + : ResultJson.error("500", "删除企业信息,失败");
  34 + }
  35 +
  36 + @Override
  37 + public ResultJson batchRemoveByIds(String ids)
  38 + {
  39 + String[] idList = ids.split(",");
  40 + return landCorporationInfoMapper.batchRemoveByIds(idList) > 0
  41 + ? ResultJson.success("200", "批量删除企业信息,成功")
  42 + : ResultJson.error("500", "批量删除企业信息,失败");
  43 + }
  44 +
  45 + @Override
  46 + public int insert(LandCorporationInfo record)
  47 + {
  48 + return landCorporationInfoMapper.insert(record);
  49 + }
  50 +
  51 + @Override
  52 + public ResultJson insertSelective(LandCorporationInfo corporationInfo)
  53 + {
  54 + corporationInfo.setId(IdUtils.generateId());
  55 + return landCorporationInfoMapper.insertSelective(corporationInfo) > 0
  56 + ? ResultJson.success("200", "增加企业信息,成功")
  57 + : ResultJson.error("500", "增加企业信息,失败");
  58 + }
  59 +
  60 + @Override
  61 + public LandCorporationInfo selectByPrimaryKey(String id)
  62 + {
  63 + return landCorporationInfoMapper.selectByPrimaryKey(id);
  64 + }
  65 +
  66 + @Override
  67 + public ResultJson selectListByPage(LandCorporationInfo landCorporationInfo, Integer pageNum, Integer pageSize)
  68 + {
  69 + PageHelper.startPage(pageNum, pageSize);
  70 + List<LandCorporationInfo> corporationInfoList = landCorporationInfoMapper.selectListByPage(landCorporationInfo);
  71 + PageInfo<LandCorporationInfo> pageInfo = new PageInfo<>(corporationInfoList);
  72 + return pageInfo.getTotal() >= 0
  73 + ? ResultJson.success("200", "查询企业信息列表,成功!", pageInfo)
  74 + : ResultJson.error("500", "查询企业信息列表,失败!");
  75 + }
  76 +
  77 + @Override
  78 + public ResultJson updateByPrimaryKeySelective(LandCorporationInfo record)
  79 + {
  80 + return landCorporationInfoMapper.updateByPrimaryKeySelective(record) > 0
  81 + ? ResultJson.success("200", "编辑企业信息,成功")
  82 + : ResultJson.error("500", "编辑企业信息,失败");
  83 + }
  84 +
  85 + @Override
  86 + public int updateByPrimaryKey(LandCorporationInfo record)
  87 + {
  88 + return landCorporationInfoMapper.updateByPrimaryKey(record);
  89 + }
  90 +
  91 +
  92 +}
  93 +
  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.sunyo.wlpt.vehicle.manage.mapper.LandCorporationInfoMapper">
  4 + <cache type="com.sunyo.wlpt.vehicle.manage.cache.RedisCache"/>
  5 + <resultMap id="BaseResultMap" type="com.sunyo.wlpt.vehicle.manage.domain.LandCorporationInfo">
  6 + <!--@mbg.generated-->
  7 + <!--@Table land_corporation_info-->
  8 + <id column="ID" jdbcType="VARCHAR" property="id"/>
  9 + <result column="EPORT_ID" jdbcType="VARCHAR" property="eportId"/>
  10 + <result column="CO_CODE" jdbcType="VARCHAR" property="coCode"/>
  11 + <result column="MAIN_PORT" jdbcType="VARCHAR" property="mainPort"/>
  12 + <result column="CO_REG_ADDR" jdbcType="VARCHAR" property="coRegAddr"/>
  13 + <result column="APPR_DEP" jdbcType="VARCHAR" property="apprDep"/>
  14 + <result column="APPR_NO" jdbcType="VARCHAR" property="apprNo"/>
  15 + <result column="APPR_VALID_TIME" jdbcType="DATE" property="apprValidTime"/>
  16 + <result column="APPR_PORTS" jdbcType="VARCHAR" property="apprPorts"/>
  17 + <result column="CO_NAME_CN" jdbcType="VARCHAR" property="coNameCn"/>
  18 + <result column="CO_NAME_EN" jdbcType="VARCHAR" property="coNameEn"/>
  19 + <result column="CO_DEAL_TYPE" jdbcType="VARCHAR" property="coDealType"/>
  20 + <result column="CO_DEAL_QUA" jdbcType="VARCHAR" property="coDealQua"/>
  21 + <result column="CO_ADDR" jdbcType="VARCHAR" property="coAddr"/>
  22 + <result column="CO_REP" jdbcType="VARCHAR" property="coRep"/>
  23 + <result column="CO_REP_PHON" jdbcType="VARCHAR" property="coRepPhon"/>
  24 + <result column="INSIDE_ADDR" jdbcType="VARCHAR" property="insideAddr"/>
  25 + <result column="INSIDE_PHONE" jdbcType="VARCHAR" property="insidePhone"/>
  26 + <result column="CO_SERVICE_NAME" jdbcType="VARCHAR" property="coServiceName"/>
  27 + <result column="CO_SERVICE_ADDP" jdbcType="VARCHAR" property="coServiceAddp"/>
  28 + <result column="CO_SERVICE_PHONE" jdbcType="VARCHAR" property="coServicePhone"/>
  29 + <result column="APPR_GOODS_VE_COUNT" jdbcType="VARCHAR" property="apprGoodsVeCount"/>
  30 + <result column="APPR_PASSENGERS_VE_COUNT" jdbcType="VARCHAR" property="apprPassengersVeCount"/>
  31 + <result column="ASSURE_TYPE" jdbcType="VARCHAR" property="assureType"/>
  32 + <result column="ASSURE_LETTER_NO" jdbcType="VARCHAR" property="assureLetterNo"/>
  33 + <result column="ASSURE_MONEY" jdbcType="VARCHAR" property="assureMoney"/>
  34 + <result column="ASSURE_TERM" jdbcType="DATE" property="assureTerm"/>
  35 + <result column="ASSURE_CO_ORG_CODE" jdbcType="VARCHAR" property="assureCoOrgCode"/>
  36 + <result column="ASSURE_CO_NAME" jdbcType="VARCHAR" property="assureCoName"/>
  37 + <result column="ASSURE_CO_REP" jdbcType="VARCHAR" property="assureCoRep"/>
  38 + <result column="ASSURE_CO_PHONE" jdbcType="VARCHAR" property="assureCoPhone"/>
  39 + <result column="ASSURE_O_ADDR" jdbcType="VARCHAR" property="assureOAddr"/>
  40 + <result column="ASSURE_CONTACT" jdbcType="VARCHAR" property="assureContact"/>
  41 + <result column="ASSURE_CO_CON_PHONE" jdbcType="VARCHAR" property="assureCoConPhone"/>
  42 + <result column="MEMO" jdbcType="VARCHAR" property="memo"/>
  43 + <result column="CURR_APPLY_BUSSINE" jdbcType="VARCHAR" property="currApplyBussine"/>
  44 + <result column="PROPOSER" jdbcType="VARCHAR" property="proposer"/>
  45 + <result column="PROPOSE_TIME" jdbcType="TIMESTAMP" property="proposeTime"/>
  46 + <result column="CO_REC_TYPE" jdbcType="VARCHAR" property="coRecType"/>
  47 + <result column="OPERATION_TYPE" jdbcType="VARCHAR" property="operationType"/>
  48 + <result column="APPRO_NO_PIC" jdbcType="VARCHAR" property="approNoPic"/>
  49 + <result column="ABROAD_CO_INFO" jdbcType="VARCHAR" property="abroadCoInfo"/>
  50 + <result column="ABROAD_ID" jdbcType="VARCHAR" property="abroadId"/>
  51 + <result column="ABROAD_REGISTER" jdbcType="VARCHAR" property="abroadRegister"/>
  52 + <result column="ABROAD_ADDR" jdbcType="VARCHAR" property="abroadAddr"/>
  53 + <result column="ABROAD_PHONE" jdbcType="VARCHAR" property="abroadPhone"/>
  54 + <result column="OPERATION_TYPE_ABROAD" jdbcType="VARCHAR" property="operationTypeAbroad"/>
  55 + <result column="ASSUME_CO_INFO" jdbcType="VARCHAR" property="assumeCoInfo"/>
  56 + <result column="ASSUME_ID" jdbcType="VARCHAR" property="assumeId"/>
  57 + <result column="ASSUME_NAME" jdbcType="VARCHAR" property="assumeName"/>
  58 + <result column="ASSUME_REP" jdbcType="VARCHAR" property="assumeRep"/>
  59 + <result column="ASSUME_REP_PHONE" jdbcType="VARCHAR" property="assumeRepPhone"/>
  60 + <result column="ASSUME_ADDR" jdbcType="VARCHAR" property="assumeAddr"/>
  61 + <result column="ASSUME_PHONE" jdbcType="VARCHAR" property="assumePhone"/>
  62 + <result column="OPERATION_TYPE_ASSUME" jdbcType="VARCHAR" property="operationTypeAssume"/>
  63 + <result column="CO_BELONG_PART_ORG" jdbcType="VARCHAR" property="coBelongPartOrg"/>
  64 + <result column="PART_ORG_ID" jdbcType="VARCHAR" property="partOrgId"/>
  65 + <result column="BELONG_ORG_NAME" jdbcType="VARCHAR" property="belongOrgName"/>
  66 + <result column="BELONG_ORG_ADDRESS" jdbcType="VARCHAR" property="belongOrgAddress"/>
  67 + <result column="BELONG_ORG_PRINCINAL" jdbcType="VARCHAR" property="belongOrgPrincinal"/>
  68 + <result column="BELONG_ORG_PHONE" jdbcType="VARCHAR" property="belongOrgPhone"/>
  69 + <result column="OPERAYION_TYPE_BELONG" jdbcType="VARCHAR" property="operationTypeBelong"/>
  70 + <result column="RETURNMESSAGE" jdbcType="VARCHAR" property="returnMessage"/>
  71 + <result column="CREATE_BY" jdbcType="VARCHAR" property="createBy"/>
  72 + <result column="CREATE_DATE" jdbcType="TIMESTAMP" property="createDate"/>
  73 + <result column="UPDATE_BY" jdbcType="VARCHAR" property="updateBy"/>
  74 + <result column="UPDATE_DATE" jdbcType="TIMESTAMP" property="updateDate"/>
  75 + </resultMap>
  76 + <sql id="Base_Column_List">
  77 + <!--@mbg.generated-->
  78 + ID, EPORT_ID, CO_CODE, MAIN_PORT, CO_REG_ADDR, APPR_DEP, APPR_NO, APPR_VALID_TIME,
  79 + APPR_PORTS, CO_NAME_CN, CO_NAME_EN, CO_DEAL_TYPE, CO_DEAL_QUA, CO_ADDR, CO_REP, CO_REP_PHON,
  80 + INSIDE_ADDR, INSIDE_PHONE, CO_SERVICE_NAME, CO_SERVICE_ADDP, CO_SERVICE_PHONE, APPR_GOODS_VE_COUNT,
  81 + APPR_PASSENGERS_VE_COUNT, ASSURE_TYPE, ASSURE_LETTER_NO, ASSURE_MONEY, ASSURE_TERM,
  82 + ASSURE_CO_ORG_CODE, ASSURE_CO_NAME, ASSURE_CO_REP, ASSURE_CO_PHONE, ASSURE_O_ADDR,
  83 + ASSURE_CONTACT, ASSURE_CO_CON_PHONE, MEMO, CURR_APPLY_BUSSINE, PROPOSER, PROPOSE_TIME,
  84 + CO_REC_TYPE, OPERATION_TYPE, APPRO_NO_PIC, ABROAD_CO_INFO, ABROAD_ID, ABROAD_REGISTER,
  85 + ABROAD_ADDR, ABROAD_PHONE, OPERATION_TYPE_ABROAD, ASSUME_CO_INFO, ASSUME_ID, ASSUME_NAME,
  86 + ASSUME_REP, ASSUME_REP_PHONE, ASSUME_ADDR, ASSUME_PHONE, OPERATION_TYPE_ASSUME, CO_BELONG_PART_ORG,
  87 + PART_ORG_ID, BELONG_ORG_NAME, BELONG_ORG_ADDRESS, BELONG_ORG_PRINCINAL, BELONG_ORG_PHONE,
  88 + OPERAYION_TYPE_BELONG, RETURNMESSAGE, CREATE_BY, CREATE_DATE, UPDATE_BY, UPDATE_DATE
  89 + </sql>
  90 + <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
  91 + <!--@mbg.generated-->
  92 + select
  93 + <include refid="Base_Column_List"/>
  94 + from land_corporation_info
  95 + where ID = #{id,jdbcType=VARCHAR}
  96 + </select>
  97 +
  98 + <select id="selectListByPage" parameterType="com.sunyo.wlpt.vehicle.manage.domain.LandCorporationInfo" resultMap="BaseResultMap">
  99 + select
  100 + <include refid="Base_Column_List"/>
  101 + from land_corporation_info
  102 + <where>
  103 + <!-- 企业代码 -->
  104 + <if test="coCode != null and coCode != ''">
  105 + CO_CODE = #{coCode,jdbcType=VARCHAR}
  106 + </if>
  107 + </where>
  108 + </select>
  109 +
  110 + <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
  111 + <!--@mbg.generated-->
  112 + delete
  113 + from land_corporation_info
  114 + where ID = #{id,jdbcType=VARCHAR}
  115 + </delete>
  116 +
  117 + <delete id="batchRemoveByIds" parameterType="java.lang.String">
  118 + delete
  119 + from land_corporation_info
  120 + where ID in
  121 + <foreach collection="array" open="(" close=")" separator="," item="id">
  122 + #{id,jdbcType=VARCHAR}
  123 + </foreach>
  124 + </delete>
  125 + <insert id="insert" parameterType="com.sunyo.wlpt.vehicle.manage.domain.LandCorporationInfo">
  126 + <!--@mbg.generated-->
  127 + insert into land_corporation_info (ID, EPORT_ID, CO_CODE,
  128 + MAIN_PORT, CO_REG_ADDR, APPR_DEP,
  129 + APPR_NO, APPR_VALID_TIME, APPR_PORTS,
  130 + CO_NAME_CN, CO_NAME_EN, CO_DEAL_TYPE,
  131 + CO_DEAL_QUA, CO_ADDR, CO_REP,
  132 + CO_REP_PHON, INSIDE_ADDR, INSIDE_PHONE,
  133 + CO_SERVICE_NAME, CO_SERVICE_ADDP, CO_SERVICE_PHONE,
  134 + APPR_GOODS_VE_COUNT, APPR_PASSENGERS_VE_COUNT,
  135 + ASSURE_TYPE, ASSURE_LETTER_NO, ASSURE_MONEY,
  136 + ASSURE_TERM, ASSURE_CO_ORG_CODE, ASSURE_CO_NAME,
  137 + ASSURE_CO_REP, ASSURE_CO_PHONE, ASSURE_O_ADDR,
  138 + ASSURE_CONTACT, ASSURE_CO_CON_PHONE, MEMO,
  139 + CURR_APPLY_BUSSINE, PROPOSER, PROPOSE_TIME,
  140 + CO_REC_TYPE, OPERATION_TYPE, APPRO_NO_PIC,
  141 + ABROAD_CO_INFO, ABROAD_ID, ABROAD_REGISTER,
  142 + ABROAD_ADDR, ABROAD_PHONE, OPERATION_TYPE_ABROAD,
  143 + ASSUME_CO_INFO, ASSUME_ID, ASSUME_NAME,
  144 + ASSUME_REP, ASSUME_REP_PHONE, ASSUME_ADDR,
  145 + ASSUME_PHONE, OPERATION_TYPE_ASSUME, CO_BELONG_PART_ORG,
  146 + PART_ORG_ID, BELONG_ORG_NAME, BELONG_ORG_ADDRESS,
  147 + BELONG_ORG_PRINCINAL, BELONG_ORG_PHONE, OPERAYION_TYPE_BELONG,
  148 + RETURNMESSAGE, CREATE_BY, CREATE_DATE,
  149 + UPDATE_BY, UPDATE_DATE)
  150 + values (#{id,jdbcType=VARCHAR}, #{eportId,jdbcType=VARCHAR}, #{coCode,jdbcType=VARCHAR},
  151 + #{mainPort,jdbcType=VARCHAR}, #{coRegAddr,jdbcType=VARCHAR}, #{apprDep,jdbcType=VARCHAR},
  152 + #{apprNo,jdbcType=VARCHAR}, #{apprValidTime,jdbcType=DATE}, #{apprPorts,jdbcType=VARCHAR},
  153 + #{coNameCn,jdbcType=VARCHAR}, #{coNameEn,jdbcType=VARCHAR}, #{coDealType,jdbcType=VARCHAR},
  154 + #{coDealQua,jdbcType=VARCHAR}, #{coAddr,jdbcType=VARCHAR}, #{coRep,jdbcType=VARCHAR},
  155 + #{coRepPhon,jdbcType=VARCHAR}, #{insideAddr,jdbcType=VARCHAR}, #{insidePhone,jdbcType=VARCHAR},
  156 + #{coServiceName,jdbcType=VARCHAR}, #{coServiceAddp,jdbcType=VARCHAR}, #{coServicePhone,jdbcType=VARCHAR},
  157 + #{apprGoodsVeCount,jdbcType=VARCHAR}, #{apprPassengersVeCount,jdbcType=VARCHAR},
  158 + #{assureType,jdbcType=VARCHAR}, #{assureLetterNo,jdbcType=VARCHAR}, #{assureMoney,jdbcType=VARCHAR},
  159 + #{assureTerm,jdbcType=DATE}, #{assureCoOrgCode,jdbcType=VARCHAR}, #{assureCoName,jdbcType=VARCHAR},
  160 + #{assureCoRep,jdbcType=VARCHAR}, #{assureCoPhone,jdbcType=VARCHAR}, #{assureOAddr,jdbcType=VARCHAR},
  161 + #{assureContact,jdbcType=VARCHAR}, #{assureCoConPhone,jdbcType=VARCHAR}, #{memo,jdbcType=VARCHAR},
  162 + #{currApplyBussine,jdbcType=VARCHAR}, #{proposer,jdbcType=VARCHAR}, #{proposeTime,jdbcType=TIMESTAMP},
  163 + #{coRecType,jdbcType=VARCHAR}, #{operationType,jdbcType=VARCHAR}, #{approNoPic,jdbcType=VARCHAR},
  164 + #{abroadCoInfo,jdbcType=VARCHAR}, #{abroadId,jdbcType=VARCHAR}, #{abroadRegister,jdbcType=VARCHAR},
  165 + #{abroadAddr,jdbcType=VARCHAR}, #{abroadPhone,jdbcType=VARCHAR}, #{operationTypeAbroad,jdbcType=VARCHAR},
  166 + #{assumeCoInfo,jdbcType=VARCHAR}, #{assumeId,jdbcType=VARCHAR}, #{assumeName,jdbcType=VARCHAR},
  167 + #{assumeRep,jdbcType=VARCHAR}, #{assumeRepPhone,jdbcType=VARCHAR}, #{assumeAddr,jdbcType=VARCHAR},
  168 + #{assumePhone,jdbcType=VARCHAR}, #{operationTypeAssume,jdbcType=VARCHAR}, #{coBelongPartOrg,jdbcType=VARCHAR},
  169 + #{partOrgId,jdbcType=VARCHAR}, #{belongOrgName,jdbcType=VARCHAR}, #{belongOrgAddress,jdbcType=VARCHAR},
  170 + #{belongOrgPrincinal,jdbcType=VARCHAR}, #{belongOrgPhone,jdbcType=VARCHAR}, #{operationTypeBelong,jdbcType=VARCHAR},
  171 + #{returnMessage,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR}, #{createDate,jdbcType=TIMESTAMP},
  172 + #{updateBy,jdbcType=VARCHAR}, #{updateDate,jdbcType=TIMESTAMP})
  173 + </insert>
  174 + <insert id="insertSelective" parameterType="com.sunyo.wlpt.vehicle.manage.domain.LandCorporationInfo">
  175 + <!--@mbg.generated-->
  176 + insert into land_corporation_info
  177 + <trim prefix="(" suffix=")" suffixOverrides=",">
  178 + <if test="id != null">
  179 + ID,
  180 + </if>
  181 + <if test="eportId != null">
  182 + EPORT_ID,
  183 + </if>
  184 + <if test="coCode != null">
  185 + CO_CODE,
  186 + </if>
  187 + <if test="mainPort != null">
  188 + MAIN_PORT,
  189 + </if>
  190 + <if test="coRegAddr != null">
  191 + CO_REG_ADDR,
  192 + </if>
  193 + <if test="apprDep != null">
  194 + APPR_DEP,
  195 + </if>
  196 + <if test="apprNo != null">
  197 + APPR_NO,
  198 + </if>
  199 + <if test="apprValidTime != null">
  200 + APPR_VALID_TIME,
  201 + </if>
  202 + <if test="apprPorts != null">
  203 + APPR_PORTS,
  204 + </if>
  205 + <if test="coNameCn != null">
  206 + CO_NAME_CN,
  207 + </if>
  208 + <if test="coNameEn != null">
  209 + CO_NAME_EN,
  210 + </if>
  211 + <if test="coDealType != null">
  212 + CO_DEAL_TYPE,
  213 + </if>
  214 + <if test="coDealQua != null">
  215 + CO_DEAL_QUA,
  216 + </if>
  217 + <if test="coAddr != null">
  218 + CO_ADDR,
  219 + </if>
  220 + <if test="coRep != null">
  221 + CO_REP,
  222 + </if>
  223 + <if test="coRepPhon != null">
  224 + CO_REP_PHON,
  225 + </if>
  226 + <if test="insideAddr != null">
  227 + INSIDE_ADDR,
  228 + </if>
  229 + <if test="insidePhone != null">
  230 + INSIDE_PHONE,
  231 + </if>
  232 + <if test="coServiceName != null">
  233 + CO_SERVICE_NAME,
  234 + </if>
  235 + <if test="coServiceAddp != null">
  236 + CO_SERVICE_ADDP,
  237 + </if>
  238 + <if test="coServicePhone != null">
  239 + CO_SERVICE_PHONE,
  240 + </if>
  241 + <if test="apprGoodsVeCount != null">
  242 + APPR_GOODS_VE_COUNT,
  243 + </if>
  244 + <if test="apprPassengersVeCount != null">
  245 + APPR_PASSENGERS_VE_COUNT,
  246 + </if>
  247 + <if test="assureType != null">
  248 + ASSURE_TYPE,
  249 + </if>
  250 + <if test="assureLetterNo != null">
  251 + ASSURE_LETTER_NO,
  252 + </if>
  253 + <if test="assureMoney != null">
  254 + ASSURE_MONEY,
  255 + </if>
  256 + <if test="assureTerm != null">
  257 + ASSURE_TERM,
  258 + </if>
  259 + <if test="assureCoOrgCode != null">
  260 + ASSURE_CO_ORG_CODE,
  261 + </if>
  262 + <if test="assureCoName != null">
  263 + ASSURE_CO_NAME,
  264 + </if>
  265 + <if test="assureCoRep != null">
  266 + ASSURE_CO_REP,
  267 + </if>
  268 + <if test="assureCoPhone != null">
  269 + ASSURE_CO_PHONE,
  270 + </if>
  271 + <if test="assureOAddr != null">
  272 + ASSURE_O_ADDR,
  273 + </if>
  274 + <if test="assureContact != null">
  275 + ASSURE_CONTACT,
  276 + </if>
  277 + <if test="assureCoConPhone != null">
  278 + ASSURE_CO_CON_PHONE,
  279 + </if>
  280 + <if test="memo != null">
  281 + MEMO,
  282 + </if>
  283 + <if test="currApplyBussine != null">
  284 + CURR_APPLY_BUSSINE,
  285 + </if>
  286 + <if test="proposer != null">
  287 + PROPOSER,
  288 + </if>
  289 + <if test="proposeTime != null">
  290 + PROPOSE_TIME,
  291 + </if>
  292 + <if test="coRecType != null">
  293 + CO_REC_TYPE,
  294 + </if>
  295 + <if test="operationType != null">
  296 + OPERATION_TYPE,
  297 + </if>
  298 + <if test="approNoPic != null">
  299 + APPRO_NO_PIC,
  300 + </if>
  301 + <if test="abroadCoInfo != null">
  302 + ABROAD_CO_INFO,
  303 + </if>
  304 + <if test="abroadId != null">
  305 + ABROAD_ID,
  306 + </if>
  307 + <if test="abroadRegister != null">
  308 + ABROAD_REGISTER,
  309 + </if>
  310 + <if test="abroadAddr != null">
  311 + ABROAD_ADDR,
  312 + </if>
  313 + <if test="abroadPhone != null">
  314 + ABROAD_PHONE,
  315 + </if>
  316 + <if test="operationTypeAbroad != null">
  317 + OPERATION_TYPE_ABROAD,
  318 + </if>
  319 + <if test="assumeCoInfo != null">
  320 + ASSUME_CO_INFO,
  321 + </if>
  322 + <if test="assumeId != null">
  323 + ASSUME_ID,
  324 + </if>
  325 + <if test="assumeName != null">
  326 + ASSUME_NAME,
  327 + </if>
  328 + <if test="assumeRep != null">
  329 + ASSUME_REP,
  330 + </if>
  331 + <if test="assumeRepPhone != null">
  332 + ASSUME_REP_PHONE,
  333 + </if>
  334 + <if test="assumeAddr != null">
  335 + ASSUME_ADDR,
  336 + </if>
  337 + <if test="assumePhone != null">
  338 + ASSUME_PHONE,
  339 + </if>
  340 + <if test="operationTypeAssume != null">
  341 + OPERATION_TYPE_ASSUME,
  342 + </if>
  343 + <if test="coBelongPartOrg != null">
  344 + CO_BELONG_PART_ORG,
  345 + </if>
  346 + <if test="partOrgId != null">
  347 + PART_ORG_ID,
  348 + </if>
  349 + <if test="belongOrgName != null">
  350 + BELONG_ORG_NAME,
  351 + </if>
  352 + <if test="belongOrgAddress != null">
  353 + BELONG_ORG_ADDRESS,
  354 + </if>
  355 + <if test="belongOrgPrincinal != null">
  356 + BELONG_ORG_PRINCINAL,
  357 + </if>
  358 + <if test="belongOrgPhone != null">
  359 + BELONG_ORG_PHONE,
  360 + </if>
  361 + <if test="operationTypeBelong != null">
  362 + OPERAYION_TYPE_BELONG,
  363 + </if>
  364 + <if test="returnMessage != null">
  365 + RETURNMESSAGE,
  366 + </if>
  367 + <if test="createBy != null">
  368 + CREATE_BY,
  369 + </if>
  370 + <if test="createDate != null">
  371 + CREATE_DATE,
  372 + </if>
  373 + <if test="updateBy != null">
  374 + UPDATE_BY,
  375 + </if>
  376 + <if test="updateDate != null">
  377 + UPDATE_DATE,
  378 + </if>
  379 + </trim>
  380 + <trim prefix="values (" suffix=")" suffixOverrides=",">
  381 + <if test="id != null">
  382 + #{id,jdbcType=VARCHAR},
  383 + </if>
  384 + <if test="eportId != null">
  385 + #{eportId,jdbcType=VARCHAR},
  386 + </if>
  387 + <if test="coCode != null">
  388 + #{coCode,jdbcType=VARCHAR},
  389 + </if>
  390 + <if test="mainPort != null">
  391 + #{mainPort,jdbcType=VARCHAR},
  392 + </if>
  393 + <if test="coRegAddr != null">
  394 + #{coRegAddr,jdbcType=VARCHAR},
  395 + </if>
  396 + <if test="apprDep != null">
  397 + #{apprDep,jdbcType=VARCHAR},
  398 + </if>
  399 + <if test="apprNo != null">
  400 + #{apprNo,jdbcType=VARCHAR},
  401 + </if>
  402 + <if test="apprValidTime != null">
  403 + #{apprValidTime,jdbcType=DATE},
  404 + </if>
  405 + <if test="apprPorts != null">
  406 + #{apprPorts,jdbcType=VARCHAR},
  407 + </if>
  408 + <if test="coNameCn != null">
  409 + #{coNameCn,jdbcType=VARCHAR},
  410 + </if>
  411 + <if test="coNameEn != null">
  412 + #{coNameEn,jdbcType=VARCHAR},
  413 + </if>
  414 + <if test="coDealType != null">
  415 + #{coDealType,jdbcType=VARCHAR},
  416 + </if>
  417 + <if test="coDealQua != null">
  418 + #{coDealQua,jdbcType=VARCHAR},
  419 + </if>
  420 + <if test="coAddr != null">
  421 + #{coAddr,jdbcType=VARCHAR},
  422 + </if>
  423 + <if test="coRep != null">
  424 + #{coRep,jdbcType=VARCHAR},
  425 + </if>
  426 + <if test="coRepPhon != null">
  427 + #{coRepPhon,jdbcType=VARCHAR},
  428 + </if>
  429 + <if test="insideAddr != null">
  430 + #{insideAddr,jdbcType=VARCHAR},
  431 + </if>
  432 + <if test="insidePhone != null">
  433 + #{insidePhone,jdbcType=VARCHAR},
  434 + </if>
  435 + <if test="coServiceName != null">
  436 + #{coServiceName,jdbcType=VARCHAR},
  437 + </if>
  438 + <if test="coServiceAddp != null">
  439 + #{coServiceAddp,jdbcType=VARCHAR},
  440 + </if>
  441 + <if test="coServicePhone != null">
  442 + #{coServicePhone,jdbcType=VARCHAR},
  443 + </if>
  444 + <if test="apprGoodsVeCount != null">
  445 + #{apprGoodsVeCount,jdbcType=VARCHAR},
  446 + </if>
  447 + <if test="apprPassengersVeCount != null">
  448 + #{apprPassengersVeCount,jdbcType=VARCHAR},
  449 + </if>
  450 + <if test="assureType != null">
  451 + #{assureType,jdbcType=VARCHAR},
  452 + </if>
  453 + <if test="assureLetterNo != null">
  454 + #{assureLetterNo,jdbcType=VARCHAR},
  455 + </if>
  456 + <if test="assureMoney != null">
  457 + #{assureMoney,jdbcType=VARCHAR},
  458 + </if>
  459 + <if test="assureTerm != null">
  460 + #{assureTerm,jdbcType=DATE},
  461 + </if>
  462 + <if test="assureCoOrgCode != null">
  463 + #{assureCoOrgCode,jdbcType=VARCHAR},
  464 + </if>
  465 + <if test="assureCoName != null">
  466 + #{assureCoName,jdbcType=VARCHAR},
  467 + </if>
  468 + <if test="assureCoRep != null">
  469 + #{assureCoRep,jdbcType=VARCHAR},
  470 + </if>
  471 + <if test="assureCoPhone != null">
  472 + #{assureCoPhone,jdbcType=VARCHAR},
  473 + </if>
  474 + <if test="assureOAddr != null">
  475 + #{assureOAddr,jdbcType=VARCHAR},
  476 + </if>
  477 + <if test="assureContact != null">
  478 + #{assureContact,jdbcType=VARCHAR},
  479 + </if>
  480 + <if test="assureCoConPhone != null">
  481 + #{assureCoConPhone,jdbcType=VARCHAR},
  482 + </if>
  483 + <if test="memo != null">
  484 + #{memo,jdbcType=VARCHAR},
  485 + </if>
  486 + <if test="currApplyBussine != null">
  487 + #{currApplyBussine,jdbcType=VARCHAR},
  488 + </if>
  489 + <if test="proposer != null">
  490 + #{proposer,jdbcType=VARCHAR},
  491 + </if>
  492 + <if test="proposeTime != null">
  493 + #{proposeTime,jdbcType=TIMESTAMP},
  494 + </if>
  495 + <if test="coRecType != null">
  496 + #{coRecType,jdbcType=VARCHAR},
  497 + </if>
  498 + <if test="operationType != null">
  499 + #{operationType,jdbcType=VARCHAR},
  500 + </if>
  501 + <if test="approNoPic != null">
  502 + #{approNoPic,jdbcType=VARCHAR},
  503 + </if>
  504 + <if test="abroadCoInfo != null">
  505 + #{abroadCoInfo,jdbcType=VARCHAR},
  506 + </if>
  507 + <if test="abroadId != null">
  508 + #{abroadId,jdbcType=VARCHAR},
  509 + </if>
  510 + <if test="abroadRegister != null">
  511 + #{abroadRegister,jdbcType=VARCHAR},
  512 + </if>
  513 + <if test="abroadAddr != null">
  514 + #{abroadAddr,jdbcType=VARCHAR},
  515 + </if>
  516 + <if test="abroadPhone != null">
  517 + #{abroadPhone,jdbcType=VARCHAR},
  518 + </if>
  519 + <if test="operationTypeAbroad != null">
  520 + #{operationTypeAbroad,jdbcType=VARCHAR},
  521 + </if>
  522 + <if test="assumeCoInfo != null">
  523 + #{assumeCoInfo,jdbcType=VARCHAR},
  524 + </if>
  525 + <if test="assumeId != null">
  526 + #{assumeId,jdbcType=VARCHAR},
  527 + </if>
  528 + <if test="assumeName != null">
  529 + #{assumeName,jdbcType=VARCHAR},
  530 + </if>
  531 + <if test="assumeRep != null">
  532 + #{assumeRep,jdbcType=VARCHAR},
  533 + </if>
  534 + <if test="assumeRepPhone != null">
  535 + #{assumeRepPhone,jdbcType=VARCHAR},
  536 + </if>
  537 + <if test="assumeAddr != null">
  538 + #{assumeAddr,jdbcType=VARCHAR},
  539 + </if>
  540 + <if test="assumePhone != null">
  541 + #{assumePhone,jdbcType=VARCHAR},
  542 + </if>
  543 + <if test="operationTypeAssume != null">
  544 + #{operationTypeAssume,jdbcType=VARCHAR},
  545 + </if>
  546 + <if test="coBelongPartOrg != null">
  547 + #{coBelongPartOrg,jdbcType=VARCHAR},
  548 + </if>
  549 + <if test="partOrgId != null">
  550 + #{partOrgId,jdbcType=VARCHAR},
  551 + </if>
  552 + <if test="belongOrgName != null">
  553 + #{belongOrgName,jdbcType=VARCHAR},
  554 + </if>
  555 + <if test="belongOrgAddress != null">
  556 + #{belongOrgAddress,jdbcType=VARCHAR},
  557 + </if>
  558 + <if test="belongOrgPrincinal != null">
  559 + #{belongOrgPrincinal,jdbcType=VARCHAR},
  560 + </if>
  561 + <if test="belongOrgPhone != null">
  562 + #{belongOrgPhone,jdbcType=VARCHAR},
  563 + </if>
  564 + <if test="operationTypeBelong != null">
  565 + #{operationTypeBelong,jdbcType=VARCHAR},
  566 + </if>
  567 + <if test="returnMessage != null">
  568 + #{returnMessage,jdbcType=VARCHAR},
  569 + </if>
  570 + <if test="createBy != null">
  571 + #{createBy,jdbcType=VARCHAR},
  572 + </if>
  573 + <if test="createDate != null">
  574 + #{createDate,jdbcType=TIMESTAMP},
  575 + </if>
  576 + <if test="updateBy != null">
  577 + #{updateBy,jdbcType=VARCHAR},
  578 + </if>
  579 + <if test="updateDate != null">
  580 + #{updateDate,jdbcType=TIMESTAMP},
  581 + </if>
  582 + </trim>
  583 + </insert>
  584 + <update id="updateByPrimaryKeySelective" parameterType="com.sunyo.wlpt.vehicle.manage.domain.LandCorporationInfo">
  585 + <!--@mbg.generated-->
  586 + update land_corporation_info
  587 + <set>
  588 + <if test="eportId != null">
  589 + EPORT_ID = #{eportId,jdbcType=VARCHAR},
  590 + </if>
  591 + <if test="coCode != null">
  592 + CO_CODE = #{coCode,jdbcType=VARCHAR},
  593 + </if>
  594 + <if test="mainPort != null">
  595 + MAIN_PORT = #{mainPort,jdbcType=VARCHAR},
  596 + </if>
  597 + <if test="coRegAddr != null">
  598 + CO_REG_ADDR = #{coRegAddr,jdbcType=VARCHAR},
  599 + </if>
  600 + <if test="apprDep != null">
  601 + APPR_DEP = #{apprDep,jdbcType=VARCHAR},
  602 + </if>
  603 + <if test="apprNo != null">
  604 + APPR_NO = #{apprNo,jdbcType=VARCHAR},
  605 + </if>
  606 + <if test="apprValidTime != null">
  607 + APPR_VALID_TIME = #{apprValidTime,jdbcType=DATE},
  608 + </if>
  609 + <if test="apprPorts != null">
  610 + APPR_PORTS = #{apprPorts,jdbcType=VARCHAR},
  611 + </if>
  612 + <if test="coNameCn != null">
  613 + CO_NAME_CN = #{coNameCn,jdbcType=VARCHAR},
  614 + </if>
  615 + <if test="coNameEn != null">
  616 + CO_NAME_EN = #{coNameEn,jdbcType=VARCHAR},
  617 + </if>
  618 + <if test="coDealType != null">
  619 + CO_DEAL_TYPE = #{coDealType,jdbcType=VARCHAR},
  620 + </if>
  621 + <if test="coDealQua != null">
  622 + CO_DEAL_QUA = #{coDealQua,jdbcType=VARCHAR},
  623 + </if>
  624 + <if test="coAddr != null">
  625 + CO_ADDR = #{coAddr,jdbcType=VARCHAR},
  626 + </if>
  627 + <if test="coRep != null">
  628 + CO_REP = #{coRep,jdbcType=VARCHAR},
  629 + </if>
  630 + <if test="coRepPhon != null">
  631 + CO_REP_PHON = #{coRepPhon,jdbcType=VARCHAR},
  632 + </if>
  633 + <if test="insideAddr != null">
  634 + INSIDE_ADDR = #{insideAddr,jdbcType=VARCHAR},
  635 + </if>
  636 + <if test="insidePhone != null">
  637 + INSIDE_PHONE = #{insidePhone,jdbcType=VARCHAR},
  638 + </if>
  639 + <if test="coServiceName != null">
  640 + CO_SERVICE_NAME = #{coServiceName,jdbcType=VARCHAR},
  641 + </if>
  642 + <if test="coServiceAddp != null">
  643 + CO_SERVICE_ADDP = #{coServiceAddp,jdbcType=VARCHAR},
  644 + </if>
  645 + <if test="coServicePhone != null">
  646 + CO_SERVICE_PHONE = #{coServicePhone,jdbcType=VARCHAR},
  647 + </if>
  648 + <if test="apprGoodsVeCount != null">
  649 + APPR_GOODS_VE_COUNT = #{apprGoodsVeCount,jdbcType=VARCHAR},
  650 + </if>
  651 + <if test="apprPassengersVeCount != null">
  652 + APPR_PASSENGERS_VE_COUNT = #{apprPassengersVeCount,jdbcType=VARCHAR},
  653 + </if>
  654 + <if test="assureType != null">
  655 + ASSURE_TYPE = #{assureType,jdbcType=VARCHAR},
  656 + </if>
  657 + <if test="assureLetterNo != null">
  658 + ASSURE_LETTER_NO = #{assureLetterNo,jdbcType=VARCHAR},
  659 + </if>
  660 + <if test="assureMoney != null">
  661 + ASSURE_MONEY = #{assureMoney,jdbcType=VARCHAR},
  662 + </if>
  663 + <if test="assureTerm != null">
  664 + ASSURE_TERM = #{assureTerm,jdbcType=DATE},
  665 + </if>
  666 + <if test="assureCoOrgCode != null">
  667 + ASSURE_CO_ORG_CODE = #{assureCoOrgCode,jdbcType=VARCHAR},
  668 + </if>
  669 + <if test="assureCoName != null">
  670 + ASSURE_CO_NAME = #{assureCoName,jdbcType=VARCHAR},
  671 + </if>
  672 + <if test="assureCoRep != null">
  673 + ASSURE_CO_REP = #{assureCoRep,jdbcType=VARCHAR},
  674 + </if>
  675 + <if test="assureCoPhone != null">
  676 + ASSURE_CO_PHONE = #{assureCoPhone,jdbcType=VARCHAR},
  677 + </if>
  678 + <if test="assureOAddr != null">
  679 + ASSURE_O_ADDR = #{assureOAddr,jdbcType=VARCHAR},
  680 + </if>
  681 + <if test="assureContact != null">
  682 + ASSURE_CONTACT = #{assureContact,jdbcType=VARCHAR},
  683 + </if>
  684 + <if test="assureCoConPhone != null">
  685 + ASSURE_CO_CON_PHONE = #{assureCoConPhone,jdbcType=VARCHAR},
  686 + </if>
  687 + <if test="memo != null">
  688 + MEMO = #{memo,jdbcType=VARCHAR},
  689 + </if>
  690 + <if test="currApplyBussine != null">
  691 + CURR_APPLY_BUSSINE = #{currApplyBussine,jdbcType=VARCHAR},
  692 + </if>
  693 + <if test="proposer != null">
  694 + PROPOSER = #{proposer,jdbcType=VARCHAR},
  695 + </if>
  696 + <if test="proposeTime != null">
  697 + PROPOSE_TIME = #{proposeTime,jdbcType=TIMESTAMP},
  698 + </if>
  699 + <if test="coRecType != null">
  700 + CO_REC_TYPE = #{coRecType,jdbcType=VARCHAR},
  701 + </if>
  702 + <if test="operationType != null">
  703 + OPERATION_TYPE = #{operationType,jdbcType=VARCHAR},
  704 + </if>
  705 + <if test="approNoPic != null">
  706 + APPRO_NO_PIC = #{approNoPic,jdbcType=VARCHAR},
  707 + </if>
  708 + <if test="abroadCoInfo != null">
  709 + ABROAD_CO_INFO = #{abroadCoInfo,jdbcType=VARCHAR},
  710 + </if>
  711 + <if test="abroadId != null">
  712 + ABROAD_ID = #{abroadId,jdbcType=VARCHAR},
  713 + </if>
  714 + <if test="abroadRegister != null">
  715 + ABROAD_REGISTER = #{abroadRegister,jdbcType=VARCHAR},
  716 + </if>
  717 + <if test="abroadAddr != null">
  718 + ABROAD_ADDR = #{abroadAddr,jdbcType=VARCHAR},
  719 + </if>
  720 + <if test="abroadPhone != null">
  721 + ABROAD_PHONE = #{abroadPhone,jdbcType=VARCHAR},
  722 + </if>
  723 + <if test="operationTypeAbroad != null">
  724 + OPERATION_TYPE_ABROAD = #{operationTypeAbroad,jdbcType=VARCHAR},
  725 + </if>
  726 + <if test="assumeCoInfo != null">
  727 + ASSUME_CO_INFO = #{assumeCoInfo,jdbcType=VARCHAR},
  728 + </if>
  729 + <if test="assumeId != null">
  730 + ASSUME_ID = #{assumeId,jdbcType=VARCHAR},
  731 + </if>
  732 + <if test="assumeName != null">
  733 + ASSUME_NAME = #{assumeName,jdbcType=VARCHAR},
  734 + </if>
  735 + <if test="assumeRep != null">
  736 + ASSUME_REP = #{assumeRep,jdbcType=VARCHAR},
  737 + </if>
  738 + <if test="assumeRepPhone != null">
  739 + ASSUME_REP_PHONE = #{assumeRepPhone,jdbcType=VARCHAR},
  740 + </if>
  741 + <if test="assumeAddr != null">
  742 + ASSUME_ADDR = #{assumeAddr,jdbcType=VARCHAR},
  743 + </if>
  744 + <if test="assumePhone != null">
  745 + ASSUME_PHONE = #{assumePhone,jdbcType=VARCHAR},
  746 + </if>
  747 + <if test="operationTypeAssume != null">
  748 + OPERATION_TYPE_ASSUME = #{operationTypeAssume,jdbcType=VARCHAR},
  749 + </if>
  750 + <if test="coBelongPartOrg != null">
  751 + CO_BELONG_PART_ORG = #{coBelongPartOrg,jdbcType=VARCHAR},
  752 + </if>
  753 + <if test="partOrgId != null">
  754 + PART_ORG_ID = #{partOrgId,jdbcType=VARCHAR},
  755 + </if>
  756 + <if test="belongOrgName != null">
  757 + BELONG_ORG_NAME = #{belongOrgName,jdbcType=VARCHAR},
  758 + </if>
  759 + <if test="belongOrgAddress != null">
  760 + BELONG_ORG_ADDRESS = #{belongOrgAddress,jdbcType=VARCHAR},
  761 + </if>
  762 + <if test="belongOrgPrincinal != null">
  763 + BELONG_ORG_PRINCINAL = #{belongOrgPrincinal,jdbcType=VARCHAR},
  764 + </if>
  765 + <if test="belongOrgPhone != null">
  766 + BELONG_ORG_PHONE = #{belongOrgPhone,jdbcType=VARCHAR},
  767 + </if>
  768 + <if test="operationTypeBelong != null">
  769 + OPERAYION_TYPE_BELONG = #{operationTypeBelong,jdbcType=VARCHAR},
  770 + </if>
  771 + <if test="returnMessage != null">
  772 + RETURNMESSAGE = #{returnMessage,jdbcType=VARCHAR},
  773 + </if>
  774 + <if test="createBy != null">
  775 + CREATE_BY = #{createBy,jdbcType=VARCHAR},
  776 + </if>
  777 + <if test="createDate != null">
  778 + CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
  779 + </if>
  780 + <if test="updateBy != null">
  781 + UPDATE_BY = #{updateBy,jdbcType=VARCHAR},
  782 + </if>
  783 + <if test="updateDate != null">
  784 + UPDATE_DATE = #{updateDate,jdbcType=TIMESTAMP},
  785 + </if>
  786 + </set>
  787 + where ID = #{id,jdbcType=VARCHAR}
  788 + </update>
  789 + <update id="updateByPrimaryKey" parameterType="com.sunyo.wlpt.vehicle.manage.domain.LandCorporationInfo">
  790 + <!--@mbg.generated-->
  791 + update land_corporation_info
  792 + set EPORT_ID = #{eportId,jdbcType=VARCHAR},
  793 + CO_CODE = #{coCode,jdbcType=VARCHAR},
  794 + MAIN_PORT = #{mainPort,jdbcType=VARCHAR},
  795 + CO_REG_ADDR = #{coRegAddr,jdbcType=VARCHAR},
  796 + APPR_DEP = #{apprDep,jdbcType=VARCHAR},
  797 + APPR_NO = #{apprNo,jdbcType=VARCHAR},
  798 + APPR_VALID_TIME = #{apprValidTime,jdbcType=DATE},
  799 + APPR_PORTS = #{apprPorts,jdbcType=VARCHAR},
  800 + CO_NAME_CN = #{coNameCn,jdbcType=VARCHAR},
  801 + CO_NAME_EN = #{coNameEn,jdbcType=VARCHAR},
  802 + CO_DEAL_TYPE = #{coDealType,jdbcType=VARCHAR},
  803 + CO_DEAL_QUA = #{coDealQua,jdbcType=VARCHAR},
  804 + CO_ADDR = #{coAddr,jdbcType=VARCHAR},
  805 + CO_REP = #{coRep,jdbcType=VARCHAR},
  806 + CO_REP_PHON = #{coRepPhon,jdbcType=VARCHAR},
  807 + INSIDE_ADDR = #{insideAddr,jdbcType=VARCHAR},
  808 + INSIDE_PHONE = #{insidePhone,jdbcType=VARCHAR},
  809 + CO_SERVICE_NAME = #{coServiceName,jdbcType=VARCHAR},
  810 + CO_SERVICE_ADDP = #{coServiceAddp,jdbcType=VARCHAR},
  811 + CO_SERVICE_PHONE = #{coServicePhone,jdbcType=VARCHAR},
  812 + APPR_GOODS_VE_COUNT = #{apprGoodsVeCount,jdbcType=VARCHAR},
  813 + APPR_PASSENGERS_VE_COUNT = #{apprPassengersVeCount,jdbcType=VARCHAR},
  814 + ASSURE_TYPE = #{assureType,jdbcType=VARCHAR},
  815 + ASSURE_LETTER_NO = #{assureLetterNo,jdbcType=VARCHAR},
  816 + ASSURE_MONEY = #{assureMoney,jdbcType=VARCHAR},
  817 + ASSURE_TERM = #{assureTerm,jdbcType=DATE},
  818 + ASSURE_CO_ORG_CODE = #{assureCoOrgCode,jdbcType=VARCHAR},
  819 + ASSURE_CO_NAME = #{assureCoName,jdbcType=VARCHAR},
  820 + ASSURE_CO_REP = #{assureCoRep,jdbcType=VARCHAR},
  821 + ASSURE_CO_PHONE = #{assureCoPhone,jdbcType=VARCHAR},
  822 + ASSURE_O_ADDR = #{assureOAddr,jdbcType=VARCHAR},
  823 + ASSURE_CONTACT = #{assureContact,jdbcType=VARCHAR},
  824 + ASSURE_CO_CON_PHONE = #{assureCoConPhone,jdbcType=VARCHAR},
  825 + MEMO = #{memo,jdbcType=VARCHAR},
  826 + CURR_APPLY_BUSSINE = #{currApplyBussine,jdbcType=VARCHAR},
  827 + PROPOSER = #{proposer,jdbcType=VARCHAR},
  828 + PROPOSE_TIME = #{proposeTime,jdbcType=TIMESTAMP},
  829 + CO_REC_TYPE = #{coRecType,jdbcType=VARCHAR},
  830 + OPERATION_TYPE = #{operationType,jdbcType=VARCHAR},
  831 + APPRO_NO_PIC = #{approNoPic,jdbcType=VARCHAR},
  832 + ABROAD_CO_INFO = #{abroadCoInfo,jdbcType=VARCHAR},
  833 + ABROAD_ID = #{abroadId,jdbcType=VARCHAR},
  834 + ABROAD_REGISTER = #{abroadRegister,jdbcType=VARCHAR},
  835 + ABROAD_ADDR = #{abroadAddr,jdbcType=VARCHAR},
  836 + ABROAD_PHONE = #{abroadPhone,jdbcType=VARCHAR},
  837 + OPERATION_TYPE_ABROAD = #{operationTypeAbroad,jdbcType=VARCHAR},
  838 + ASSUME_CO_INFO = #{assumeCoInfo,jdbcType=VARCHAR},
  839 + ASSUME_ID = #{assumeId,jdbcType=VARCHAR},
  840 + ASSUME_NAME = #{assumeName,jdbcType=VARCHAR},
  841 + ASSUME_REP = #{assumeRep,jdbcType=VARCHAR},
  842 + ASSUME_REP_PHONE = #{assumeRepPhone,jdbcType=VARCHAR},
  843 + ASSUME_ADDR = #{assumeAddr,jdbcType=VARCHAR},
  844 + ASSUME_PHONE = #{assumePhone,jdbcType=VARCHAR},
  845 + OPERATION_TYPE_ASSUME = #{operationTypeAssume,jdbcType=VARCHAR},
  846 + CO_BELONG_PART_ORG = #{coBelongPartOrg,jdbcType=VARCHAR},
  847 + PART_ORG_ID = #{partOrgId,jdbcType=VARCHAR},
  848 + BELONG_ORG_NAME = #{belongOrgName,jdbcType=VARCHAR},
  849 + BELONG_ORG_ADDRESS = #{belongOrgAddress,jdbcType=VARCHAR},
  850 + BELONG_ORG_PRINCINAL = #{belongOrgPrincinal,jdbcType=VARCHAR},
  851 + BELONG_ORG_PHONE = #{belongOrgPhone,jdbcType=VARCHAR},
  852 + OPERAYION_TYPE_BELONG = #{operationTypeBelong,jdbcType=VARCHAR},
  853 + RETURNMESSAGE = #{returnMessage,jdbcType=VARCHAR},
  854 + CREATE_BY = #{createBy,jdbcType=VARCHAR},
  855 + CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
  856 + UPDATE_BY = #{updateBy,jdbcType=VARCHAR},
  857 + UPDATE_DATE = #{updateDate,jdbcType=TIMESTAMP}
  858 + where ID = #{id,jdbcType=VARCHAR}
  859 + </update>
  860 +</mapper>
1 <?xml version="1.0" encoding="UTF-8"?> 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"> 2 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3 <mapper namespace="com.sunyo.wlpt.vehicle.manage.mapper.LandRoadDrRecordMapper"> 3 <mapper namespace="com.sunyo.wlpt.vehicle.manage.mapper.LandRoadDrRecordMapper">
  4 + <cache type="com.sunyo.wlpt.vehicle.manage.cache.RedisCache"/>
4 <resultMap id="BaseResultMap" type="com.sunyo.wlpt.vehicle.manage.domain.LandRoadDrRecord"> 5 <resultMap id="BaseResultMap" type="com.sunyo.wlpt.vehicle.manage.domain.LandRoadDrRecord">
5 <!--@mbg.generated--> 6 <!--@mbg.generated-->
6 <!--@Table land_road_dr_record--> 7 <!--@Table land_road_dr_record-->