|
|
@@ -88,8 +88,11 @@ public class InvAccountExcelServiceImpl extends ServiceImpl<InvAccountExcelMappe
|
|
|
for (InvAccountExcel record : records) {
|
|
|
StringBuilder a = new StringBuilder();
|
|
|
String[] split = record.getPayMethod().split(",");
|
|
|
- for (String i : split) {
|
|
|
- a.append(InvPayMethodEnum.getNameByCode(i)).append(",");
|
|
|
+ for (int i = 0; i < split.length; i++) {
|
|
|
+ a.append(InvPayMethodEnum.getNameByCode(split[i]));
|
|
|
+ if (i < split.length - 1) {
|
|
|
+ a.append(",");
|
|
|
+ }
|
|
|
}
|
|
|
record.setPayMethod(a.toString());
|
|
|
}
|