对外接口

This commit is contained in:
liuhanqing
2025-11-12 16:57:22 +08:00
parent cb32173d1c
commit fa1cf1565c
5 changed files with 69 additions and 16 deletions

View File

@@ -13,6 +13,7 @@ import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.log.domain.RequestLog;
import com.ruoyi.log.service.IRequestLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.web.bind.annotation.*;
import java.util.Map;
@@ -49,4 +50,12 @@ public class ToErpApiController {
public AjaxResult receiveSupplier(@RequestBody BasSupplier basSupplier) {
return toErpService.receiveSupplier(basSupplier);
}
/**
* 生成调拨单
*/
@Scheduled(fixedDelay = 1500)
public void saveTransferBill() {
toErpService.saveTransferBill();
}
}