Commit 45c712b6 by xiaoyj

测试提测

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@21441 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent ab37ab27
......@@ -69,6 +69,11 @@ public class ReportController extends BaseReportController{
for(SysOrder sysOrder:list){
ExportOrderVo exportOrderVo=new ExportOrderVo();
BeanUtils.copyProperties(sysOrder,exportOrderVo);
if("1".equals(sysOrder.getServiceType())){
exportOrderVo.setServiceType("上门");
}else{
exportOrderVo.setServiceType("驻店");
}
exportOrderVo.setActiveStatus(tranceActiveStatus(sysOrder.getActiveStatus()));
if(sysOrder.getMachanicInfo()!=null){
exportOrderVo.setMerchanicInfo(sysOrder.getMachanicInfo().getName()+"\r\n"+sysOrder.getMachanicInfo().getPhone());
......@@ -86,19 +91,21 @@ public class ReportController extends BaseReportController{
if(activeStatus==1){
return "商户已派单";
}else if(activeStatus==2){
return "服务商已接单,未指派给技工";
return "服务商已接单";
}else if(activeStatus==3){
return "服务商拒单";
return "服务商已拒单";
}else if(activeStatus==4){
return "服务商已派单,技工未接单";
return "服务商已指派";
}else if(activeStatus==5){
return "技工拒单";
}else if(activeStatus==6){
return "技工接单未预约";
return "技工已接单";
} else if(activeStatus==7){
return "技工已预约,未完成";
}else{
return "技工已预约";
}else if(activeStatus==8){
return "已完成";
}else{
return "已取消";
}
}
......
......@@ -15,7 +15,7 @@ public class ExportOrderVo {
private String orderChannel;
@ExcelColumn(value = "服务类型",index = 2)
private String installDeviceType;
private String installDeviceTypeName;
@ExcelColumn(value = "派单日期",index = 3,pattern = "yyyy-MM-dd HH:mm:ss")
private Date createTime;
......@@ -29,24 +29,24 @@ public class ExportOrderVo {
@ExcelColumn(value = "技工信息",index = 6)
private String merchanicInfo;
@ExcelColumn(value = "服务地址",index = 7)
private String adress;
@ExcelColumn(value = "车架号",index = 8)
@ExcelColumn(value = "车架号",index = 7)
private String vinNo;
@ExcelColumn(value = "车主姓名",index = 9)
@ExcelColumn(value = "车主姓名",index = 8)
private String carOwner;
@ExcelColumn(value = "商户名称",index = 10)
@ExcelColumn(value = "商户名称",index = 9)
private String merchantName;
@ExcelColumn(value = "(所在省",index = 11)
@ExcelColumn(value = "所在省",index = 10)
private String province;
@ExcelColumn(value = "所在市",index = 12)
@ExcelColumn(value = "所在市",index = 11)
private String city;
@ExcelColumn(value = "服务地址",index = 12)
private String address;
@ExcelColumn(value = "第三方工单号",index = 13)
private String workOrderNo;
......@@ -66,12 +66,12 @@ public class ExportOrderVo {
this.orderChannel = orderChannel;
}
public String getInstallDeviceType() {
return installDeviceType;
public String getInstallDeviceTypeName() {
return installDeviceTypeName;
}
public void setInstallDeviceType(String installDeviceType) {
this.installDeviceType = installDeviceType;
public void setInstallDeviceTypeName(String installDeviceTypeName) {
this.installDeviceTypeName = installDeviceTypeName;
}
public Date getCreateTime() {
......@@ -106,12 +106,12 @@ public class ExportOrderVo {
this.merchanicInfo = merchanicInfo;
}
public String getAdress() {
return adress;
public String getAddress() {
return address;
}
public void setAdress(String adress) {
this.adress = adress;
public void setAddress(String address) {
this.address = address;
}
public String getVinNo() {
......
......@@ -26,15 +26,15 @@ public class ExportUnknownOrderVo {
@ExcelColumn(value = "未派单原因",index = 5)
private String reason;
@ExcelColumn(value = "服务地址",index = 6)
private String address;
@ExcelColumn(value = "(所在省",index = 7)
@ExcelColumn(value = "所在省",index = 6)
private String province;
@ExcelColumn(value = "所在市",index = 8)
@ExcelColumn(value = "所在市",index = 7)
private String city;
@ExcelColumn(value = "服务地址",index = 8)
private String address;
@ExcelColumn(value = "第三方工单号",index = 9)
private String workOrderNo;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!