| | |
| | | articleComments.setMemberId(articleCommentsDTO.getMemberId()); |
| | | articleComments.setArticleId(articleCommentsDTO.getArticleId()); |
| | | articleComments.setContent(articleCommentsDTO.getContent()); |
| | | articleComments.setState(articleCommentsDTO.getState()); |
| | | articleComments.setType(1); |
| | | }else{ |
| | | articleComments.setMemberId(articleCommentsDTO.getMemberId()); |
| | |
| | | articleComments.setReplyId(articleCommentsDTO.getReplyId()); |
| | | articleComments.setContent(articleCommentsDTO.getContent()); |
| | | articleComments.setBmemberId(articleCommentsDTO.getBmemberId()); |
| | | articleComments.setState(articleCommentsDTO.getState()); |
| | | articleComments.setType(2); |
| | | } |
| | | Article byId = articleMapper.selectById(articleCommentsDTO.getArticleId()); |