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,7 +169,7 @@ public class OrderController extends BaseController{ ...@@ -169,7 +169,7 @@ public class OrderController extends BaseController{
@SuppressWarnings("resource") @SuppressWarnings("resource")
@RequestMapping(value = "/getOrdersByClientType", method = { RequestMethod.GET, RequestMethod.POST }) @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) { @RequestParam(defaultValue = "1") int pageIndex, @RequestParam(defaultValue = "10") int pageSize) {
Map<String, Object> result = new HashMap<String, Object>(); Map<String, Object> result = new HashMap<String, Object>();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!