fix
parent
14297b68f0
commit
e09fea0d76
|
@ -63,7 +63,7 @@ public class ExcelUtils {
|
|||
// }
|
||||
if (row != null) {
|
||||
StringBuilder info = new StringBuilder();
|
||||
int colnum = row.getLastCellNum();
|
||||
int colnum = row2.getLastCellNum();
|
||||
for (int j = 1; j < colnum; j++) {
|
||||
int cellFormatValue = (int) getCellFormatValue(row1.getCell(j));
|
||||
if (cellFormatValue == 3){
|
||||
|
@ -87,16 +87,20 @@ public class ExcelUtils {
|
|||
info.append("\t").append(cellData);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (getCellFormatValue(row1.getCell(j)).toString().isEmpty()){
|
||||
continue;
|
||||
}
|
||||
//文件名
|
||||
cellData = getCellFormatValue(cell);
|
||||
if (info.length() == 0){
|
||||
info = info.append(cellData);
|
||||
}else{
|
||||
info.append("\t").append(cellData);
|
||||
if (getCellFormatValue(row1.getCell(j)).toString().isEmpty()){
|
||||
continue;
|
||||
}
|
||||
//文件名
|
||||
cellData = getCellFormatValue(cell);
|
||||
if ("".equals(cellData.toString())){
|
||||
cellData = getIn(row2.getCell(j).toString());
|
||||
}
|
||||
if (info.length() == 0){
|
||||
info = info.append(cellData);
|
||||
}else{
|
||||
info.append("\t").append(cellData);
|
||||
}
|
||||
}
|
||||
}
|
||||
out.write(info.toString());
|
||||
|
@ -114,6 +118,7 @@ public class ExcelUtils {
|
|||
str = "false";
|
||||
break;
|
||||
case "int":
|
||||
case "float":
|
||||
str = "0";
|
||||
break;
|
||||
case "string":
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
package network.client;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.google.protobuf.GeneratedMessage;
|
||||
import com.google.protobuf.GeneratedMessageLite;
|
||||
import com.google.protobuf.MessageLite;
|
||||
import com.ljsd.jieling.netty.cocdex.PacketNetData;
|
||||
import com.ljsd.jieling.netty.cocdex.Tea;
|
||||
|
|
Loading…
Reference in New Issue