|
@@ -48,6 +48,8 @@ public class QualityInspectionManagementServiceImpl extends ServiceImpl<QualityI
|
|
@Autowired
|
|
@Autowired
|
|
private IContractManagementInfoService contractManagementInfoService;
|
|
private IContractManagementInfoService contractManagementInfoService;
|
|
@Autowired
|
|
@Autowired
|
|
|
|
+ private IIdentityAuthenticationInfoService identityAuthenticationInfoService;
|
|
|
|
+ @Autowired
|
|
private ICommonStaffService staffService;
|
|
private ICommonStaffService staffService;
|
|
@Autowired
|
|
@Autowired
|
|
private QRCodeUtil qrCodeUtil ;
|
|
private QRCodeUtil qrCodeUtil ;
|
|
@@ -147,6 +149,15 @@ public class QualityInspectionManagementServiceImpl extends ServiceImpl<QualityI
|
|
qualityInspectionManagement.setPerson(warehouseBaseInfo.getPersonCharge());
|
|
qualityInspectionManagement.setPerson(warehouseBaseInfo.getPersonCharge());
|
|
qualityInspectionManagement.setPersonPhone(warehouseBaseInfo.getPersonPhone());
|
|
qualityInspectionManagement.setPersonPhone(warehouseBaseInfo.getPersonPhone());
|
|
}
|
|
}
|
|
|
|
+ //客户信息
|
|
|
|
+ IdentityAuthenticationInfo identityAuthenticationInfo = identityAuthenticationInfoService.selectOne(new EntityWrapper<IdentityAuthenticationInfo>()
|
|
|
|
+ .eq("comp_id", qualityInspectionManagement.getCompId())
|
|
|
|
+ .eq("customer_name",qualityInspectionManagement.getCustomerName())
|
|
|
|
+ .eq("customer_phone",qualityInspectionManagement.getCustomerPhone()));
|
|
|
|
+ if(identityAuthenticationInfo != null){
|
|
|
|
+ //客户身份证号
|
|
|
|
+ qualityInspectionManagement.setCustomerNumberCard(identityAuthenticationInfo.getCustomerNumberCard());
|
|
|
|
+ }
|
|
//检斤信息
|
|
//检斤信息
|
|
WeighingManagement weighingManagement = weighingManagementService.selectOne(new EntityWrapper<WeighingManagement>()
|
|
WeighingManagement weighingManagement = weighingManagementService.selectOne(new EntityWrapper<WeighingManagement>()
|
|
.eq("relation_id", qualityInspectionManagement.getRelationId())
|
|
.eq("relation_id", qualityInspectionManagement.getRelationId())
|