package com.ajb.web;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import com.ajb.car.vo.quotation.AgPoQuotationRequestVO;
import com.ajb.car.vo.quotation.QuotationRequestVO;
import com.ajb.common.utils.encryption.MaskUtils;
import com.ajb.web.quotation.AgPoQuotationWebService;

/**
 * 车险报价
 * @author Simon Cheng
 *
 */
@RestController
@RequestMapping(value="/order")
public class OrderController {
	@Autowired
	private AgPoQuotationWebService agPoOrderWebService;
	
	/**
	 * 支付报价
	 * 参数：
	 * 返回：
	 * @param requestVO
	 * @return
	 * @throws Exception
	 */
	@RequestMapping("/paymentorder")
	public Object paymentOrder(@RequestBody QuotationRequestVO requestVO) throws Exception{				
		//ProvinceResponse quotationResponse = new ProvinceResponse();

		return null;	
	}
	/**
	 * 查询订单
	 * 参数：
	 * 返回：
	 * @param requestVO
	 * @return
	 * @throws Exception
	 */
	@RequestMapping("/queryorder")
	public Object queryOrder(@RequestBody QuotationRequestVO requestVO) throws Exception{				
		//ProvinceResponse quotationResponse = new ProvinceResponse();

		return null;	
	}	
	/**
	 * 取消订单
	 * 参数：
	 * 返回：
	 * @param requestVO
	 * @return
	 * @throws Exception
	 */
	@RequestMapping("/cancelorder")
	public Object cancelOrder(@RequestBody QuotationRequestVO requestVO) throws Exception{				
		//ProvinceResponse quotationResponse = new ProvinceResponse();

		return null;	
	}		
}