You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
946 B
Java
34 lines
946 B
Java
5 months ago
|
package com.glxp.api.controller.collect;
|
||
|
|
||
|
|
||
|
import com.glxp.api.common.res.BaseResponse;
|
||
|
import com.glxp.api.common.util.ResultVOUtils;
|
||
|
import com.glxp.api.http.ErpBasicClient;
|
||
|
import com.glxp.api.req.collect.PostCollectOrderRequest;
|
||
|
import lombok.extern.slf4j.Slf4j;
|
||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||
|
import org.springframework.web.bind.annotation.RequestBody;
|
||
|
import org.springframework.web.bind.annotation.RestController;
|
||
|
|
||
|
import javax.annotation.Resource;
|
||
|
|
||
|
@Slf4j
|
||
|
@RestController
|
||
|
public class IoCollectOrderBackupController {
|
||
|
|
||
|
@Resource
|
||
|
ErpBasicClient erpBasicClient;
|
||
|
|
||
|
/**
|
||
|
* 已完成单据上传
|
||
|
*
|
||
|
* @param postCollectOrderRequest
|
||
|
* @return
|
||
|
*/
|
||
|
@PostMapping("/sps/sync/collect/order/upload")
|
||
|
public BaseResponse orderUpload(@RequestBody PostCollectOrderRequest postCollectOrderRequest) {
|
||
|
return erpBasicClient.collectOrderUpload(postCollectOrderRequest);
|
||
|
}
|
||
|
|
||
|
}
|