提交 583a67ac authored 作者: aiqingguo's avatar aiqingguo

线路统计

上级 ad1d4c08
...@@ -4,6 +4,7 @@ import com.clx.performance.vo.pc.child.OrderChildLineStatisticsVO; ...@@ -4,6 +4,7 @@ import com.clx.performance.vo.pc.child.OrderChildLineStatisticsVO;
import org.springframework.cloud.openfeign.FeignClient; import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotBlank;
...@@ -15,6 +16,7 @@ public interface OrderChildFeign { ...@@ -15,6 +16,7 @@ public interface OrderChildFeign {
* 线路运单统计 * 线路运单统计
*/ */
@RequestMapping(value = "clx-performance/feign/orderChild/lineStatistics", method = RequestMethod.GET) @RequestMapping(value = "clx-performance/feign/orderChild/lineStatistics", method = RequestMethod.GET)
OrderChildLineStatisticsVO lineStatistics(@NotBlank(message = "发货地址不可为空") Integer sendSystemAddressId, @NotBlank(message = "收货货地址不可为空") Integer receiveSystemAddressId); OrderChildLineStatisticsVO lineStatistics(@RequestParam @NotBlank(message = "发货地址不可为空") Integer sendSystemAddressId,
@RequestParam @NotBlank(message = "收货货地址不可为空") Integer receiveSystemAddressId);
} }
...@@ -52,8 +52,8 @@ public class OrderChildFeignController { ...@@ -52,8 +52,8 @@ public class OrderChildFeignController {
@ApiOperation(value = "线路运单统计", notes = "<br>By:艾庆国") @ApiOperation(value = "线路运单统计", notes = "<br>By:艾庆国")
@RequestMapping(value = "/lineStatistics", method = RequestMethod.GET) @RequestMapping(value = "/lineStatistics", method = RequestMethod.GET)
Result<OrderChildLineStatisticsVO> lineStatistics(@NotBlank(message = "发货地址不可为空") Integer sendSystemAddressId, Result<OrderChildLineStatisticsVO> lineStatistics(@RequestParam @NotBlank(message = "发货地址不可为空") Integer sendSystemAddressId,
@NotBlank(message = "收货货地址不可为空") Integer receiveSystemAddressId){ @RequestParam @NotBlank(message = "收货货地址不可为空") Integer receiveSystemAddressId){
return Result.ok(feignOrderChildService.getLineStatistics(sendSystemAddressId, receiveSystemAddressId)); return Result.ok(feignOrderChildService.getLineStatistics(sendSystemAddressId, receiveSystemAddressId));
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论