|
@@ -170,9 +170,6 @@ public class CameraVersionServiceImpl extends ServiceImpl<ICameraVersionMapper,
|
|
|
if(cameraVersion == null){
|
|
|
throw new BusinessException(ResultCode.CAMERA_VERSION_NOT_EXIST);
|
|
|
}
|
|
|
- if(param.getDescription().length() >255){
|
|
|
- throw new BusinessException(ResultCode.CAMERA_VERSION_NOT_EXIST);
|
|
|
- }
|
|
|
if(StringUtils.isNotBlank(param.getStatus()) && !param.getStatus().equals(cameraVersion.getStatus())){
|
|
|
if(StringUtils.isBlank(param.getStatus()) || param.getType() == null){
|
|
|
throw new BusinessException(ResultCode.MISSING_REQUIRED_PARAMETERS);
|