From 1080c90a0986638085e8657fc169d1e495ba78a5 Mon Sep 17 00:00:00 2001 From: "java_cuibaocheng@163.com" Date: Thu, 30 Nov 2023 10:12:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=BA=E5=8F=A3=E5=9F=BA=E6=9C=AC=E4=BF=A1?= =?UTF-8?q?=E6=81=AF-=20=E4=BF=AE=E6=94=B9=E6=88=BF=E9=97=B4=E4=BA=BA?= =?UTF-8?q?=E5=91=98=E5=88=A0=E9=99=A4=E4=B8=8D=E4=BA=86=E7=9A=84Bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/population/impl/PopulationServiceImpl.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/cm/population/service/population/impl/PopulationServiceImpl.java b/src/main/java/com/cm/population/service/population/impl/PopulationServiceImpl.java index a5760f6..8203e19 100644 --- a/src/main/java/com/cm/population/service/population/impl/PopulationServiceImpl.java +++ b/src/main/java/com/cm/population/service/population/impl/PopulationServiceImpl.java @@ -108,6 +108,9 @@ public class PopulationServiceImpl extends AbstractService implements IPopulatio save(token, populationVO); } } + }else { + // 全部删除 + populationDao.deleteByHouseId(houseId); } }