feat: 调度任务日志查询全部数据接口异常
This commit is contained in:
@@ -46,7 +46,10 @@ func (s *SysJobLogController) List(c *gin.Context) {
|
|||||||
language := ctx.AcceptLanguage(c)
|
language := ctx.AcceptLanguage(c)
|
||||||
|
|
||||||
// 反查多语言key
|
// 反查多语言key
|
||||||
querys["jobName"] = i18n.ValueKey(language, querys["jobName"].(string))
|
if v, ok := querys["jobName"]; ok && v != "" {
|
||||||
|
querys["jobName"] = i18n.ValueKey(language, querys["jobName"].(string))
|
||||||
|
}
|
||||||
|
|
||||||
dataI18n := s.sysJobLogService.SelectJobLogPage(querys)
|
dataI18n := s.sysJobLogService.SelectJobLogPage(querys)
|
||||||
totalI18n := parse.Number(dataI18n["total"])
|
totalI18n := parse.Number(dataI18n["total"])
|
||||||
if totalI18n != 0 {
|
if totalI18n != 0 {
|
||||||
|
|||||||
Reference in New Issue
Block a user