Browse Source

fix 常用人员

tjf 1 month ago
parent
commit
dfb2fea0c3

+ 1 - 1
ruoyi-modules/ruoyi-wuye/src/main/java/org/dromara/service/impl/ResidentInfoServiceImpl.java

@@ -240,7 +240,7 @@ public class ResidentInfoServiceImpl implements IResidentInfoService {
             if (houseInfoRedidentList != null && !houseInfoRedidentList.isEmpty()) {
                 //新增房屋信息到房屋用户表中
                 TenantHelper.ignore(() -> {
-                    return houseInfoRedidentMapper.insertBatch(houseInfoRedidentList);
+                    return houseInfoRedidentMapper.insertOrUpdateBatch(houseInfoRedidentList);
                 });
             }
         }