From 5e8ac3b417056d9e22de21188c2df85103aa3380 Mon Sep 17 00:00:00 2001 From: czx <28353131@qq.com> Date: Thu, 14 Jan 2021 16:13:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=BB=98=E8=AE=A4=E7=97=85?= =?UTF-8?q?=E4=BA=BA=E7=94=9F=E6=88=90=E8=AE=B0=E5=BD=95=EF=BC=8C=E6=97=A9?= =?UTF-8?q?=E5=8D=88=E6=99=9A=E5=8A=A0=E5=9B=9B=E9=A4=90=E5=85=A8=E9=83=A8?= =?UTF-8?q?=E5=90=AF=E7=94=A8=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ruoyi/system/fantang/mapper/FtFoodDemandDaoMapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtFoodDemandDaoMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtFoodDemandDaoMapper.java index 5e89853f2..916b44b6d 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtFoodDemandDaoMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtFoodDemandDaoMapper.java @@ -17,7 +17,7 @@ import java.util.List; * @date 2020-12-03 */ public interface FtFoodDemandDaoMapper extends BaseMapper { - @Insert("insert into ft_food_demand (patient_id, foods, type) select #{patient_id}, food_list, type FROM ft_food_default") + @Insert("insert into ft_food_demand (patient_id, foods, type, flag) select #{patient_id}, food_list, type, 1 FROM ft_food_default") public Integer GenerateOrderByPatientId(@Param("patient_id") Long patientId); @Select("select a.patient_id from ft_patient a where a.patient_id not in (select patient_id from ft_food_demand c )")