Commit 8149470a by zhengxj

finish 设置默参数认值 on 20190221 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@17555 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 2c4bbc75
......@@ -169,9 +169,9 @@ public class OrderController extends BaseController{
@SuppressWarnings("resource")
@RequestMapping(value = "/getOrdersByClientType", method = { RequestMethod.GET, RequestMethod.POST })
public ResultObject getOrdersByClientType(HttpServletRequest request, String keyWord, Integer orderStatus,
public ResultObject getOrdersByClientType(HttpServletRequest request, String keyWord, @RequestParam(defaultValue = "0") Integer orderStatus,
@RequestParam(defaultValue = "1") int pageIndex, @RequestParam(defaultValue = "10") int pageSize) {
Map<String, Object> result = new HashMap<String, Object>();
Page page = new Page(pageIndex, pageSize);
// TODO 获取当前用户信息 根据用户角色筛选订单
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!