whyclxw
2024-07-01 0ce771b4a4ff5897dc91bb1b84a4561781b00ca5
src/main/java/com/whyc/controller/CKPowerDevSignalSetLogController.java
@@ -1,19 +1,30 @@
package com.whyc.controller;
import com.whyc.pojo.db_ckpwrdev_data_rt.CKPowerDevRtSetLog;
import com.whyc.dto.Response;
import com.whyc.pojo.db_ckpwrdev_data_rt.CKPowerDevSignalSetLog;
import com.whyc.service.CKPowerDevSignalSetLogService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
@RestController
@Api(tags = "测控电源设备遥信量设置记录表")
@Api(tags = "电源遥信量设置记录表")
@RequestMapping("ckPowerDevSignalSetLog")
public class CKPowerDevSignalSetLogController {
    @Autowired
    private CKPowerDevSignalSetLogService service;
    @ApiOperation("分页查询")
    @PostMapping("getPage")
    public Response getPage(@RequestBody CKPowerDevSignalSetLog param){
        return service.getPage(param);
    }
    @ApiOperation("查询-按天")
    @PostMapping("getList")
    public Response getList(@RequestParam String param, @RequestParam String dayTime){
        return service.getList(param,dayTime);
    }
}