|
@@ -7,11 +7,8 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
import com.ozs.common.annotation.Log;
|
|
import com.ozs.common.annotation.Log;
|
|
import com.ozs.common.core.controller.BaseController;
|
|
import com.ozs.common.core.controller.BaseController;
|
|
import com.ozs.common.core.domain.AjaxResult;
|
|
import com.ozs.common.core.domain.AjaxResult;
|
|
-import com.ozs.common.core.domain.entity.SysDept;
|
|
|
|
import com.ozs.common.core.domain.entity.SysDictData;
|
|
import com.ozs.common.core.domain.entity.SysDictData;
|
|
-import com.ozs.common.core.redis.RedisCache;
|
|
|
|
import com.ozs.common.enums.BusinessType;
|
|
import com.ozs.common.enums.BusinessType;
|
|
-import com.ozs.common.utils.AppendUtils;
|
|
|
|
import com.ozs.common.utils.ChineseToPingyin;
|
|
import com.ozs.common.utils.ChineseToPingyin;
|
|
import com.ozs.common.utils.IdempotenceUtils;
|
|
import com.ozs.common.utils.IdempotenceUtils;
|
|
import com.ozs.common.utils.StringUtils;
|
|
import com.ozs.common.utils.StringUtils;
|
|
@@ -64,8 +61,6 @@ public class BaseRailwayManagementController extends BaseController {
|
|
private BaseCameraManagementService baseCameraManagementService;
|
|
private BaseCameraManagementService baseCameraManagementService;
|
|
@Autowired
|
|
@Autowired
|
|
private IdempotenceUtils idempotenceUtils;
|
|
private IdempotenceUtils idempotenceUtils;
|
|
- @Autowired
|
|
|
|
- private RedisCache redisCache;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
* 线路管理表分页
|
|
* 线路管理表分页
|
|
@@ -121,7 +116,6 @@ public class BaseRailwayManagementController extends BaseController {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (baseRailwayManagementService.removeByIds(lineIds)) {
|
|
if (baseRailwayManagementService.removeByIds(lineIds)) {
|
|
- redisCache.deleteObject("screenshot");
|
|
|
|
return AjaxResult.success();
|
|
return AjaxResult.success();
|
|
}
|
|
}
|
|
return AjaxResult.error();
|
|
return AjaxResult.error();
|
|
@@ -162,7 +156,6 @@ public class BaseRailwayManagementController extends BaseController {
|
|
baseRailwayManagement.setCreateBy(getUserId());
|
|
baseRailwayManagement.setCreateBy(getUserId());
|
|
baseRailwayManagement.setUpdateBy(getUserId());
|
|
baseRailwayManagement.setUpdateBy(getUserId());
|
|
if (baseRailwayManagementService.save(baseRailwayManagement)) {
|
|
if (baseRailwayManagementService.save(baseRailwayManagement)) {
|
|
- redisCache.deleteObject("screenshot");
|
|
|
|
return AjaxResult.success();
|
|
return AjaxResult.success();
|
|
} else {
|
|
} else {
|
|
return AjaxResult.error();
|
|
return AjaxResult.error();
|
|
@@ -214,7 +207,6 @@ public class BaseRailwayManagementController extends BaseController {
|
|
baseRailwayManagement.setUpdateBy(getUserId());
|
|
baseRailwayManagement.setUpdateBy(getUserId());
|
|
baseRailwayManagement.setUpdateTime(new Date());
|
|
baseRailwayManagement.setUpdateTime(new Date());
|
|
if (baseRailwayManagementService.updateById(baseRailwayManagement)) {
|
|
if (baseRailwayManagementService.updateById(baseRailwayManagement)) {
|
|
- redisCache.deleteObject("screenshot");
|
|
|
|
return AjaxResult.success();
|
|
return AjaxResult.success();
|
|
}
|
|
}
|
|
return AjaxResult.error();
|
|
return AjaxResult.error();
|