|
|
@@ -1754,7 +1754,12 @@ public class FsStoreOrderScrmServiceImpl implements IFsStoreOrderScrmService {
|
|
|
|
|
|
FsStoreOrderAuditScrm orderAudit = new FsStoreOrderAuditScrm();
|
|
|
orderAudit.setOrderId(order.getId());
|
|
|
- orderAudit.setCompanyId(order.getCompanyId());
|
|
|
+ if(order.getCompanyId()==null){
|
|
|
+ orderAudit.setCompanyId(0L);
|
|
|
+ }else {
|
|
|
+ orderAudit.setCompanyId(order.getCompanyId());
|
|
|
+
|
|
|
+ }
|
|
|
orderAudit.setCompanyUserId(order.getCompanyUserId());
|
|
|
orderAudit.setAuditStatus(OrderAuditStateEnum.COMPANY_PENDING.getValue());
|
|
|
orderAudit.setCreateTime(LocalDateTime.now());
|