package com.huaao.news.action.client;
import java.util.Date;
import java.util.List;
import com.huaao.news.bean.Comments;
import com.huaao.news.service.ICommentsService;
import com.huaao.news.util.WiterUtil;
public class CommentsClientAction {
private Comments comments;
private ICommentsService commentsService;
private List<Comments> list;
public void select(){
list = commentsService.selectComments(comments);
WiterUtil.witer(list, "comments");
}
public void add(){
comments.setCommentsData(new Date());
WiterUtil.response(commentsService.add(comments)+"");
}
public Comments getComments() {
return comments;
}
public void setComments(Comments comments) {
this.comments = comments;
}
public ICommentsService getCommentsService() {
return commentsService;
}
public void setCommentsService(ICommentsService commentsService) {
this.commentsService = commentsService;
}
}
最近下载更多
最近浏览更多
2022102154 LV1
3月27日
wjs-zuizui
2024年10月19日
暂无贡献等级
anjuw521 LV1
2024年7月9日
wwwqwq
2024年6月21日
暂无贡献等级
1941549176 LV4
2024年6月4日
微信网友_6909455156350976 LV2
2024年3月16日
666ing LV2
2023年12月27日
微笑刺客 LV21
2023年12月12日
LITIANYU084414 LV11
2023年11月28日
hhhhhz LV7
2023年11月14日

