Commit bfa022d7 by zhengxj

finish 处理到处技工信息为空问题 on 20200311 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@26095 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent bb8104c5
......@@ -117,7 +117,7 @@ public class ReportController extends BaseReportController {
JSONObject user = userClient.getUserById(oueryOrderReq.getUserId());
int userType = user.getIntValue("userType");
oueryOrderReq.setUserType(userType);
oueryOrderReq.setNeedMoreInfo(true);
List<SysOrder> list = orderService.getOrderListByExample(null, null, oueryOrderReq);
if (list.size() > 10000) {
......@@ -135,7 +135,8 @@ public class ReportController extends BaseReportController {
exportOrderVo.setActiveStatus(
tranceActiveStatus(sysOrder.getActiveStatus(), userType, sysOrder.getCanceled()));
if (sysOrder.getMachanicInfo() != null) {
exportOrderVo.setMerchanicInfo(sysOrder.getMachanicInfo().getName() + "\r\n" + sysOrder.getMachanicInfo().getPhone());
exportOrderVo.setMechanicInfo(
sysOrder.getMachanicInfo().getName() + "\n" + sysOrder.getMachanicInfo().getPhone());
}
//订单类型
exportOrderVo.setOrderType(tranceOrderType(sysOrder.getOrderType()));
......@@ -143,7 +144,7 @@ public class ReportController extends BaseReportController {
}
}
try {
exportObject(response, list1, "导出订单列表");
exportObject(response, list1, "导出订单列表", true);
} catch (IOException e) {
logger.info("导出订单列表异常");
}
......@@ -283,7 +284,8 @@ public class ReportController extends BaseReportController {
}
exportOrderVo.setActiveStatus(tranceActiveStatus(sysOrder.getActiveStatus(), oueryOrderReq.getUserType(), sysOrder.getCanceled()));
if (sysOrder.getMachanicInfo() != null) {
exportOrderVo.setMerchanicInfo(sysOrder.getMachanicInfo().getName() + "\r\n" + sysOrder.getMachanicInfo().getPhone());
exportOrderVo.setMechanicInfo(
sysOrder.getMachanicInfo().getName() + "\r\n" + sysOrder.getMachanicInfo().getPhone());
}
//订单类型
exportOrderVo.setOrderType(tranceOrderType(sysOrder.getOrderType()));
......
......@@ -27,7 +27,7 @@ public class ExportOrderVo {
private String serviceType;
@ExcelColumn(value = "技工信息",index = 6)
private String merchanicInfo;
private String mechanicInfo;
@ExcelColumn(value = "车架号",index = 7)
private String vinNo;
......@@ -120,12 +120,12 @@ public class ExportOrderVo {
this.serviceType = serviceType;
}
public String getMerchanicInfo() {
return merchanicInfo;
public String getMechanicInfo() {
return mechanicInfo;
}
public void setMerchanicInfo(String merchanicInfo) {
this.merchanicInfo = merchanicInfo;
public void setMechanicInfo(String mechanicInfo) {
this.mechanicInfo = mechanicInfo;
}
public String getAddress() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!