コード例 #1
0
 @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;
 }
コード例 #2
0
 @Override
 public List<PlView> findPlViewListByTextId(Integer textid, String userid) {
   return replyDetailMapper.findPlViewListByTextId(textid, userid);
 }