src/cn/itbaizhan/health/action/base/DairyBaseAction.java

(开头部分) 1KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

package cn.itbaizhan.health.action.base;

import java.util.List;

import cn.itbaizhan.health.po.Dairy;
import cn.itbaizhan.health.po.Food;
import cn.itbaizhan.health.service.DairyServiceInter;
import cn.itbaizhan.health.service.FoodServiceInter;

import com.opensymphony.xwork2.ActionSupport;

public class DairyBaseAction extends ActionSupport {
	protected DairyServiceInter dairyService;
	protected FoodServiceInter foodService;

	public void setFoodService(FoodServiceInter foodService) {
		this.foodService = foodService;
	}

	public void setDairyService(DairyServiceInter dairyService) {
		this.dairyService = dairyService;
	}

	/*---------------*/
	protected Dairy dairy;
	protected List<Food> foodList;
	protected String day;
	protected Integer[] foodSelect;
	protected String errorMessage;

	public String getErrorMessage() {
		return errorMessage;
	}

	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}

	public Integer[] getFoodSelect() {
		return foodSelect;
	}

	public void setFoodSelect(Integer[] foodSelect) {
		this.foodSelect = foodSelect;
	}

	public String getDay() {
		return day;
	}

	public void setDay(String day) {
		this.day = day;
	}

	public Dairy getDairy() {
		return dairy;
	}

	public void setDairy(Dairy dairy) {
		this.dairy = dairy;
后面还有 10 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。