|
@@ -185,7 +185,9 @@ public class WarehousingOrderServiceImpl extends ServiceImpl<WarehousingOrderMap
|
|
IdentityAuthenticationInfo identityAuthenticationInfo = identityAuthenticationInfoService.selectOne(new EntityWrapper<IdentityAuthenticationInfo>()
|
|
IdentityAuthenticationInfo identityAuthenticationInfo = identityAuthenticationInfoService.selectOne(new EntityWrapper<IdentityAuthenticationInfo>()
|
|
.eq("comp_id", paymentManagement.getCompId())
|
|
.eq("comp_id", paymentManagement.getCompId())
|
|
.eq("customer_number_card", paymentManagement.getCustomerNumberCard()));
|
|
.eq("customer_number_card", paymentManagement.getCustomerNumberCard()));
|
|
- warehousingOrder.setIdentifyId(identityAuthenticationInfo.getId());
|
|
|
|
|
|
+ if(identityAuthenticationInfo!=null) {
|
|
|
|
+ warehousingOrder.setIdentifyId(identityAuthenticationInfo.getId());
|
|
|
|
+ }
|
|
QualityInspectionManagement qualityInspectionManagement=qualityInspectionManagementService.selectOne(new EntityWrapper<QualityInspectionManagement>()
|
|
QualityInspectionManagement qualityInspectionManagement=qualityInspectionManagementService.selectOne(new EntityWrapper<QualityInspectionManagement>()
|
|
.eq("relation_id", paymentManagement.getRelationId()));
|
|
.eq("relation_id", paymentManagement.getRelationId()));
|
|
warehousingOrder.setWarehouseInOutId(qualityInspectionManagement.getWarehouseInOutId());
|
|
warehousingOrder.setWarehouseInOutId(qualityInspectionManagement.getWarehouseInOutId());
|