fix(#575): 退号流程兼容 CHECKED_IN(3) 状态 + 查询过滤修复
Bug #574 将签到状态从 BOOKED(1) 改为 CHECKED_IN(3) 后, 退号流程只检查 BOOKED(1) 导致已签到患者无法退号。 修复: - OutpatientRegistrationAppServiceImpl: 退号检查兼容 BOOKED(1) 和 CHECKED_IN(3) - OutpatientRegistrationAppServiceImpl: 退号统计改用 refreshPoolStats 统一刷新 - ScheduleSlotMapper.xml: 'checked' 查询过滤兼容 status=1 和 status=3
This commit is contained in:
@@ -340,8 +340,8 @@
|
||||
OR d.is_stopped = FALSE
|
||||
)
|
||||
</when>
|
||||
<when test="'checked'.equals(query.status) or '已取号'.equals(query.status)">
|
||||
AND <include refid="slotStatusNormExpr" /> = 1
|
||||
<when test="'checked'.equals(query.status) or '已取号'.equals(query.status) or '已签到'.equals(query.status)">
|
||||
AND (<include refid="slotStatusNormExpr" /> = 1 OR <include refid="slotStatusNormExpr" /> = 3)
|
||||
AND (
|
||||
d.is_stopped IS NULL
|
||||
OR d.is_stopped = FALSE
|
||||
|
||||
Reference in New Issue
Block a user