新增食谱制作时按病症筛选功能

This commit is contained in:
huangdeliang
2021-04-27 11:55:11 +08:00
parent a45060a87c
commit a24a9e8674
20 changed files with 275 additions and 174 deletions

View File

@ -89,4 +89,10 @@ public class SysDishes {
private Integer[] dishClass;
private Long[] notRecIds;
private Long[] recIds;
private String physical;
}

View File

@ -31,5 +31,8 @@ public class SysDishesIngredient extends SysIngredient {
private String cus_weight;
private String recIdsStr;
private String notRecIdsStr;
}

View File

@ -101,7 +101,6 @@ public class SysIngredient {
*/
private String remark;
private Long[] recIds;
private Long[] notRecIds;

View File

@ -1,30 +0,0 @@
package com.stdiet.custom.domain;
public class SysIngredientNotRec {
private Long ingredientId;
private Long notRecommandId;
public Long getIngredientId() {
return ingredientId;
}
public void setIngredientId(Long ingredientId) {
this.ingredientId = ingredientId;
}
public Long getRecommandId() {
return notRecommandId;
}
public void setRecommandId(Long recommandId) {
this.notRecommandId = recommandId;
}
@Override
public String toString() {
return "SysIngredientRec{" +
"ingredientId=" + ingredientId +
", notRecommandId=" + notRecommandId +
'}';
}
}

View File

@ -1,30 +0,0 @@
package com.stdiet.custom.domain;
public class SysIngredientRec {
private Long ingredientId;
private Long recommandId;
public Long getIngredientId() {
return ingredientId;
}
public void setIngredientId(Long ingredientId) {
this.ingredientId = ingredientId;
}
public Long getRecommandId() {
return recommandId;
}
public void setRecommandId(Long recommandId) {
this.recommandId = recommandId;
}
@Override
public String toString() {
return "SysIngredientRec{" +
"ingredientId=" + ingredientId +
", recommandId=" + recommandId +
'}';
}
}

View File

@ -1,9 +1,7 @@
package com.stdiet.custom.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.stdiet.common.annotation.Excel;
import com.stdiet.common.core.domain.BaseEntity;
import lombok.Data;
/**
* 体征对象 sys_physical_signs
@ -11,56 +9,27 @@ import com.stdiet.common.core.domain.BaseEntity;
* @author wonder
* @date 2020-12-23
*/
public class SysPhysicalSigns extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** id */
@Data
public class SysPhysicalSigns {
/**
* id
*/
private Long id;
/** 体征名称 */
/**
* 体征名称
*/
@Excel(name = "体征名称")
private String name;
/** 体征类别 */
@Excel(name = "体征类别")
/**
* 体征类别
*/
private Long typeId;
public void setId(Long id)
{
this.id = id;
}
@Excel(name = "体征类别")
private String typeName;
public Long getId()
{
return id;
}
public void setName(String name)
{
this.name = name;
}
private String remark;
public String getName()
{
return name;
}
public void setTypeId(Long typeId)
{
this.typeId = typeId;
}
public Long getTypeId()
{
return typeId;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("name", getName())
.append("typeId", getTypeId())
.append("remark", getRemark())
.toString();
}
}

View File

@ -0,0 +1,11 @@
package com.stdiet.custom.domain;
import lombok.Data;
@Data
public class SysPhysicalSignsObj {
Long targetId;
Long physicalSignsId;
}