Commit 51e41896 authored by wujipeng's avatar wujipeng
Browse files

去除无用文件

parent cd8d9ce7
package com.platform.auth.model.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
@Data
@TableName("role")
public class RoleEntity {
@TableId(value = "id",type = IdType.AUTO)
private int id;
private String roleName;
}
package com.platform.business.model.dto;
import com.platform.business.model.entity.ExamStudentEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
@Data
@EqualsAndHashCode(callSuper = true)
public class ExamStudentDTO extends ExamStudentEntity {
private int pageNum;
private int pageSize;
}
package com.platform.business.model.dto;
import lombok.Data;
/**
* @author : wujipeng
* @date : 2025/9/4 13:43
* @Version: 1.0
* @Desc : 描述信息
*/
@Data
public class HomeDTO {
}
package com.platform.business.model.entity;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
/**
* @author : wujipeng
* @date : 2025/7/17 15:01
* @Version: 1.0
* @Desc : 描述信息
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ApprovalFlowEntity {
@ApiModelProperty("事件等级")
private String eventLevel;
}
\ No newline at end of file
package com.platform.business.model.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
/**
* @author : wujipeng
* @date : 2025/7/7 17:39
* @Version: 1.0
* @Desc : 描述信息
*/
@TableName("bs_examiner")
@Data
public class ExaminerEntity {
}
package com.platform.business.model.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
/**
* @author : wujipeng
* @date : 2025/9/12 13:54
* @Version: 1.0
* @Desc : 描述信息
*/
@Data
@TableName("phone_role")
public class PhoneRoleEntity {
@TableId(type = IdType.ASSIGN_ID)
private String id;
private String phone;
private String name;
}
package com.platform.business.model.entity;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.util.Date;
/**
* 实训室设备维护信息。
*
* <p>本期首页仅使用该表统计已到维护日期的有效设备;设备增删改由实训室设备管理模块
* 后续接入,不在首页 Controller 中暴露写接口。</p>
*/
@Data
@TableName("training_room_equipment")
public class TrainingRoomEquipmentEntity {
@TableId(value = "id", type = IdType.ASSIGN_ID)
private String id;
@TableField("room_id")
private String roomId;
@TableField("equipment_code")
private String equipmentCode;
private String name;
/** RUNNING运行中、FAULT故障、MAINTENANCE维护中、DISABLED停用。 */
private String status;
@TableField("last_maintenance_date")
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date lastMaintenanceDate;
@TableField("next_maintenance_date")
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date nextMaintenanceDate;
@TableLogic(value = "0", delval = "1")
@TableField("del_flag")
private Integer delFlag;
@TableField(value = "create_time", fill = FieldFill.INSERT)
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date createTime;
@TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date updateTime;
}
package com.platform.auth.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.platform.auth.model.entity.RoleEntity;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface RoleMapper extends BaseMapper<RoleEntity> {
}
......@@ -15,7 +15,7 @@ public interface UserRoleMapper extends BaseMapper<UserRoleEntity> {
* 查看用户角色信息
*
* @param id id
* @return List<RoleEntity>
* @return 用户角色视图列表
*/
List<UserRoleVO> queryUserRoleList(String id);
......
package com.platform.auth.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.platform.auth.model.entity.RoleEntity;
public interface RoleService extends IService<RoleEntity> {
}
package com.platform.auth.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.platform.auth.model.entity.RoleEntity;
import com.platform.auth.model.entity.UserRoleEntity;
import com.platform.auth.model.vo.UserRoleVO;
......@@ -13,7 +12,7 @@ public interface UserRoleService extends IService<UserRoleEntity> {
* 查看用户角色
*
* @param id 用户Id
* @return List<RoleEntity>
* @return 用户角色视图列表
*/
List<UserRoleVO> queryUserRoleList(String id);
......
package com.platform.auth.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.platform.auth.mapper.RoleMapper;
import com.platform.auth.model.entity.RoleEntity;
import com.platform.auth.service.RoleService;
import org.springframework.stereotype.Service;
@Service
public class RoleServiceImpl extends ServiceImpl<RoleMapper, RoleEntity> implements RoleService {
}
package com.platform.business.controller;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* @author : wujipeng
* @date : 2025/7/7 17:38
* @Version: 1.0
* @Desc : 描述信息
*/
@Api(tags = "考官控制层")
@RestController
@RequestMapping("/candidate")
public class ExaminerController {
}
package com.platform.business.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* @author : wujipeng
* @date : 2025/10/30 10:33
* @Version: 1.0
* @Desc : 描述信息
*/
@RestController
@RequestMapping("/paper/rule")
public class PaperRuleController {
}
package com.platform.business.handle;
import com.platform.business.model.entity.ApprovalFlowEntity;
/**
* @author : wujipeng
* @date : 2025/7/17 15:00
* @Version: 1.0
* @Desc : 描述信息
*/
public interface Handler {
/**
* 设置下一个处理者
* @param nextHandler 下一个处理者
* @return Handler
*/
Handler setNextHandler(Handler nextHandler);
/**
* 处理请求
* @param approvalFlowEntity approvalFlowEntity
*/
void handleRequest(ApprovalFlowEntity approvalFlowEntity);
}
package com.platform.business.handle.impl;
import com.platform.business.handle.Handler;
import lombok.*;
/**
* @author : wujipeng
* @date : 2025/7/17 15:01
* @Version: 1.0
* @Desc : 描述信息
*/
@Data
public abstract class AbstractHandler implements Handler {
private Handler nextHandler;
public Handler setNextHandler(Handler nextHandler) {
this.nextHandler = nextHandler;
return this.nextHandler;
}
}
package com.platform.business.handle.inheritance;
import com.platform.business.handle.impl.AbstractHandler;
import com.platform.business.model.entity.ApprovalFlowEntity;
/**
* @author : wujipeng
* @date : 2025/7/17 15:03
* @Version: 1.0
* @Desc : 超管处理
*/
public class SuperTube extends AbstractHandler {
public void handleRequest(ApprovalFlowEntity approvalFlowEntity) {
//TODO 处理逻辑
}
}
package com.platform.business.handle.inheritance;
import com.platform.business.handle.impl.AbstractHandler;
import com.platform.business.model.entity.ApprovalFlowEntity;
/**
* @author : wujipeng
* @date : 2025/7/17 15:03
* @Version: 1.0
* @Desc : 主管处理
*/
public class Supervisor extends AbstractHandler {
public void handleRequest(ApprovalFlowEntity approvalFlowEntity) {
//TODO 处理逻辑
}
}
package com.platform.business.handle.inheritance;
import com.platform.business.handle.impl.AbstractHandler;
import com.platform.business.model.entity.ApprovalFlowEntity;
/**
* @author : wujipeng
* @date : 2025/7/17 15:02
* @Version: 1.0
* @Desc : 组长处理
*/
public class TeamLeader extends AbstractHandler {
public void handleRequest(ApprovalFlowEntity approvalFlowEntity) {
//TODO 处理逻辑
}
}
package com.platform.business.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.platform.business.model.entity.ExaminerEntity;
import org.apache.ibatis.annotations.Mapper;
/**
* @author : wujipeng
* @date : 2025/7/7 17:41
* @Version: 1.0
* @Desc : 描述信息
*/
@Mapper
public interface ExaminerMapper extends BaseMapper<ExaminerEntity> {
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment