|
@@ -395,11 +395,6 @@ public class BaseCameraManagementController extends BaseController {
|
|
|
}else {
|
|
|
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.setUpdateBy(getUserId());
|
|
|
baseCameraManagement.setCreateBy(management.getCreateBy());
|