This commit is contained in:
2022-04-21 23:48:10 +08:00
parent 3e59f8f617
commit adcc060a94
4 changed files with 1 additions and 4 deletions
@@ -91,7 +91,6 @@ public class UserPostController extends BaseController {
newdd.setUsernameLast(lastUser.getUsername());
}
List<Tag> tags = tagsService.findByDId(id);
List postsObj = postsService.findPostCustomById(id);
map.put("tags", tags);
@@ -35,7 +35,6 @@ import java.util.Map;
*/
@Controller
public class UserSystemController extends BaseController {
private static Logger logger = LoggerFactory.getLogger(UserSystemController.class);
@Autowired
@@ -15,7 +15,6 @@ public interface TagsRepository extends JpaRepository<Tag, Integer> {
@Query(value = "FROM Tag a, DiscussionTag b WHERE a.id = b.tagId and b.discussionId = :dId")
List<Tag> findByDId(@Param("dId") Integer dId);
@Query("select new com.yaoyuan.jiscuss.entity.custom.TagCustom(" +
"u.name,u.color,u.icon,u.description, d.discussionId" +
") " +
@@ -17,7 +17,7 @@ public class ResponseResult implements Serializable {
/**
*
* serialVersionUID
*/
private static final long serialVersionUID = 1L;