package com.it.springweb.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.servlet.ModelAndView; /** * 〈已卖出的宝贝〉
* 〈功能详细描述〉 * * @see [相关类/方法](可选) * @since [产品/模块版本] (可选) */ @Controller @RequestMapping(value = "/havesellbaby") public class HaveSellBabyController { /** * * 进入已卖出的宝贝主页面
* 〈功能详细描述〉 * * @param modelAndView * @return * @see [相关类/方法](可选) * @since [产品/模块版本](可选) */ @RequestMapping(value = "main.action") public ModelAndView main(ModelAndView modelAndView) { modelAndView.setViewName("havesellbaby/main"); return modelAndView; } /** * * 进入近三个月订单页面
* 〈功能详细描述〉 * * @param modelAndView * @return * @see [相关类/方法](可选) * @since [产品/模块版本](可选) */ @RequestMapping(value = "nearthreeorder.action") public ModelAndView nearThreeOrder(ModelAndView modelAndView) { modelAndView.setViewName("havesellbaby/nearthreeorder"); return modelAndView; } /** * * 进入等待发货订单页面
* 〈功能详细描述〉 * * @param modelAndView * @return * @see [相关类/方法](可选) * @since [产品/模块版本](可选) */ @RequestMapping(value = "waitdeliveryorder.action") public ModelAndView waitDeliveryOrder(ModelAndView modelAndView) { modelAndView.setViewName("havesellbaby/waitdeliveryorder"); return modelAndView; } /** * * 进入已发货订单页面
* 〈功能详细描述〉 * * @param modelAndView * @return * @see [相关类/方法](可选) * @since [产品/模块版本](可选) */ @RequestMapping(value = "hasdeliveryorder.action") public ModelAndView hasDeliveryOrder(ModelAndView modelAndView) { modelAndView.setViewName("havesellbaby/hasdeliveryorder"); return modelAndView; } /** * * 进入已发货订单页面
* 〈功能详细描述〉 * * @param modelAndView * @return * @see [相关类/方法](可选) * @since [产品/模块版本](可选) */ @RequestMapping(value = "returningorder.action") public ModelAndView returningOrder(ModelAndView modelAndView) { modelAndView.setViewName("havesellbaby/returningorder"); return modelAndView; } /** * * 进入退款中的订单页面
* 〈功能详细描述〉 * * @param modelAndView * @return * @see [相关类/方法](可选) * @since [产品/模块版本](可选) */ @RequestMapping(value = "successorder.action") public ModelAndView successOrder(ModelAndView modelAndView) { modelAndView.setViewName("havesellbaby/successorder"); return modelAndView; } /** * * 进入三个月前的订单页面
* 〈功能详细描述〉 * * @param modelAndView * @return * @see [相关类/方法](可选) * @since [产品/模块版本](可选) */ @RequestMapping(value = "threebeforeorder.action") public ModelAndView threeBeforeOrder(ModelAndView modelAndView) { modelAndView.setViewName("havesellbaby/threebeforeorder"); return modelAndView; } }
leftmenu.ftl
rightmenu.ftl
已卖出的宝贝
宝贝名称: 成交时间: 从 日 时 分 至 日 时 分 买家昵称: 订单状态: 评价状态: 订单编号: 售后服务: 搜索
- 近三个月订单
- 等待发货
- 已发货
- 退款中
- 成功的订单
- 三个月前的订单
popwin.ftl
main.ftl
<#include "/common/common.ftl">发货给顾客 <#include "popwin.ftl">您当前的位置:首页 > 交易中心<#include "leftmenu.ftl"> <#include "rightmenu.ftl">
nearthreeorder.ftl
<#include "/common/common.ftl">近三个月的订单
宝贝 单价(元) 数量 售后 买家 交易状态 实收款(元) 评价 订单编号:700966589001004588ZE18 成交时间:2012-12-24 16:24:45 超过24小时未发货订单50.00 1 未发货 xiaolong43434343434 部分发货
详情
发货
延长收货时间0.55
含快递:0.00
查看物流对方已评 50.00 1 已发货 xiaolong43434343434 0.55
含快递:0.00
查看物流对方已评 订单编号:700966589001004588ZE18 成交时间:2012-12-24 16:24:4550.00 1 退款 xiaolong43434343434 买家已付款
详情
发货
0.55
含快递:0.00
查看物流 订单编号:700966589001004588ZE18 成交时间:2012-12-24 16:24:4550.00 1 已发货 xiaolong43434343434 卖家已发货
详情
延长收货时间0.55
含快递:0.00
查看物流
waitdeliveryorder.ftl
<#include "/common/common.ftl">等待发货的订单
hasdeliveryorder.ftl
<#include "/common/common.ftl">已发货的订单
returningorder.ftl
<#include "/common/common.ftl">退款中的订单
successorder.ftl
<#include "/common/common.ftl">成功的订单
threebeforeorder.ftl
<#include "/common/common.ftl">三个月前的订单
common.ftl
<#assign ctxPath=request.contextPath> <#setting number_format="#">