波形下载接口开发
This commit is contained in:
@@ -22,6 +22,7 @@ import lombok.AllArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.List;
|
||||
|
||||
@@ -83,6 +84,16 @@ public class CsEventController extends BaseController {
|
||||
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, eventVO, methodDescribe);
|
||||
}
|
||||
|
||||
@OperateInfo(info = LogEnum.BUSINESS_COMMON)
|
||||
@GetMapping("/getFileZip")
|
||||
@ApiOperation("下载事件原始文件压缩包")
|
||||
@ApiImplicitParam(name = "eventId", value = "暂态事件索引", required = true)
|
||||
public void getFileZip(String eventId, HttpServletResponse response) {
|
||||
String methodDescribe = getMethodDescribe("getFileZip");
|
||||
csEventPOService.getFileZip(eventId,response);
|
||||
|
||||
}
|
||||
|
||||
@OperateInfo(info = LogEnum.BUSINESS_COMMON)
|
||||
@PostMapping("/saveBatchEventList")
|
||||
@ApiOperation("批量新增事件")
|
||||
|
||||
Reference in New Issue
Block a user