BackupMaterialController.java
755 Bytes
package com.wondertek.controller;
import com.wondertek.dto.BackupMaterialDto;
import com.wondertek.service.BackupMaterialService;
import com.wondertek.util.PageBean;
import jakarta.annotation.Resource;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@Slf4j
@RestController
@RequestMapping("bkMaterial")
public class BackupMaterialController {
@Resource
private BackupMaterialService backupMaterialService;
@GetMapping("queryPage")
PageBean queryPage(BackupMaterialDto backupMaterialDto){
return backupMaterialService.queryPage(backupMaterialDto);
}
}