Selaa lähdekoodia

食物热量查询修改!

8 vuotta sitten
vanhempi
commit
7111d96201

+ 3 - 3
patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/education/FoodComp.java

@ -30,7 +30,7 @@ public class FoodComp extends IdEntity {
	// 成分
	private String component;
	//重量
	private int weight;
	private String weight;
	private String photo;
@ -74,11 +74,11 @@ public class FoodComp extends IdEntity {
		this.component = component;
	}
	public int getWeight() {
	public String getWeight() {
		return weight;
	}
	public void setWeight(int weight) {
	public void setWeight(String weight) {
		this.weight = weight;
	}
}