Commit 048f2684 by 林冲

Merge branch 'v5.5.1_20251230' into 'master'

上线合并

See merge request !5
2 parents 6df4313e a869fdd8
Showing 36 changed files with 1864 additions and 1 deletions
# IntelliJ / IDEA
*.iml
.idea/
out/
# Maven 构建物
target/
# Maven Flatten 插件的产物
**/flattened-pom.xml
\ No newline at end of file
......@@ -24,7 +24,7 @@
<version>1.0.0-SNAPSHOT</version>
</parent>
<artifactId>gsc-vcp-api</artifactId>
<version>1.0.2-SNAPSHOT</version>
<version>1.0.3-SNAPSHOT</version>
<packaging>jar</packaging>
<description>gsc 二车手业务api模块</description>
......
......@@ -126,4 +126,7 @@ public class SaleContractDTO extends ContractBaseDTO implements Serializable {
@Schema(description = "约定条款")
private String otherAgreedTerm;
@Schema(description = "三方/委托交易凭证")
private String thirdPartyTransactionVoucher;
}
......@@ -7,6 +7,8 @@ import com.gsc4cloud.gsc.vpc.api.entity.evalorder.EvalOrder;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.util.List;
@Data
public class EvalOrderSimpleDTO {
......@@ -43,4 +45,10 @@ public class EvalOrderSimpleDTO {
@Schema(description = "二手车买卖合同补充协议")
private EvalElectronicContract supplementaryContract;
/**
* 车辆图片信息
*/
@Schema(description = "车辆图片信息")
private List<EvalImageInfoDTO> imageListDTO;
}
......@@ -71,4 +71,17 @@ public class CarLicenseOcrResDTO implements Serializable {
*/
@Schema(description = "识别失败原因")
private String errorMessage;
/**
* 车辆类型(来自行驶证车辆类型)
*/
@Schema(description = "车辆类型")
private String vehicleType;
/**
* 品牌型号(来自行驶证品牌型号)
*/
@Schema(description = "品牌型号")
private String completeBrandModel;
}
package com.gsc4cloud.gsc.vpc.api.dto.pad.resdto.evalorder;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.Date;
@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
public class CarRegistrationOcrResDTO implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 登记证号
*/
@Schema(description = "登记证号")
private String registrationNumber;
/**
* 识别状态:1-成功,0-失败
*/
@Schema(description = "识别状态:1-成功,0-失败")
private Integer status;
/**
* 识别失败原因
*/
@Schema(description = "识别失败原因")
private String errorMessage;
}
package com.gsc4cloud.gsc.vpc.api.dto.web.resdto.staffhandover;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
/**
* 创建离职交接响应
*
* @author system
* @date 2025-12-16
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "创建离职交接响应")
public class CreateStaffHandoverResDTO implements Serializable {
private static final long serialVersionUID = 1L;
@Schema(description = "交接批次号")
private String handoverBatchNo;
@Schema(description = "成功交接数量")
private Integer successCount;
@Schema(description = "失败数量")
private Integer failedCount;
}
package com.gsc4cloud.gsc.vpc.api.dto.web.resdto.staffhandover;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
/**
* 待交接资产项
*
* @author system
* @date 2025-12-16
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "待交接资产项")
public class HandoverAssetItemDTO implements Serializable {
private static final long serialVersionUID = 1L;
@Schema(description = "评估单编号")
private String evalOrderNo;
@Schema(description = "车牌号")
private String licensePlate;
@Schema(description = "车型(品牌+车系+车型)")
private String carModel;
@Schema(description = "评估单状态码")
private Integer status;
@Schema(description = "评估单状态描述")
private String statusDesc;
@Schema(description = "是否已签署代保管协议")
private Boolean signCustodyStatus;
@Schema(description = "销售商户号(4S店)")
private Integer sellerMerchantId;
@Schema(description = "销售(4S店)商户名称")
private String sellerMerchantName;
}
package com.gsc4cloud.gsc.vpc.api.dto.web.resdto.staffhandover;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
/**
* 交接明细项
*
* @author system
* @date 2025-12-16
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "交接明细项")
public class HandoverDetailItemDTO implements Serializable {
private static final long serialVersionUID = 1L;
@Schema(description = "评估单编号")
private String evalOrderNo;
@Schema(description = "车型(品牌+车系+车型)")
private String carModel;
@Schema(description = "车牌号")
private String licensePlate;
@Schema(description = "交接时车辆状态码")
private Integer carStatusAtHandover;
@Schema(description = "交接时车辆状态名称")
private String carStatusAtHandoverName;
@Schema(description = "代保管协议签署状态")
private Boolean signCustodyStatus;
@Schema(description = "交接凭证URL列表")
private java.util.List<String> proofUrls;
@Schema(description = "销售商户号(4S店)")
private Integer sellerMerchantId;
@Schema(description = "销售(4S店)商户名称")
private String sellerMerchantName;
}
package com.gsc4cloud.gsc.vpc.api.dto.web.resdto.staffhandover;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.List;
/**
* 查询待交接资产响应
*
* @author system
* @date 2025-12-16
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "查询待交接资产响应")
public class QueryHandoverAssetsResDTO implements Serializable {
private static final long serialVersionUID = 1L;
@Schema(description = "待交接评估单列表")
private List<HandoverAssetItemDTO> evalOrders;
}
package com.gsc4cloud.gsc.vpc.api.dto.web.resdto.staffhandover;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.List;
/**
* 离职交接详情响应
*
* @author system
* @date 2025-12-16
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "离职交接详情响应")
public class StaffHandoverDetailResDTO implements Serializable {
private static final long serialVersionUID = 1L;
@Schema(description = "交接记录主键")
private Long id;
@Schema(description = "交接批次号")
private String handoverBatchNo;
@Schema(description = "交接时间,格式:yyyy-MM-dd HH:mm:ss")
private String handoverTime;
@Schema(description = "交接类型:1-普通交接 2-实物交接")
private Integer handoverType;
@Schema(description = "创建人")
private String createdBy;
@Schema(description = "原责任人姓名(含职位、离职状态)")
private String originalUserName;
@Schema(description = "新接收人姓名(含职位)")
private String newUserName;
@Schema(description = "交接资产数量")
private Integer assetCount;
@Schema(description = "交接明细列表")
private List<HandoverDetailItemDTO> details;
}
package com.gsc4cloud.gsc.vpc.api.dto.web.resdto.staffhandover;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
/**
* 离职交接分页列表响应
*
* @author system
* @date 2025-12-16
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "离职交接分页列表响应")
public class StaffHandoverPageResDTO implements Serializable {
private static final long serialVersionUID = 1L;
@Schema(description = "交接记录主键")
private Long id;
@Schema(description = "交接批次号")
private String handoverBatchNo;
@Schema(description = "交接时间,格式:yyyy-MM-dd HH:mm:ss")
private String handoverTime;
@Schema(description = "交接类型:1-普通交接 2-实物交接")
private Integer handoverType;
@Schema(description = "交接类型描述")
private String handoverTypeDesc;
@Schema(description = "原责任人姓名(含工号)")
private String originalUserName;
@Schema(description = "原责任人商户名称")
private String originalMerchantName;
@Schema(description = "新接收人姓名(含工号)")
private String newUserName;
@Schema(description = "新接收人商户名称")
private String newMerchantName;
@Schema(description = "交接资产数量")
private Integer assetCount;
@Schema(description = "操作人")
private String operator;
@Schema(description = "创建时间,格式:yyyy-MM-dd HH:mm:ss")
private String createdDate;
}
package com.gsc4cloud.gsc.vpc.api.dto.web.resdto.staffhandover;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
/**
* 用户选项响应(用于下拉列表)
*
* @author system
* @date 2025-12-16
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "用户选项响应")
public class StaffUserOptionResDTO implements Serializable {
private static final long serialVersionUID = 1L;
@Schema(description = "用户ID")
private String userId;
@Schema(description = "用户姓名")
private String userName;
@Schema(description = "商户名称")
private String merchantName;
@Schema(description = "商户号")
private String merchantNo;
}
package com.gsc4cloud.gsc.vpc.api.dto.web.resdto.vehicleledger;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
* 车辆台账分页响应DTO
*
* @author auto-generated
*/
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
@Data
public class VehicleLedgerDTO implements Serializable {
private static final long serialVersionUID = 1L;
// ========== 一、直接对应数据库字段 ==========
@Schema(description = "评估单编号")
private String evalOrderNo;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Schema(description = "评估单创建时间")
private Date orderCreatedTime;
@Schema(description = "评估人员姓名(总部定价师)")
private String evalOperatorName;
@Schema(description = "买卖合同编号")
private String saleContractNo;
@Schema(description = "确认交接合同编号")
private String handoverContractNo;
@Schema(description = "补充合同编号")
private String supplementaryContractNo;
@Schema(description = "代保管合同编号")
private String custodyContractNo;
@Schema(description = "车辆管理档案ID")
private Long carManageInfoId;
@Schema(description = "车辆状态")
private Integer carStatus;
@Schema(description = "评估单来源:1-app 2-小程序 3-人工导入")
private Integer source;
@Schema(description = "评估单来源名称")
private String sourceName;
@Schema(description = "门店")
private String sellerMerchantName;
@Schema(description = "销售顾问")
private String sellerName;
@Schema(description = "驻店人员")
private String conversionName;
@Schema(description = "车牌")
private String licensePlate;
@Schema(description = "类别:1-置换车/2-报废车")
private Integer vehicleCategory;
@Schema(description = "类别名称")
private String vehicleCategoryName;
@Schema(description = "品牌")
private String carBrand;
@Schema(description = "车架号")
private String vin;
@Schema(description = "车主身份证号码")
private String partAIdentityCode;
@Schema(description = "电话")
private String partAContactMobile;
@Schema(description = "卖方单位/个人地址")
private String partAAddress;
@Schema(description = "登记证号")
private String registrationNo;
@Schema(description = "OCR识别-品牌车型")
private String brandModel;
@Schema(description = "OCR识别-车辆类型")
private String vehicleType;
@Schema(description = "拍卖平台")
private String auctionPlatform = "优加车拍";
@Schema(description = "备注")
private String sellingNotes;
// ========== 二、合同签署状态字段 ==========
@Schema(description = "转让协议签署:1-是 0-否")
private Integer transferAgreementSigned;
@Schema(description = "转让协议签署名称")
private String transferAgreementSignedName;
@Schema(description = "交接确认单签署:1-是 0-否")
private Integer handoverConfirmSigned;
@Schema(description = "交接确认单签署名称")
private String handoverConfirmSignedName;
@Schema(description = "补充协议签署:1-是 0-否")
private Integer supplementaryAgreementSigned;
@Schema(description = "补充协议签署名称")
private String supplementaryAgreementSignedName;
@Schema(description = "代保管协议签署:1-是 0-否")
private Integer custodyAgreementSigned;
@Schema(description = "代保管协议签署名称")
private String custodyAgreementSignedName;
@Schema(description = "签约人")
private String previousOwnerName;
@Schema(description = "收款方")
private String payeeName;
// ========== 三、企微审批相关字段(定金) ==========
@Schema(description = "企微审批单号(定金)")
private String depositOaFlowCode;
@Schema(description = "企微审批状态(定金):1-审核中 2-已通过 3-已驳回 4-已撤销")
private Integer depositOaFlowStatus;
@Schema(description = "企微审批状态名称(定金)")
private String depositOaFlowStatusName;
// ========== 四、企微审批相关字段(尾款/全款) ==========
@Schema(description = "企微审批单号(尾款/全款)")
private String finalPaymentOaFlowCode;
@Schema(description = "企微审批状态(尾款/全款):1-审核中 2-已通过 3-已驳回 4-已撤销")
private Integer finalPaymentOaFlowStatus;
@Schema(description = "企微审批状态名称(尾款/全款)")
private String finalPaymentOaFlowStatusName;
// ========== 五、收购价格及付款相关字段 ==========
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Schema(description = "收购时间(付款)")
private Date purchaseTime;
@Schema(description = "收购价格/元(包含对公流量费)")
private BigDecimal contractPrice;
@Schema(description = "是否全款:1-定金+尾款(否) 2-全款(是)")
private Integer paymentType;
@Schema(description = "是否全款名称")
private String paymentTypeName;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Schema(description = "定金时间")
private Date depositTime;
@Schema(description = "定金金额")
private BigDecimal depositAmount;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Schema(description = "尾款时间")
private Date finalPaymentTime;
@Schema(description = "尾款金额")
private BigDecimal finalPaymentAmount;
// ========== 六、车辆档案及库存相关字段 ==========
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Schema(description = "入库时间")
private Date storageTime;
@Schema(description = "是否交付:1-是 0-否")
private Integer isDelivered;
@Schema(description = "是否交付名称")
private String isDeliveredName;
@Schema(description = "是否在库:1-是 0-否")
private Integer isInStock;
@Schema(description = "是否在库名称")
private String isInStockName;
@Schema(description = "在库时长(天)")
private Long daysInStock;
@Schema(description = "车源号(平台唯一识别编号)")
private String sourceNo;
// ========== 七、拍卖相关字段 ==========
@Schema(description = "是否拍卖:1-是 0-否")
private Integer isAuctioned;
@Schema(description = "是否拍卖名称")
private String isAuctionedName;
@Schema(description = "拍卖价格/元")
private BigDecimal sellingPrice;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Schema(description = "拍卖时间")
private Date auctionTime;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Schema(description = "收款时间")
private Date sellingTime;
@Schema(description = "付款方")
private String seller;
@Schema(description = "收拍利润")
private BigDecimal profit;
// ========== 八、其他字段 ==========
@Schema(description = "是否对账")
private String isReconciled;
// ========== 九、SQL查询的中间字段(不对外暴露) ==========
@Schema(description = "转让协议签署状态(SQL查询)", hidden = true)
private Integer saleContractStatus;
@Schema(description = "交接确认单签署状态(SQL查询)", hidden = true)
private Integer handoverContractStatus;
@Schema(description = "补充协议签署状态(SQL查询)", hidden = true)
private Integer supplementaryContractStatus;
@Schema(description = "代保管协议签署状态(SQL查询)", hidden = true)
private Integer custodyContractStatus;
@Schema(description = "转让协议合同字段JSON(SQL查询)", hidden = true)
private String saleContractField;
@Schema(description = "定金付款方式(SQL查询): 1-银行转账 2-冲账", hidden = true)
private Integer depositPaymentMethod;
@Schema(description = "定金打款状态(SQL查询)", hidden = true)
private Integer depositOaFlowPaymentStatus;
@Schema(description = "定金打款时间(SQL查询)", hidden = true)
private Date depositPayTime;
@Schema(description = "定金审批更新时间(SQL查询)", hidden = true)
private Date depositUpdatedDate;
@Schema(description = "尾款/全款付款方式(SQL查询):1-银行转账 2-冲账", hidden = true)
private Integer finalPaymentMethod;
@Schema(description = "尾款/全款付款类型(SQL查询):2-尾款 3-全款", hidden = true)
private Integer finalPaymentType;
@Schema(description = "尾款/全款打款状态(SQL查询)", hidden = true)
private Integer finalOaFlowPaymentStatus;
@Schema(description = "尾款/全款打款时间(SQL查询)", hidden = true)
private Date finalPayTime;
@Schema(description = "尾款/全款审批更新时间(SQL查询)", hidden = true)
private Date finalUpdatedDate;
}
package com.gsc4cloud.gsc.vpc.api.dto.web.resdto.vehicleledger;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
* 车辆台账Excel导出DTO
*
* @author auto-generated
*/
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
@Data
public class VehicleLedgerExcelDTO implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
@ExcelProperty(value = "评估单编号")
private String evalOrderNo;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@ExcelProperty(value = "评估单时间")
private Date orderCreatedTime;
@ExcelProperty(value = "评估单来源")
private String sourceName;
@ExcelProperty(value = "总部定价师")
private String evalOperatorName;
@ExcelProperty(value = "转让协议签署")
private String transferAgreementSignedName;
@ExcelProperty(value = "交接确认单签署")
private String handoverConfirmSignedName;
@ExcelProperty(value = "补充协议签署")
private String supplementaryAgreementSignedName;
@ExcelProperty(value = "代保管协议签署")
private String custodyAgreementSignedName;
@ExcelProperty(value = "企微审批单号(定金)")
private String depositOaFlowCode;
@ExcelProperty(value = "企微审批状态(定金)")
private String depositOaFlowStatusName;
@ExcelProperty(value = "企微审批单号(尾款/全款)")
private String finalPaymentOaFlowCode;
@ExcelProperty(value = "企微审批状态(尾款/全款)")
private String finalPaymentOaFlowStatusName;
@ExcelProperty(value = "门店")
private String sellerMerchantName;
@ExcelProperty(value = "销售顾问")
private String sellerName;
@ExcelProperty(value = "驻店人员")
private String conversionName;
@ExcelProperty(value = "签约人")
private String previousOwnerName;
@ExcelProperty(value = "收款方")
private String payeeName;
@ExcelProperty(value = "车牌")
private String licensePlate;
@ExcelProperty(value = "类别")
private String vehicleCategoryName;
@ExcelProperty(value = "品牌")
private String carBrand;
@ExcelProperty(value = "车架号")
private String vin;
@DateTimeFormat(value = "yyyy-MM-dd HH:mm:ss")
@ExcelProperty(value = "收购时间(付款)")
private Date purchaseTime;
@ExcelProperty(value = "收购价格/元(包含对公流量费)")
private BigDecimal contractPrice;
@ExcelProperty(value = "是否全款")
private String paymentTypeName;
@DateTimeFormat(value = "yyyy-MM-dd HH:mm:ss")
@ExcelProperty(value = "定金时间")
private Date depositTime;
@ExcelProperty(value = "定金金额")
private BigDecimal depositAmount;
@DateTimeFormat(value = "yyyy-MM-dd HH:mm:ss")
@ExcelProperty(value = "尾款时间")
private Date finalPaymentTime;
@ExcelProperty(value = "尾款金额")
private BigDecimal finalPaymentAmount;
@DateTimeFormat(value = "yyyy-MM-dd HH:mm:ss")
@ExcelProperty(value = "入库时间")
private Date storageTime;
@ExcelProperty(value = "是否交付")
private String isDeliveredName;
@ExcelProperty(value = "是否在库")
private String isInStockName;
@ExcelProperty(value = "在库时长")
private Long daysInStock;
@ExcelProperty(value = "是否拍卖")
private String isAuctionedName;
@ExcelProperty(value = "拍卖价格/元")
private BigDecimal sellingPrice;
@DateTimeFormat(value = "yyyy-MM-dd HH:mm:ss")
@ExcelProperty(value = "拍卖时间")
private Date auctionTime;
@DateTimeFormat(value = "yyyy-MM-dd HH:mm:ss")
@ExcelProperty(value = "收款时间")
private Date sellingTime;
@ExcelProperty(value = "付款方")
private String seller;
@ExcelProperty(value = "收拍利润")
private BigDecimal profit;
@ExcelProperty(value = "拍卖平台")
private String auctionPlatform;
@ExcelProperty(value = "备注")
private String sellingNotes;
@ExcelProperty(value = "车主身份证号码")
private String partAIdentityCode;
@ExcelProperty(value = "电话")
private String partAContactMobile;
@ExcelProperty(value = "卖方单位/个人地址")
private String partAAddress;
@ExcelProperty(value = "登记证号")
private String registrationNo;
@ExcelProperty(value = "厂牌(品牌)型号")
private String brandModel;
@ExcelProperty(value = "车辆类型")
private String vehicleType;
@ExcelProperty(value = "是否对账")
private String isReconciled;
}
package com.gsc4cloud.gsc.vpc.api.dto.web.resdto.vehicleledger;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
* 车辆台账分页响应DTO
*
* @author auto-generated
*/
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
@Data
public class VehicleLedgerPageResDTO implements Serializable {
private static final long serialVersionUID = 1L;
// ========== 一、直接对应数据库字段 ==========
@Schema(description = "评估单编号")
private String evalOrderNo;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Schema(description = "评估单创建时间")
private Date orderCreatedTime;
@Schema(description = "评估单来源:1-app 2-小程序 3-人工导入")
private Integer source;
@Schema(description = "评估人员姓名(总部定价师)")
private String evalOperatorName;
@Schema(description = "门店")
private String sellerMerchantName;
@Schema(description = "销售顾问")
private String sellerName;
@Schema(description = "驻店人员")
private String conversionName;
@Schema(description = "车牌")
private String licensePlate;
@Schema(description = "类别:1-置换车/2-报废车")
private Integer vehicleCategory;
@Schema(description = "品牌")
private String carBrand;
@Schema(description = "车架号")
private String vin;
@Schema(description = "车主身份证号码")
private String partAIdentityCode;
@Schema(description = "电话")
private String partAContactMobile;
@Schema(description = "卖方单位/个人地址")
private String partAAddress;
@Schema(description = "登记证号")
private String registrationNo;
@Schema(description = "OCR识别-品牌车型")
private String brandModel;
@Schema(description = "OCR识别-车辆类型")
private String vehicleType;
@Schema(description = "拍卖平台")
private String auctionPlatform = "优加车拍";
@Schema(description = "备注")
private String sellingNotes;
// ========== 二、合同签署状态字段 ==========
@Schema(description = "转让协议签署:1-是 0-否")
private Integer transferAgreementSigned;
@Schema(description = "交接确认单签署:1-是 0-否")
private Integer handoverConfirmSigned;
@Schema(description = "补充协议签署:1-是 0-否")
private Integer supplementaryAgreementSigned;
@Schema(description = "代保管协议签署:1-是 0-否")
private Integer custodyAgreementSigned;
@Schema(description = "签约人")
private String previousOwnerName;
@Schema(description = "收款方")
private String payeeName;
// ========== 三、企微审批相关字段(定金) ==========
@Schema(description = "企微审批单号(定金)")
private String depositOaFlowCode;
@Schema(description = "企微审批状态(定金):1-审核中 2-已通过 3-已驳回 4-已撤销")
private Integer depositOaFlowStatus;
// ========== 四、企微审批相关字段(尾款/全款) ==========
@Schema(description = "企微审批单号(尾款/全款)")
private String finalPaymentOaFlowCode;
@Schema(description = "企微审批状态(尾款/全款):1-审核中 2-已通过 3-已驳回 4-已撤销")
private Integer finalPaymentOaFlowStatus;
// ========== 五、收购价格及付款相关字段 ==========
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Schema(description = "收购时间(付款)")
private Date purchaseTime;
@Schema(description = "收购价格/元(包含对公流量费)")
private BigDecimal contractPrice;
@Schema(description = "是否全款:1-定金+尾款(否) 2-全款(是)")
private Integer paymentType;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Schema(description = "定金时间")
private Date depositTime;
@Schema(description = "定金金额")
private BigDecimal depositAmount;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Schema(description = "尾款时间")
private Date finalPaymentTime;
@Schema(description = "尾款金额")
private BigDecimal finalPaymentAmount;
// ========== 六、车辆档案及库存相关字段 ==========
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Schema(description = "入库时间")
private Date storageTime;
@Schema(description = "是否交付:1-是 0-否")
private Integer isDelivered;
@Schema(description = "是否在库:1-是 0-否")
private Integer isInStock;
@Schema(description = "在库时长(天)")
private Long daysInStock;
// ========== 七、拍卖相关字段 ==========
@Schema(description = "是否拍卖:1-是 0-否")
private Integer isAuctioned;
@Schema(description = "拍卖价格/元")
private BigDecimal sellingPrice;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Schema(description = "拍卖时间")
private Date auctionTime;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Schema(description = "收款时间")
private Date sellingTime;
@Schema(description = "付款方")
private String seller;
@Schema(description = "收拍利润")
private BigDecimal profit;
// ========== 八、其他字段 ==========
@Schema(description = "是否对账")
private String isReconciled;
}
......@@ -284,4 +284,18 @@ public class DeliveryOrder implements Serializable {
@TableLogic(value = "N", delval = "D")
private String deletedFlag;
/**
* 最近一次交接批次号
*/
@Schema(description = "最近一次交接批次号")
@TableField(value = "last_handover_batch_no")
private String lastHandoverBatchNo;
/**
* 被交接次数
*/
@Schema(description = "被交接次数")
@TableField(value = "handover_count")
private Integer handoverCount;
}
package com.gsc4cloud.gsc.vpc.api.entity.evalorder;
import cn.hutool.core.util.StrUtil;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
......@@ -356,4 +357,52 @@ public class EvalCarBase implements Serializable {
@Schema(description = "删除标识:N未删除,D已删除")
private String deletedFlag;
/**
* OCR识别-登记号
*/
@TableField(value = "registration_no")
@Schema(description = "OCR识别-登记号")
private String registrationNo;
/**
* OCR识别-车辆类型
*/
@TableField(value = "vehicle_type")
@Schema(description = "OCR识别-车辆类型")
private String vehicleType;
/**
* OCR识别-品牌车型
*/
@TableField(value = "brand_model")
@Schema(description = "OCR识别-品牌车型")
private String brandModel;
/**
* 通常是1,3,4级拼接组成车型
* @return 车型名称
*/
public String normalModelName() {
StringBuilder result = new StringBuilder();
if (StrUtil.isNotEmpty(this.carBrand)) {
result.append(this.carBrand);
}
if (StrUtil.isNotEmpty(this.carSeriesName)) {
if (result.length() > 0) {
result.append(" ");
}
result.append(this.carSeriesName);
}
if (StrUtil.isNotEmpty(this.carTypeName)) {
if (result.length() > 0) {
result.append(" ");
}
result.append(this.carTypeName);
}
return result.toString();
}
}
......@@ -344,4 +344,18 @@ public class EvalOrder implements Serializable {
@Schema(description = "删除标识:N未删除,D已删除")
private String deletedFlag;
/**
* 最近一次交接批次号
*/
@TableField(value = "last_handover_batch_no")
@Schema(description = "最近一次交接批次号")
private String lastHandoverBatchNo;
/**
* 被交接次数
*/
@TableField(value = "handover_count")
@Schema(description = "被交接次数")
private Integer handoverCount;
}
package com.gsc4cloud.gsc.vpc.api.entity.handover;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.Date;
/**
* 离职交接记录表
*
* @author system
* @date 2025-12-16
*/
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName("vcp_staff_handover")
@Schema(description = "离职交接记录表")
public class VcpStaffHandover implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
@Schema(description = "主键ID")
private Long id;
@TableField(value = "handover_batch_no")
@Schema(description = "交接批次号,格式: HO-YYYYMMDD-NNN")
private String handoverBatchNo;
@TableField(value = "handover_time")
@Schema(description = "交接时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date handoverTime;
@TableField(value = "handover_type")
@Schema(description = "交接类型:1-普通交接 2-实物交接(含车辆实物)")
private Integer handoverType;
@TableField(value = "asset_count")
@Schema(description = "交接资产数")
private Integer assetCount;
@TableField(value = "original_user_id")
@Schema(description = "原责任人ID(离职人员)")
private String originalUserId;
@TableField(value = "original_user_name")
@Schema(description = "原责任人姓名(离职)")
private String originalUserName;
@TableField(value = "original_merchant_id")
@Schema(description = "原责任人商户ID")
private Integer originalMerchantId;
@TableField(value = "original_merchant_name")
@Schema(description = "原责任人商户名称")
private String originalMerchantName;
@TableField(value = "new_user_id")
@Schema(description = "新接收人ID(接手人员)")
private String newUserId;
@TableField(value = "new_user_name")
@Schema(description = "新接收人姓名")
private String newUserName;
@TableField(value = "new_merchant_id")
@Schema(description = "新接收人商户ID")
private Integer newMerchantId;
@TableField(value = "new_merchant_name")
@Schema(description = "新接收人商户名称")
private String newMerchantName;
@TableField(value = "remark")
@Schema(description = "备注")
private String remark;
@TableField(value = "created_by")
@Schema(description = "创建人")
private String createdBy;
@TableField(value = "created_date")
@Schema(description = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date createdDate;
@TableField(value = "updated_by")
@Schema(description = "修改人")
private String updatedBy;
@TableField(value = "updated_date")
@Schema(description = "修改时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date updatedDate;
@TableField(value = "deleted_flag")
@Schema(description = "删除标识:N未删除,D已删除")
private String deletedFlag;
}
package com.gsc4cloud.gsc.vpc.api.entity.handover;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.Date;
/**
* 离职交接明细表
*
* @author system
* @date 2025-12-16
*/
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName("vcp_staff_handover_detail")
@Schema(description = "离职交接明细表")
public class VcpStaffHandoverDetail implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
@Schema(description = "主键ID")
private Long id;
@TableField(value = "handover_batch_no")
@Schema(description = "交接批次号")
private String handoverBatchNo;
@TableField(value = "eval_order_no")
@Schema(description = "评估单编号")
private String evalOrderNo;
@TableField(value = "license_plate")
@Schema(description = "车牌号")
private String licensePlate;
@TableField(value = "car_model")
@Schema(description = "车型(品牌+车系+车型)")
private String carModel;
@TableField(value = "eval_status_at_handover")
@Schema(description = "交接时评估单状态")
private Integer evalStatusAtHandover;
@TableField(value = "car_status_at_handover")
@Schema(description = "交接时车辆状态")
private Integer carStatusAtHandover;
@TableField(value = "sign_custody_status")
@Schema(description = "代保管协议签署状态")
private Integer signCustodyStatus;
@TableField(value = "proof_urls")
@Schema(description = "交接凭证URL列表,多个用逗号拼接")
private String proofUrls;
@TableField(value = "seller_merchant_id")
@Schema(description = "销售商户号(4S店)")
private Integer sellerMerchantId;
@TableField(value = "seller_merchant_name")
@Schema(description = "销售(4S店)商户名称")
private String sellerMerchantName;
@TableField(value = "created_by")
@Schema(description = "创建人")
private String createdBy;
@TableField(value = "created_date")
@Schema(description = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date createdDate;
@TableField(value = "updated_by")
@Schema(description = "修改人")
private String updatedBy;
@TableField(value = "updated_date")
@Schema(description = "修改时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date updatedDate;
@TableField(value = "deleted_flag")
@Schema(description = "删除标识:N未删除,D已删除")
private String deletedFlag;
}
......@@ -21,6 +21,7 @@ public enum ErrorCodeEnum {
EVAL_ORDER_STATUS_ERROR(3002, "评估单状态不合法"),
EVAL_ORDER_EXPORT_IMAGE_ZIP_ASYNC_ERROR(3003, "评估单车辆图片压缩包异步下载错误"),
EVAL_ORDER_EDIT_NOT_CHANGE(3004, "您未对表单内容进行任何修改,请修改后重新提交"),
EVAL_ORDER_REVOKE_ERROR(3005, "该评估单不允许撤回,请刷新页面查看最新状态!"),
// ========== 电子合同相关 ==========
......
......@@ -30,6 +30,7 @@ public enum EvalOrderLogOperateTypeEnum implements BaseEnum<String, String> {
FULL_PAYMENT("FULL_PAYMENT", "全款打款"),
OA_APPROVING("OA_APPROVE_SUCCESS", "发送oa审批"),
OA_APPROVE_REJECT("OA_APPROVE_REJECT", "OA审批驳回"),
REVOKE_SALE_CONTRACT("REVOKE_SALE_CONTRACT", "撤回合同"),
;
private final String operateType;
......
......@@ -9,6 +9,7 @@ import com.gsc4cloud.gsc.vpc.api.dto.pad.resdto.evalorder.*;
import com.gsc4cloud.gsc.vpc.api.req.PageRequest;
import com.gsc4cloud.gsc.vpc.api.req.pad.car.CarDailyReportRequest;
import com.gsc4cloud.gsc.vpc.api.req.pad.contract.CancelSaleContractRequest;
import com.gsc4cloud.gsc.vpc.api.req.pad.contract.RevokeSaleContractRequest;
import com.gsc4cloud.gsc.vpc.api.req.pad.contract.SignSaleContractRequest;
import com.gsc4cloud.gsc.vpc.api.req.pad.evalorder.*;
import org.springframework.cloud.openfeign.FeignClient;
......@@ -65,4 +66,7 @@ public interface EvalOrderRemote {
@PostMapping("/evalOrder/viewOnlineContract")
R<EvalContractUrlResDTO> viewOnlineContract(EvalContractQueryRequest request);
@PostMapping("/evalOrder/revokeSaleContract")
R<Boolean> revokeSaleContract(RevokeSaleContractRequest request);
}
package com.gsc4cloud.gsc.vpc.api.feign.web.staffhandover;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gsc4cloud.gsc.common.core.constant.ServiceNameConstants;
import com.gsc4cloud.gsc.common.core.util.R;
import com.gsc4cloud.gsc.vpc.api.dto.web.resdto.staffhandover.*;
import com.gsc4cloud.gsc.vpc.api.req.PageRequest;
import com.gsc4cloud.gsc.vpc.api.req.web.staffhandover.*;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import java.util.List;
/**
* 离职交接远程调用接口
*
* @author system
* @date 2025-12-16
*/
@FeignClient(contextId = "com.gsc4cloud.gsc.vpc.api.feign.web.staffhandover.StaffHandoverRemote",
value = ServiceNameConstants.GSC_VCP_BIZ)
public interface StaffHandoverRemote {
/**
* 离职交接分页列表查询
*/
@PostMapping("/staffHandover/page")
R<Page<StaffHandoverPageResDTO>> page(@RequestBody PageRequest<StaffHandoverPageReq> request);
/**
* 离职交接详情查询
*/
@PostMapping("/staffHandover/detail")
R<StaffHandoverDetailResDTO> detail(@RequestBody StaffHandoverDetailReq request);
/**
* 查询待交接资产列表
*/
@PostMapping("/staffHandover/queryAssets")
R<QueryHandoverAssetsResDTO> queryAssets(@RequestBody QueryHandoverAssetsReq request);
/**
* 创建离职交接记录
*/
@PostMapping("/staffHandover/create")
R<CreateStaffHandoverResDTO> create(@RequestBody CreateStaffHandoverReq request);
/**
* 查询原责任人/新接收人下拉列表
*/
@PostMapping("/staffHandover/userList")
R<List<StaffUserOptionResDTO>> userList(@RequestBody StaffUserQueryReq request);
}
package com.gsc4cloud.gsc.vpc.api.feign.web.vehicleledger;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gsc4cloud.gsc.common.core.util.R;
import com.gsc4cloud.gsc.vpc.api.dto.web.resdto.vehicleledger.VehicleLedgerDTO;
import com.gsc4cloud.gsc.vpc.api.req.PageRequest;
import com.gsc4cloud.gsc.vpc.api.req.web.vehicleledger.VehicleLedgerPageRequest;
import io.swagger.v3.oas.annotations.Operation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
/**
* 车辆台账远程调用接口
*
* @author auto-generated
*/
@FeignClient(contextId = "com.gsc4cloud.gsc.vpc.api.feign.web.vehicleledger.VehicleLedgerRemote", value = "gsc-vcp-biz")
public interface VehicleLedgerRemote {
/**
* 车辆台账分页列表
*/
@Operation(summary = "车辆台账分页列表")
@PostMapping("/vehicleLedger/pageList")
R<Page<VehicleLedgerDTO>> pageList(@RequestBody PageRequest<VehicleLedgerPageRequest> request);
/**
* 异步导出车辆台账
*/
@Operation(summary = "异步导出车辆台账")
@PostMapping("/vehicleLedger/exportAsync")
R<String> exportAsync(@RequestBody PageRequest<VehicleLedgerPageRequest> request);
}
package com.gsc4cloud.gsc.vpc.api.req.pad.contract;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;
@Schema(description = "撤销合同请求")
@Data
public class RevokeSaleContractRequest {
@Schema(description = "买卖合同编号")
@NotEmpty(message = "买卖合同编号不能为空")
private String saleContractNo;
@Schema(description = "操作人(无需前端传递)")
private String operator;
@Schema(description = "操作人id(无需前端传递)")
private String operatorUserId;
}
......@@ -140,5 +140,8 @@ public class SignSaleContractRequest {
@Schema(description = "约定条款")
private String otherAgreedTerm;
@Schema(description = "三方/委托交易凭证")
private String thirdPartyTransactionVoucher;
}
......@@ -159,4 +159,7 @@ public class EvalOrderPageRequest {
@Schema(description="查询来源(前端不需要传):0-web 1-app")
private Integer querySource;
@Schema(description = "关键字模糊查询(车主姓名、车主电话、评估单号、车牌号)")
private String keyWord;
}
package com.gsc4cloud.gsc.vpc.api.req.web.staffhandover;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import java.io.Serializable;
import java.util.List;
/**
* 创建离职交接请求
*
* @author system
* @date 2025-12-16
*/
@Data
@Schema(description = "创建离职交接请求")
public class CreateStaffHandoverReq implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 原责任人ID
*/
@NotBlank(message = "原责任人ID不能为空")
@Schema(description = "原责任人ID", required = true)
private String originalUserId;
/**
* 原责任人姓名
*/
@NotBlank(message = "原责任人姓名不能为空")
@Schema(description = "原责任人姓名", required = true)
private String originalUserName;
/**
* 原责任人商户ID
*/
@NotNull(message = "原责任人姓名不能为空")
@Schema(description = "原责任人商户ID")
private Integer originalMerchantId;
/**
* 原责任人商户名称
*/
@NotBlank(message = "原责任人姓名不能为空")
@Schema(description = "原责任人商户名称")
private String originalMerchantName;
/**
* 新接收人ID
*/
@NotBlank(message = "新接收人ID不能为空")
@Schema(description = "新接收人ID", required = true)
private String newUserId;
/**
* 新接收人姓名
*/
@NotBlank(message = "新接收人姓名不能为空")
@Schema(description = "新接收人姓名", required = true)
private String newUserName;
/**
* 新接收人商户ID
*/
@NotNull(message = "原责任人姓名不能为空")
@Schema(description = "新接收人商户ID")
private Integer newMerchantId;
/**
* 新接收人商户名称
*/
@NotBlank(message = "原责任人姓名不能为空")
@Schema(description = "新接收人商户名称")
private String newMerchantName;
/**
* 待交接资产列表
*/
@NotEmpty(message = "待交接资产列表不能为空")
@Valid
@Schema(description = "待交接资产列表", required = true)
private List<HandoverAssetReq> assets;
/**
* 备注
*/
@Schema(description = "备注")
private String remark;
/**
* 操作人(后端自动赋值)
*/
@Schema(description = "操作人", hidden = true)
private String operator;
}
package com.gsc4cloud.gsc.vpc.api.req.web.staffhandover;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import java.io.Serializable;
import java.util.List;
/**
* 交接资产项
*
* @author system
* @date 2025-12-16
*/
@Data
@Schema(description = "交接资产项")
public class HandoverAssetReq implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 评估单编号
*/
@NotBlank(message = "评估单编号不能为空")
@Schema(description = "评估单编号", required = true)
private String evalOrderNo;
/**
* 交接凭证URL列表
*/
@Schema(description = "交接凭证URL列表")
private List<String> proofUrls;
}
package com.gsc4cloud.gsc.vpc.api.req.web.staffhandover;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import java.io.Serializable;
/**
* 查询待交接资产请求
*
* @author system
* @date 2025-12-16
*/
@Data
@Schema(description = "查询待交接资产请求")
public class QueryHandoverAssetsReq implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 原责任人ID
*/
@NotBlank(message = "原责任人ID不能为空")
@Schema(description = "原责任人ID", required = true)
private String originalUserId;
}
package com.gsc4cloud.gsc.vpc.api.req.web.staffhandover;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import java.io.Serializable;
/**
* 离职交接详情查询请求
*
* @author system
* @date 2025-12-16
*/
@Data
@Schema(description = "离职交接详情查询请求")
public class StaffHandoverDetailReq implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 交接记录主键ID
*/
@NotNull(message = "交接记录ID不能为空")
@Schema(description = "交接记录主键ID", required = true)
private Long id;
}
package com.gsc4cloud.gsc.vpc.api.req.web.staffhandover;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
/**
* 离职交接分页查询请求
*
* @author system
* @date 2025-12-16
*/
@Data
@Schema(description = "离职交接分页查询请求")
public class StaffHandoverPageReq implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 姓名,模糊匹配原责任人或新接收人
*/
@Schema(description = "姓名,模糊匹配原责任人或新接收人")
private String name;
/**
* 交接开始时间
*/
@Schema(description = "交接开始时间,格式:yyyy-MM-dd HH:mm:ss")
private String startTime;
/**
* 交接结束时间
*/
@Schema(description = "交接结束时间,格式:yyyy-MM-dd HH:mm:ss")
private String endTime;
/**
* 交接类型:1-普通交接 2-实物交接
*/
@Schema(description = "交接类型:1-普通交接 2-实物交接")
private Integer handoverType;
/**
* 交接批次号,精确匹配
*/
@Schema(description = "交接批次号,精确匹配")
private String handoverBatchNo;
}
package com.gsc4cloud.gsc.vpc.api.req.web.staffhandover;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
import java.util.List;
/**
* 用户列表查询请求
*
* @author system
* @date 2025-12-16
*/
@Data
@Schema(description = "用户列表查询请求")
public class StaffUserQueryReq implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 商户号,根据原责任人的商户号查询新接收人,查询原责任人时不传
*/
@Schema(description = "商户号,查询新接收人时传入")
private String merchantNo;
}
package com.gsc4cloud.gsc.vpc.api.req.web.vehicleledger;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import java.io.Serializable;
import java.util.Date;
/**
* 车辆台账分页查询请求
*
* @author auto-generated
*/
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
@Data
public class VehicleLedgerPageRequest implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 车牌号(模糊搜索)
*/
@Schema(description = "车牌号(模糊搜索)")
private String licensePlate;
/**
* 车架号(模糊搜索)
*/
@Schema(description = "车架号(模糊搜索)")
private String vin;
/**
* 门店(模糊搜索)
*/
@Schema(description = "门店(模糊搜索)")
private String sellerMerchantName;
/**
* 签约人(模糊搜索)
*/
@Schema(description = "签约人(模糊搜索)")
private String previousOwnerName;
/**
* 是否全款:1-定金+尾款(否) 2-全款(是)
*/
@Schema(description = "是否全款:1-定金+尾款(否) 2-全款(是)")
private Integer paymentType;
/**
* 是否在库:库存中/待售/待拍卖/拍卖中为在库
*/
@Schema(description = "是否在库:1-是 0-否")
private Integer inStock;
/**
* 评估单创建时间-开始
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Schema(description = "评估单创建时间-开始")
private Date orderCreatedStartTime;
/**
* 评估单创建时间-结束
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Schema(description = "评估单创建时间-结束")
private Date orderCreatedEndTime;
/**
* 收购时间-开始
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Schema(description = "收购时间-开始")
private Date purchaseStartTime;
/**
* 收购时间-结束
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Schema(description = "收购时间-结束")
private Date purchaseEndTime;
/**
* 定金时间-开始
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Schema(description = "定金时间-开始")
private Date depositStartTime;
/**
* 定金时间-结束
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Schema(description = "定金时间-结束")
private Date depositEndTime;
/**
* 尾款时间-开始
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Schema(description = "尾款时间-开始")
private Date finalPaymentStartTime;
/**
* 尾款时间-结束
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Schema(description = "尾款时间-结束")
private Date finalPaymentEndTime;
/**
* 入库时间-开始
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Schema(description = "入库时间-开始")
private Date storageStartTime;
/**
* 入库时间-结束
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Schema(description = "入库时间-结束")
private Date storageEndTime;
/**
* 拍卖时间-开始
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Schema(description = "拍卖时间-开始")
private Date auctionStartTime;
/**
* 拍卖时间-结束
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Schema(description = "拍卖时间-结束")
private Date auctionEndTime;
/**
* 收款时间-开始
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Schema(description = "收款时间-开始")
private Date receivableStartTime;
/**
* 收款时间-结束
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Schema(description = "收款时间-结束")
private Date receivableEndTime;
/**
* 操作人
*/
@Schema(description = "操作人")
private String updatedBy;
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!