Commit d8ce25f6 by guojuxing

pmd

parent 861e9bb2
......@@ -192,7 +192,6 @@ public interface TabSysMenuMapper {
* @return java.util.List<com.gic.auth.entity.TabSysMenu>
* @throws
*/
@Deprecated
List<TabSysMenu> selectByProjectList(@Param("projectList") List<String> projectList);
/**
......
......@@ -153,16 +153,16 @@ public class ExcelUtils {
Boolean isDate = dateTypeMap.get(colix);
if (isDate != null && isDate) {
if (xssfCell.getCellType() == Cell.CELL_TYPE_NUMERIC) {
if (xssfCell.getCellTypeEnum() == CellType.NUMERIC) {
Date date = xssfCell.getDateCellValue();
map.put(colix, format.format(date));
} else {
xssfCell.setCellType(Cell.CELL_TYPE_STRING);
xssfCell.setCellType(CellType.STRING);
map.put(colix, xssfCell.getStringCellValue());
}
} else {
if (xssfCell.getCellType() != Cell.CELL_TYPE_STRING) {
xssfCell.setCellType(Cell.CELL_TYPE_STRING);
if (xssfCell.getCellTypeEnum() != CellType.STRING) {
xssfCell.setCellType(CellType.STRING);
}
map.put(colix, xssfCell.getStringCellValue());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment