|
|
@@ -537,8 +537,8 @@ public class AdminOrderServiceImpl implements AdminOrderService {
|
|
|
* @param req
|
|
|
* @return
|
|
|
*/
|
|
|
- public AppBaseResponse getDocList(NotaryOrderQueryReq req) {
|
|
|
- AppBaseResponse response = new AppBaseResponse();
|
|
|
+ public AppBaseResponse<?> getDocList(NotaryOrderQueryReq req) {
|
|
|
+ AppBaseResponse<?> response = new AppBaseResponse<>();
|
|
|
List<OrderFileEntity> orderFileList = orderFileRepository.getOrderFileListWithCodes(req.getBusinessNo(),
|
|
|
"1,2,3,4,5,6".split(","));
|
|
|
List<Map<String, String>> fileList = new ArrayList<>();
|
|
|
@@ -549,6 +549,10 @@ public class AdminOrderServiceImpl implements AdminOrderService {
|
|
|
content.put("name", orderFile.getFileName());
|
|
|
content.put("value", getPreviewUrl(fileUrl));
|
|
|
fileList.add(content);
|
|
|
+ //TODO 因为签名pdf合并了,所以现在只取一个pdf即可
|
|
|
+ if(fileList.size()>0) {
|
|
|
+ break;
|
|
|
+ }
|
|
|
}
|
|
|
response.setData(new AppResultData(fileList));
|
|
|
return response;
|