From ac43c15b8b8a2545699123705ea58b9d8c064e9e Mon Sep 17 00:00:00 2001 From: czx <28353131@qq.com> Date: Mon, 7 Dec 2020 13:50:05 +0800 Subject: [PATCH] =?UTF-8?q?=E7=97=85=E6=82=A3=E9=BB=98=E8=AE=A4=E9=85=8D?= =?UTF-8?q?=E9=A4=90=E9=85=8D=E7=BD=AE=E5=88=A0=E9=99=A4price=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=EF=BC=8C=E8=B0=83=E6=95=B4sql=E8=AF=AD=E5=8F=A5?= 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 4b2f6e17d..7f9769061 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 @@ -15,7 +15,7 @@ import java.util.List; * @date 2020-12-03 */ public interface FtFoodDemandDaoMapper extends BaseMapper { - @Insert("insert into ft_food_demand (patient_id, foods, type, price) select #{patient_id}, food_list, type, price FROM ft_food_default") + @Insert("insert into ft_food_demand (patient_id, foods, type) select #{patient_id}, food_list, type 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 )")