|
@@ -2,6 +2,8 @@ package com.ruoyi.web.controller.system;
|
|
|
|
|
|
import java.util.List;
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
+
|
|
|
+import com.ruoyi.common.utils.StringUtils;
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
@@ -40,7 +42,9 @@ public class BomanCameraController extends BaseController
|
|
|
@GetMapping("/list")
|
|
|
public TableDataInfo list(BomanCamera bomanCamera)
|
|
|
{
|
|
|
- startPage();
|
|
|
+ if(StringUtils.isEmpty(bomanCamera.getIsPage()) || StringUtils.equals("Y",bomanCamera.getIsPage())){
|
|
|
+ startPage();
|
|
|
+ }
|
|
|
List<BomanCamera> list = bomanCameraService.selectBomanCameraList(bomanCamera);
|
|
|
return getDataTable(list);
|
|
|
}
|