From 1081c45c8da42604252a8953ea6c27985f90d55a Mon Sep 17 00:00:00 2001 From: jiask <1069621233@qq.com> Date: Sat, 23 Aug 2025 13:59:33 +0800 Subject: [PATCH] =?UTF-8?q?jsk=20=20=E8=A7=A3=E5=86=B3=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E8=B4=A6=E5=8F=B7=E5=81=A5=E5=BA=B7=E8=AE=BE=E7=BD=AE=E5=87=BA?= =?UTF-8?q?=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../health/service/impl/HealthPersonInfoServiceImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/health/service/impl/HealthPersonInfoServiceImpl.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/health/service/impl/HealthPersonInfoServiceImpl.java index 8889570..dcb06ec 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/health/service/impl/HealthPersonInfoServiceImpl.java +++ b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/health/service/impl/HealthPersonInfoServiceImpl.java @@ -112,10 +112,10 @@ public class HealthPersonInfoServiceImpl implements IHealthPersonInfoService { HealthPersonInfo chronicVo=new HealthPersonInfo(); chronicVo.setChronicIds(content.getChronicIds()); List chronicVos=null; - if(StringUtils.isNull(content.getChronicIds())){ - chronicVos=healthPersonInfoMapper.selectHealthChronicList(chronicVo); - }else{ + if(StringUtils.isEmpty(content.getChronicIds())){ healthPersonInfoMapper.deleteHealthInfoChronic(content); + }else{ + chronicVos=healthPersonInfoMapper.selectHealthChronicList(chronicVo); } if(chronicVos!=null&&chronicVos.size()>0){ /**