| | |
| | | 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; |
| | |
| | | .eq("label_id",householdLabel.getLabelId()); |
| | | HouseholdLabelEntity one = getOne(queryWrapper); |
| | | if (null != one){ |
| | | householdLabel.setId(one.getId()); |
| | | // 更新 |
| | | return updateById(householdLabel); |
| | | } |