更换update返回结果为int

This commit is contained in:
不做码农
2021-12-14 21:51:19 +08:00
parent 50c48077d7
commit 487c7f31ff
9 changed files with 37 additions and 38 deletions

View File

@@ -141,7 +141,7 @@ namespace ZR.Admin.WebApi.Controllers
Update_by = User.Identity.Name,
Update_time = DateTime.Now
});
if (response)
if (response > 0)
{
//先暂停原先的任务
var respon = await _schedulerServer.UpdateTaskScheduleAsync(tasksQz, tasksQz.JobGroup);