|
|
|
@ -318,7 +318,7 @@ public class PlatformServiceImpl implements PlatformService {
|
|
|
|
|
return ResultVOUtils.error(999, "该单据不存在!");
|
|
|
|
|
}
|
|
|
|
|
//查询客户关联信息
|
|
|
|
|
PlatformLinkResponse platformLinkRespons = unitMaintainPlatformDao.selectByUnitld(ioOrderEntity.getFromCorp());
|
|
|
|
|
PlatformLinkResponse platformLinkRespons = unitMaintainPlatformDao.selectByUnitld(ioOrderEntity.getFromCorp(),ioOrderEntity.getAction());
|
|
|
|
|
if(platformLinkRespons == null){
|
|
|
|
|
return ResultVOUtils.error(999, "该单没有设置补单条件!");
|
|
|
|
|
}
|
|
|
|
@ -353,7 +353,10 @@ public class PlatformServiceImpl implements PlatformService {
|
|
|
|
|
ioOrderInvoiceEntity.setLicenseUrl("as" + ioOrderInvoiceEntity.getLicenseUrl());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
relayFile(list,platformLinkRespons.getHost());
|
|
|
|
|
//没有图片的时候不用上传
|
|
|
|
|
if(list.size()>0){
|
|
|
|
|
relayFile(list,platformLinkRespons.getHost());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//组装数据
|
|
|
|
|
String host = platformLinkRespons.getHost();
|
|
|
|
|