bug修复

This commit is contained in:
1378012178@qq.com 2025-09-29 09:03:38 +08:00
parent bd8a4ac70c
commit ddae5647b1
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ public class ElderInfoServiceImpl extends ServiceImpl<ElderInfoMapper, ElderInfo
// 2. 查询变更后数据
QueryWrapper<ElderModifyInfo> nowUseQW = new QueryWrapper<>();
if ("gua".equals(usingData.getQueryModifyType())) {
if ("gua".equals(elderInfo.getQueryModifyType())) {
nowUseQW.eq("id", usingData.getGuardianModifyId());
} else {
nowUseQW.eq("id", usingData.getElderModifyId());