| | |
| | | package com.zy.asrs.controller; |
| | | |
| | | import com.alibaba.fastjson.JSON; |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.core.annotations.AppAuth; |
| | | import com.core.common.*; |
| | | import com.core.exception.CoolException; |
| | |
| | | import com.zy.common.web.BaseController; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.util.ArrayList; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * Created by vincent on 2022/4/8 |
| | |
| | | * 添加入库单 |
| | | */ |
| | | @PostMapping("/order/pakin/default/v1") |
| | | @AppAuth(memo = "添加订单入库") |
| | | public synchronized R pakinOrderCreate(@RequestHeader(required = false) String appkey, |
| | | @RequestBody OpenOrderPakinParam param, |
| | | HttpServletRequest request) { |
| | |
| | | return R.ok(); |
| | | } |
| | | |
| | | /* |
| | | * 速腾数字孪生调用接口 |
| | | * */ |
| | | @PostMapping("/digital/twin/inventory/quantity") |
| | | public synchronized R inventoryQuantity(@RequestHeader(required = false) String appkey, |
| | | HttpServletRequest request) { |
| | | auth(appkey, null, request); |
| | | return R.ok(openService.inventoryQuantity()); |
| | | } |
| | | /* |
| | | * 速腾数字孪生调用接口 |
| | | * */ |
| | | @PostMapping("/digital/ownerAll/number/quantity") |
| | | public synchronized R ownerAllNumber(@RequestHeader(required = false) String appkey, |
| | | HttpServletRequest request) { |
| | | auth(appkey, null, request); |
| | | return openService.ownerAllNumber(); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 添加出库单 |