package com.whyc.controller;
|
|
import com.whyc.dto.Response;
|
import com.whyc.pojo.db_ckpwrdev_data_rt.CKPowerDevBattSetLog;
|
import com.whyc.service.CKPowerDevBattSetLogService;
|
import io.swagger.annotations.Api;
|
import io.swagger.annotations.ApiOperation;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.web.bind.annotation.*;
|
|
@RestController
|
@Api(tags = "核容装置日志")
|
@RequestMapping("cKPowerDevBattSetLog")
|
public class CKPowerDevBattSetLogController {
|
|
@Autowired
|
private CKPowerDevBattSetLogService service;
|
|
@PostMapping("getBattSetLog")
|
@ApiOperation("获取核容装置日志")
|
public Response getBattSetLog(@RequestBody CKPowerDevBattSetLog battSetLog){
|
return service.getBattSetLog(battSetLog);
|
}
|
}
|