|
|
|
@ -3,10 +3,7 @@ package com.psdc.controller.index; |
|
|
|
|
import com.psdc.core.domain.AjaxResult; |
|
|
|
|
import com.psdc.service.IPsdcThermometerHtdataService; |
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
|
import org.springframework.web.bind.annotation.PathVariable; |
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
|
import org.springframework.web.bind.annotation.RequestMethod; |
|
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@RestController |
|
|
|
@ -21,9 +18,9 @@ public class Index { |
|
|
|
|
return psdcThermometerHtdataService.selTodayThermometer(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@RequestMapping(value = "/8wd/{modelId}", method = RequestMethod.GET) |
|
|
|
|
public AjaxResult sel8WenDu(@PathVariable(value = "modelId", required = false) Integer modelId) { |
|
|
|
|
return psdcThermometerHtdataService.sel8WnDu(modelId); |
|
|
|
|
@RequestMapping(value = "/8wd", method = RequestMethod.POST) |
|
|
|
|
public AjaxResult sel8WenDu(@RequestParam(value="modelTypeName", defaultValue="") String modelname) { |
|
|
|
|
return psdcThermometerHtdataService.sel8WnDu(modelname); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@RequestMapping(value = "/zdb/{modelId}", method = RequestMethod.GET) |
|
|
|
|