|
@@ -103,6 +103,7 @@ public class EnteralNutritionTemplateServiceImpl implements IEnteralNutritionTem
|
|
|
lqw.in(!deptIds.isEmpty(), EnteralNutritionTemplate::getPrescriptionId, deptIds);
|
|
|
|
|
|
lqw.eq(bo.getType() != null, EnteralNutritionTemplate::getType, bo.getType());
|
|
|
+ lqw.eq(bo.getTemplateType() != null, EnteralNutritionTemplate::getTemplateType, bo.getTemplateType());
|
|
|
lqw.eq(bo.getPrescriptionId() != null, EnteralNutritionTemplate::getPrescriptionId, bo.getPrescriptionId());
|
|
|
lqw.eq(StringUtils.isNotBlank(bo.getContent()), EnteralNutritionTemplate::getContent, bo.getContent());
|
|
|
lqw.eq(StringUtils.isNotBlank(bo.getStatus()), EnteralNutritionTemplate::getStatus, bo.getStatus());
|
|
@@ -161,4 +162,10 @@ public class EnteralNutritionTemplateServiceImpl implements IEnteralNutritionTem
|
|
|
}
|
|
|
return baseMapper.deleteByIds(ids) > 0;
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public TableDataInfo<EnteralNutritionTemplateVo> listAll() {
|
|
|
+ List<EnteralNutritionTemplateVo> result = baseMapper.selectVoList();
|
|
|
+ return TableDataInfo.build(result);
|
|
|
+ }
|
|
|
}
|