病人配餐默认不开启营养餐
This commit is contained in:
parent
629e81c177
commit
d04a9c5cbb
@ -96,7 +96,6 @@ public class FtCateringDaoController extends BaseController {
|
|||||||
foodDemandDao.setPatientId(patientId);
|
foodDemandDao.setPatientId(patientId);
|
||||||
foodDemandDao.setType(type);
|
foodDemandDao.setType(type);
|
||||||
foodDemandDao.setNutritionFoodId(ftCateringDao.getNumber());
|
foodDemandDao.setNutritionFoodId(ftCateringDao.getNumber());
|
||||||
foodDemandDao.setNutritionFoodFlag(1);
|
|
||||||
foodDemandDao.setCreateAt(new Date());
|
foodDemandDao.setCreateAt(new Date());
|
||||||
iFtFoodDemandDaoService.save(foodDemandDao);
|
iFtFoodDemandDaoService.save(foodDemandDao);
|
||||||
} else {
|
} else {
|
||||||
@ -105,7 +104,6 @@ public class FtCateringDaoController extends BaseController {
|
|||||||
wrapper.eq("type", type);
|
wrapper.eq("type", type);
|
||||||
FtFoodDemandDao foodDemandDao = iFtFoodDemandDaoService.getOne(wrapper);
|
FtFoodDemandDao foodDemandDao = iFtFoodDemandDaoService.getOne(wrapper);
|
||||||
foodDemandDao.setNutritionFoodId(ftCateringDao.getNumber());
|
foodDemandDao.setNutritionFoodId(ftCateringDao.getNumber());
|
||||||
foodDemandDao.setNutritionFoodFlag(1);
|
|
||||||
foodDemandDao.setUpdateAt(new Date());
|
foodDemandDao.setUpdateAt(new Date());
|
||||||
iFtFoodDemandDaoService.updateById(foodDemandDao);
|
iFtFoodDemandDaoService.updateById(foodDemandDao);
|
||||||
}
|
}
|
||||||
@ -131,7 +129,6 @@ public class FtCateringDaoController extends BaseController {
|
|||||||
wrapper.eq("type", type);
|
wrapper.eq("type", type);
|
||||||
FtFoodDemandDao foodDemandDao = iFtFoodDemandDaoService.getOne(wrapper);
|
FtFoodDemandDao foodDemandDao = iFtFoodDemandDaoService.getOne(wrapper);
|
||||||
foodDemandDao.setNutritionFoodId(number);
|
foodDemandDao.setNutritionFoodId(number);
|
||||||
foodDemandDao.setNutritionFoodFlag(1);
|
|
||||||
foodDemandDao.setUpdateAt(new Date());
|
foodDemandDao.setUpdateAt(new Date());
|
||||||
iFtFoodDemandDaoService.updateById(foodDemandDao);
|
iFtFoodDemandDaoService.updateById(foodDemandDao);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user