|
|
@ -185,9 +185,14 @@ public class IoCollectOrderBackupService extends ServiceImpl<IoCollectOrderBacku
|
|
|
|
orderEntity.setMainAction(bussinessTypeEntity.getMainAction());
|
|
|
|
orderEntity.setMainAction(bussinessTypeEntity.getMainAction());
|
|
|
|
orderEntity.setAction(bussinessTypeEntity.getAction());
|
|
|
|
orderEntity.setAction(bussinessTypeEntity.getAction());
|
|
|
|
orderEntity.setCreateTime(new Date());
|
|
|
|
orderEntity.setCreateTime(new Date());
|
|
|
|
orderEntity.setInvCode(collectOrder.getShipper() + "");
|
|
|
|
if (IntUtil.value(sysWorkplaceDocumentEntity.getCorpType()) == 2) {
|
|
|
|
|
|
|
|
orderEntity.setInvCode(collectOrder.getShipper() + "");
|
|
|
|
|
|
|
|
orderEntity.setFromCorp(collectOrder.getFromCorp());
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
orderEntity.setInvCode(collectOrder.getFromCorp() + "");
|
|
|
|
|
|
|
|
orderEntity.setFromCorp(collectOrder.getShipper());
|
|
|
|
|
|
|
|
}
|
|
|
|
orderEntity.setDeptCode("");
|
|
|
|
orderEntity.setDeptCode("");
|
|
|
|
orderEntity.setFromCorp(collectOrder.getFromCorp());
|
|
|
|
|
|
|
|
orderEntity.setCorpOrderId(CustomUtil.getId() + "x");
|
|
|
|
orderEntity.setCorpOrderId(CustomUtil.getId() + "x");
|
|
|
|
orderEntity.setExportStatus(0);
|
|
|
|
orderEntity.setExportStatus(0);
|
|
|
|
orderEntity.setStatus(ConstantStatus.ORDER_STATUS_CHECK_PROCESS);
|
|
|
|
orderEntity.setStatus(ConstantStatus.ORDER_STATUS_CHECK_PROCESS);
|
|
|
|