Commit 415e1e3e by wubh

包活干V1.9.0-修改:补全前端详细信息

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@27036 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent cd504339
...@@ -45,6 +45,10 @@ public class InsuranceResp implements Serializable { ...@@ -45,6 +45,10 @@ public class InsuranceResp implements Serializable {
@ExcelColumn(value = "设备号", index = 5) @ExcelColumn(value = "设备号", index = 5)
private String gpsNo; private String gpsNo;
/** /**
* 安装时间
*/
private String installationTime;
/**
* 提交时间 * 提交时间
*/ */
@ExcelColumn(value = "提交时间", index = 6) @ExcelColumn(value = "提交时间", index = 6)
...@@ -130,7 +134,7 @@ public class InsuranceResp implements Serializable { ...@@ -130,7 +134,7 @@ public class InsuranceResp implements Serializable {
private String insurancePdf; private String insurancePdf;
public Integer getId() { public Integer getId() {
return this.id; return id;
} }
public void setId(Integer id) { public void setId(Integer id) {
...@@ -138,7 +142,7 @@ public class InsuranceResp implements Serializable { ...@@ -138,7 +142,7 @@ public class InsuranceResp implements Serializable {
} }
public String getInsuranceId() { public String getInsuranceId() {
return this.insuranceId; return insuranceId;
} }
public void setInsuranceId(String insuranceId) { public void setInsuranceId(String insuranceId) {
...@@ -146,7 +150,7 @@ public class InsuranceResp implements Serializable { ...@@ -146,7 +150,7 @@ public class InsuranceResp implements Serializable {
} }
public String getVehicleOwnerName() { public String getVehicleOwnerName() {
return this.vehicleOwnerName; return vehicleOwnerName;
} }
public void setVehicleOwnerName(String vehicleOwnerName) { public void setVehicleOwnerName(String vehicleOwnerName) {
...@@ -154,7 +158,7 @@ public class InsuranceResp implements Serializable { ...@@ -154,7 +158,7 @@ public class InsuranceResp implements Serializable {
} }
public String getPhone() { public String getPhone() {
return this.phone; return phone;
} }
public void setPhone(String phone) { public void setPhone(String phone) {
...@@ -162,7 +166,7 @@ public class InsuranceResp implements Serializable { ...@@ -162,7 +166,7 @@ public class InsuranceResp implements Serializable {
} }
public String getVin() { public String getVin() {
return this.vin; return vin;
} }
public void setVin(String vin) { public void setVin(String vin) {
...@@ -170,15 +174,23 @@ public class InsuranceResp implements Serializable { ...@@ -170,15 +174,23 @@ public class InsuranceResp implements Serializable {
} }
public String getGpsNo() { public String getGpsNo() {
return this.gpsNo; return gpsNo;
} }
public void setGpsNo(String gpsNo) { public void setGpsNo(String gpsNo) {
this.gpsNo = gpsNo; this.gpsNo = gpsNo;
} }
public String getInstallationTime() {
return installationTime;
}
public void setInstallationTime(String installationTime) {
this.installationTime = installationTime;
}
public String getApplyTime() { public String getApplyTime() {
return this.applyTime; return applyTime;
} }
public void setApplyTime(String applyTime) { public void setApplyTime(String applyTime) {
...@@ -186,7 +198,7 @@ public class InsuranceResp implements Serializable { ...@@ -186,7 +198,7 @@ public class InsuranceResp implements Serializable {
} }
public String getExpectedEffectiveTime() { public String getExpectedEffectiveTime() {
return this.expectedEffectiveTime; return expectedEffectiveTime;
} }
public void setExpectedEffectiveTime(String expectedEffectiveTime) { public void setExpectedEffectiveTime(String expectedEffectiveTime) {
...@@ -194,7 +206,7 @@ public class InsuranceResp implements Serializable { ...@@ -194,7 +206,7 @@ public class InsuranceResp implements Serializable {
} }
public Byte getStatus() { public Byte getStatus() {
return this.status; return status;
} }
public void setStatus(Byte status) { public void setStatus(Byte status) {
...@@ -202,7 +214,7 @@ public class InsuranceResp implements Serializable { ...@@ -202,7 +214,7 @@ public class InsuranceResp implements Serializable {
} }
public String getStatusText() { public String getStatusText() {
return this.statusText; return statusText;
} }
public void setStatusText(String statusText) { public void setStatusText(String statusText) {
...@@ -210,7 +222,7 @@ public class InsuranceResp implements Serializable { ...@@ -210,7 +222,7 @@ public class InsuranceResp implements Serializable {
} }
public Integer getInsurancePeriod() { public Integer getInsurancePeriod() {
return this.insurancePeriod; return insurancePeriod;
} }
public void setInsurancePeriod(Integer insurancePeriod) { public void setInsurancePeriod(Integer insurancePeriod) {
...@@ -218,7 +230,7 @@ public class InsuranceResp implements Serializable { ...@@ -218,7 +230,7 @@ public class InsuranceResp implements Serializable {
} }
public String getVehicleNo() { public String getVehicleNo() {
return this.vehicleNo; return vehicleNo;
} }
public void setVehicleNo(String vehicleNo) { public void setVehicleNo(String vehicleNo) {
...@@ -226,7 +238,7 @@ public class InsuranceResp implements Serializable { ...@@ -226,7 +238,7 @@ public class InsuranceResp implements Serializable {
} }
public String getEngineNumber() { public String getEngineNumber() {
return this.engineNumber; return engineNumber;
} }
public void setEngineNumber(String engineNumber) { public void setEngineNumber(String engineNumber) {
...@@ -234,7 +246,7 @@ public class InsuranceResp implements Serializable { ...@@ -234,7 +246,7 @@ public class InsuranceResp implements Serializable {
} }
public String getCarBrand() { public String getCarBrand() {
return this.carBrand; return carBrand;
} }
public void setCarBrand(String carBrand) { public void setCarBrand(String carBrand) {
...@@ -242,7 +254,7 @@ public class InsuranceResp implements Serializable { ...@@ -242,7 +254,7 @@ public class InsuranceResp implements Serializable {
} }
public Byte getIdCardType() { public Byte getIdCardType() {
return this.idCardType; return idCardType;
} }
public void setIdCardType(Byte idCardType) { public void setIdCardType(Byte idCardType) {
...@@ -250,7 +262,7 @@ public class InsuranceResp implements Serializable { ...@@ -250,7 +262,7 @@ public class InsuranceResp implements Serializable {
} }
public String getIdCardTypeText() { public String getIdCardTypeText() {
return this.idCardTypeText; return idCardTypeText;
} }
public void setIdCardTypeText(String idCardTypeText) { public void setIdCardTypeText(String idCardTypeText) {
...@@ -258,7 +270,7 @@ public class InsuranceResp implements Serializable { ...@@ -258,7 +270,7 @@ public class InsuranceResp implements Serializable {
} }
public String getIdCardNum() { public String getIdCardNum() {
return this.idCardNum; return idCardNum;
} }
public void setIdCardNum(String idCardNum) { public void setIdCardNum(String idCardNum) {
...@@ -266,7 +278,7 @@ public class InsuranceResp implements Serializable { ...@@ -266,7 +278,7 @@ public class InsuranceResp implements Serializable {
} }
public String getVehicleInvoiceMoney() { public String getVehicleInvoiceMoney() {
return this.vehicleInvoiceMoney; return vehicleInvoiceMoney;
} }
public void setVehicleInvoiceMoney(String vehicleInvoiceMoney) { public void setVehicleInvoiceMoney(String vehicleInvoiceMoney) {
...@@ -274,7 +286,7 @@ public class InsuranceResp implements Serializable { ...@@ -274,7 +286,7 @@ public class InsuranceResp implements Serializable {
} }
public String getTastingUnit() { public String getTastingUnit() {
return this.tastingUnit; return tastingUnit;
} }
public void setTastingUnit(String tastingUnit) { public void setTastingUnit(String tastingUnit) {
...@@ -282,7 +294,7 @@ public class InsuranceResp implements Serializable { ...@@ -282,7 +294,7 @@ public class InsuranceResp implements Serializable {
} }
public String getResponseData() { public String getResponseData() {
return this.responseData; return responseData;
} }
public void setResponseData(String responseData) { public void setResponseData(String responseData) {
...@@ -290,7 +302,7 @@ public class InsuranceResp implements Serializable { ...@@ -290,7 +302,7 @@ public class InsuranceResp implements Serializable {
} }
public Byte getCustomerType() { public Byte getCustomerType() {
return this.customerType; return customerType;
} }
public void setCustomerType(Byte customerType) { public void setCustomerType(Byte customerType) {
...@@ -298,7 +310,7 @@ public class InsuranceResp implements Serializable { ...@@ -298,7 +310,7 @@ public class InsuranceResp implements Serializable {
} }
public String getVehicleOwnerAddress() { public String getVehicleOwnerAddress() {
return this.vehicleOwnerAddress; return vehicleOwnerAddress;
} }
public void setVehicleOwnerAddress(String vehicleOwnerAddress) { public void setVehicleOwnerAddress(String vehicleOwnerAddress) {
...@@ -306,7 +318,7 @@ public class InsuranceResp implements Serializable { ...@@ -306,7 +318,7 @@ public class InsuranceResp implements Serializable {
} }
public String getVehicleColor() { public String getVehicleColor() {
return this.vehicleColor; return vehicleColor;
} }
public void setVehicleColor(String vehicleColor) { public void setVehicleColor(String vehicleColor) {
...@@ -314,7 +326,7 @@ public class InsuranceResp implements Serializable { ...@@ -314,7 +326,7 @@ public class InsuranceResp implements Serializable {
} }
public String getInsurancePdf() { public String getInsurancePdf() {
return this.insurancePdf; return insurancePdf;
} }
public void setInsurancePdf(String insurancePdf) { public void setInsurancePdf(String insurancePdf) {
...@@ -324,30 +336,31 @@ public class InsuranceResp implements Serializable { ...@@ -324,30 +336,31 @@ public class InsuranceResp implements Serializable {
@Override @Override
public String toString() { public String toString() {
return "InsuranceResp{" + return "InsuranceResp{" +
"id=" + this.id + "id=" + id +
", insuranceId='" + this.insuranceId + '\'' + ", insuranceId='" + insuranceId + '\'' +
", vehicleOwnerName='" + this.vehicleOwnerName + '\'' + ", vehicleOwnerName='" + vehicleOwnerName + '\'' +
", phone='" + this.phone + '\'' + ", phone='" + phone + '\'' +
", vin='" + this.vin + '\'' + ", vin='" + vin + '\'' +
", gpsNo='" + this.gpsNo + '\'' + ", gpsNo='" + gpsNo + '\'' +
", applyTime='" + this.applyTime + '\'' + ", installationTime='" + installationTime + '\'' +
", expectedEffectiveTime='" + this.expectedEffectiveTime + '\'' + ", applyTime='" + applyTime + '\'' +
", status=" + this.status + ", expectedEffectiveTime='" + expectedEffectiveTime + '\'' +
", statusText='" + this.statusText + '\'' + ", status=" + status +
", insurancePeriod=" + this.insurancePeriod + ", statusText='" + statusText + '\'' +
", vehicleNo='" + this.vehicleNo + '\'' + ", insurancePeriod=" + insurancePeriod +
", engineNumber='" + this.engineNumber + '\'' + ", vehicleNo='" + vehicleNo + '\'' +
", carBrand='" + this.carBrand + '\'' + ", engineNumber='" + engineNumber + '\'' +
", idCardType=" + this.idCardType + ", carBrand='" + carBrand + '\'' +
", idCardTypeText='" + this.idCardTypeText + '\'' + ", idCardType=" + idCardType +
", idCardNum='" + this.idCardNum + '\'' + ", idCardTypeText='" + idCardTypeText + '\'' +
", vehicleInvoiceMoney='" + this.vehicleInvoiceMoney + '\'' + ", idCardNum='" + idCardNum + '\'' +
", tastingUnit='" + this.tastingUnit + '\'' + ", vehicleInvoiceMoney='" + vehicleInvoiceMoney + '\'' +
", responseData='" + this.responseData + '\'' + ", tastingUnit='" + tastingUnit + '\'' +
", customerType=" + this.customerType + ", responseData='" + responseData + '\'' +
", vehicleOwnerAddress='" + this.vehicleOwnerAddress + '\'' + ", customerType=" + customerType +
", vehicleColor='" + this.vehicleColor + '\'' + ", vehicleOwnerAddress='" + vehicleOwnerAddress + '\'' +
", insurancePdf='" + this.insurancePdf + '\'' + ", vehicleColor='" + vehicleColor + '\'' +
", insurancePdf='" + insurancePdf + '\'' +
'}'; '}';
} }
} }
package com.glsx.ordercenter.service.impl; package com.glsx.ordercenter.service.impl;
import java.math.RoundingMode;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.concurrent.Semaphore;
import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo; import com.github.pagehelper.PageInfo;
import com.glsx.common.constants.ResultObject; import com.glsx.common.constants.ResultObject;
...@@ -37,12 +42,6 @@ import org.springframework.transaction.annotation.Transactional; ...@@ -37,12 +42,6 @@ import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.context.request.RequestContextHolder; import org.springframework.web.context.request.RequestContextHolder;
import org.springframework.web.context.request.ServletRequestAttributes; import org.springframework.web.context.request.ServletRequestAttributes;
import java.math.RoundingMode;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.concurrent.Semaphore;
/** /**
* <p>Description: 保险Service * <p>Description: 保险Service
* *
...@@ -399,6 +398,8 @@ public class InsuranceServiceImpl extends BaseOrderService implements InsuranceS ...@@ -399,6 +398,8 @@ public class InsuranceServiceImpl extends BaseOrderService implements InsuranceS
BeanUtils.copyProperties(insurancePolicy, insuranceResp); BeanUtils.copyProperties(insurancePolicy, insuranceResp);
// 特殊处理的几个字段 // 特殊处理的几个字段
insuranceResp.setInstallationTime(
DateUtil.formatDate(insurancePolicy.getInstallationTime()));
insuranceResp.setApplyTime( insuranceResp.setApplyTime(
DateUtil.formatDate(insurancePolicy.getCreateTime())); DateUtil.formatDate(insurancePolicy.getCreateTime()));
insuranceResp.setExpectedEffectiveTime( insuranceResp.setExpectedEffectiveTime(
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!