|
|
@@ -578,4 +578,16 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
|
wrapper.eq(ScenePro::getDataSource,dataSource);
|
|
|
return list(wrapper);
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public void removePortrait(String num) {
|
|
|
+ ScenePlus scenePlus = scenePlusService.getByNum(num);
|
|
|
+ if(scenePlus == null){
|
|
|
+ throw new BusinessException(ResultCode.SCENE_NOT_EXIT);
|
|
|
+ }
|
|
|
+ HashMap<String,String> map = new HashMap<>();
|
|
|
+ map.put("num",num);
|
|
|
+ mqProducer.sendByWorkQueue("remove-portrait",map);
|
|
|
+
|
|
|
+ }
|
|
|
}
|