|
|
@ -150,11 +150,11 @@ public class PartyTopicServiceImpl extends BaseServiceImpl<PartyTopicDao, PartyT |
|
|
|
|
|
|
|
@Override |
|
|
|
public Result modifyTopicState(GroupTopicCloseFormDTO formDto) { |
|
|
|
if(formDto.getId().size() == 0){ |
|
|
|
if(formDto.getIds().size() == 0){ |
|
|
|
return new Result().error("请选择关闭的话题"); |
|
|
|
} |
|
|
|
List<PartyTopicEntity> list = new ArrayList<>(); |
|
|
|
for (String id : formDto.getId()) { |
|
|
|
for (String id : formDto.getIds()) { |
|
|
|
PartyTopicEntity entity = new PartyTopicEntity(); |
|
|
|
entity.setId(id); |
|
|
|
entity.setRemark(formDto.getRemark()); |
|
|
|