Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
cocktail-party-server
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
cocktail-party
cocktail-party-server
Commits
51632f8e
提交
51632f8e
authored
3月 14, 2025
作者:
RuoYi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
优化代码
上级
525ebf92
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
21 行增加
和
12 行删除
+21
-12
Convert.java
...mon/src/main/java/com/ruoyi/common/core/text/Convert.java
+14
-7
GenController.java
...in/java/com/ruoyi/generator/controller/GenController.java
+1
-1
SysJobController.java
...in/java/com/ruoyi/quartz/controller/SysJobController.java
+1
-1
AbstractQuartzJob.java
...rc/main/java/com/ruoyi/quartz/util/AbstractQuartzJob.java
+1
-2
ruoyi.js
ruoyi-ui/src/utils/ruoyi.js
+4
-1
没有找到文件。
ruoyi-common/src/main/java/com/ruoyi/common/core/text/Convert.java
浏览文件 @
51632f8e
...
...
@@ -798,14 +798,23 @@ public class Convert
{
return
(
String
)
obj
;
}
else
if
(
obj
instanceof
byte
[])
else
if
(
obj
instanceof
byte
[]
||
obj
instanceof
Byte
[])
{
if
(
obj
instanceof
byte
[])
{
return
str
((
byte
[])
obj
,
charset
);
}
else
if
(
obj
instanceof
Byte
[])
else
{
Byte
[]
bytes
=
(
Byte
[])
obj
;
int
length
=
bytes
.
length
;
byte
[]
dest
=
new
byte
[
length
];
for
(
int
i
=
0
;
i
<
length
;
i
++)
{
byte
[]
bytes
=
ArrayUtils
.
toPrimitive
((
Byte
[])
obj
);
return
str
(
bytes
,
charset
);
dest
[
i
]
=
bytes
[
i
];
}
return
str
(
dest
,
charset
);
}
}
else
if
(
obj
instanceof
ByteBuffer
)
{
...
...
@@ -961,9 +970,7 @@ public class Convert
c
[
i
]
=
(
char
)
(
c
[
i
]
-
65248
);
}
}
String
returnString
=
new
String
(
c
);
return
returnString
;
return
new
String
(
c
);
}
/**
...
...
ruoyi-generator/src/main/java/com/ruoyi/generator/controller/GenController.java
浏览文件 @
51632f8e
...
...
@@ -64,7 +64,7 @@ public class GenController extends BaseController
}
/**
*
修改代码生成业务
*
获取代码生成信息
*/
@PreAuthorize
(
"@ss.hasPermi('tool:gen:query')"
)
@GetMapping
(
value
=
"/{tableId}"
)
...
...
ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/SysJobController.java
浏览文件 @
51632f8e
...
...
@@ -177,7 +177,7 @@ public class SysJobController extends BaseController
@PreAuthorize
(
"@ss.hasPermi('monitor:job:remove')"
)
@Log
(
title
=
"定时任务"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{jobIds}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
jobIds
)
throws
SchedulerException
,
TaskException
public
AjaxResult
remove
(
@PathVariable
Long
[]
jobIds
)
throws
SchedulerException
{
jobService
.
deleteJobByIds
(
jobIds
);
return
success
();
...
...
ruoyi-quartz/src/main/java/com/ruoyi/quartz/util/AbstractQuartzJob.java
浏览文件 @
51632f8e
...
...
@@ -3,7 +3,6 @@ package com.ruoyi.quartz.util;
import
java.util.Date
;
import
org.quartz.Job
;
import
org.quartz.JobExecutionContext
;
import
org.quartz.JobExecutionException
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
com.ruoyi.common.constant.Constants
;
...
...
@@ -31,7 +30,7 @@ public abstract class AbstractQuartzJob implements Job
private
static
ThreadLocal
<
Date
>
threadLocal
=
new
ThreadLocal
<>();
@Override
public
void
execute
(
JobExecutionContext
context
)
throws
JobExecutionException
public
void
execute
(
JobExecutionContext
context
)
{
SysJob
sysJob
=
new
SysJob
();
BeanUtils
.
copyBeanProp
(
sysJob
,
context
.
getMergedJobDataMap
().
get
(
ScheduleConstants
.
TASK_PROPERTIES
));
...
...
ruoyi-ui/src/utils/ruoyi.js
浏览文件 @
51632f8e
...
...
@@ -167,6 +167,9 @@ export function handleTree(data, id, parentId, children) {
for
(
let
d
of
data
)
{
let
id
=
d
[
config
.
id
];
childrenListMap
[
id
]
=
d
;
if
(
!
d
[
config
.
childrenList
])
{
d
[
config
.
childrenList
]
=
[];
}
}
for
(
let
d
of
data
)
{
...
...
@@ -216,7 +219,7 @@ export function getNormalPath(p) {
if
(
res
[
res
.
length
-
1
]
===
'/'
)
{
return
res
.
slice
(
0
,
res
.
length
-
1
)
}
return
res
;
return
res
}
// 验证是否为blob格式
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论