linwe
2023-11-14 acf2bdafdfa2fb1fe423d0700950c3ddd53c481b
src/main/java/org/springblade/modules/house/service/impl/HouseholdLabelServiceImpl.java
@@ -19,7 +19,7 @@
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springblade.common.node.TreeNode;
import org.springblade.modules.house.entity.HouseLabelEntity;
import org.springblade.modules.house.entity.UserHouseLabelEntity;
import org.springblade.modules.house.entity.HouseholdLabelEntity;
import org.springblade.modules.house.vo.HouseholdLabelVO;
import org.springblade.modules.house.mapper.HouseholdLabelMapper;
@@ -67,6 +67,7 @@
         .eq("label_id",householdLabel.getLabelId());
      HouseholdLabelEntity one = getOne(queryWrapper);
      if (null != one){
         householdLabel.setId(one.getId());
         // 更新
         return updateById(householdLabel);
      }