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