diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/vo/FtPatientVo.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/vo/FtPatientVo.java index 57549df38..3a5f00a3e 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/vo/FtPatientVo.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/vo/FtPatientVo.java @@ -17,6 +17,8 @@ import java.util.List; @AllArgsConstructor public class FtPatientVo extends FtPatientDao { + @TableField(exist = false) + private Boolean openFlag; List reportMealsList; } diff --git a/ruoyi-system/src/main/resources/mapper/fantang/FtPatientDaoMapper.xml b/ruoyi-system/src/main/resources/mapper/fantang/FtPatientDaoMapper.xml index dce1d010f..1b1c8b0e5 100644 --- a/ruoyi-system/src/main/resources/mapper/fantang/FtPatientDaoMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/fantang/FtPatientDaoMapper.xml @@ -32,7 +32,8 @@ c.vegetables, c.meat, c.rice, - c.egg + c.egg, + c.open_flag from ft_patient a LEFT JOIN ft_depart b on a.depart_id = b.depart_id RIGHT JOIN ft_report_meals c on a.patient_id = c.patient_id @@ -45,6 +46,7 @@ + @@ -81,7 +83,8 @@ c.vegetables, c.meat, c.rice, - c.egg + c.egg, + c.open_flag from ft_patient a LEFT JOIN ft_depart b on a.depart_id = b.depart_id RIGHT JOIN ft_report_meals c on a.patient_id = c.patient_id