编辑设备得时候同步更新相关id

This commit is contained in:
wulin 2020-12-29 10:33:52 +08:00
parent 74319a42bb
commit 3c90ccb67b

View File

@ -173,6 +173,9 @@ public class EquipmentInfoServiceImpl extends ServiceImpl<EquipmentInfoMapper, E
}
info.setType(equipmentType.getType());
info.setBrandName(equipmentBrand.getBrand());
info.setSpecsId(dto.getSpecId());
info.setBrandId(dto.getBrandId());
info.setTypeId(dto.getTypeId());
info.setSpecType(equipmentSpecs.getSpecs());
info.setQr(dto.getQr());
info.setCode(dto.getCode());