对外接口
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user