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