Commit 0c4775e5 authored by LSL's avatar LSL

还款限制修改

parent 68bffdda
package com.jqtx.windows.command;
import cn.hutool.core.lang.Assert;
import com.alibaba.fastjson.JSONObject;
import com.jqtx.windows.common.exception.BizException;
import com.jqtx.windows.common.factory.AbstractCommand;
......@@ -51,9 +52,7 @@ public class BackedCommandnew {
public JsonResult execute(BackedRequest backedRequest) {
//查询还款编号
RepayModel repayModel = loanRepayComponent.getByBackedNo(backedRequest.getBackedNo());
if (repayModel!=null){
throw new BizException("还款单已存在!");
}
Assert.isFalse(repayModel != null, "还款单已存在!");
//生成 windows_repay 信息
creditRepay(backedRequest);
//生成 windows_backed_detail 信息
......
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