|
@@ -49,7 +49,7 @@ public class SurveillanceServiceImpl extends ServiceImpl<ISurveillanceMapper, Su
|
|
|
}
|
|
|
SceneEditInfoExt sceneEditInfoExt = sceneEditInfoExtService.getByScenePlusId(scenePlus.getId());
|
|
|
|
|
|
- Surveillance surveillance = this.getBySid(param.getSid());
|
|
|
+ Surveillance surveillance = this.getBySid(param.getNum(), param.getSid());
|
|
|
if(Objects.isNull(surveillance)){
|
|
|
surveillance = new Surveillance();
|
|
|
}
|
|
@@ -100,8 +100,8 @@ public class SurveillanceServiceImpl extends ServiceImpl<ISurveillanceMapper, Su
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public Surveillance getBySid(String sid) {
|
|
|
- return this.getOne(new LambdaQueryWrapper<Surveillance>().eq(Surveillance::getSid, sid));
|
|
|
+ public Surveillance getBySid(String num, String sid) {
|
|
|
+ return this.getOne(new LambdaQueryWrapper<Surveillance>().eq(Surveillance::getSid, sid).eq(Surveillance::getNum, num));
|
|
|
}
|
|
|
|
|
|
}
|