Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ufo
/
ufo-platform
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
mali
5 years ago
Commit
d3ec89d907ae68ca9a8ad140330b04e56a7e7684
1 parent
fecf57b8
回退代码
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
order/src/main/java/com/yoho/ufo/order/service/impl/UfoLiveService.java
order/src/main/java/com/yoho/ufo/order/service/impl/UfoLiveService.java
View file @
d3ec89d
...
...
@@ -210,11 +210,11 @@ public class UfoLiveService {
// 查询当前登录用户默认的摄像头设备
public
Integer
queryInitCameraCode
(
QiniuLiveRecord
req
)
{
Integer
liveCameraCode
=
liveRecordTimeMapper
.
selectCameraByOrderCode
(
req
.
getOrderCode
());
// 优先取录制按钮时候保存的摄像头编号
/*
Integer liveCameraCode = liveRecordTimeMapper.selectCameraByOrderCode(req.getOrderCode()); // 优先取录制按钮时候保存的摄像头编号
if (null != liveCameraCode) {
req.setCameraCode(null == req.getCameraCode() ? liveCameraCode : req.getCameraCode());
return liveCameraCode;
}
}
*/
// UserCameraRecord userCameraRecord = userCameraRecordMapper.selectUserCameraRecord(new UserHelper().getUserId());
Optional
<
Integer
>
phoneCamera
=
Optional
.
ofNullable
(
req
.
getPhoneUid
()).
map
(
phoneUidCameraService:
:
selectByphoneUid
).
map
(
PhoneUidCameraBo:
:
getCameraCode
);
...
...
Please
register
or
login
to post a comment