1234567891011121314151617181920212223242526272829303132333435363738 |
- package com.steerinfo.dil.controller;
- import com.steerinfo.dil.service.impl.SelfServiceMachineServiceImpl;
- import com.steerinfo.dil.util.BaseRESTfulController;
- import com.steerinfo.framework.controller.RESTfulResult;
- import io.swagger.annotations.ApiImplicitParam;
- import io.swagger.annotations.ApiImplicitParams;
- import io.swagger.annotations.ApiOperation;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.web.bind.annotation.PostMapping;
- import org.springframework.web.bind.annotation.RequestBody;
- import org.springframework.web.bind.annotation.RequestMapping;
- import org.springframework.web.bind.annotation.RestController;
- import java.util.Map;
- /**
- * @ author :TXF
- * @ time :2021/10/19 18:06
- */
- @RequestMapping("${api.version}/thd")
- @RestController
- public class SelfServiceMachineController extends BaseRESTfulController {
- @Autowired
- SelfServiceMachineServiceImpl selfServiceMachineService;
- @ApiOperation(value="查询数据打印提货单接口")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "运输订单号", required = false, dataType = "Map"),
- })
- @PostMapping("/printTHD")
- public RESTfulResult printTiHuoDan(@RequestBody(required=false) Map<String, Object> mapValue){
- Map<String, Object> tiHuoDan = selfServiceMachineService.printTiHuoDan((String) mapValue.get("orderNumber"));
- return success(tiHuoDan);
- }
- }
|