|
@@ -368,7 +368,7 @@ public class ReportCreditController extends BaseController {
|
|
|
String companyId = use.getCompanyId();
|
|
|
//获取企业类型
|
|
|
String type = use.getCompanyType();
|
|
|
- //开始时间 当天
|
|
|
+ /* //开始时间 当天
|
|
|
String startDate = DateUtils.dateTimeNow("yyyy-MM-dd");
|
|
|
//结束时间 30后
|
|
|
String endDate = DateUtils.getFetureDate(30);
|
|
@@ -377,18 +377,18 @@ public class ReportCreditController extends BaseController {
|
|
|
//默认反向
|
|
|
if(CommonUtil.isEmpty(zfpType)){
|
|
|
zfpType = "1";
|
|
|
- }
|
|
|
+ }*/
|
|
|
if(COMPANYTYPE_CORE.equals(type)){
|
|
|
//核心企业
|
|
|
- map.put("zfpType",zfpType);
|
|
|
+ /* map.put("zfpType",zfpType);*/
|
|
|
map.put("coreCompanyId", companyId);
|
|
|
}else if(COMPANYTYPE_SUPPLIER.equals(type)){
|
|
|
//供应商
|
|
|
- map.put("zfpType",zfpType);
|
|
|
+ /* map.put("zfpType",zfpType);*/
|
|
|
map.put("supplierCompanyId", companyId);
|
|
|
}else if(COMPANYTYPE_MANAGEMENT.equals(type)){
|
|
|
//资金方
|
|
|
- map.put("zfpType",zfpType);
|
|
|
+ /* map.put("zfpType",zfpType);*/
|
|
|
map.put("managementCompanyId", companyId);
|
|
|
}
|
|
|
//融信额度
|
|
@@ -434,9 +434,11 @@ public class ReportCreditController extends BaseController {
|
|
|
//供应商
|
|
|
Map map1 = new HashMap();
|
|
|
map1.put("supplierCompanyId", companyId);
|
|
|
- List<Map> dateInf = reportCreditService.listCreditDate(map1);
|
|
|
- List<String> idList = new ArrayList<>();
|
|
|
- for (int i = 0; i < dateInf.size(); i++) {
|
|
|
+ IPage<Map> list = reportCreditService.listCreditDate(map1,request);
|
|
|
+ return AjaxResult.success(list);
|
|
|
+
|
|
|
+ /* List<String> idList = new ArrayList<>();
|
|
|
+ for (int i = 0; i < dateInf.size(); i++) {
|
|
|
//融信id
|
|
|
String zfiId = dateInf.get(i).get("zfiId")+"";
|
|
|
//承诺付款日
|
|
@@ -463,7 +465,7 @@ public class ReportCreditController extends BaseController {
|
|
|
queryWrapper.in(ZcFinanceInf::getZfiId, idList);
|
|
|
IPage<ZcFinanceInf> list = iZcFinanceInfService.findZcFinanceInfs(request, queryWrapper);
|
|
|
return AjaxResult.success(list);
|
|
|
- }
|
|
|
+ }*/
|
|
|
}
|
|
|
return AjaxResult.success();
|
|
|
}
|