修改森林检测模块
This commit is contained in:
@ -7,6 +7,7 @@ import com.ruoyi.system.service_yada.impl.ForestDetectionServiceImpl;
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMethod;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
@ -25,14 +26,14 @@ public class ForestDetectionControer {
|
||||
private IForestDetectionService service;
|
||||
|
||||
@RequestMapping(value = "/select", method = {RequestMethod.GET})
|
||||
public AjaxResult select() {
|
||||
public AjaxResult select(@RequestParam(value = "year1",required = false) String year1) {
|
||||
ForestDetectionVO forest = new ForestDetectionVO();
|
||||
|
||||
List<ChangeTable> changes = service.selectChange();
|
||||
|
||||
List<CloumnarTable> cloumnars = service.selectCloumnar();
|
||||
|
||||
List<TypeTable> types = service.selectType();
|
||||
List<TypeTable> types = service.selectType(year1);
|
||||
|
||||
List<TypeConversion> conversions = service.selectConversion();
|
||||
|
||||
|
Reference in New Issue
Block a user