首页2,权限修改

This commit is contained in:
猫猫guowen
2025-06-18 17:12:49 +08:00
parent 3d9a6064f4
commit 8f1e944602
22 changed files with 91 additions and 40 deletions

View File

@@ -1,5 +1,7 @@
package com.ruoyi.index.controller;
import com.ruoyi.common.annotation.Anonymous;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
@@ -25,10 +27,11 @@ public class WeekJobCountController
/**
* 获取近一周的入库和出库作业数量统计
*/
@Anonymous
@GetMapping("/count")
public AjaxResult getWeekJobCount()
{
WeekJobCount weekJobCount = weekJobCountService.getWeekJobCount();
WeekJobCount weekJobCount = weekJobCountService.getWeekJobCount(new BaseEntity());
return AjaxResult.success(weekJobCount);
}
}