Commit 9464cdb7 by 周海宝

Merge branch 'v5.6.0' into 'master'

上线合并

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