|
|
@ -278,7 +278,7 @@ public class TopicController extends JeecgController<Topic, ITopicService> { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
QueryWrapper<Topic> queryWrapper= new QueryWrapper<>(); |
|
|
|
QueryWrapper<Topic> queryWrapper= new QueryWrapper<>(); |
|
|
|
queryWrapper.eq("number",topic.getNumber()); |
|
|
|
queryWrapper.eq("annual_compid",topic.getAnnualCompid()).eq("number",topic.getNumber()); |
|
|
|
Topic one = topicService.getOne(queryWrapper); |
|
|
|
Topic one = topicService.getOne(queryWrapper); |
|
|
|
if (!Objects.equals(one.getId(), topic.getId())){ |
|
|
|
if (!Objects.equals(one.getId(), topic.getId())){ |
|
|
|
return Result.error("编码重复"); |
|
|
|
return Result.error("编码重复"); |
|
|
|