Commit c292c703 authored by hezhen's avatar hezhen

123

parent 18f6739b
package com.xxfc.platform.order.biz;
import cn.hutool.core.bean.BeanUtil;
import com.github.wxiaoqi.security.common.msg.ObjectRestResponse;
import com.github.wxiaoqi.security.common.util.process.ResultCode;
import com.github.wxiaoqi.security.common.vo.PageDataVO;
......@@ -66,7 +67,7 @@ public class OrderTourVerificationBiz{
//核销列表
public ObjectRestResponse getVerifications(TourGoodOrderFindVo tourGoodOrderFindVo){
return ObjectRestResponse.succ(tourFeign.findTourGoodOrders(tourGoodOrderFindVo));
return ObjectRestResponse.succ(tourFeign.findTourGoodOrders(BeanUtil.beanToMap(tourGoodOrderFindVo)));
}
......
......@@ -12,6 +12,8 @@ import com.xxfc.platform.tour.vo.TourGoodOrderVo;
import com.xxfc.platform.tour.vo.TourSpePriceVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
......@@ -78,5 +80,5 @@ public interface TourFeign {
* @return
*/
@GetMapping("/tourGood/verfication/orders")
ObjectRestResponse<PageDataVO<TourGoodOrderVo>> findTourGoodOrders(@RequestBody TourGoodOrderFindVo tourGoodOrderFindVo);
PageDataVO<TourGoodOrderVo> findTourGoodOrders(@RequestParam Map<String,Object> tourGoodOrderFindVo);
}
......@@ -22,9 +22,9 @@ public class TourGoodVerificationController extends BaseController<TourGoodVerif
*/
@ApiOperation("订单列表的查询")
@GetMapping("/orders")
public ObjectRestResponse<PageDataVO<TourGoodOrderVo>> findTourGoodOrders(@RequestBody TourGoodOrderFindVo tourGoodOrderFindVo){
public PageDataVO<TourGoodOrderVo> findTourGoodOrders( TourGoodOrderFindVo tourGoodOrderFindVo){
PageDataVO<TourGoodOrderVo> tourGoodOrderPageDataVo = getBaseBiz().findTourGoodOrdersPage(tourGoodOrderFindVo);
return ObjectRestResponse.succ(tourGoodOrderPageDataVo);
return tourGoodOrderPageDataVo;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment