|
@@ -727,7 +727,7 @@ public class PurchContractApprovalServiceImpl extends ServiceImpl<PurchContractA
|
|
|| contractApproval == null) {
|
|
|| contractApproval == null) {
|
|
//贸易平台的信息
|
|
//贸易平台的信息
|
|
Platform platform = platformService.getById(purch.getTradingPlatformId());
|
|
Platform platform = platformService.getById(purch.getTradingPlatformId());
|
|
- if (purchContractApprovalVo.getPurchContractReplenishInfo().getProjectAmountCategory() != null && platform.getAuthStatus().equals(1) && platform.isAutoSignStatus() && purchContractApprovalVo.getPurchContractApproval().getSignMode()== 1) {
|
|
|
|
|
|
+ if (purchContractApprovalVo.getPurchContractReplenishInfo().getProjectAmountCategory() != null && platform.getAuthStatus() == 1 && platform.isAutoSignStatus() && purchContractApprovalVo.getPurchContractApproval().getSignMode()== 1) {
|
|
//制作合同
|
|
//制作合同
|
|
File outFile = purchContractElectronicInfoService.makePurchContractDocx(purchContractManagement, purch);
|
|
File outFile = purchContractElectronicInfoService.makePurchContractDocx(purchContractManagement, purch);
|
|
//将docx转为pdf
|
|
//将docx转为pdf
|