Commit 92592101 by zhouhaibao

[+]新增参数

1 parent 1d8d5ebc
......@@ -7,7 +7,7 @@
</parent>
<groupId>cn.com.glsx</groupId>
<artifactId>rpc-dj-mindworkplate-api</artifactId>
<version>5.5.3-SNAPSHOT</version>
<version>5.6.0-SNAPSHOT</version>
<name>rpc-dj-mindworkplate-api</name>
<properties>
<deploy.scanPackage>cn.com.glsx.remote</deploy.scanPackage>
......@@ -33,7 +33,7 @@
<dependency>
<groupId>cn.com.glsx</groupId>
<artifactId>rpc-dj-mindworkplate-api</artifactId>
<version>5.5.3-SNAPSHOT</version>
<version>5.6.0-SNAPSHOT</version>
</dependency>
</dependencies>
</plugin>
......
......@@ -170,5 +170,20 @@ public class CustomerVisitsInfoDTO implements Serializable {
*/
private int solutionBrowsingCount=0;
@ApiModelProperty(notes = "车辆型号id")
private Integer carModelId;
@ApiModelProperty(notes = "车辆品牌")
private String carBrand;
@ApiModelProperty(notes = "车辆品牌id")
private Integer carBrandId;
@ApiModelProperty(notes = "车辆一级品牌")
private String oneCarBrand;
@ApiModelProperty(notes = "车辆一级品牌id")
private Integer oneCarBrandId;
private List<CustomerVisitsLabelInfoDTO> customerVisitsLabelInfoDTOList;
}
\ No newline at end of file
package cn.com.glsx.dj.mindworkplate.model;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;
......@@ -135,5 +136,23 @@ public class CustomerVisitsInfo implements Serializable {
@Column(name = "customer_tag_name")
private String customerTagName;
@ApiModelProperty(notes = "车辆型号id")
@Column(name = "car_model_id")
private Integer carModelId;
@ApiModelProperty(notes = "车辆品牌")
@Column(name = "car_brand")
private String carBrand;
@ApiModelProperty(notes = "车辆品牌id")
@Column(name = "car_brand_id")
private Integer carBrandId;
@ApiModelProperty(notes = "车辆一级品牌")
@Column(name="one_car_brand")
private String oneCarBrand;
@ApiModelProperty(notes = "车辆一级品牌id")
@Column(name="one_car_brand_id")
private Integer oneCarBrandId;
}
\ No newline at end of file
......@@ -46,7 +46,7 @@
<dependency>
<groupId>cn.com.glsx</groupId>
<artifactId>rpc-dj-mindworkplate-api</artifactId>
<version>5.5.3-SNAPSHOT</version>
<version>5.6.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>cn.com.glsx.dj</groupId>
......
......@@ -46,6 +46,11 @@
<result column="receptionStatus" property="receptionStatus" jdbcType="TINYINT" />
<result column="merchant_id" property="merchantId" jdbcType="INTEGER" />
<result column="customer_tag_name" property="customerTagName" jdbcType="VARCHAR" />
<result column="car_model_id" property="carModelId" jdbcType="INTEGER" />
<result column="car_brand" property="carBrand" jdbcType="VARCHAR" />
<result column="car_brand_id" property="carBrandId" jdbcType="INTEGER" />
<result column="one_car_brand" property="oneCarBrand" jdbcType="VARCHAR" />
<result column="one_car_brand_id" property="oneCarBrandId" jdbcType="INTEGER" />
</resultMap>
<sql id="Base_Column_List" >
<!--
......
......@@ -40,6 +40,15 @@ public class CustomerVisitsTest extends BaseServiceTest{
.createdBy("测试")
.bussinessScene(1)
.merchantId(44211468)
.createdByName("测试")
.bussinessScene(1)
.merchantId(44211227)
.updatedBy("测试")
.carModelId(1)
.carBrand("测试品牌")
.carBrandId(1)
.oneCarBrand("测试一级品牌")
.oneCarBrandId(1)
.build();
System.out.println(customerVisitsInfoService.saveVisitsInfo(build));
}
......@@ -66,7 +75,7 @@ public class CustomerVisitsTest extends BaseServiceTest{
public void updateVisitsInfo() {
CustomerVisitsInfo build = CustomerVisitsInfo.builder().merchantId(4211127)
.ownerPhone("13476670749")
.id(3)
.id(69)
.ownerName("测试1")
.customerTag("1124545,1211")
.arrivalDate(new Date())
......@@ -74,6 +83,11 @@ public class CustomerVisitsTest extends BaseServiceTest{
.receptionScene(1)
.brandModel("测试车型1")
.updatedBy("测试1")
.carModelId(2)
.carBrand("测试品牌1")
.carBrandId(2)
.oneCarBrand("测试一级品牌1")
.oneCarBrandId(2)
.build();
customerVisitsInfoService.updateVisitsInfo(build);
}
......@@ -130,6 +144,8 @@ public class CustomerVisitsTest extends BaseServiceTest{
rpcPagination.setPageSize(10);
CustomerVisitsInfoDTO customerVisitsInfoDTO=new CustomerVisitsInfoDTO();
customerVisitsInfoDTO.setBussinessScene(1);
customerVisitsInfoDTO.setOwnerPhone("13476670749");
customerVisitsInfoDTO.setOwnerName("测试1");
rpcPagination.setCondition(customerVisitsInfoDTO);
Page<CustomerVisitsInfoDTO> customerVisitsInfoDTOS = customerVisitsInfoService.customerInfoListPage(
rpcPagination);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!