mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-18 09:35:29 +08:00
病患默认配餐配置删除price字段,调整sql语句
This commit is contained in:
parent
b99ab862ef
commit
ac43c15b8b
@ -15,7 +15,7 @@ import java.util.List;
|
||||
* @date 2020-12-03
|
||||
*/
|
||||
public interface FtFoodDemandDaoMapper extends BaseMapper<FtFoodDemandDao> {
|
||||
@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 )")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user