package cn.dinner.action;

import java.util.List;

import net.sf.json.JSONArray;
import net.sf.json.JSONObject;

import org.springframework.beans.factory.annotation.Autowired;

import cn.dinner.entity.DinnerNotice;
import cn.dinner.service.DinnerNoticeservice;

public class DinnerNoticeAction {
	@Autowired
	private DinnerNoticeservice dinnerNoticeservice;
	
	//查询条件
	private Integer id;
	private JSONArray noticejson;
	/**
	 * 查询小票
	 * @return
	 */
	public String getAlldinnerNoticeByid(){
		List<DinnerNotice> noticeList = dinnerNoticeservice.getAllDinnerNoticeByID(id);
		noticejson = JSONArray.fromObject(noticeList);
		return "success";
	}

	//封装
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public JSONArray getNoticejson() {
		return noticejson;
	}

	public void setNoticejson(JSONArray noticejson) {
		this.noticejson = noticejson;
	}

	public DinnerNoticeservice getDinnerNoticeservice() {
		return dinnerNoticeservice;
	}

	public void setDinnerNoticeservice(DinnerNoticeservice dinnerNoticeservice) {
		this.dinnerNoticeservice = dinnerNoticeservice;
	}
	
}
最近下载更多
adminadminsqwqe  LV8 2024年6月14日
jkjfdgbkl  LV2 2023年11月14日
haotzy  LV3 2023年10月7日
woaiheyuhlx  LV1 2023年6月9日
朱俪的邮件及存储  LV8 2023年3月18日
唐僧洗头用飘柔啊  LV1 2023年3月8日
604183463  LV2 2023年2月28日
飞翔的面包片  LV13 2022年12月15日
pannifeng  LV2 2022年11月21日
zzw123zzw  LV6 2022年9月30日
最近浏览更多
chutianyu  LV4 1月16日
krispeng  LV14 2024年10月3日
瞎敲代码 2024年9月19日
暂无贡献等级
adminadminsqwqe  LV8 2024年6月14日
Anqixiao  LV1 2024年6月12日
hlFDGd  LV1 2024年6月11日
郭宇航裹裹  LV5 2024年6月10日
fkjafjkkfo  LV2 2024年4月24日
eircNB  LV2 2024年4月17日
lizheng1118  LV8 2024年2月8日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友