Pārlūkot izejas kodu

feat(采购合同):审核修改

Wangyafan 6 mēneši atpakaļ
vecāks
revīzija
9c844f9027

+ 1 - 1
src/main/java/com/sunxung/factoring/service/purchcontractmanagement/impl/PurchContractApprovalServiceImpl.java

@@ -727,7 +727,7 @@ public class PurchContractApprovalServiceImpl extends ServiceImpl<PurchContractA
                 || contractApproval == null) {
             //贸易平台的信息
             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);
                 //将docx转为pdf