Parcourir la source

复制费用审核状态bug 修复

wanghao il y a 1 mois
Parent
commit
8321ea6df5

+ 2 - 0
tenant/organization/src/main/java/com/jzg/organization/service/impl/PtlAgreementCostServiceImpl.java

@@ -411,6 +411,8 @@ public class PtlAgreementCostServiceImpl extends ServiceImpl<PtlAgreementCostMap
             ptlAgreementCost.setCreateTime(LocalDateTime.now());
             ptlAgreementCost.setProductId(costCopyParam.getProductId());
             ptlAgreementCost.setProductName(costCopyParam.getProductName());
+            // 复制的费用为待审核
+            ptlAgreementCost.setApproved(0);
 
 
             List<PtlAgreementCostType> newPtlAgreementCostTypes = ptlAgreementCostTypes.stream()