skyouc
2 天以前 a801f5ac39701e6d2038da57bff910ba278ea6d8
rsf-server/src/main/java/com/vincent/rsf/server/api/controller/erp/SyncOrderController.java
@@ -4,6 +4,7 @@
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;
@@ -99,4 +100,19 @@
        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);
    }
}