|
@@ -37,6 +37,7 @@ import org.springframework.web.bind.annotation.*;
|
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
+import javax.servlet.http.HttpServletRequest;
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
import javax.validation.constraints.NotNull;
|
|
|
import java.io.InputStream;
|
|
@@ -527,6 +528,13 @@ public class BaseCameraManagementController extends BaseController {
|
|
|
// return AjaxResult.success(msg);
|
|
|
}
|
|
|
|
|
|
+ @GetMapping("/getDate/")
|
|
|
+ @Log(title = "相机台账管理", businessType = BusinessType.OTHER)
|
|
|
+ public AjaxResult getDate1() {
|
|
|
+ return success();
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
/**
|
|
|
* *********************** 弃用 ***********************
|
|
|
*
|
|
@@ -535,11 +543,9 @@ public class BaseCameraManagementController extends BaseController {
|
|
|
*/
|
|
|
@GetMapping("/getDate/{cameraCode}")
|
|
|
@Log(title = "相机台账管理", businessType = BusinessType.OTHER)
|
|
|
- public AjaxResult getDate(@PathVariable String cameraCode) {
|
|
|
+ public AjaxResult getDate(@PathVariable(value = "cameraCode") String cameraCode) {
|
|
|
LambdaQueryWrapper<BaseCameraManagement> lw = new LambdaQueryWrapper<BaseCameraManagement>();
|
|
|
- if (!ObjectUtils.isEmpty(cameraCode)) {
|
|
|
- lw.eq(BaseCameraManagement::getCameraCode, cameraCode);
|
|
|
- }
|
|
|
+
|
|
|
BaseCameraManagement baseCameraManagement = baseCameraManagementService.getOne(lw);
|
|
|
LambdaQueryWrapper<BaseRailwayManagement> wrapper = new LambdaQueryWrapper<BaseRailwayManagement>();
|
|
|
if (!ObjectUtils.isEmpty(baseCameraManagement.getRailwayCode())) {
|