Commit 8a8cf83f by 杨伟程

老人增删改查

parent bfe68181
......@@ -158,6 +158,7 @@ public class SysConfigServiceImpl extends ServiceImpl<SysConfigMapper, SysConfig
List<SysConfig> configList = list(listLambdaQueryWrapper(sysConfig));
JoinUtil.join(configList, sysConfigCategoryService, SysConfig::getCategoryId, SysConfigCategory::getId, (c, cc) -> {
c.setCategoryCode(cc.getCode());
c.setCategoryName(cc.getName());
});
......
......@@ -569,6 +569,7 @@ public class PlatElderServiceImpl extends ServiceImpl<PlatElderMapper, PlatElder
String healthInfoId = healthInfo.getId();
BeanUtils.copyProperties(dto.getHealthInfo(), healthInfo);
healthInfo.setId(healthInfoId);
healthInfo.setElderId(dto.getId());
platElderHealthInfoService.saveOrUpdate(healthInfo);
......@@ -581,6 +582,7 @@ public class PlatElderServiceImpl extends ServiceImpl<PlatElderMapper, PlatElder
String otherInfoId = otherInfo.getId();
BeanUtils.copyProperties(dto.getOtherInfo(), otherInfo);
otherInfo.setId(otherInfoId);
otherInfo.setElderId(dto.getId());
platElderOtherInfoService.saveOrUpdate(otherInfo);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment