|
|
@@ -2453,7 +2453,10 @@ public class PtlAgreementProductCostsNewServiceImpl extends ServiceImpl<PtlAgree
|
|
|
public HttpResult costsDisable(String costsId) {
|
|
|
PtlAgreementProductCostsNew ptlAgreementProductCostsNew = getById(costsId);
|
|
|
AssertionUtils.isEmpty(ptlAgreementProductCostsNew, "未查询到此协议");
|
|
|
-
|
|
|
+ if (ValidStatus.AVS_0.getCode().equals(ptlAgreementProductCostsNew.getValidStatus())) {
|
|
|
+ ptlAgreementProductCostsNew.setValidStatus(ValidStatus.AVS_1.getCode());
|
|
|
+ return HttpResult.ok("修改成功");
|
|
|
+ }
|
|
|
// 查询费用列表
|
|
|
List<InsFeeOrderNew> insFeeOrderNews = insFeeOrderNewService
|
|
|
.lambdaQuery()
|