Skip to content

Commit 2f64839

Browse files
committed
feat: 5.3.0
1. 根据 maven-checkstyle-plugin 插件规范,优化代码逻辑 2. 修复单体版 生产环境 无法启用 禁止修改拦截器的bug 3. 弃用 fastjson 改用fastjson2 4. 修复记录操作日志时, 无法记录完整的traceId 5. 代码生成器优化 6. 根据编译提示优化 代码生成模版 7. 优化字典的主从模式 8. 用户回显移动到system服务
1 parent 4df5d38 commit 2f64839

File tree

220 files changed

+882
-539
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

220 files changed

+882
-539
lines changed

lamp-base/lamp-base-biz/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
</dependency>
2323
<dependency>
2424
<groupId>top.tangyh.lamp</groupId>
25-
<artifactId>lamp-system-biz</artifactId>
25+
<artifactId>lamp-base-api</artifactId>
2626
<version>${lamp-project.version}</version>
2727
</dependency>
28+
2829
<dependency>
2930
<groupId>top.tangyh.lamp</groupId>
30-
<artifactId>lamp-base-api</artifactId>
31+
<artifactId>lamp-system-biz</artifactId>
3132
<version>${lamp-project.version}</version>
3233
</dependency>
33-
3434
<dependency>
3535
<groupId>top.tangyh.lamp</groupId>
3636
<artifactId>lamp-file-sdk</artifactId>

lamp-base/lamp-base-biz/src/main/java/top/tangyh/lamp/base/manager/system/impl/BaseRoleManagerImpl.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ public List<Long> findResourceIdByEmployeeId(Long applicationId, Long employeeId
8787
Function<Long, List<Long>> loader = roleId -> baseRoleResourceRelMapper.selectResourceIdByRoleId(applicationId, roleId);
8888
Set<Long> resourceIdSet = findCollectByIds(roleIdList, cacheBuilder, loader);
8989
// 新方法 end
90+
9091
log.debug("resourceIdSet={}", resourceIdSet.size());
9192

9293
return new ArrayList<>(resourceIdSet);
@@ -98,6 +99,7 @@ public List<BaseRole> findRoleByEmployeeId(Long employeeId) {
9899
return findByIds(roleIdList, null).stream().filter(item -> item != null && item.getState()).toList();
99100
}
100101

102+
101103
/**
102104
* 查询员工拥有的角色
103105
*

lamp-base/lamp-base-biz/src/main/java/top/tangyh/lamp/base/manager/user/BaseEmployeeManager.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,4 @@ public interface BaseEmployeeManager extends SuperCacheManager<BaseEmployee> {
4646
*/
4747
IPage<BaseEmployeeResultVO> selectPageResultVO(IPage<BaseEmployee> page, Wrapper<BaseEmployee> wrapper, BaseEmployeePageQuery model);
4848

49-
5049
}

lamp-base/lamp-base-biz/src/main/java/top/tangyh/lamp/base/service/system/impl/BaseRoleServiceImpl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ public boolean removeByIds(Collection<Long> idList) {
100100
if (count > 0) {
101101
throw new BizException("内置角色不允许删除");
102102
}
103+
103104
// 员工的角色
104105
baseEmployeeRoleRelManager.deleteByRole(idList);
105106
// 组织的角色

lamp-base/lamp-base-biz/src/main/java/top/tangyh/lamp/base/service/user/BaseEmployeeService.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* </p>
1919
*
2020
* @author zuihou
21-
* @date 2021-10-18
21+
* @since 2021-10-18
2222
*/
2323
public interface BaseEmployeeService extends SuperCacheService<Long, BaseEmployee> {
2424
/**
@@ -27,7 +27,7 @@ public interface BaseEmployeeService extends SuperCacheService<Long, BaseEmploye
2727
* @param entityList entityList
2828
* @return boolean
2929
* @author tangyh
30-
* @date 2022/10/28 4:38 PM
30+
* @since 2022/10/28 4:38 PM
3131
* @create [2022/10/28 4:38 PM ] [tangyh] [初始创建]
3232
*/
3333
boolean saveBatch(Collection<BaseEmployee> entityList);
@@ -71,7 +71,7 @@ public interface BaseEmployeeService extends SuperCacheService<Long, BaseEmploye
7171
* @param baseEmployee baseEmployee
7272
* @return boolean
7373
* @author tangyh
74-
* @date 2022/10/28 9:20 AM
74+
* @since 2022/10/28 9:20 AM
7575
* @create [2022/10/28 9:20 AM ] [tangyh] [初始创建]
7676
*/
7777
boolean updateById(BaseEmployee baseEmployee);
@@ -82,7 +82,7 @@ public interface BaseEmployeeService extends SuperCacheService<Long, BaseEmploye
8282
* @param baseEmployee baseEmployee
8383
* @return boolean
8484
* @author tangyh
85-
* @date 2022/10/28 9:20 AM
85+
* @since 2022/10/28 9:20 AM
8686
* @create [2022/10/28 9:20 AM ] [tangyh] [初始创建]
8787
*/
8888
boolean updateAllById(BaseEmployee baseEmployee);

lamp-base/lamp-base-biz/src/main/java/top/tangyh/lamp/base/service/user/BaseOrgService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ public interface BaseOrgService extends SuperCacheService<Long, BaseOrg> {
3939
*/
4040
boolean check(String name, Long parentId, Long id);
4141

42-
4342
/**
4443
* 查询机构
4544
*
@@ -100,6 +99,7 @@ public interface BaseOrgService extends SuperCacheService<Long, BaseOrg> {
10099
*/
101100
BaseOrg getDefaultOrg(List<BaseOrg> orgList, Long lastOrgId);
102101

102+
103103
/**
104104
* 查询当前员工的所有部门或单位
105105
*

lamp-base/lamp-base-biz/src/main/java/top/tangyh/lamp/base/service/user/impl/BaseEmployeeServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ public class BaseEmployeeServiceImpl extends SuperCacheServiceImpl<BaseEmployeeM
5757
public void updateOrgInfo(Long id, Long lastCompanyId, Long lastDeptId) {
5858
superManager.update(Wrappers.<BaseEmployee>lambdaUpdate().set(BaseEmployee::getLastCompanyId, lastCompanyId)
5959
.set(BaseEmployee::getLastDeptId, lastDeptId).eq(BaseEmployee::getId, id));
60+
superManager.delCache(id);
6061
}
6162

6263
@Override
@@ -80,7 +81,6 @@ public IPage<BaseEmployeeResultVO> findPageResultVO(PageParams<BaseEmployeePageQ
8081
return superManager.selectPageResultVO(page, wrap, model);
8182
}
8283

83-
8484
@Override
8585
@Transactional(rollbackFor = Exception.class)
8686
public List<Long> saveEmployeeRole(BaseEmployeeRoleRelSaveVO saveVO) {

lamp-base/lamp-base-biz/src/main/java/top/tangyh/lamp/base/service/user/impl/BaseOrgServiceImpl.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ public List<BaseOrgResultVO> list(BaseOrgPageQuery query) {
128128
return BeanUtil.copyToList(list, BaseOrgResultVO.class);
129129
}
130130

131-
132131
@Override
133132
@Transactional(rollbackFor = Exception.class)
134133
public List<Long> saveOrgRole(BaseOrgRoleRelSaveVO saveVO) {
@@ -199,7 +198,6 @@ public BaseOrg getDefaultOrg(List<BaseOrg> orgList, Long lastOrgId) {
199198
return sysOrg;
200199
}
201200

202-
203201
@Override
204202
@Transactional(readOnly = true)
205203
public List<BaseOrg> findCompanyByEmployeeId(Long employeeId) {
@@ -242,6 +240,7 @@ public List<BaseOrg> findCompanyByEmployeeId(Long employeeId) {
242240
return companyList;
243241
}
244242

243+
245244
@Override
246245
@Transactional(readOnly = true)
247246
public List<BaseOrg> findOrgByEmployeeId(Long employeeId) {

lamp-base/lamp-base-biz/src/main/java/top/tangyh/lamp/file/service/FileService.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,4 @@ public interface FileService extends SuperService<Long, File> {
7878
* @throws Exception
7979
*/
8080
void download(HttpServletRequest request, HttpServletResponse response, Long id) throws Exception;
81-
8281
}

lamp-base/lamp-base-biz/src/main/java/top/tangyh/lamp/file/service/impl/FileServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ public FileResultVO upload(MultipartFile file, FileUploadVO fileUploadVO) {
6868
if (StrUtil.containsAny(file.getOriginalFilename(), "../", "./")) {
6969
throw new BizException("文件名不能含有特殊字符");
7070
}
71+
7172
File fileFile = fileContext.upload(file, fileUploadVO);
7273
fileManager.save(fileFile);
7374
return BeanPlusUtil.toBean(fileFile, FileResultVO.class);
@@ -101,7 +102,6 @@ public boolean removeByIds(Collection<Long> ids) {
101102
public void download(HttpServletRequest request, HttpServletResponse response, List<Long> ids) throws Exception {
102103
List<File> list = fileManager.listByIds(ids);
103104
ArgumentAssert.notEmpty(list, "请配置正确的文件存储类型");
104-
105105
fileContext.download(request, response, list);
106106
}
107107

lamp-base/lamp-base-biz/src/main/java/top/tangyh/lamp/file/storage/FileAutoConfigure.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ public class FileAutoConfigure {
3030
/**
3131
* 初始化minio客户端,不用每次都初始化
3232
*
33+
* https://www.minio.org.cn/docs/minio/linux/integrations/setup-nginx-proxy-with-minio.html
34+
*
3335
* @return MinioClient
3436
* @author zuihou
3537
*/

lamp-base/lamp-base-biz/src/main/java/top/tangyh/lamp/file/strategy/FileContext.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,6 @@ public void down(HttpServletRequest request, HttpServletResponse response, List<
216216
map.put(originalFileName, file.getUrl());
217217
});
218218

219-
220219
ZipUtils.zipFilesByInputStream(map, fileSize, packageName, request, response);
221220
}
222221

lamp-base/lamp-base-biz/src/main/java/top/tangyh/lamp/file/utils/ZipUtils.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,9 +187,7 @@ public static void zipFilesByInputStream(Map<String, String> fileMap, Long fileS
187187

188188
.replaceAll("%7C", "\\|").replaceAll("%3A", "\\:")
189189
.replaceAll("%22", "\\\"").replaceAll("%3C", "\\<")
190-
.replaceAll("%3E", "\\>").replaceAll("%3F", "\\?")
191-
192-
;
190+
.replaceAll("%3E", "\\>").replaceAll("%3F", "\\?");
193191
log.info("downloadFileName={}", downloadFileName);
194192
}
195193
response.setHeader("Content-Disposition", "attachment;fileName=" + downloadFileName);

lamp-base/lamp-base-biz/src/main/java/top/tangyh/lamp/msg/glue/GlueFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
public class GlueFactory {
2121

2222

23-
private final static ConcurrentMap<String, Class<?>> CLASS_CACHE = new ConcurrentHashMap<>();
23+
private static final ConcurrentMap<String, Class<?>> CLASS_CACHE = new ConcurrentHashMap<>();
2424
private static GlueFactory glueFactory = new SpringGlueFactory();
2525
/**
2626
* groovy class loader

lamp-base/lamp-base-biz/src/main/java/top/tangyh/lamp/msg/strategy/domain/sms/AliSmsProperty.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ public class AliSmsProperty extends BaseProperty {
1818
/**
1919
* 更多服务接入点请参考: https://help.aliyun.com/document_detail/419270.html
2020
*/
21-
private final static String DEF_END_POINT = "dysmsapi.aliyuncs.com";
22-
private final static String DEF_REGION_ID = "cn-hangzhou";
21+
private static final String DEF_END_POINT = "dysmsapi.aliyuncs.com";
22+
private static final String DEF_REGION_ID = "cn-hangzhou";
2323

2424
/**
2525
* 地域ID

lamp-base/lamp-base-biz/src/main/java/top/tangyh/lamp/msg/strategy/domain/sms/BaiduSmsProperty.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
@Data
1414
@EqualsAndHashCode(callSuper = false)
1515
public class BaiduSmsProperty extends BaseProperty {
16-
private final static String DEF_END_POINT = "http://smsv3.bj.baidubce.com";
16+
private static final String DEF_END_POINT = "http://smsv3.bj.baidubce.com";
1717
/**
1818
* accessKeyId
1919
*/

lamp-base/lamp-base-biz/src/main/java/top/tangyh/lamp/msg/strategy/domain/sms/ClSmsProperty.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
@Data
1414
@EqualsAndHashCode(callSuper = false)
1515
public class ClSmsProperty extends BaseProperty {
16-
private final static String DEF_END_POINT = "http://smssh1.253.com/msg/v1/send/json";
17-
private final static String DEF_VARIABLE_END_POINT = "http://smssh1.253.com/msg/variable/json";
16+
private static final String DEF_END_POINT = "http://smssh1.253.com/msg/v1/send/json";
17+
private static final String DEF_VARIABLE_END_POINT = "http://smssh1.253.com/msg/variable/json";
1818

1919
/**
2020
* 账号

lamp-base/lamp-base-biz/src/main/java/top/tangyh/lamp/msg/strategy/domain/sms/TencentSmsProperty.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
@Data
1414
@EqualsAndHashCode(callSuper = false)
1515
public class TencentSmsProperty extends BaseProperty {
16-
private final static String DEF_REGION = "ap-beijing";
17-
private final static String DEF_END_POINT = "sms.tencentcloudapi.com";
16+
private static final String DEF_REGION = "ap-beijing";
17+
private static final String DEF_END_POINT = "sms.tencentcloudapi.com";
1818
/** secretId */
1919
private String secretId;
2020
/** secretKey */

lamp-base/lamp-base-biz/src/main/java/top/tangyh/lamp/msg/strategy/impl/TestMsgStrategyImpl.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ public class TestMsgStrategyImpl implements MsgStrategy {
2121

2222
@Override
2323
public MsgResult exec(MsgParam msgParam) {
24-
System.out.println(" 请开始你的接口逻辑 ");
2524

2625
ExtendMsg a = extendMsgService.getById(msgParam.getExtendMsg().getId());
2726
log.info("a {}", a);

lamp-base/lamp-base-biz/src/main/java/top/tangyh/lamp/msg/strategy/impl/sms/AliSmsMsgStrategyImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
@Slf4j
3434
@Service("aliSmsMsgStrategyImpl")
3535
public class AliSmsMsgStrategyImpl implements MsgStrategy {
36-
private final static Map<String, com.aliyun.dysmsapi20170525.Client> CACHE = new HashMap<>();
36+
private static final Map<String, com.aliyun.dysmsapi20170525.Client> CACHE = new HashMap<>();
3737

3838
/**
3939
* 使用AK&SK初始化账号Client

lamp-base/lamp-base-biz/src/main/java/top/tangyh/lamp/msg/strategy/impl/sms/ClSmsMsgStrategyImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
@Service("clSmsMsgStrategyImpl")
3939
public class ClSmsMsgStrategyImpl implements MsgStrategy {
4040

41-
private final static Pattern REG = Pattern.compile("[$][{][a-zA-Z\\d\\\\_$]+[}]");
42-
private final static String VAR = "{$var}";
41+
private static final Pattern REG = Pattern.compile("[$][{][a-zA-Z\\d\\\\_$]+[}]");
42+
private static final String VAR = "{$var}";
4343

4444
private static ClSendResult sendSmsByPost(String path, String postContent) throws IOException {
4545
ClSendResult clSendResult = new ClSendResult();

lamp-base/lamp-base-biz/src/main/resources/mapper_base/ext/user/BaseEmployeeMapper.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
)
4545
</if>
4646
</where>
47+
4748
</select>
4849

4950
<sql id="Uar_Column_List">

lamp-base/lamp-base-controller/src/main/java/top/tangyh/lamp/msg/controller/ExtendMsgController.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,17 +62,14 @@ public EchoService getEchoService() {
6262
@Operation(summary = "根据模板发送消息", description = "根据模板发送消息")
6363
@PostMapping("/sendByTemplate")
6464
@WebLog("发送消息")
65-
public R<Boolean> sendByTemplate(@RequestBody @Validated(SuperEntity.Update.class) ExtendMsgSendVO data
66-
, @Parameter(hidden = true) @LoginUser(isEmployee = true) SysUser sysUser) {
65+
public R<Boolean> sendByTemplate(@RequestBody @Validated(SuperEntity.Update.class) ExtendMsgSendVO data, @Parameter(hidden = true) @LoginUser(isEmployee = true) SysUser sysUser) {
6766
return R.success(msgBiz.sendByTemplate(data, sysUser));
6867
}
6968

7069
@Operation(summary = "发布站内信", description = "发布站内信")
7170
@PostMapping("/publish")
7271
@WebLog("发布站内信")
73-
public R<Boolean> publish(@RequestBody @Validated(SuperEntity.Update.class) ExtendMsgPublishVO data
74-
, @Parameter(hidden = true) @LoginUser(isEmployee = true) SysUser sysUser) {
75-
72+
public R<Boolean> publish(@RequestBody @Validated(SuperEntity.Update.class) ExtendMsgPublishVO data, @Parameter(hidden = true) @LoginUser(isEmployee = true) SysUser sysUser) {
7673
return R.success(msgBiz.publish(data, sysUser));
7774
}
7875

lamp-base/lamp-base-controller/src/main/java/top/tangyh/lamp/msg/controller/MsgController.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ public class MsgController {
4141
@Operation(summary = "根据模板发送消息", description = "根据模板发送消息")
4242
@PostMapping("/extendMsg/sendByTemplate")
4343
@WebLog("发送消息")
44-
public R<Boolean> sendByTemplate(@RequestBody @Validated(SuperEntity.Update.class) ExtendMsgSendVO data
45-
, @Parameter(hidden = true) @LoginUser(isEmployee = true) SysUser sysUser) {
44+
public R<Boolean> sendByTemplate(@RequestBody @Validated(SuperEntity.Update.class) ExtendMsgSendVO data, @Parameter(hidden = true) @LoginUser(isEmployee = true) SysUser sysUser) {
4645
return R.success(msgBiz.sendByTemplate(data, sysUser));
4746
}
4847

lamp-base/lamp-base-entity/src/main/java/top/tangyh/lamp/base/enumeration/system/LogType.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ public enum LogType implements BaseEnum {
3030
/**
3131
* EX="异常类型"
3232
*/
33-
EX("异常"),
34-
;
33+
EX("异常");
3534

3635
@Schema(description = "描述")
3736
private String desc;

lamp-base/lamp-base-entity/src/main/java/top/tangyh/lamp/base/vo/result/user/RouterMetaConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public class RouterMetaConfig implements Serializable {
2222
/**
2323
* 默认属性配置对象
2424
*/
25-
public static RouterMetaConfig DEFAULT_CONFIG = new RouterMetaConfig();
25+
public static final RouterMetaConfig DEFAULT_CONFIG = new RouterMetaConfig();
2626

2727
/* 公共属性 start */
2828
private String titleKey = "title";

lamp-base/lamp-base-entity/src/main/java/top/tangyh/lamp/base/vo/result/user/VueRouter.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@
2626
@EqualsAndHashCode(callSuper = false)
2727
@JsonInclude(JsonInclude.Include.NON_NULL)
2828
@JsonIgnoreProperties({TreeEntity.LABEL, TreeEntity.SORT_VALUE,
29-
TreeEntity.PARENT_ID, Entity.UPDATED_BY, Entity.UPDATED_TIME, Entity.CREATED_TIME, Entity.CREATED_BY
30-
, Entity.ID_FIELD})
29+
TreeEntity.PARENT_ID, Entity.UPDATED_BY, Entity.UPDATED_TIME, Entity.CREATED_TIME, Entity.CREATED_BY, Entity.ID_FIELD})
3130
public class VueRouter extends TreeEntity<VueRouter, Long> implements EchoVO {
3231

3332
private static final long serialVersionUID = -3327478146308500708L;

lamp-base/lamp-base-entity/src/main/java/top/tangyh/lamp/file/enumeration/FileStorageType.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ public enum FileStorageType implements BaseEnum {
3333
MIN_IO("MinIO"),
3434
ALI_OSS("阿里云OSS"),
3535
QINIU_OSS("七牛云OSS"),
36-
HUAWEI_OSS("华为云OSS"),
37-
;
36+
HUAWEI_OSS("华为云OSS");
3837

3938
@Schema(description = "描述")
4039
private String desc;

lamp-base/lamp-base-entity/src/main/java/top/tangyh/lamp/msg/enumeration/MsgInterfaceLoggingStatusEnum.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ public enum MsgInterfaceLoggingStatusEnum implements BaseEnum {
2828
/**
2929
* 失败
3030
*/
31-
FAIL("03", "失败"),
32-
;
31+
FAIL("03", "失败");
3332
private String value;
3433
private String desc;
3534

lamp-base/lamp-base-entity/src/main/java/top/tangyh/lamp/msg/enumeration/MsgTemplateTypeEnum.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ public enum MsgTemplateTypeEnum implements BaseEnum {
3434
/**
3535
* NOTIFY="站内信"
3636
*/
37-
NOTICE("03", "站内信"),
38-
;
37+
NOTICE("03", "站内信");
3938

4039
private String value;
4140
@Schema(description = "描述")

lamp-base/lamp-base-entity/src/main/java/top/tangyh/lamp/msg/enumeration/NoticeRemindModeEnum.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ public enum NoticeRemindModeEnum implements BaseEnum {
3434
/**
3535
* NOTIFY="提醒"
3636
*/
37-
NOTICE("03", "提醒"),
38-
;
37+
NOTICE("03", "提醒");
3938

4039
private String value;
4140
@Schema(description = "描述")

lamp-base/lamp-base-entity/src/main/java/top/tangyh/lamp/msg/enumeration/SourceType.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ public enum SourceType implements BaseEnum {
3030
/**
3131
* SERVICE
3232
*/
33-
SERVICE("服务"),
34-
;
33+
SERVICE("服务");
3534

3635
@Schema(description = "描述")
3736
private String desc;

lamp-base/lamp-base-entity/src/main/java/top/tangyh/lamp/msg/enumeration/TaskStatus.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ public enum TaskStatus implements BaseEnum {
3838
/**
3939
* FAIL
4040
*/
41-
FAIL("执行失败"),
42-
;
41+
FAIL("执行失败");
4342

4443
@Schema(description = "描述")
4544
private String desc;

0 commit comments

Comments
 (0)