skyouc
昨天 32a41ca494eed0cc37fcb3aff1e9f83e1a3792fc
rsf-server/src/main/java/com/vincent/rsf/server/api/controller/erp/SyncOrderController.java
@@ -2,15 +2,11 @@
import com.vincent.rsf.framework.common.R;
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.SyncLocReviseParams;
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.controller.erp.params.*;
import com.vincent.rsf.server.api.service.ReceiveMsgService;
import com.vincent.rsf.server.common.annotation.OperationLog;
import com.vincent.rsf.server.common.utils.ExcelUtil;
import com.vincent.rsf.server.manager.entity.excel.AsnOrderTemplate;
import com.vincent.rsf.server.manager.enums.OrderType;
import com.vincent.rsf.server.system.controller.BaseController;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
@@ -121,7 +117,8 @@
        if (Objects.isNull(transferParams)) {
            throw new CoolException("参数不能为空!!");
        }
        return receiveMsgService.syncTransfer(transferParams);
        return receiveMsgService.syncTransfer(transferParams, getLoginUserId());
    }
@@ -138,7 +135,7 @@
        if (Objects.isNull(reviseParams)) {
            return R.error("参数不能为空!!");
        }
        return receiveMsgService.syncLocRevise(reviseParams);
        return receiveMsgService.syncLocRevise(reviseParams, getLoginUserId());
    }
    /**
@@ -189,6 +186,20 @@
    }
    /**
     * @author Ryan
     * @date 2025/8/22
     * @description: 盘点差异单同步
     * @version 1.0
     */
    @PostMapping("/sync/check/result")
    @ApiOperation("盘点差异单同步")
    @OperationLog("盘点差异单")
    public R checkResult(@RequestBody SyncCheckDiffParams syncParams) {
        if (Objects.isNull(syncParams)) {
            return R.error("参数不能为空!!");
        }
        return receiveMsgService.syncCheckDiffs(syncParams);
    }
}