Showing
1 changed file
with
4 additions
and
4 deletions
| ... | @@ -359,15 +359,15 @@ public class ChmConsignmentDetailService { | ... | @@ -359,15 +359,15 @@ public class ChmConsignmentDetailService { |
| 359 | } | 359 | } |
| 360 | StringBuffer modelSb = new StringBuffer(); | 360 | StringBuffer modelSb = new StringBuffer(); |
| 361 | for (int i = 0; i < modelSplits.length; i++) { | 361 | for (int i = 0; i < modelSplits.length; i++) { |
| 362 | - //避免多的| | ||
| 363 | - if(i == modelSplit.length){ | ||
| 364 | - break; | ||
| 365 | - } | ||
| 366 | String split = modelSplits[i]; | 362 | String split = modelSplits[i]; |
| 367 | if(split == null){ | 363 | if(split == null){ |
| 368 | split = ""; | 364 | split = ""; |
| 369 | } | 365 | } |
| 370 | modelSb.append(split).append("|"); | 366 | modelSb.append(split).append("|"); |
| 367 | + //避免多的| | ||
| 368 | + if(i == modelSplit.length){ | ||
| 369 | + break; | ||
| 370 | + } | ||
| 371 | } | 371 | } |
| 372 | if(modelSb.length() > 0){ | 372 | if(modelSb.length() > 0){ |
| 373 | resultModel = modelSb.toString(); | 373 | resultModel = modelSb.toString(); | ... | ... |
-
Please register or login to post a comment