| | |
| | | import com.vincent.rsf.framework.exception.CoolException; |
| | | import com.vincent.rsf.server.api.controller.erp.params.OrderParams; |
| | | import com.vincent.rsf.server.api.controller.erp.params.SyncOrderParams; |
| | | import com.vincent.rsf.server.api.controller.erp.params.SyncTransferParams; |
| | | import com.vincent.rsf.server.api.service.ReceiveMsgService; |
| | | import com.vincent.rsf.server.common.utils.ExcelUtil; |
| | | import com.vincent.rsf.server.manager.entity.excel.AsnOrderTemplate; |
| | |
| | | return receiveMsgService.syncCheckOrder(syncOrders, getLoginUserId()); |
| | | } |
| | | |
| | | /** |
| | | * @author Ryan |
| | | * @date 2025/8/19 |
| | | * @description: 调拔单据同步 |
| | | * @version 1.0 |
| | | */ |
| | | @ApiOperation("调拔单同步") |
| | | @PostMapping("/sync/transfers") |
| | | public R syncTransfer(@RequestBody SyncTransferParams transferParams) { |
| | | if (Objects.isNull(transferParams)) { |
| | | throw new CoolException("参数不能为空!!"); |
| | | } |
| | | return receiveMsgService.syncTransfer(transferParams); |
| | | } |
| | | |
| | | } |