配置一周视频bug修复
This commit is contained in:
parent
0272bb9a63
commit
77134286e0
@ -93,8 +93,11 @@ public class EducationConfigWeekVideoServiceImpl extends ServiceImpl<EducationCo
|
||||
@Override
|
||||
public void saveObj(EducationConfigWeekVideo educationConfigWeekVideo) {
|
||||
EducationConfigWeekVideo v = educationConfigWeekVideoMapper.selectOne(new LambdaQueryWrapper<EducationConfigWeekVideo>()
|
||||
.eq(EducationConfigWeekVideo::getProjectSn, educationConfigWeekVideo.getProjectSn()));
|
||||
.eq(EducationConfigWeekVideo::getProjectSn, educationConfigWeekVideo.getProjectSn())
|
||||
.eq(EducationConfigWeekVideo::getType, educationConfigWeekVideo.getType())
|
||||
);
|
||||
if (v != null) {
|
||||
educationConfigWeekVideo.setId(v.getId());
|
||||
edit(educationConfigWeekVideo);
|
||||
} else {
|
||||
add(educationConfigWeekVideo);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user