|
|
@ -63,6 +63,8 @@ public class BsGasOrderController { |
|
|
|
@RequestParam(name = "orderNo", required = false) String orderNo, |
|
|
|
@RequestParam(name = "orderNo", required = false) String orderNo, |
|
|
|
@RequestParam(name = "payType", required = false) String payType, |
|
|
|
@RequestParam(name = "payType", required = false) String payType, |
|
|
|
@RequestParam(name = "paySerialNo", required = false) String paySerialNo, |
|
|
|
@RequestParam(name = "paySerialNo", required = false) String paySerialNo, |
|
|
|
|
|
|
|
@RequestParam(name = "channelType", required = false) Integer channelType, |
|
|
|
|
|
|
|
@RequestParam(name = "channelOrderNo", required = false) String channelOrderNo, |
|
|
|
@RequestParam(name = "status", required = false) Integer status, |
|
|
|
@RequestParam(name = "status", required = false) Integer status, |
|
|
|
@RequestParam(name = "createTimeS", required = false) Long createTimeS, |
|
|
|
@RequestParam(name = "createTimeS", required = false) Long createTimeS, |
|
|
|
@RequestParam(name = "createTimeE", required = false) Long createTimeE, |
|
|
|
@RequestParam(name = "createTimeE", required = false) Long createTimeE, |
|
|
@ -81,6 +83,8 @@ public class BsGasOrderController { |
|
|
|
param.put("orderNo", orderNo); |
|
|
|
param.put("orderNo", orderNo); |
|
|
|
param.put("payType", payType); |
|
|
|
param.put("payType", payType); |
|
|
|
param.put("paySerialNo", paySerialNo); |
|
|
|
param.put("paySerialNo", paySerialNo); |
|
|
|
|
|
|
|
param.put("channelType", channelType); |
|
|
|
|
|
|
|
param.put("channelOrderNo", channelOrderNo); |
|
|
|
param.put("userPhone", userPhone); |
|
|
|
param.put("userPhone", userPhone); |
|
|
|
param.put("status", status); |
|
|
|
param.put("status", status); |
|
|
|
param.put("createTimeS", createTimeS); |
|
|
|
param.put("createTimeS", createTimeS); |
|
|
@ -131,6 +135,8 @@ public class BsGasOrderController { |
|
|
|
@RequestParam(name = "orderNo", required = false) String orderNo, |
|
|
|
@RequestParam(name = "orderNo", required = false) String orderNo, |
|
|
|
@RequestParam(name = "payType", required = false) String payType, |
|
|
|
@RequestParam(name = "payType", required = false) String payType, |
|
|
|
@RequestParam(name = "paySerialNo", required = false) String paySerialNo, |
|
|
|
@RequestParam(name = "paySerialNo", required = false) String paySerialNo, |
|
|
|
|
|
|
|
@RequestParam(name = "channelType", required = false) Integer channelType, |
|
|
|
|
|
|
|
@RequestParam(name = "channelOrderNo", required = false) String channelOrderNo, |
|
|
|
@RequestParam(name = "status", required = false) Integer status, |
|
|
|
@RequestParam(name = "status", required = false) Integer status, |
|
|
|
@RequestParam(name = "createTimeS", required = false) Long createTimeS, |
|
|
|
@RequestParam(name = "createTimeS", required = false) Long createTimeS, |
|
|
|
@RequestParam(name = "createTimeE", required = false) Long createTimeE, |
|
|
|
@RequestParam(name = "createTimeE", required = false) Long createTimeE, |
|
|
@ -151,7 +157,8 @@ public class BsGasOrderController { |
|
|
|
param.put("orderNo", orderNo); |
|
|
|
param.put("orderNo", orderNo); |
|
|
|
param.put("payType", payType); |
|
|
|
param.put("payType", payType); |
|
|
|
param.put("paySerialNo", paySerialNo); |
|
|
|
param.put("paySerialNo", paySerialNo); |
|
|
|
param.put("paySerialNo", paySerialNo); |
|
|
|
param.put("channelType", channelType); |
|
|
|
|
|
|
|
param.put("channelOrderNo", channelOrderNo); |
|
|
|
param.put("userPhone", userPhone); |
|
|
|
param.put("userPhone", userPhone); |
|
|
|
param.put("status", status); |
|
|
|
param.put("status", status); |
|
|
|
param.put("createTimeS", createTimeS); |
|
|
|
param.put("createTimeS", createTimeS); |
|
|
@ -204,6 +211,8 @@ public class BsGasOrderController { |
|
|
|
@RequestParam(name = "orderNo", required = false) String orderNo, |
|
|
|
@RequestParam(name = "orderNo", required = false) String orderNo, |
|
|
|
@RequestParam(name = "payType", required = false) String payType, |
|
|
|
@RequestParam(name = "payType", required = false) String payType, |
|
|
|
@RequestParam(name = "paySerialNo", required = false) String paySerialNo, |
|
|
|
@RequestParam(name = "paySerialNo", required = false) String paySerialNo, |
|
|
|
|
|
|
|
@RequestParam(name = "channelType", required = false) Integer channelType, |
|
|
|
|
|
|
|
@RequestParam(name = "channelOrderNo", required = false) String channelOrderNo, |
|
|
|
@RequestParam(name = "status", required = false) Integer status, |
|
|
|
@RequestParam(name = "status", required = false) Integer status, |
|
|
|
@RequestParam(name = "createTimeS", required = false) Long createTimeS, |
|
|
|
@RequestParam(name = "createTimeS", required = false) Long createTimeS, |
|
|
|
@RequestParam(name = "createTimeE", required = false) Long createTimeE, |
|
|
|
@RequestParam(name = "createTimeE", required = false) Long createTimeE, |
|
|
@ -222,6 +231,8 @@ public class BsGasOrderController { |
|
|
|
param.put("orderNo", orderNo); |
|
|
|
param.put("orderNo", orderNo); |
|
|
|
param.put("payType", payType); |
|
|
|
param.put("payType", payType); |
|
|
|
param.put("paySerialNo", paySerialNo); |
|
|
|
param.put("paySerialNo", paySerialNo); |
|
|
|
|
|
|
|
param.put("channelType", channelType); |
|
|
|
|
|
|
|
param.put("channelOrderNo", channelOrderNo); |
|
|
|
param.put("userPhone", userPhone); |
|
|
|
param.put("userPhone", userPhone); |
|
|
|
param.put("status", status); |
|
|
|
param.put("status", status); |
|
|
|
param.put("createTimeS", createTimeS); |
|
|
|
param.put("createTimeS", createTimeS); |
|
|
@ -265,7 +276,8 @@ public class BsGasOrderController { |
|
|
|
model = new ExportGasOrderModel(); |
|
|
|
model = new ExportGasOrderModel(); |
|
|
|
model.setAgentName(StringUtils.isBlank(gasOrder.getAgentName())?"无":gasOrder.getAgentName()); |
|
|
|
model.setAgentName(StringUtils.isBlank(gasOrder.getAgentName())?"无":gasOrder.getAgentName()); |
|
|
|
model.setAgentStaffName(StringUtils.isBlank(gasOrder.getAgentStaffName())?"无":gasOrder.getAgentStaffName()); |
|
|
|
model.setAgentStaffName(StringUtils.isBlank(gasOrder.getAgentStaffName())?"无":gasOrder.getAgentStaffName()); |
|
|
|
model.setChannelTypeName(MerchantSourceTypeEnum.getNameByType(gasOrder.getChannelType())); |
|
|
|
model.setChannelType(MerchantSourceTypeEnum.getNameByType(gasOrder.getChannelType())); |
|
|
|
|
|
|
|
model.setChannelOrderNo(gasOrder.getChannelOrderNo()); |
|
|
|
model.setOrderNo(gasOrder.getOrderNo()); |
|
|
|
model.setOrderNo(gasOrder.getOrderNo()); |
|
|
|
model.setUserPhone(StringUtils.isBlank(gasOrder.getUserPhone())?"无":gasOrder.getUserPhone()); |
|
|
|
model.setUserPhone(StringUtils.isBlank(gasOrder.getUserPhone())?"无":gasOrder.getUserPhone()); |
|
|
|
model.setMerName(gasOrder.getMerName()); |
|
|
|
model.setMerName(gasOrder.getMerName()); |
|
|
@ -290,6 +302,8 @@ public class BsGasOrderController { |
|
|
|
model.setPayTime(gasOrder.getPayTime()); |
|
|
|
model.setPayTime(gasOrder.getPayTime()); |
|
|
|
model.setRefundTime(gasOrder.getRefundTime()); |
|
|
|
model.setRefundTime(gasOrder.getRefundTime()); |
|
|
|
model.setCancelTime(gasOrder.getCancelTime()); |
|
|
|
model.setCancelTime(gasOrder.getCancelTime()); |
|
|
|
|
|
|
|
model.setAbnormal(gasOrder.getAbnormal()?"异常":"正常"); |
|
|
|
|
|
|
|
model.setAbnormalContent(gasOrder.getAbnormalContent()); |
|
|
|
dataList.add(model); |
|
|
|
dataList.add(model); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -322,13 +336,16 @@ public class BsGasOrderController { |
|
|
|
includeColumnFiledNames.add("payTime"); |
|
|
|
includeColumnFiledNames.add("payTime"); |
|
|
|
includeColumnFiledNames.add("refundTime"); |
|
|
|
includeColumnFiledNames.add("refundTime"); |
|
|
|
includeColumnFiledNames.add("cancelTime"); |
|
|
|
includeColumnFiledNames.add("cancelTime"); |
|
|
|
|
|
|
|
includeColumnFiledNames.add("abnormal"); |
|
|
|
|
|
|
|
includeColumnFiledNames.add("abnormalContent"); |
|
|
|
|
|
|
|
|
|
|
|
if (sessionObject.getAccount().getObjectType().equals(SecUserObjectTypeEnum.type1.getCode())) { |
|
|
|
if (sessionObject.getAccount().getObjectType().equals(SecUserObjectTypeEnum.type1.getCode())) { |
|
|
|
includeColumnFiledNames.add("agentName"); |
|
|
|
includeColumnFiledNames.add("agentName"); |
|
|
|
includeColumnFiledNames.add("agentStaffName"); |
|
|
|
includeColumnFiledNames.add("agentStaffName"); |
|
|
|
includeColumnFiledNames.add("merName"); |
|
|
|
includeColumnFiledNames.add("merName"); |
|
|
|
includeColumnFiledNames.add("gasStaffName"); |
|
|
|
includeColumnFiledNames.add("gasStaffName"); |
|
|
|
includeColumnFiledNames.add("channelTypeName"); |
|
|
|
includeColumnFiledNames.add("channelType"); |
|
|
|
|
|
|
|
includeColumnFiledNames.add("channelOrderNo"); |
|
|
|
includeColumnFiledNames.add("userPhone"); |
|
|
|
includeColumnFiledNames.add("userPhone"); |
|
|
|
|
|
|
|
|
|
|
|
} else if (sessionObject.getAccount().getObjectType().equals(SecUserObjectTypeEnum.type2.getCode()) ) { |
|
|
|
} else if (sessionObject.getAccount().getObjectType().equals(SecUserObjectTypeEnum.type2.getCode()) ) { |
|
|
@ -341,11 +358,13 @@ public class BsGasOrderController { |
|
|
|
} else if (sessionObject.getAccount().getObjectType().equals(SecUserObjectTypeEnum.type4.getCode()) ) { |
|
|
|
} else if (sessionObject.getAccount().getObjectType().equals(SecUserObjectTypeEnum.type4.getCode()) ) { |
|
|
|
includeColumnFiledNames.add("agentStaffName"); |
|
|
|
includeColumnFiledNames.add("agentStaffName"); |
|
|
|
includeColumnFiledNames.add("merName"); |
|
|
|
includeColumnFiledNames.add("merName"); |
|
|
|
includeColumnFiledNames.add("channelTypeName"); |
|
|
|
includeColumnFiledNames.add("channelType"); |
|
|
|
|
|
|
|
includeColumnFiledNames.add("channelOrderNo"); |
|
|
|
|
|
|
|
|
|
|
|
} else if (sessionObject.getAccount().getObjectType().equals(SecUserObjectTypeEnum.type5.getCode()) ) { |
|
|
|
} else if (sessionObject.getAccount().getObjectType().equals(SecUserObjectTypeEnum.type5.getCode()) ) { |
|
|
|
includeColumnFiledNames.add("merName"); |
|
|
|
includeColumnFiledNames.add("merName"); |
|
|
|
includeColumnFiledNames.add("channelTypeName"); |
|
|
|
includeColumnFiledNames.add("channelType"); |
|
|
|
|
|
|
|
includeColumnFiledNames.add("channelOrderNo"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
EasyExcel.write(fileUrl+pathName) |
|
|
|
EasyExcel.write(fileUrl+pathName) |
|
|
|