Commit 8b4d5033 authored by LSL's avatar LSL

结清默认结清账单

parent 011f1050
......@@ -6,8 +6,10 @@ import cn.hutool.core.util.CharsetUtil;
import cn.hutool.extra.ssh.Sftp;
import com.jqtx.infrastructure.oss.starter.config.OssUtils;
import com.jqtx.windows.common.config.snow.SnowSequenceHelper;
import com.jqtx.windows.component.BackedDetailComponent;
import com.jqtx.windows.component.LoanComponent;
import com.jqtx.windows.component.LoanPlanComponent;
import com.jqtx.windows.component.LoanRepayComponent;
import com.jqtx.windows.component.enums.LoanStatusEnum;
import com.jqtx.windows.component.impl.BackedBurdenComponentImpl;
import com.jqtx.windows.component.model.*;
......@@ -44,6 +46,12 @@ public class BackedBurdenJob {
@Autowired
private LoanComponent loanComponent;
@Autowired
private LoanRepayComponent loanRepayComponent;
@Autowired
private BackedDetailComponent backedDetailComponent;
@XxlJob("backedBurdenJob")
public void run() {
......@@ -129,6 +137,8 @@ public class BackedBurdenJob {
//修改 windows_loan 还款状态
LoanModel loanModel = loanComponent.getByLoanNo(model.getLoanNo());
upWindowsLoan(loanModel);
loanRepayComponent.insert(repayModel);
backedDetailComponent.insert(backedDetailModel);
}
/**
......
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