【修复】修复注释错别字
This commit is contained in:
parent
7120afdf6b
commit
145a14583f
@ -89,9 +89,14 @@ public enum SysMenuExceptionEnum implements AbstractBaseExceptionEnum {
|
|||||||
CANT_MOVE_APP(10, "父节点不是根节点不能移动应用"),
|
CANT_MOVE_APP(10, "父节点不是根节点不能移动应用"),
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 父级菜单不能为当前节点,请从新选择父级菜单
|
* 父级菜单不能为当前节点,请重新选择父级菜单
|
||||||
*/
|
*/
|
||||||
PID_CANT_EQ_ID(11, "父级菜单不能为当前节点,请从新选择父级菜单");
|
PID_CANT_EQ_ID(11, "父级菜单不能为当前节点,请重新选择父级菜单"),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 父节点不能为本节点的子节点,请重新选择父节点
|
||||||
|
*/
|
||||||
|
PID_CANT_EQ_CHILD_ID(6, "父节点不能为本节点的子节点,请重新选择父节点");
|
||||||
|
|
||||||
private final Integer code;
|
private final Integer code;
|
||||||
|
|
||||||
|
@ -59,9 +59,14 @@ public enum SysOrgExceptionEnum implements AbstractBaseExceptionEnum {
|
|||||||
ORG_CANNOT_DELETE(4, "该机构下有员工,无法删除"),
|
ORG_CANNOT_DELETE(4, "该机构下有员工,无法删除"),
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 父节点不能和本节点一致,请从新选择父节点
|
* 父节点不能和本节点一致,请重新选择父节点
|
||||||
*/
|
*/
|
||||||
ID_CANT_EQ_PID(5, "父节点不能和本节点一致,请从新选择父节点");
|
ID_CANT_EQ_PID(5, "父节点不能和本节点一致,请重新选择父节点"),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 父节点不能为本节点的子节点,请重新选择父节点
|
||||||
|
*/
|
||||||
|
PID_CANT_EQ_CHILD_ID(6, "父节点不能为本节点的子节点,请重新选择父节点");
|
||||||
|
|
||||||
private final Integer code;
|
private final Integer code;
|
||||||
|
|
||||||
|
@ -143,7 +143,7 @@ public class SysTimersServiceImpl extends ServiceImpl<SysTimersMapper, SysTimers
|
|||||||
// 查看被编辑的任务的状态
|
// 查看被编辑的任务的状态
|
||||||
Integer jobStatus = oldTimer.getJobStatus();
|
Integer jobStatus = oldTimer.getJobStatus();
|
||||||
|
|
||||||
// 如果任务正在运行,则停掉这个任务,从新运行任务
|
// 如果任务正在运行,则停掉这个任务,重新运行任务
|
||||||
if (jobStatus.equals(TimerJobStatusEnum.RUNNING.getCode())) {
|
if (jobStatus.equals(TimerJobStatusEnum.RUNNING.getCode())) {
|
||||||
CronUtil.remove(String.valueOf(oldTimer.getId()));
|
CronUtil.remove(String.valueOf(oldTimer.getId()));
|
||||||
timerExeService.startTimer(
|
timerExeService.startTimer(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user