|
@@ -144,7 +144,36 @@ public class ReadFileNameTest {
|
|
|
Row row = sheet.createRow(rowIndex);
|
|
|
row.createCell(0).setCellValue("");
|
|
|
row.createCell(1).setCellValue(video);
|
|
|
- row.createCell(2).setCellValue(l+1);
|
|
|
+
|
|
|
+ if (video.indexOf("试看")>=0) {
|
|
|
+ row.createCell(2).setCellValue(1);
|
|
|
+ } else if (video.indexOf("1")>=0){
|
|
|
+ row.createCell(2).setCellValue(1+1);
|
|
|
+ } else if (video.indexOf("2")>=0) {
|
|
|
+ row.createCell(2).setCellValue(2+1);
|
|
|
+ } else if (video.indexOf("3")>=0) {
|
|
|
+ row.createCell(2).setCellValue(3+1);
|
|
|
+ } else if (video.indexOf("4")>=0) {
|
|
|
+ row.createCell(2).setCellValue(4+1);
|
|
|
+ } else if (video.indexOf("5")>=0) {
|
|
|
+ row.createCell(2).setCellValue(5+1);
|
|
|
+ } else if (video.indexOf("6")>=0) {
|
|
|
+ row.createCell(2).setCellValue(6+1);
|
|
|
+ } else if (video.indexOf("7")>=0) {
|
|
|
+ row.createCell(2).setCellValue(7+1);
|
|
|
+ } else if (video.indexOf("A")>=0) {
|
|
|
+ row.createCell(2).setCellValue(1+1);
|
|
|
+ } else if (video.indexOf("B")>=0) {
|
|
|
+ row.createCell(2).setCellValue(2+1);
|
|
|
+ } else if (video.indexOf("C")>=0) {
|
|
|
+ row.createCell(2).setCellValue(3+1);
|
|
|
+ } else if (video.indexOf("D")>=0) {
|
|
|
+ row.createCell(2).setCellValue(4+1);
|
|
|
+ } else if (video.indexOf("E")>=0) {
|
|
|
+ row.createCell(2).setCellValue(5+1);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
row.createCell(3).setCellValue("");
|
|
|
row.createCell(4).setCellValue("");
|
|
|
row.createCell(5).setCellValue("3");
|