Commit 5f4b2e09 by lzy

床位状态

parent 73fd4e94
......@@ -662,12 +662,16 @@ public class PlatElderServiceImpl extends ServiceImpl<PlatElderMapper, PlatElder
addOrEditExt(dto);
if (StringUtils.isNotBlank(dto.getBedId()) && StringUtils.isBlank(db.getBedId())) {
if (StringUtils.isNotBlank(dto.getBedId())) {
checkInInternal(dto.getBedId());
}
if (StringUtils.isNotBlank(oldBedId) && !oldBedId.equals(dto.getBedId())) {
checkOutInternal(oldBedId);
}
}
//@TenantIdIgnore
......
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