
41 changed files with 1180 additions and 195 deletions
@ -0,0 +1,21 @@ |
|||
package com.yxt.anrui.riskcenter.api.loanrepaymenthistory; |
|||
|
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.math.BigDecimal; |
|||
|
|||
/** |
|||
* @author Fan |
|||
* @description |
|||
* @date 2024/3/20 11:51 |
|||
*/ |
|||
@Data |
|||
public class RepaymentHistoryVoForBuckleNew { |
|||
|
|||
private String rule; |
|||
private String sid; |
|||
@ApiModelProperty("实还金额") |
|||
private BigDecimal actualMoney; |
|||
|
|||
} |
@ -0,0 +1,18 @@ |
|||
package com.yxt.anrui.as.api.ascustomervehicle; |
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* @author Fan |
|||
* @description |
|||
* @date 2024/3/19 11:52 |
|||
*/ |
|||
@Data |
|||
public class AsCustomerCrmVehVo implements Vo { |
|||
@ApiModelProperty("客户sid") |
|||
private String customerSid; // 客户sid
|
|||
@ApiModelProperty("车牌号") |
|||
private String vehMark; // 车牌号
|
|||
} |
@ -0,0 +1,86 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.as.api.ascustomervehicle; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import com.yxt.common.core.domain.BaseEntity; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import java.util.Date; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* Project: asdfasd(sdg) <br/> |
|||
* File: AsCustomerVehicle.java <br/> |
|||
* Class: as.api.ascustomervehicle.AsCustomerVehicle <br/> |
|||
* Description: 客户车辆信息. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2024-03-19 11:28:19 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "客户车辆信息", description = "客户车辆信息") |
|||
@TableName("as_customer_vehicle") |
|||
public class AsCustomerVehicle extends BaseEntity { |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
@ApiModelProperty("客户sid") |
|||
private String customerSid; // 客户sid
|
|||
@ApiModelProperty("车牌号") |
|||
private String vehMark; // 车牌号
|
|||
@ApiModelProperty("车架号") |
|||
private String vinNo; // 车架号
|
|||
@ApiModelProperty("发动机号") |
|||
private String engineNo; // 发动机号
|
|||
@ApiModelProperty("车型sid") |
|||
private String vehModelSid; // 车型sid
|
|||
@ApiModelProperty("车型") |
|||
private String vehModel; // 车型
|
|||
@ApiModelProperty("行驶里程") |
|||
private Integer mileage; // 行驶里程
|
|||
@ApiModelProperty("上次保养里程") |
|||
private Integer lastMileage; // 上次保养里程
|
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@ApiModelProperty("下次保养日期") |
|||
private Date nextMaintainDate; // 下次保养日期
|
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@ApiModelProperty("购车日期") |
|||
private Date buyDate; // 购车日期
|
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@ApiModelProperty("商业险到期日期") |
|||
private Date commercialInsuranceEndDate; // 商业险到期日期
|
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@ApiModelProperty("交强险到期日期") |
|||
private Date compulsoryInsuranceEndDate; // 交强险到期日期
|
|||
@ApiModelProperty("0为内部车,1为外部车") |
|||
private Integer vehState; // 0为内部车,1为外部车
|
|||
|
|||
} |
@ -0,0 +1,91 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.as.api.ascustomervehicle; |
|||
|
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import java.util.Date; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* Project: asdfasd(sdg) <br/> |
|||
* File: AsCustomerVehicleVo.java <br/> |
|||
* Class: as.api.ascustomervehicle.AsCustomerVehicleVo <br/> |
|||
* Description: 客户车辆信息 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2024-03-19 11:28:19 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "客户车辆信息 视图数据详情", description = "客户车辆信息 视图数据详情") |
|||
public class AsCustomerVehicleDetailsVo implements Vo { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("客户sid") |
|||
private String customerSid; // 客户sid
|
|||
@ApiModelProperty("车牌号") |
|||
private String vehMark; // 车牌号
|
|||
@ApiModelProperty("车架号") |
|||
private String vinNo; // 车架号
|
|||
@ApiModelProperty("发动机号") |
|||
private String engineNo; // 发动机号
|
|||
@ApiModelProperty("车型sid") |
|||
private String vehModelSid; // 车型sid
|
|||
@ApiModelProperty("车型") |
|||
private String vehModel; // 车型
|
|||
@ApiModelProperty("行驶里程") |
|||
private Integer mileage; // 行驶里程
|
|||
@ApiModelProperty("上次保养里程") |
|||
private Integer lastMileage; // 上次保养里程
|
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@ApiModelProperty("下次保养日期") |
|||
private Date nextMaintainDateStart; // 下次保养日期
|
|||
private Date nextMaintainDateEnd; // 下次保养日期
|
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@ApiModelProperty("购车日期") |
|||
private Date buyDateStart; // 购车日期
|
|||
private Date buyDateEnd; // 购车日期
|
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@ApiModelProperty("商业险到期日期") |
|||
private Date commercialInsuranceEndDateStart; // 商业险到期日期
|
|||
private Date commercialInsuranceEndDateEnd; // 商业险到期日期
|
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@ApiModelProperty("交强险到期日期") |
|||
private Date compulsoryInsuranceEndDateStart; // 交强险到期日期
|
|||
private Date compulsoryInsuranceEndDateEnd; // 交强险到期日期
|
|||
@ApiModelProperty("0为内部车,1为外部车") |
|||
private Integer vehState; // 0为内部车,1为外部车
|
|||
|
|||
} |
@ -0,0 +1,91 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.as.api.ascustomervehicle; |
|||
|
|||
|
|||
import com.yxt.common.core.dto.Dto; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import java.util.Date; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* Project: asdfasd(sdg) <br/> |
|||
* File: AsCustomerVehicleDto.java <br/> |
|||
* Class: as.api.ascustomervehicle.AsCustomerVehicleDto <br/> |
|||
* Description: 客户车辆信息 数据传输对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2024-03-19 11:28:19 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "客户车辆信息 数据传输对象", description = "客户车辆信息 数据传输对象") |
|||
public class AsCustomerVehicleDto implements Dto { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("客户sid") |
|||
private String customerSid; // 客户sid
|
|||
@ApiModelProperty("车牌号") |
|||
private String vehMark; // 车牌号
|
|||
@ApiModelProperty("车架号") |
|||
private String vinNo; // 车架号
|
|||
@ApiModelProperty("发动机号") |
|||
private String engineNo; // 发动机号
|
|||
@ApiModelProperty("车型sid") |
|||
private String vehModelSid; // 车型sid
|
|||
@ApiModelProperty("车型") |
|||
private String vehModel; // 车型
|
|||
@ApiModelProperty("行驶里程") |
|||
private Integer mileage; // 行驶里程
|
|||
@ApiModelProperty("上次保养里程") |
|||
private Integer lastMileage; // 上次保养里程
|
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@ApiModelProperty("下次保养日期") |
|||
private Date nextMaintainDateStart; // 下次保养日期
|
|||
private Date nextMaintainDateEnd; // 下次保养日期
|
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@ApiModelProperty("购车日期") |
|||
private Date buyDateStart; // 购车日期
|
|||
private Date buyDateEnd; // 购车日期
|
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@ApiModelProperty("商业险到期日期") |
|||
private Date commercialInsuranceEndDateStart; // 商业险到期日期
|
|||
private Date commercialInsuranceEndDateEnd; // 商业险到期日期
|
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@ApiModelProperty("交强险到期日期") |
|||
private Date compulsoryInsuranceEndDateStart; // 交强险到期日期
|
|||
private Date compulsoryInsuranceEndDateEnd; // 交强险到期日期
|
|||
@ApiModelProperty("0为内部车,1为外部车") |
|||
private Integer vehState; // 0为内部车,1为外部车
|
|||
|
|||
} |
@ -0,0 +1,89 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.as.api.ascustomervehicle; |
|||
|
|||
|
|||
import com.yxt.common.core.query.Query; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import java.util.Date; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* Project: asdfasd(sdg) <br/> |
|||
* File: AsCustomerVehicleQuery.java <br/> |
|||
* Class: as.api.ascustomervehicle.AsCustomerVehicleQuery <br/> |
|||
* Description: 客户车辆信息 查询条件. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2024-03-19 11:28:19 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "客户车辆信息 查询条件", description = "客户车辆信息 查询条件") |
|||
public class AsCustomerVehicleQuery implements Query { |
|||
|
|||
@ApiModelProperty("客户sid") |
|||
private String customerSid; // 客户sid
|
|||
@ApiModelProperty("车牌号") |
|||
private String vehMark; // 车牌号
|
|||
@ApiModelProperty("车架号") |
|||
private String vinNo; // 车架号
|
|||
@ApiModelProperty("发动机号") |
|||
private String engineNo; // 发动机号
|
|||
@ApiModelProperty("车型sid") |
|||
private String vehModelSid; // 车型sid
|
|||
@ApiModelProperty("车型") |
|||
private String vehModel; // 车型
|
|||
@ApiModelProperty("行驶里程") |
|||
private Integer mileage; // 行驶里程
|
|||
@ApiModelProperty("上次保养里程") |
|||
private Integer lastMileage; // 上次保养里程
|
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@ApiModelProperty("下次保养日期") |
|||
private Date nextMaintainDateStart; // 下次保养日期
|
|||
private Date nextMaintainDateEnd; // 下次保养日期
|
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@ApiModelProperty("购车日期") |
|||
private Date buyDateStart; // 购车日期
|
|||
private Date buyDateEnd; // 购车日期
|
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@ApiModelProperty("商业险到期日期") |
|||
private Date commercialInsuranceEndDateStart; // 商业险到期日期
|
|||
private Date commercialInsuranceEndDateEnd; // 商业险到期日期
|
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@ApiModelProperty("交强险到期日期") |
|||
private Date compulsoryInsuranceEndDateStart; // 交强险到期日期
|
|||
private Date compulsoryInsuranceEndDateEnd; // 交强险到期日期
|
|||
@ApiModelProperty("0为内部车,1为外部车") |
|||
private Integer vehState; // 0为内部车,1为外部车
|
|||
|
|||
} |
@ -0,0 +1,91 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.as.api.ascustomervehicle; |
|||
|
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import java.util.Date; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* Project: asdfasd(sdg) <br/> |
|||
* File: AsCustomerVehicleVo.java <br/> |
|||
* Class: as.api.ascustomervehicle.AsCustomerVehicleVo <br/> |
|||
* Description: 客户车辆信息 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2024-03-19 11:28:19 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "客户车辆信息 视图数据对象", description = "客户车辆信息 视图数据对象") |
|||
public class AsCustomerVehicleVo implements Vo { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("客户sid") |
|||
private String customerSid; // 客户sid
|
|||
@ApiModelProperty("车牌号") |
|||
private String vehMark; // 车牌号
|
|||
@ApiModelProperty("车架号") |
|||
private String vinNo; // 车架号
|
|||
@ApiModelProperty("发动机号") |
|||
private String engineNo; // 发动机号
|
|||
@ApiModelProperty("车型sid") |
|||
private String vehModelSid; // 车型sid
|
|||
@ApiModelProperty("车型") |
|||
private String vehModel; // 车型
|
|||
@ApiModelProperty("行驶里程") |
|||
private Integer mileage; // 行驶里程
|
|||
@ApiModelProperty("上次保养里程") |
|||
private Integer lastMileage; // 上次保养里程
|
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@ApiModelProperty("下次保养日期") |
|||
private Date nextMaintainDateStart; // 下次保养日期
|
|||
private Date nextMaintainDateEnd; // 下次保养日期
|
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@ApiModelProperty("购车日期") |
|||
private Date buyDateStart; // 购车日期
|
|||
private Date buyDateEnd; // 购车日期
|
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@ApiModelProperty("商业险到期日期") |
|||
private Date commercialInsuranceEndDateStart; // 商业险到期日期
|
|||
private Date commercialInsuranceEndDateEnd; // 商业险到期日期
|
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@ApiModelProperty("交强险到期日期") |
|||
private Date compulsoryInsuranceEndDateStart; // 交强险到期日期
|
|||
private Date compulsoryInsuranceEndDateEnd; // 交强险到期日期
|
|||
@ApiModelProperty("0为内部车,1为外部车") |
|||
private Integer vehState; // 0为内部车,1为外部车
|
|||
|
|||
} |
@ -0,0 +1,69 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.as.biz.ascustomervehicle; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.Wrapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.baomidou.mybatisplus.core.toolkit.Constants; |
|||
import com.yxt.anrui.as.api.ascustomervehicle.AsCustomerCrmVehVo; |
|||
import com.yxt.anrui.as.api.ascustomervehicle.AsCustomerVehicle; |
|||
import com.yxt.anrui.as.api.ascustomervehicle.AsCustomerVehicleVo; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
import org.apache.ibatis.annotations.Param; |
|||
import org.apache.ibatis.annotations.Select; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* Project: asdfasd(sdg) <br/> |
|||
* File: AsCustomerVehicleMapper.java <br/> |
|||
* Class: as.biz.ascustomervehicle.AsCustomerVehicleMapper <br/> |
|||
* Description: 客户车辆信息. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2024-03-19 11:28:19 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Mapper |
|||
public interface AsCustomerVehicleMapper extends BaseMapper<AsCustomerVehicle> { |
|||
|
|||
//@Update("update as_customer_vehicle set name=#{msg} where id=#{id}")
|
|||
//IPage<AsCustomerVehicleVo> voPage(IPage<AsCustomerVehicle> page, @Param(Constants.WRAPPER) QueryWrapper<AsCustomerVehicle> qw);
|
|||
|
|||
IPage<AsCustomerVehicleVo> selectPageVo(IPage<AsCustomerVehicle> page, @Param(Constants.WRAPPER) Wrapper<AsCustomerVehicle> qw); |
|||
|
|||
List<AsCustomerVehicleVo> selectListAllVo(@Param(Constants.WRAPPER) Wrapper<AsCustomerVehicle> qw); |
|||
|
|||
@Select("select * from as_customer_vehicle") |
|||
List<AsCustomerVehicleVo> selectListVo(); |
|||
|
|||
@Select("select * from as_customer_vehicle") |
|||
List<AsCustomerCrmVehVo> listCustomerVeh(); |
|||
} |
@ -0,0 +1,13 @@ |
|||
<?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.yxt.anrui.as.biz.ascustomervehicle.AsCustomerVehicleMapper"> |
|||
<!-- <where> ${ew.sqlSegment} </where>--> |
|||
<!-- ${ew.customSqlSegment} --> |
|||
<select id="selectPageVo" resultType="com.yxt.anrui.as.api.ascustomervehicle.AsCustomerVehicleVo"> |
|||
SELECT * FROM as_customer_vehicle <where> ${ew.sqlSegment} </where> |
|||
</select> |
|||
|
|||
<select id="selectListAllVo" resultType="com.yxt.anrui.as.api.ascustomervehicle.AsCustomerVehicleVo"> |
|||
SELECT * FROM as_customer_vehicle <where> ${ew.sqlSegment} </where> |
|||
</select> |
|||
</mapper> |
@ -0,0 +1,102 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.as.biz.ascustomervehicle; |
|||
|
|||
import com.yxt.anrui.as.api.ascustomervehicle.*; |
|||
import com.yxt.common.core.query.PagerQuery; |
|||
import com.yxt.common.core.result.ResultBean; |
|||
import com.yxt.common.core.vo.PagerVo; |
|||
import io.swagger.annotations.Api; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.web.bind.annotation.*; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* Project: asdfasd(sdg) <br/> |
|||
* File: AsCustomerVehicleFeignFallback.java <br/> |
|||
* Class: as.biz.ascustomervehicle.AsCustomerVehicleRest <br/> |
|||
* Description: 客户车辆信息. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2024-03-19 11:28:19 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Api(tags = "客户车辆信息") |
|||
@RestController |
|||
@RequestMapping("as/v1/ascustomervehicle") |
|||
public class AsCustomerVehicleRest{ |
|||
|
|||
@Autowired |
|||
private AsCustomerVehicleService asCustomerVehicleService; |
|||
|
|||
|
|||
@ApiOperation("根据条件分页查询数据的列表") |
|||
@PostMapping("/listPage") |
|||
public ResultBean<PagerVo<AsCustomerVehicleVo>> listPage(@RequestBody PagerQuery<AsCustomerVehicleQuery> pq){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
PagerVo<AsCustomerVehicleVo> pv = asCustomerVehicleService.listPageVo(pq); |
|||
return rb.success().setData(pv); |
|||
} |
|||
|
|||
@ApiOperation("查询数据的列表") |
|||
@PostMapping("/listCustomerVeh") |
|||
public ResultBean<List<AsCustomerCrmVehVo>> listCustomerVeh(){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
List<AsCustomerCrmVehVo> list = asCustomerVehicleService.listCustomerVeh(); |
|||
return rb.success().setData(list); |
|||
} |
|||
|
|||
@ApiOperation("新增或修改") |
|||
@PostMapping("/save") |
|||
public ResultBean save(@RequestBody AsCustomerVehicleDto dto){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
asCustomerVehicleService.saveOrUpdateDto(dto); |
|||
return rb.success(); |
|||
} |
|||
|
|||
|
|||
@ApiOperation("根据sid批量删除") |
|||
@PostMapping("/delBySids") |
|||
public ResultBean delBySids(@RequestBody String[] sids){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
asCustomerVehicleService.delBySids(sids); |
|||
return rb.success(); |
|||
} |
|||
|
|||
|
|||
@ApiOperation("根据SID获取一条记录") |
|||
@GetMapping("/fetchDetailsBySid/{sid}") |
|||
public ResultBean<AsCustomerVehicleDetailsVo> fetchDetailsBySid(@PathVariable("sid") String sid){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
AsCustomerVehicleDetailsVo vo = asCustomerVehicleService.fetchDetailsVoBySid(sid); |
|||
return rb.success().setData(vo); |
|||
} |
|||
} |
@ -0,0 +1,109 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.as.biz.ascustomervehicle; |
|||
|
|||
import cn.hutool.core.bean.BeanUtil; |
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import com.yxt.anrui.as.api.ascustomervehicle.*; |
|||
import org.apache.commons.lang3.StringUtils; |
|||
import com.yxt.common.base.service.MybatisBaseService; |
|||
import com.yxt.common.base.utils.PagerUtil; |
|||
import com.yxt.common.core.query.PagerQuery; |
|||
import com.yxt.common.core.result.ResultBean; |
|||
import com.yxt.common.core.vo.PagerVo; |
|||
|
|||
import org.springframework.stereotype.Service; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* Project: asdfasd(sdg) <br/> |
|||
* File: AsCustomerVehicleService.java <br/> |
|||
* Class: as.biz.ascustomervehicle.AsCustomerVehicleService <br/> |
|||
* Description: 客户车辆信息 业务逻辑. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2024-03-19 11:28:19 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Service |
|||
public class AsCustomerVehicleService extends MybatisBaseService<AsCustomerVehicleMapper, AsCustomerVehicle> { |
|||
private QueryWrapper<AsCustomerVehicle> createQueryWrapper(AsCustomerVehicleQuery query) { |
|||
// todo: 这里根据具体业务调整查询条件
|
|||
// 多字段Like示例:qw.and(wrapper -> wrapper.like("name", query.getName()).or().like("remark", query.getName()));
|
|||
QueryWrapper<AsCustomerVehicle> qw = new QueryWrapper<>(); |
|||
return qw; |
|||
} |
|||
|
|||
public PagerVo<AsCustomerVehicleVo> listPageVo(PagerQuery<AsCustomerVehicleQuery> pq) { |
|||
AsCustomerVehicleQuery query = pq.getParams(); |
|||
QueryWrapper<AsCustomerVehicle> qw = createQueryWrapper(query); |
|||
IPage<AsCustomerVehicle> page = PagerUtil.queryToPage(pq); |
|||
IPage<AsCustomerVehicleVo> pagging = baseMapper.selectPageVo(page, qw); |
|||
PagerVo<AsCustomerVehicleVo> p = PagerUtil.pageToVo(pagging, null); |
|||
return p; |
|||
} |
|||
|
|||
public void saveOrUpdateDto(AsCustomerVehicleDto dto){ |
|||
String dtoSid = dto.getSid(); |
|||
if (StringUtils.isBlank(dtoSid)) { |
|||
this.insertByDto(dto); |
|||
return; |
|||
} |
|||
this.updateByDto(dto); |
|||
} |
|||
|
|||
public void insertByDto(AsCustomerVehicleDto dto){ |
|||
AsCustomerVehicle entity = new AsCustomerVehicle(); |
|||
BeanUtil.copyProperties(dto, entity, "id", "sid"); |
|||
baseMapper.insert(entity); |
|||
} |
|||
|
|||
public void updateByDto(AsCustomerVehicleDto dto){ |
|||
String dtoSid = dto.getSid(); |
|||
if (StringUtils.isBlank(dtoSid)) { |
|||
return; |
|||
} |
|||
AsCustomerVehicle entity = fetchBySid(dtoSid); |
|||
BeanUtil.copyProperties(dto, entity, "id", "sid"); |
|||
baseMapper.updateById(entity); |
|||
} |
|||
|
|||
public AsCustomerVehicleDetailsVo fetchDetailsVoBySid(String sid){ |
|||
AsCustomerVehicle entity = fetchBySid(sid); |
|||
AsCustomerVehicleDetailsVo vo = new AsCustomerVehicleDetailsVo(); |
|||
BeanUtil.copyProperties(entity, vo); |
|||
return vo; |
|||
} |
|||
|
|||
public List<AsCustomerCrmVehVo> listCustomerVeh() { |
|||
return baseMapper.listCustomerVeh(); |
|||
} |
|||
} |
Loading…
Reference in new issue