|
@@ -139,10 +139,10 @@ public class DirServiceImpl extends IBaseServiceImpl<DirEntity, Long> implements
|
|
|
List<WorkEntity> works = workService.getUserWork();
|
|
|
// 匹配场景码
|
|
|
for (WorkEntity work : works) {
|
|
|
+ if (StrUtil.isNotBlank(work.getSceneCodes())){
|
|
|
+ continue;
|
|
|
+ }
|
|
|
for (String sceneCode : sceneCodes) {
|
|
|
- if (StrUtil.isNotBlank(work.getSceneCodes())){
|
|
|
- continue;
|
|
|
- }
|
|
|
if (work.getSceneCodes().contains(sceneCode)){
|
|
|
log.error("此场景:{} 被该作品:{} 引用", sceneCode, work.getId());
|
|
|
isUser = true;
|