Commit eef98eaa by huluobin

update

parent 3b7599b1
package com.blt.other.module.cost.service.impl.costcheck;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.blt.other.common.exception.BizRuntimeException;
import com.blt.other.module.cost.model.CostCurrentReviewer;
import com.blt.other.module.cost.model.CostDomain;
import org.springframework.stereotype.Component;
/**
......@@ -23,4 +26,13 @@ public class UnPayState extends CostState {
public void refuse(String reason) {
throw new BizRuntimeException("unsupported operate ");
}
@Override
public void updateCurrentReviewer() {
CostDomain costDomain = costContext.costDomain;
costCurrentReviewerService.remove(new LambdaQueryWrapper<CostCurrentReviewer>()
.eq(CostCurrentReviewer::getCostNo, costDomain.getCostNo()));
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment