Commit 7784f316 by wangnb

包活干V2.0.0功能开发--think.wang

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@28226 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 8474b746
......@@ -1107,16 +1107,12 @@ public class OrderController extends BaseController {
@RequestMapping(value = "/syncOrder", method = {RequestMethod.POST, RequestMethod.GET})
public ResultObject syncOrder(Integer orderId) {
super.logInfo("==== /syncOrder parameter", orderId);
if (orderId == null) {
throw BusinessException.create(ResultCodeEnum.PARAM_ERROR.getCode(),
"orderId不能为空");
throw BusinessException.create(ResultCodeEnum.PARAM_ERROR.getCode(), "orderId不能为空");
}
JSONObject data = new JSONObject();
data.put("orderId", orderId);
ResultObject result = this.orderService.syncOrder(data);
super.logInfo("==== /syncOrder result", result);
return result;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!