Commit ec05a455 by 叶立庆

Merge branch 'master' into 'v5.8.3.6'

上线合并

See merge request !16
2 parents cdccd936 6614869b
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
<dependency> <dependency>
<groupId>cn.com.glsx.dj</groupId> <groupId>cn.com.glsx.dj</groupId>
<artifactId>rpc-dj-smartcarlife-api</artifactId> <artifactId>rpc-dj-smartcarlife-api</artifactId>
<version>5.8.3.5-SNAPSHOT</version> <version>5.8.3.2-SNAPSHOT</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>cn.com.glsx.dj</groupId> <groupId>cn.com.glsx.dj</groupId>
......
package cn.com.glsx.dj.carboutique.request.goods;
import cn.com.glsx.dj.smartcarlife.dto.CustomerInviteRecordDTO;
import cn.com.glsx.dj.smartcarlife.dto.GoodsSubOrderDTO;
import cn.com.glsx.dj.smartcarlife.model.CustomerInviteRecord;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.rop.AbstractRopRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import java.util.List;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CustomerProfileInfoRequest extends AbstractRopRequest {
/**
* 客户id
*/
@ApiModelProperty(notes = "客户id")
private Integer id;
/**
* 客户姓名
*/
@ApiModelProperty(notes = "客户姓名")
private String customerName;
/**
* 客户手机号
*/
@ApiModelProperty(notes = "客户手机号")
private String customerPhone;
/**
* 客户状态 1-待跟进 2-已升级 3-战败 4-已退款
*/
@ApiModelProperty(notes = "客户状态 1-待跟进 2-已升级 3-战败 4-已退款")
private Integer customerStatus;
/**
* 车架号
*/
@ApiModelProperty(notes = "车架号")
private String standNo;
/**
* 到店日期
*/
@ApiModelProperty(notes = "到店日期")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date inviteDate;
/**
* 车辆品牌id
*/
@ApiModelProperty(notes = "车辆品牌id")
private Integer carBrandId;
/**
* 车辆品牌名称
*/
@ApiModelProperty(notes = "车辆品牌名称")
private String carBrand;
/**
* 子品牌id
*/
@ApiModelProperty(notes = "子品牌id")
private Integer carChildsBrandId;
/**
* 子品牌名字
*/
@ApiModelProperty(notes = "子品牌名字")
private String carChildsBrandName;
/**
* 车系id
*/
@ApiModelProperty(notes = "车系id")
private Integer carSeriesId;
/**
* 车系名字
*/
@ApiModelProperty(notes = "车系名字")
private String carSeriesName;
/**
* 交付日期
*/
@ApiModelProperty(notes = "交付日期")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date deliveryDate;
/**
* 建档日期 创建时间
*/
@ApiModelProperty(notes = "建档日期 创建时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date createdDate;
/**
* 客户来源
*/
@ApiModelProperty(notes = "客户来源")
private Integer customerSource;
/**
* 流量来源 - 4s店id
*/
@ApiModelProperty(notes = "流量来源 - 4s店id")
private Integer merchantId;
/**
* 流量来源 - 4s店名称
*/
@ApiModelProperty(notes = "流量来源 - 4s店名称")
private String merchantName;
/**
* 流量来源 - 推荐人id
*/
@ApiModelProperty(notes = "流量来源 - 推荐人id")
private String userId;
/**
* 流量来源 - 推荐人名称
*/
@ApiModelProperty(notes = "流量来源 - 推荐人名称")
private String employeeName;
/**
* 预录员(转化员)用户ID 驻店零售id
*/
@ApiModelProperty(notes = "预录员(转化员)用户ID 驻店零售id")
private String advanceUserId;
/**
* 预录员(转化员)用户名称 驻店零售名称
*/
@ApiModelProperty(notes = "预录员(转化员)用户名称 驻店零售名称")
private String advanceUserName;
/**
* 客户群id
*/
@ApiModelProperty(notes = "客户群id")
private String qwGroupId;
/**
* 客户群名称
*/
@ApiModelProperty(notes = "客户群名称")
private String qwGroupName;
/**
* 微信id
*/
@ApiModelProperty(notes = "微信id")
private String wxId;
/**
* 微信名称
*/
@ApiModelProperty(notes = "微信名称")
private String wxName;
/**
* 备注
*/
@ApiModelProperty(notes = "备注")
private String remark;
/**
* 修改人
*/
@ApiModelProperty(notes = "修改人")
private String updatedBy;
/**
* 客户类别 A/B/C
*/
@ApiModelProperty(notes = "客户类别 A/B/C")
private String customerClass;
/**
* 商品信息
*/
@ApiModelProperty(notes = "商品信息")
private List<GoodsSubOrderDTO> goodsSubOrderDTOS;
/**
* 客户邀约记录
*/
@ApiModelProperty(notes = "客户邀约记录")
private List<CustomerInviteRecord> inviteRecord;
/**
* 开始时间
*/
@ApiModelProperty(notes = "开始时间")
private Date startTime;
/**
* 结束时间
*/
@ApiModelProperty(notes = "结束时间")
private Date endTime;
/**
* 客户状态
*/
private List<Integer> statusList;
/**
* 是否全量处理
*/
private String isAll;
/**
* 优惠券信息
*/
@ApiModelProperty(notes = "优惠券信息")
private CustomerInviteRecordDTO customerInviteRecordDTO;
/**
* 订单状态
*/
@ApiModelProperty(notes = "订单状态")
private Integer orderStatus;
/**
* 性别
*/
@ApiModelProperty(notes = "性别")
private Integer customerSex;
/**
* 分页参数 pageNum
*/
@ApiModelProperty(notes = "分页参数 pageNum")
private Integer pageNum;
@ApiModelProperty(notes = "分页参数 pageSize")
private Integer pageSize;
}
...@@ -34,6 +34,9 @@ public class PreliminaryOrderBatchRequest extends AbstractRopRequest { ...@@ -34,6 +34,9 @@ public class PreliminaryOrderBatchRequest extends AbstractRopRequest {
@ApiModelProperty(name="sellerMerchantId", notes = "园区店商户号", dataType = "int", required = true) @ApiModelProperty(name="sellerMerchantId", notes = "园区店商户号", dataType = "int", required = true)
private Integer sellerMerchantId; private Integer sellerMerchantId;
@ApiModelProperty(name = "createDate", notes = "创建时间", dataType = "String")
private String createDate;
@NotEmpty @NotEmpty
@ApiModelProperty(name = "preliminaryOrders", notes = "快速建档客户信息集合", required = true) @ApiModelProperty(name = "preliminaryOrders", notes = "快速建档客户信息集合", required = true)
private List<GoodsOrderCustomer> preliminaryOrders; private List<GoodsOrderCustomer> preliminaryOrders;
......
...@@ -71,4 +71,7 @@ public class PreliminaryOrderRequest extends AbstractRopRequest{ ...@@ -71,4 +71,7 @@ public class PreliminaryOrderRequest extends AbstractRopRequest{
@ApiModelProperty(name = "businessType", notes = "业务类型", dataType = "Byte", required = false) @ApiModelProperty(name = "businessType", notes = "业务类型", dataType = "Byte", required = false)
private Byte businessType; private Byte businessType;
@ApiModelProperty(name = "createDate", notes = "创建时间", dataType = "String")
private String createDate;
} }
...@@ -191,7 +191,7 @@ public class VdQuotationService { ...@@ -191,7 +191,7 @@ public class VdQuotationService {
} }
// 赋值是否需要审批 非正常订单需要发起审批 // 赋值是否需要审批 非正常订单需要发起审批
Integer orderType = quotationSaveRopRequest.getOrderType() == null ? OrderTypeEnum.NORMAL.getCode() : quotationSaveRopRequest.getOrderType(); Integer orderType = quotationSaveRopRequest.getOrderType() == null ? OrderTypeEnum.NORMAL.getCode() : quotationSaveRopRequest.getOrderType();
if (!OrderTypeEnum.NORMAL.getCode().equals(orderType)){ if (!(OrderTypeEnum.NORMAL.getCode().equals(orderType) || OrderTypeEnum.INTERNAL_SETTLEMENT.getCode().equals(orderType))){
requestDTO.setAuditFlag(Boolean.TRUE); requestDTO.setAuditFlag(Boolean.TRUE);
} }
RpcResponse<Integer> response = vdQuotationRemote.saveQuotationRemote(requestDTO); RpcResponse<Integer> response = vdQuotationRemote.saveQuotationRemote(requestDTO);
...@@ -567,7 +567,7 @@ public class VdQuotationService { ...@@ -567,7 +567,7 @@ public class VdQuotationService {
} }
// 赋值是否需要审批 非正常订单需要发起审批 // 赋值是否需要审批 非正常订单需要发起审批
Integer orderType = quotationUpdateRopRequest.getOrderType() == null ? OrderTypeEnum.NORMAL.getCode() : quotationUpdateRopRequest.getOrderType(); Integer orderType = quotationUpdateRopRequest.getOrderType() == null ? OrderTypeEnum.NORMAL.getCode() : quotationUpdateRopRequest.getOrderType();
if (!OrderTypeEnum.NORMAL.getCode().equals(orderType)){ if (!(OrderTypeEnum.NORMAL.getCode().equals(orderType) || OrderTypeEnum.INTERNAL_SETTLEMENT.getCode().equals(orderType))) {
requestDTO.setAuditFlag(Boolean.TRUE); requestDTO.setAuditFlag(Boolean.TRUE);
} }
RpcResponse<Integer> response = vdQuotationRemote.updateVehicleDamageQuotationRemote(requestDTO); RpcResponse<Integer> response = vdQuotationRemote.updateVehicleDamageQuotationRemote(requestDTO);
...@@ -933,7 +933,7 @@ public class VdQuotationService { ...@@ -933,7 +933,7 @@ public class VdQuotationService {
QuotationDTO requestDTO = getQuotationDTO(quotationSaveRopRequest); QuotationDTO requestDTO = getQuotationDTO(quotationSaveRopRequest);
// 赋值是否需要审批 非正常订单需要发起审批 // 赋值是否需要审批 非正常订单需要发起审批
Integer orderType = quotationSaveRopRequest.getOrderType() == null ? OrderTypeEnum.NORMAL.getCode() : quotationSaveRopRequest.getOrderType(); Integer orderType = quotationSaveRopRequest.getOrderType() == null ? OrderTypeEnum.NORMAL.getCode() : quotationSaveRopRequest.getOrderType();
if (!OrderTypeEnum.NORMAL.getCode().equals(orderType)){ if (!(OrderTypeEnum.NORMAL.getCode().equals(orderType) || OrderTypeEnum.INTERNAL_SETTLEMENT.getCode().equals(orderType))) {
requestDTO.setAuditFlag(Boolean.TRUE); requestDTO.setAuditFlag(Boolean.TRUE);
} }
RpcResponse<Integer> response = vdQuotationRemote.additionalRecordingVehicleDamageQuotationRemote(requestDTO); RpcResponse<Integer> response = vdQuotationRemote.additionalRecordingVehicleDamageQuotationRemote(requestDTO);
...@@ -952,7 +952,7 @@ public class VdQuotationService { ...@@ -952,7 +952,7 @@ public class VdQuotationService {
} }
// 赋值是否需要审批 非正常订单需要发起审批 // 赋值是否需要审批 非正常订单需要发起审批
Integer orderType = quotationSaveRopRequest.getOrderType() == null ? OrderTypeEnum.NORMAL.getCode() : quotationSaveRopRequest.getOrderType(); Integer orderType = quotationSaveRopRequest.getOrderType() == null ? OrderTypeEnum.NORMAL.getCode() : quotationSaveRopRequest.getOrderType();
if (!OrderTypeEnum.NORMAL.getCode().equals(orderType)){ if (!(OrderTypeEnum.NORMAL.getCode().equals(orderType) || OrderTypeEnum.INTERNAL_SETTLEMENT.getCode().equals(orderType))){
requestDTO.setAuditFlag(Boolean.TRUE); requestDTO.setAuditFlag(Boolean.TRUE);
} }
RpcResponse<Boolean> response = vdQuotationRemote.correctOrder(requestDTO); RpcResponse<Boolean> response = vdQuotationRemote.correctOrder(requestDTO);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!