소스 검색

修改协议 产品费用 都改为启用

wks 1 년 전
부모
커밋
fa1eb5205e
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      src/main/java/com/ydtech/modules/protocols/service/impl/PtlAgreementProductCostsNewServiceImpl.java

+ 3 - 3
src/main/java/com/ydtech/modules/protocols/service/impl/PtlAgreementProductCostsNewServiceImpl.java

@@ -594,7 +594,7 @@ public class PtlAgreementProductCostsNewServiceImpl extends ServiceImpl<PtlAgree
             ptlAgreementProductCostsNew.setCreateBy(BaseController.getUser().getId());
             ptlAgreementProductCostsNew.blank();
             ptlAgreementProductCostsNew.setIsAudit(AgreementProductCostsAuditStatus.COSTS_AUDIT_STATUS_0.getCode());
-            ptlAgreementProductCostsNew.setValidStatus(ValidStatus.AVS_0.getCode());
+            ptlAgreementProductCostsNew.setValidStatus(ValidStatus.AVS_1.getCode());
 
             int insert = baseMapper.insert(ptlAgreementProductCostsNew);
 
@@ -2477,7 +2477,7 @@ public class PtlAgreementProductCostsNewServiceImpl extends ServiceImpl<PtlAgree
                         .update();
             }
 
-            ptlAgreementProductCostsNew.setValidStatus(ValidStatus.AVS_0.getCode());
+            ptlAgreementProductCostsNew.setValidStatus(ValidStatus.AVS_1.getCode());
         }
 
         boolean b = updateById(ptlAgreementProductCostsNew);
@@ -2534,7 +2534,7 @@ public class PtlAgreementProductCostsNewServiceImpl extends ServiceImpl<PtlAgree
             x.setAgreementId(agreementId);
             x.setSaveBeforeId(x.getId());
             x.setId(null);
-            x.setValidStatus(ValidStatus.AVS_0.getCode());
+            x.setValidStatus(ValidStatus.AVS_1.getCode());
             x.setIsAudit(AgreementProductCostsAuditStatus.COSTS_AUDIT_STATUS_0.getCode());
         });
         // 协议费用出口比例