From 5b1eb6d89d5295ffaf1759b84fc3adbc652762f0 Mon Sep 17 00:00:00 2001 From: czx <28353131@qq.com> Date: Tue, 19 Jan 2021 17:52:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E5=AF=B9=E5=BA=94=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93=E7=97=85=E6=82=A3=E6=8A=A5=E9=A4=90=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E6=98=AF=E5=90=A6=E5=BC=80=E9=80=9A=E8=90=A5=E5=85=BB?= =?UTF-8?q?=E9=85=8D=E9=A4=90=E6=A0=87=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/ruoyi/system/fantang/vo/FtPatientVo.java | 2 ++ .../main/resources/mapper/fantang/FtPatientDaoMapper.xml | 7 +++++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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