Commit 238d8c9a authored by jiaorz's avatar jiaorz

Merge branch 'master-vehicle-bug'

parents 5cc31ee5 b579d035
...@@ -190,7 +190,7 @@ public class AuthController { ...@@ -190,7 +190,7 @@ public class AuthController {
data.put("status",1001); data.put("status",1001);
}else { }else {
Integer positionId=result.getInteger("positionId")==null?0:result.getInteger("positionId"); Integer positionId=result.getInteger("positionId")==null?0:result.getInteger("positionId");
if (positionId==4 || positionId==1 || positionId==2 || positionId==3){ if (positionId <= 5 && positionId > 0){
String token=appAuthService.getToken(username,result.getInteger("userId")); String token=appAuthService.getToken(username,result.getInteger("userId"));
data.put("token",token); data.put("token",token);
}else { }else {
......
...@@ -66,6 +66,12 @@ public class Vehicle { ...@@ -66,6 +66,12 @@ public class Vehicle {
private Integer strongInsuranceCompany; private Integer strongInsuranceCompany;
/**
* 电子保单
*/
@Column(name = "insurance_pdf")
private String insurancePDF;
/** /**
* 保险单号 * 保险单号
......
...@@ -166,4 +166,9 @@ public class AddOrUpdateVehicleVo { ...@@ -166,4 +166,9 @@ public class AddOrUpdateVehicleVo {
* 通讯类型 * 通讯类型
*/ */
private String communicationType; private String communicationType;
/**
* 电子保单
*/
private String insurancePDF;
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment