|
@@ -446,10 +446,8 @@ public class ManagerController {
|
|
renovationPartsDetailEntity.setPartsBrandId(1L);
|
|
renovationPartsDetailEntity.setPartsBrandId(1L);
|
|
}
|
|
}
|
|
RenovationPartsBrandEntity renovationPartsBrandEntity = renovationPartsBrandService.findById(renovationPartsDetailEntity.getPartsBrandId());
|
|
RenovationPartsBrandEntity renovationPartsBrandEntity = renovationPartsBrandService.findById(renovationPartsDetailEntity.getPartsBrandId());
|
|
-
|
|
|
|
- if(renovationPartsBrandEntity != null){
|
|
|
|
- responseRenovationPartsDetailManager.setBrandName(renovationPartsBrandEntity.getBrandName());
|
|
|
|
- }
|
|
|
|
|
|
+ responseRenovationPartsDetailManager.setBrandName(renovationPartsBrandEntity.getBrandName());
|
|
|
|
+ responseRenovationPartsDetailManager.setPartsBrandId(renovationPartsBrandEntity.getId());
|
|
|
|
|
|
|
|
|
|
if(renovationPartsDetailEntity.getCompanyId() != null){
|
|
if(renovationPartsDetailEntity.getCompanyId() != null){
|