|
@@ -69,6 +69,8 @@ public class repaymentController extends BaseController {
|
|
|
private ISysUserCompanyRelService sysUserCompanyRelService;
|
|
|
@Autowired
|
|
|
private ISysNoticeService sysNoticeService;
|
|
|
+ @Autowired
|
|
|
+ private IPubFileInfService fileInfService;
|
|
|
|
|
|
/**
|
|
|
* 查询全部还款列表
|
|
@@ -133,7 +135,15 @@ public class repaymentController extends BaseController {
|
|
|
Map map = new HashMap(16);
|
|
|
map.put("zfrId",zfrId);
|
|
|
List<Map> result = ownRepaymentService.selectById(map);
|
|
|
-
|
|
|
+ String fileId =CommonUtil.objToString(result.get(0).get("fileId"));
|
|
|
+ if(CommonUtil.isNotEmpty(fileId)){
|
|
|
+ PubFileInf fileInf = fileInfService.getById(fileId);
|
|
|
+ String url = fileInf.getPfiUrl();
|
|
|
+ String fileName = fileInf.getPfiFileName();
|
|
|
+ Map fileMap = result.get(0);
|
|
|
+ fileMap.put("fileUrl",url);
|
|
|
+ fileMap.put("fileName",fileName);
|
|
|
+ }
|
|
|
return AjaxResult.success(result);
|
|
|
}
|
|
|
/**
|