|
@@ -7,7 +7,6 @@ import com.huyi.service.common.financeLog.FinanceLog;
|
|
|
import com.huyi.service.common.flowable.service.ApprovalService;
|
|
import com.huyi.service.common.flowable.service.ApprovalService;
|
|
|
import com.huyi.service.constant.FileConstants;
|
|
import com.huyi.service.constant.FileConstants;
|
|
|
import com.keao.tianhu.core.util.AmtUtil;
|
|
import com.keao.tianhu.core.util.AmtUtil;
|
|
|
-import com.spire.doc.Document;
|
|
|
|
|
import com.tianhu.common.core.utils.CommonUtil;
|
|
import com.tianhu.common.core.utils.CommonUtil;
|
|
|
import com.tianhu.common.core.utils.DateUtils;
|
|
import com.tianhu.common.core.utils.DateUtils;
|
|
|
import com.tianhu.common.core.utils.pdf.WordPdfUtil;
|
|
import com.tianhu.common.core.utils.pdf.WordPdfUtil;
|
|
@@ -26,7 +25,6 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
import sun.misc.BASE64Encoder;
|
|
import sun.misc.BASE64Encoder;
|
|
|
-
|
|
|
|
|
import java.io.*;
|
|
import java.io.*;
|
|
|
import java.net.HttpURLConnection;
|
|
import java.net.HttpURLConnection;
|
|
|
import java.net.URL;
|
|
import java.net.URL;
|
|
@@ -112,7 +110,7 @@ public class CreditHandleController extends BaseController {
|
|
|
throw new Exception("获取融信信息失败");
|
|
throw new Exception("获取融信信息失败");
|
|
|
}
|
|
}
|
|
|
//获取原先的融信金额
|
|
//获取原先的融信金额
|
|
|
- String oldAmt = finance.getZfiAmount();
|
|
|
|
|
|
|
+ String oldAmt = finance.getZfiOldAmount();
|
|
|
//获取签发金额
|
|
//获取签发金额
|
|
|
String zfiAmount = CommonUtil.objToString(map.get("zfiAmount"));
|
|
String zfiAmount = CommonUtil.objToString(map.get("zfiAmount"));
|
|
|
//现在的签发金额大于原先的融信金额
|
|
//现在的签发金额大于原先的融信金额
|
|
@@ -127,16 +125,10 @@ public class CreditHandleController extends BaseController {
|
|
|
String zfpId = CommonUtil.objToString(map.get("zfpId"));
|
|
String zfpId = CommonUtil.objToString(map.get("zfpId"));
|
|
|
//获取当前时间
|
|
//获取当前时间
|
|
|
Date createTime = DateUtils.getNowDate();
|
|
Date createTime = DateUtils.getNowDate();
|
|
|
-
|
|
|
|
|
//核心企业
|
|
//核心企业
|
|
|
SysCompany coreCompany = companyService.getById(finance.getZfiCoreId());
|
|
SysCompany coreCompany = companyService.getById(finance.getZfiCoreId());
|
|
|
//核心企业名称
|
|
//核心企业名称
|
|
|
String coreName = coreCompany.getScyName();
|
|
String coreName = coreCompany.getScyName();
|
|
|
- //核心企业
|
|
|
|
|
- SysCompany supplierCompany = companyService.getById(finance.getZfiSupplierId());
|
|
|
|
|
- //核心企业名称
|
|
|
|
|
- String supplierName = supplierCompany.getScyName();
|
|
|
|
|
-
|
|
|
|
|
//供应商申请并且通过
|
|
//供应商申请并且通过
|
|
|
if("0".equals(zfiCreateType) && "00".equals(flag)){
|
|
if("0".equals(zfiCreateType) && "00".equals(flag)){
|
|
|
//获取授信额度
|
|
//获取授信额度
|