| @@ -173,9 +173,32 @@ public class NeuPosAdminController extends BaseController { | |||||
| if (typeMap.containsKey(c.get("payType"))) { | if (typeMap.containsKey(c.get("payType"))) { | ||||
| c.put("payTypeName",typeMap.get(c.get("payType"))); | c.put("payTypeName",typeMap.get(c.get("payType"))); | ||||
| } | } | ||||
| String orderStatus = (String)c.get("orderStatus"); | |||||
| String orderStatusName = ""; | |||||
| if ("1".equals(orderStatus)) { | |||||
| orderStatusName = "待付款"; | |||||
| }else if ("2".equals(orderStatus)) { | |||||
| orderStatusName = "已取消"; | |||||
| }else if ("3".equals(orderStatus)) { | |||||
| orderStatusName = "支付中"; | |||||
| }else if ("4".equals(orderStatus)) { | |||||
| orderStatusName = "已支付"; | |||||
| }else if ("5".equals(orderStatus)) { | |||||
| orderStatusName = "支付完成"; | |||||
| }else if ("6".equals(orderStatus)) { | |||||
| orderStatusName = "待退款"; | |||||
| }else if ("7".equals(orderStatus)) { | |||||
| orderStatusName = "退款中"; | |||||
| }else if ("8".equals(orderStatus)) { | |||||
| orderStatusName = "已退款"; | |||||
| }else if ("9".equals(orderStatus)) { | |||||
| orderStatusName = "退款完成"; | |||||
| } | |||||
| c.put("orderStatus",orderStatusName); | |||||
| }); | }); | ||||
| neuPosOrderService.exportData(maplist.getList(),new String[] {"交易单号","POSsn","账单金额","折扣","支付方式","交易时间"}, | |||||
| new String[] {"orderNumber","serialNo","orderAmount","discountAmount","payTypeName","paidTime"},"pos交易明细",new NeuPosOrderDataBVo(), request, response); | |||||
| neuPosOrderService.exportData(maplist.getList(),new String[] {"交易单号","POSsn","账单金额","折扣","支付方式","交易时间","订单状态"}, | |||||
| new String[] {"orderNumber","serialNo","orderAmount","discountAmount","payTypeName","paidTime","orderStatus"},"pos交易明细",new NeuPosOrderDataBVo(), request, response); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||