123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- package com.steerinfo.dil.controller;
- import com.steerinfo.dil.service.impl.TmstruckSelfMachineService;
- import com.steerinfo.dil.util.BaseRESTfulController;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.web.bind.annotation.PostMapping;
- import org.springframework.web.bind.annotation.RequestMapping;
- import org.springframework.web.bind.annotation.RequestParam;
- import org.springframework.web.bind.annotation.RestController;
- import java.util.Map;
- @RestController
- @RequestMapping("/${api.version}/selfMachine")
- public class TmstruckSelfMachineController extends BaseRESTfulController {
- @Autowired
- TmstruckSelfMachineService tmstruckSelfMachineService;
-
- @PostMapping("/getBillOrder")
- public Map<String, Object> getBILLOrder(@RequestParam String orderNumber){
- Map<String,Object>map= tmstruckSelfMachineService.getBillOrder(orderNumber);
- return map;
- }
- @PostMapping("/getDeliveryOrder")
- public Map<String,Object>getDeliveryOrder(String orderNumber){
- Map<String,Object>map=tmstruckSelfMachineService.getDeliveryOrder(orderNumber);
- return map;
- }
- }
|