|
@@ -1299,7 +1299,9 @@ public class ApsProductionOrderServiceImpl extends ServiceImpl<ApsProductionOrde
|
|
|
//客户ID不为空,查询客户简称赋值
|
|
|
if (StringUtils.isNotBlank(customId)) {
|
|
|
ApsCustomerManagementDo apsCustomerManagementDo = apsCustomerManagementService.getById(customId);
|
|
|
- needUpdateOutProduct.setCustomeasyname(apsCustomerManagementDo.getCustomerabbreviation());
|
|
|
+ if (apsCustomerManagementDo != null) {
|
|
|
+ needUpdateOutProduct.setCustomeasyname(apsCustomerManagementDo.getCustomerabbreviation());
|
|
|
+ }
|
|
|
}
|
|
|
needUpdateOutProductList.add(needUpdateOutProduct);
|
|
|
}
|