|
|
@@ -26,6 +26,7 @@ import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
+import javax.annotation.security.PermitAll;
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
import javax.validation.Valid;
|
|
|
import java.io.IOException;
|
|
|
@@ -120,6 +121,7 @@ public class QhsePtwController {
|
|
|
// }
|
|
|
|
|
|
@GetMapping("/type")
|
|
|
+ @PermitAll
|
|
|
public CommonResult<List<IotMeasureBookController.ClassifyMeasureBookStatVo>> getTypeCount(Long deptId) {
|
|
|
Set<Long> ids = new HashSet<>();
|
|
|
if (Objects.nonNull(deptId)) {
|
|
|
@@ -142,6 +144,7 @@ public class QhsePtwController {
|
|
|
}
|
|
|
|
|
|
@GetMapping("/time")
|
|
|
+ @PermitAll
|
|
|
public CommonResult<Map<LocalDate, Long>> getTimeCount(QhsePtwPageReqVO pageReqVO) {
|
|
|
Long deptId = pageReqVO.getDeptId();
|
|
|
Set<Long> ids = new HashSet<>();
|