Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
邬吉朋
practical_train
Commits
51e41896
Commit
51e41896
authored
Oct 29, 2026
by
wujipeng
Browse files
去除无用文件
parent
cd8d9ce7
Changes
27
Hide whitespace changes
Inline
Side-by-side
practical-api/practical-auth-api/src/main/java/com/platform/auth/model/entity/RoleEntity.java
deleted
100644 → 0
View file @
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
;
}
practical-api/practical-business-api/src/main/java/com/platform/business/model/dto/ExamStudentDTO.java
deleted
100644 → 0
View file @
cd8d9ce7
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
;
}
practical-api/practical-business-api/src/main/java/com/platform/business/model/dto/HomeDTO.java
deleted
100644 → 0
View file @
cd8d9ce7
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
{
}
practical-api/practical-business-api/src/main/java/com/platform/business/model/entity/ApprovalFlowEntity.java
deleted
100644 → 0
View file @
cd8d9ce7
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
practical-api/practical-business-api/src/main/java/com/platform/business/model/entity/ExaminerEntity.java
deleted
100644 → 0
View file @
cd8d9ce7
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
{
}
practical-api/practical-business-api/src/main/java/com/platform/business/model/entity/PhoneRoleEntity.java
deleted
100644 → 0
View file @
cd8d9ce7
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
;
}
practical-api/practical-business-api/src/main/java/com/platform/business/model/entity/TrainingRoomEquipmentEntity.java
deleted
100644 → 0
View file @
cd8d9ce7
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
;
}
practical-auth/src/main/java/com/platform/auth/mapper/RoleMapper.java
deleted
100644 → 0
View file @
cd8d9ce7
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
>
{
}
practical-auth/src/main/java/com/platform/auth/mapper/UserRoleMapper.java
View file @
51e41896
...
@@ -15,7 +15,7 @@ public interface UserRoleMapper extends BaseMapper<UserRoleEntity> {
...
@@ -15,7 +15,7 @@ public interface UserRoleMapper extends BaseMapper<UserRoleEntity> {
* 查看用户角色信息
* 查看用户角色信息
*
*
* @param id id
* @param id id
* @return
List<RoleEntity>
* @return
用户角色视图列表
*/
*/
List
<
UserRoleVO
>
queryUserRoleList
(
String
id
);
List
<
UserRoleVO
>
queryUserRoleList
(
String
id
);
...
...
practical-auth/src/main/java/com/platform/auth/service/RoleService.java
deleted
100644 → 0
View file @
cd8d9ce7
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
>
{
}
practical-auth/src/main/java/com/platform/auth/service/UserRoleService.java
View file @
51e41896
package
com.platform.auth.service
;
package
com.platform.auth.service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
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.entity.UserRoleEntity
;
import
com.platform.auth.model.vo.UserRoleVO
;
import
com.platform.auth.model.vo.UserRoleVO
;
...
@@ -13,7 +12,7 @@ public interface UserRoleService extends IService<UserRoleEntity> {
...
@@ -13,7 +12,7 @@ public interface UserRoleService extends IService<UserRoleEntity> {
* 查看用户角色
* 查看用户角色
*
*
* @param id 用户Id
* @param id 用户Id
* @return
List<RoleEntity>
* @return
用户角色视图列表
*/
*/
List
<
UserRoleVO
>
queryUserRoleList
(
String
id
);
List
<
UserRoleVO
>
queryUserRoleList
(
String
id
);
...
...
practical-auth/src/main/java/com/platform/auth/service/impl/RoleServiceImpl.java
deleted
100644 → 0
View file @
cd8d9ce7
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
{
}
practical-business/src/main/java/com/platform/business/controller/ExaminerController.java
deleted
100644 → 0
View file @
cd8d9ce7
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
{
}
practical-business/src/main/java/com/platform/business/controller/PaperRuleController.java
deleted
100644 → 0
View file @
cd8d9ce7
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
{
}
practical-business/src/main/java/com/platform/business/handle/Handler.java
deleted
100644 → 0
View file @
cd8d9ce7
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
);
}
practical-business/src/main/java/com/platform/business/handle/impl/AbstractHandler.java
deleted
100644 → 0
View file @
cd8d9ce7
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
;
}
}
practical-business/src/main/java/com/platform/business/handle/inheritance/SuperTube.java
deleted
100644 → 0
View file @
cd8d9ce7
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 处理逻辑
}
}
practical-business/src/main/java/com/platform/business/handle/inheritance/Supervisor.java
deleted
100644 → 0
View file @
cd8d9ce7
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 处理逻辑
}
}
practical-business/src/main/java/com/platform/business/handle/inheritance/TeamLeader.java
deleted
100644 → 0
View file @
cd8d9ce7
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 处理逻辑
}
}
practical-business/src/main/java/com/platform/business/mapper/ExaminerMapper.java
deleted
100644 → 0
View file @
cd8d9ce7
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
>
{
}
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment