Commit 7f287a09 by 崔彦峰

提交接口

1 parent 7bd8dfda
package com.gsc4cloud.gsc.vpc.api.dto.web.resdto.deliveryorder;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.gsc4cloud.gsc.vpc.api.util.excel.ExcelValueReplace;
import com.gsc4cloud.gsc.vpc.api.util.excel.ReplaceIntegerToStringConvert;
import lombok.Data;
import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
@Data
public class DeliveryOrderExportResDTO implements Serializable {
@Serial
private static final long serialVersionUID = -7851186783943277269L;
/**
* 交付工单唯一识别编号(如 DL-20231026-001)
*/
@ExcelProperty(value = "交付单编号")
private String deliveryOrderId;
/**
* 车辆当前车牌号
*/
@ExcelProperty(value = "车牌号")
private String licensePlate;
/**
* 车辆识别代号(车架号)
*/
@ExcelProperty(value = "车架号")
private String vin;
/**
* 车辆标题(品牌/车系/型号等)
*/
@ExcelProperty(value = "车型")
private String vehicleTitle;
/**
* 车辆当前停放位置/城市
*/
@ExcelProperty(value = "车辆当前停放位置")
private String currentLocation;
/**
* 交付专员姓名
*/
@ExcelProperty(value = "交付专员姓名")
private String handlerName;
/**
* 交付专员姓名
*/
@ExcelProperty(value = "交付专员电话")
private String handlerPhone;
/**
* 买家姓名
*/
@ExcelProperty(value = "买家姓名")
private String buyerName;
/**
* 买家联系电话
*/
@ExcelProperty(value = "买家联系电话")
private String buyerContact;
/**
* 车辆保管人姓名
*/
@ExcelProperty(value = "车辆保管人姓名")
private String custodianName;
/**
* 车辆保管人联系方式
*/
@ExcelProperty(value = "车辆保管人联系方式")
private String custodianPhone;
@ExcelProperty(value = "交付单创建时间")
@DateTimeFormat(value="yyyy-MM-dd HH:mm")
private Date createdDate;
@ExcelProperty(value = "交付单最后更新时间")
@DateTimeFormat(value="yyyy-MM-dd HH:mm:ss")
private Date updatedDate;
/**
* 车辆成交时间
*/
@ExcelProperty(value = "成交时间")
@DateTimeFormat(value="yyyy-MM-dd HH:mm:ss")
private Date transactionTime;
/**
* 工单状态:-1-已取消 0-待交付 1-进行中 2-交付完成
*/
@ExcelValueReplace(replace={"已取消_-1","待交付_0","进行中_1","交付完成_2"},repeatValue=true)
@ExcelProperty(value = "交付状态",converter= ReplaceIntegerToStringConvert.class)
private Integer orderStatus;
/**
* 尾款支付状态:0-未支付 1-已结清
*/
@ExcelValueReplace(replace={"未支付_0","已结清_1"},repeatValue=true)
@ExcelProperty(value = "付款状态",converter= ReplaceIntegerToStringConvert.class)
private Integer paymentStatus;
/**
* 交付方式:0-客户自提 1-安排送车
*/
@ExcelValueReplace(replace={"客户自提_0","安排送车_1"},repeatValue=true)
@ExcelProperty(value = "交付方式",converter= ReplaceIntegerToStringConvert.class)
private Integer deliveryType;
/**
* 关联拍卖编号(如 PM-20231025-088)
*/
@ExcelProperty(value = "拍卖场次")
private String auctionId;
/**
* 车源号(平台唯一识别编号)
*/
@ExcelProperty(value = "车源编号")
private String sourceNo;
/**
* 待付尾款总额(含所有费用)
*/
@ExcelProperty(value = "待付尾款总额")
private BigDecimal totalPayable;
@ExcelProperty(value = "其他费用")
private String otherFees;
/**
* 客户自提地址
*/
@ExcelProperty(value = "客户自提地址")
private String pickupAddress;
/**
* 送车上门地址
*/
@ExcelProperty(value = "送车上门地址")
private String deliveryAddress;
/**
* 预约交付/提车时间
*/
@ExcelProperty(value = "预约提车时间")
@DateTimeFormat(value="yyyy-MM-dd HH:mm:ss")
private Date scheduledTime;
/**
* 实际完成交付时间
*/
@ExcelProperty(value = "实际交付时间")
@DateTimeFormat(value="yyyy-MM-dd HH:mm:ss")
private Date actualTime;
}
...@@ -3,10 +3,12 @@ package com.gsc4cloud.gsc.vpc.api.feign.web.deliveryorder; ...@@ -3,10 +3,12 @@ package com.gsc4cloud.gsc.vpc.api.feign.web.deliveryorder;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gsc4cloud.gsc.common.core.constant.ServiceNameConstants; import com.gsc4cloud.gsc.common.core.constant.ServiceNameConstants;
import com.gsc4cloud.gsc.common.core.util.R; import com.gsc4cloud.gsc.common.core.util.R;
import com.gsc4cloud.gsc.vpc.api.dto.pad.resdto.deliveryorder.DeliveryOrderListCountResDTO;
import com.gsc4cloud.gsc.vpc.api.dto.web.resdto.deliveryorder.DeliveryOrderDetailResDTO; import com.gsc4cloud.gsc.vpc.api.dto.web.resdto.deliveryorder.DeliveryOrderDetailResDTO;
import com.gsc4cloud.gsc.vpc.api.dto.web.resdto.deliveryorder.DeliveryOrderListResDTO; import com.gsc4cloud.gsc.vpc.api.dto.web.resdto.deliveryorder.DeliveryOrderListResDTO;
import com.gsc4cloud.gsc.vpc.api.dto.web.resdto.deliveryorder.DeliveryOrderOpLogResDTO; import com.gsc4cloud.gsc.vpc.api.dto.web.resdto.deliveryorder.DeliveryOrderOpLogResDTO;
import com.gsc4cloud.gsc.vpc.api.req.PageRequest; import com.gsc4cloud.gsc.vpc.api.req.PageRequest;
import com.gsc4cloud.gsc.vpc.api.req.pad.deliveryorder.DeliveryOrderListPadReq;
import com.gsc4cloud.gsc.vpc.api.req.web.deliveryorder.DeliveryOrderDetailReq; import com.gsc4cloud.gsc.vpc.api.req.web.deliveryorder.DeliveryOrderDetailReq;
import com.gsc4cloud.gsc.vpc.api.req.web.deliveryorder.DeliveryOrderListReq; import com.gsc4cloud.gsc.vpc.api.req.web.deliveryorder.DeliveryOrderListReq;
import com.gsc4cloud.gsc.vpc.api.req.web.deliveryorder.DeliveryOrderOpLogReq; import com.gsc4cloud.gsc.vpc.api.req.web.deliveryorder.DeliveryOrderOpLogReq;
...@@ -29,9 +31,12 @@ public interface DeliveryOrderManageRemote { ...@@ -29,9 +31,12 @@ public interface DeliveryOrderManageRemote {
@PostMapping("/deliveryOrderManage/exportDeliveryOrderAsync") @PostMapping("/deliveryOrderManage/exportDeliveryOrderAsync")
R<String> exportDeliveryOrderAsync(DeliveryOrderListReq request); R<String> exportDeliveryOrderAsync(PageRequest<DeliveryOrderListReq> request);
@PostMapping("/deliveryOrderManage/getDeliveryOrderOpLog") @PostMapping("/deliveryOrderManage/getDeliveryOrderOpLog")
R<List<DeliveryOrderOpLogResDTO>> getDeliveryOrderOpLog(DeliveryOrderOpLogReq request); R<List<DeliveryOrderOpLogResDTO>> getDeliveryOrderOpLog(DeliveryOrderOpLogReq request);
@PostMapping("/deliveryOrderManage/getDeliveryOrderListCount")
R<DeliveryOrderListCountResDTO> getDeliveryOrderListCount(DeliveryOrderListPadReq request);
} }
...@@ -34,6 +34,4 @@ public class DeliveryOrderListPadReq { ...@@ -34,6 +34,4 @@ public class DeliveryOrderListPadReq {
private String createdEndDate; private String createdEndDate;
} }
...@@ -101,8 +101,6 @@ public class DeliveryOrderListReq { ...@@ -101,8 +101,6 @@ public class DeliveryOrderListReq {
private String pickupAddress; private String pickupAddress;
/** /**
* 车辆保管人姓名 * 车辆保管人姓名
*/ */
...@@ -176,4 +174,11 @@ public class DeliveryOrderListReq { ...@@ -176,4 +174,11 @@ public class DeliveryOrderListReq {
@Schema(description = "主键ids,多个以英文逗号隔开") @Schema(description = "主键ids,多个以英文逗号隔开")
private String ids; private String ids;
@Schema(description = "转化用户id(园区店)")
private String conversionUserId;
@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!