想根据订单状态显示对应的页面,但订单号和订单状态会因此显示在页面中,有什么办法能够屏蔽掉state参数的显示么?
@At("/manage/showAuditPage")
@Ok("re")
public String showAuditPage(HttpServletRequest request, @Param("orderId")
String orderId, @Param("state")
String state, ViewModel model)
{
OrderVO orderVO = dao.fetch(OrderVO.class, orderId);
if (orderVO != null)
{
HttpSession session = request.getSession();
UserVO userVO = (UserVO) session.getAttribute(CommonConstants.SESSION_USER_KEY);
orderVO = this.initOrderVO(orderVO, userVO);
//将订单对象放入request中
model.setOrRemove("orderVO", orderVO);
//查找下单的经销商和加盟记录
JoinInVO joininVO = JoinInBO.fetchJoinIn(dao, orderVO.getSupplyerId(), orderVO.getSalesId());//查找加盟的记录
dao.fetchLinks(joininVO, "salesVO");
dao.fetchLinks(joininVO, "joinInLevelVO");
dao.fetchLinks(joininVO, "supplyerVO");
model.setOrRemove("joininVO", joininVO);
//待订单审核
if (CommonConstants.ORDER.ORDER_STATE_INITCHECK.equals(state))
return "jsp:/manage/orderManage/orderInitAudit";
//待财务审核
else if (CommonConstants.ORDER.ORDER_STATE_FINACECHECK.equals(state))
return "jsp:/manage/orderManage/orderDetail";
//待出库审核
else if (CommonConstants.ORDER.ORDER_STATE_STORECHECK.equals(state))
return "jsp:/manage/orderManage/orderOutStorage.jsp";
//待发货审核
else if (CommonConstants.ORDER.ORDER_STATE_TRANSFERCHECK.equals(state))
return "jsp:/manage/orderManage/orderDeliver";
//待收货确认
else if (CommonConstants.ORDER.ORDER_STATE_RECEIVECHECK.equals(state))
return "jsp:/manage/orderManage/orderReceive";
}
return "";
}
```
如图: