大屏项目初始化

This commit is contained in:
2026-03-10 23:26:47 +08:00
parent 213fe276d1
commit 7725bb8cd8
5 changed files with 134 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
package com.mini.mybigscreen.biz.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 前端控制器
* </p>
*
* @author gaoxq
* @since 2026-03-10
*/
@RestController
@RequestMapping("/biz/chartInfo")
public class ChartInfoController {
}

View File

@@ -0,0 +1,64 @@
package com.mini.mybigscreen.biz.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import com.mini.mybigscreen.Model.BaseEntity;
import lombok.Getter;
import lombok.Setter;
/**
* <p>
*
* </p>
*
* @author gaoxq
* @since 2026-03-10
*/
@Getter
@Setter
@TableName("biz_chart_info")
public class ChartInfo extends BaseEntity implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
@TableField("create_time")
private LocalDateTime createTime;
/**
* 唯一标识
*/
@TableId(value = "chart_id", type = IdType.AUTO)
private String chartId;
@TableField("chart_name")
private String chartName;
@TableField("chart_code")
private String chartCode;
/**
* 序号
*/
@TableField("sort")
private Long sort;
/**
* 组件名称
*/
@TableField("vue_name")
private String vueName;
/**
* 状态
*/
@TableField("ustatus")
private String ustatus;
}

View File

@@ -0,0 +1,16 @@
package com.mini.mybigscreen.biz.mapper;
import com.github.yulichang.base.MPJBaseMapper;
import com.mini.mybigscreen.biz.domain.ChartInfo;
/**
* <p>
* Mapper 接口
* </p>
*
* @author gaoxq
* @since 2026-03-10
*/
public interface ChartInfoMapper extends MPJBaseMapper<ChartInfo> {
}

View File

@@ -0,0 +1,16 @@
package com.mini.mybigscreen.biz.service;
import com.mini.mybigscreen.biz.domain.ChartInfo;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 服务类
* </p>
*
* @author gaoxq
* @since 2026-03-10
*/
public interface ChartInfoService extends IService<ChartInfo> {
}

View File

@@ -0,0 +1,20 @@
package com.mini.mybigscreen.biz.service.impl;
import com.mini.mybigscreen.biz.domain.ChartInfo;
import com.mini.mybigscreen.biz.mapper.ChartInfoMapper;
import com.mini.mybigscreen.biz.service.ChartInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* 服务实现类
* </p>
*
* @author gaoxq
* @since 2026-03-10
*/
@Service
public class ChartInfoServiceImpl extends ServiceImpl<ChartInfoMapper, ChartInfo> implements ChartInfoService {
}