|
@@ -81,10 +81,12 @@ public class PaymentService extends ServiceImpl<PaymentMapper, Payment> {
|
|
|
/**
|
|
|
* 合并两个文件路径到集合
|
|
|
*/
|
|
|
- List<String> fileList=new ArrayList<>(2);
|
|
|
+ List<String> fileList=new ArrayList<>();
|
|
|
for(Payment item: paymentList){
|
|
|
- fileList.add(item.getBankImgUrl());
|
|
|
- fileList.add(item.getNoteImgUrl());
|
|
|
+ String[] str=item.getNoteImgUrl().split(",");
|
|
|
+ for(String item2:str){
|
|
|
+ fileList.add(item2);
|
|
|
+ }
|
|
|
item.setFileList(fileList);
|
|
|
}
|
|
|
|
|
@@ -239,6 +241,20 @@ public class PaymentService extends ServiceImpl<PaymentMapper, Payment> {
|
|
|
*/
|
|
|
List<Payment> paymentList = request.getPaymentList();
|
|
|
|
|
|
+ String tempUrl="";
|
|
|
+ for(Payment item:paymentList){
|
|
|
+ List<String> fields=item.getFileList();
|
|
|
+ for(int i=0;i<=fields.size()-1;i++){
|
|
|
+ if(i==fields.size()-1){
|
|
|
+ tempUrl=tempUrl+fields.get(i);
|
|
|
+ }else{
|
|
|
+ tempUrl=tempUrl+fields.get(i)+",";
|
|
|
+ }
|
|
|
+ item.setNoteImgUrl(tempUrl);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
/**
|
|
|
* 获取付款列表的全部id
|
|
|
*/
|