change - add看板接口、小时耗量告警定时任务
parent
c247d56deb
commit
2156ec28bb
@ -0,0 +1,38 @@
|
||||
package com.os.mes.report.controller;
|
||||
|
||||
import java.util.List;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import com.os.common.core.controller.BaseController;
|
||||
import com.os.common.core.domain.AjaxResult;
|
||||
import com.os.mes.report.domain.ReportBoardPort;
|
||||
import com.os.mes.report.service.IReportBoardPortService;
|
||||
|
||||
/**
|
||||
* 看板接口Controller
|
||||
*
|
||||
* @author Yinq
|
||||
* @date 2024-07-11
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/mes/boardPort")
|
||||
public class ReportBoardPortController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private IReportBoardPortService reportBoardPortService;
|
||||
|
||||
/**
|
||||
* 查询看板接口列表
|
||||
*/
|
||||
@GetMapping("/list")
|
||||
public AjaxResult list(ReportBoardPort reportBoardPort)
|
||||
{
|
||||
List<ReportBoardPort> list = reportBoardPortService.selectReportBoardPortList(reportBoardPort);
|
||||
return success(list);
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package com.os.mes.report.domain;
|
||||
|
||||
import com.os.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 看板接口对象 report_board_port
|
||||
*
|
||||
* @author Yinq
|
||||
* @date 2024-07-11
|
||||
*/
|
||||
public class ReportBoardPort extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
package com.os.mes.report.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.os.mes.report.domain.ReportBoardPort;
|
||||
|
||||
/**
|
||||
* 看板接口Service接口
|
||||
*
|
||||
* @author Yinq
|
||||
* @date 2024-07-11
|
||||
*/
|
||||
public interface IReportBoardPortService
|
||||
{
|
||||
/**
|
||||
* 查询看板接口列表
|
||||
*
|
||||
* @param reportBoardPort 看板接口
|
||||
* @return 看板接口集合
|
||||
*/
|
||||
public List<ReportBoardPort> selectReportBoardPortList(ReportBoardPort reportBoardPort);
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
package com.os.mes.report.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.os.mes.report.domain.ReportBoardPort;
|
||||
import com.os.mes.report.service.IReportBoardPortService;
|
||||
|
||||
/**
|
||||
* 看板接口Service业务层处理
|
||||
*
|
||||
* @author Yinq
|
||||
* @date 2024-07-11
|
||||
*/
|
||||
@Service
|
||||
public class ReportBoardPortServiceImpl implements IReportBoardPortService
|
||||
{
|
||||
|
||||
@Override
|
||||
public List<ReportBoardPort> selectReportBoardPortList(ReportBoardPort reportBoardPort) {
|
||||
return null;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue