|
@@ -48,9 +48,9 @@ public class AgentNewCameraServiceImpl extends ServiceImpl<IAgentNewCameraMapper
|
|
|
if(cameraDetail == null){
|
|
|
throw new BusinessException(ResultCode.CAMERA_EMPTY);
|
|
|
}
|
|
|
- if(!cameraDetail.getAgentId().equals(param.getAgentId())){
|
|
|
- throw new BusinessException(ResultCode.CAMERA_EMPTY);
|
|
|
- }
|
|
|
+// if(!cameraDetail.getAgentId().equals(param.getAgentId())){
|
|
|
+// throw new BusinessException(ResultCode.CAMERA_EMPTY);
|
|
|
+// }
|
|
|
giveCamera(param.getId(),param.getAgentId(),param.getSubAgentId());
|
|
|
}
|
|
|
public void giveCamera(Long cameraId,Integer agentId,Integer subAgentId) {
|