|
@@ -395,11 +395,6 @@ public class BaseCameraManagementController extends BaseController {
|
|
}else {
|
|
}else {
|
|
baseCameraManagement.setEndMile(null);
|
|
baseCameraManagement.setEndMile(null);
|
|
}
|
|
}
|
|
- if (!ObjectUtils.isEmpty(baseCameraManagement.getEndMiles())&&!ObjectUtils.isEmpty(baseCameraManagement.getBeginMiles())) {
|
|
|
|
- if (baseCameraManagement.getBeginMile() > baseCameraManagement.getEndMile()) {
|
|
|
|
- return error("监控范围开始里程位置不能大于监控范围结束里程位置");
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
BaseCameraManagement management = baseCameraManagementService.getById(baseCameraManagement.getId());
|
|
BaseCameraManagement management = baseCameraManagementService.getById(baseCameraManagement.getId());
|
|
baseCameraManagement.setUpdateBy(getUserId());
|
|
baseCameraManagement.setUpdateBy(getUserId());
|
|
baseCameraManagement.setCreateBy(management.getCreateBy());
|
|
baseCameraManagement.setCreateBy(management.getCreateBy());
|