自增id问题
This commit is contained in:
@@ -204,7 +204,6 @@ public class SysJobServiceImpl implements ISysJobService
|
||||
public int insertJob(SysJob job) throws SchedulerException, TaskException
|
||||
{
|
||||
job.setStatus(ScheduleConstants.Status.PAUSE.getValue());
|
||||
job.setJobId(IdUtil.getSnowflakeNextId());
|
||||
int rows = jobMapper.insertJob(job);
|
||||
if (rows > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user