@Override public int addPl(String textid, String usersrc, String content) { Replydetail detail = new Replydetail(); detail.setReply(content); detail.setReplytime(new Date()); detail.setReplytype(BigDecimal.valueOf(0L)); detail.setTextid(BigDecimal.valueOf(Long.valueOf(textid))); detail.setUserfrom(usersrc); replyDetailMapper.insertSelective(detail); return 1; }
@Override public List<PlView> findPlViewListByTextId(Integer textid, String userid) { return replyDetailMapper.findPlViewListByTextId(textid, userid); }