/**
 * Copyright (c) 2018-2099, Chill Zhuang 庄骞 (bladejava@qq.com).
 * <p>
 * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE 3.0;
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.gnu.org/licenses/lgpl.html
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.xiaoniu.subsystem.system.controller;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import com.xiaoniu.subsystem.system.domain.SysJobLog;
import com.xiaoniu.subsystem.system.domain.vo.SysJobLogVO;
import com.xiaoniu.subsystem.system.service.ISysJobLogService;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.validation.Valid;
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.*;

/**
 * 定时任务调度日志表 控制器
 *
 * @author sst
 * @since 2024-11-26
 */
@RestController
@AllArgsConstructor
@RequestMapping("/sysjoblog")
@Tag(name = "定时任务调度日志表", description = "定时任务调度日志表接口")
public class SysJobLogController  {

	private ISysJobLogService sysJobLogService;

	// /**
	//  * 详情
	//  */
	// @GetMapping("/detail")
	// @ApiOperationSupport(order = 1)
	// @Operation(summary = "详情", description = "传入sysJobLog")
	// public Result<SysJobLogVO> detail(SysJobLog sysJobLog) {
	// 	SysJobLog detail = sysJobLogService.getOne(new QueryWrapper<>(sysJobLog));
	// 	return Result.success(SysJobLogWrapper.build().entityVO(detail));
	// }
	//
	// /**
	//  * 分页 定时任务调度日志表
	//  */
	// @GetMapping("/list")
	// @ApiOperationSupport(order = 2)
	// @Operation(summary = "分页", description = "传入sysJobLog")
	// public Result<IPage<SysJobLogVO>> list(SysJobLog sysJobLog) {
	// 	IPage<SysJobLog> pages = sysJobLogService.page(null, new QueryWrapper<>(sysJobLog));
	// 	return Result.success(SysJobLogWrapper.build().pageVO(pages));
	// }
	//
	//
	// /**
	//  * 自定义分页 定时任务调度日志表
	//  */
	// @GetMapping("/page")
	// @ApiOperationSupport(order = 3)
	// @Operation(summary = "分页", description = "传入sysJobLog")
	// public Result<IPage<SysJobLogVO>> page(SysJobLogVO sysJobLog) {
	// 	IPage<SysJobLogVO> pages = sysJobLogService.selectSysJobLogPage(null, sysJobLog);
	// 	return Result.success(pages);
	// }
	//
	// /**
	//  * 新增 定时任务调度日志表
	//  */
	// @PostMapping("/save")
	// @ApiOperationSupport(order = 4)
	// @Operation(summary = "新增", description = "传入sysJobLog")
	// public R save(@Valid @RequestBody SysJobLog sysJobLog) {
	// 	return Result.success(sysJobLogService.save(sysJobLog));
	// }
	//
	// /**
	//  * 修改 定时任务调度日志表
	//  */
	// @PostMapping("/update")
	// @ApiOperationSupport(order = 5)
	// @Operation(summary = "修改", description = "传入sysJobLog")
	// public R update(@Valid @RequestBody SysJobLog sysJobLog) {
	// 	return Result.success(sysJobLogService.updateById(sysJobLog));
	// }
	//
	// /**
	//  * 新增或修改 定时任务调度日志表
	//  */
	// @PostMapping("/submit")
	// @ApiOperationSupport(order = 6)
	// @Operation(summary = "新增或修改", description = "传入sysJobLog")
	// public R submit(@Valid @RequestBody SysJobLog sysJobLog) {
	// 	return Result.success(sysJobLogService.saveOrUpdate(sysJobLog));
	// }
	//
	//
	// /**
	//  * 删除 定时任务调度日志表
	//  */
	// @PostMapping("/remove")
	// @ApiOperationSupport(order = 7)
	// @Operation(summary = "逻辑删除", description = "传入ids")
	// public R remove(@Parameter(description = "主键集合", required = true) @RequestParam String ids) {
	// 	return Result.success(sysJobLogService.removeByIds(Collections.singletonList(ids)));
	// }

	
}
