36 lines
1021 B
Plaintext
36 lines
1021 B
Plaintext
|
|
package com.sercurityControl.proteam.dutyTask.controller;
|
||
|
|
|
||
|
|
import com.securityControl.common.core.web.domain.AjaxResult;
|
||
|
|
import com.sercurityControl.proteam.dutyTask.domain.HistoryDto;
|
||
|
|
import com.sercurityControl.proteam.dutyTask.service.HistoryService;
|
||
|
|
import lombok.extern.slf4j.Slf4j;
|
||
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
||
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||
|
|
import org.springframework.web.bind.annotation.RestController;
|
||
|
|
|
||
|
|
import javax.annotation.Resource;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @author 10488
|
||
|
|
* 综合展示 历史数据
|
||
|
|
*/
|
||
|
|
@RestController
|
||
|
|
@RequestMapping("/pot/history/")
|
||
|
|
@Slf4j
|
||
|
|
public class HistoryController {
|
||
|
|
|
||
|
|
@Resource(name = "HistoryService")
|
||
|
|
private HistoryService service;
|
||
|
|
/**
|
||
|
|
* 历史记录
|
||
|
|
* @param dto
|
||
|
|
* @return AjaxResult
|
||
|
|
* @author cwchen
|
||
|
|
* @date 2024/1/25 15:28
|
||
|
|
*/
|
||
|
|
@PostMapping("getHistoryByDateType")
|
||
|
|
public AjaxResult getHistoryByDateType(HistoryDto dto) {
|
||
|
|
return service.getHistoryByDateType(dto);
|
||
|
|
}
|
||
|
|
}
|