資源簡介
謝謝大家支持 希望的加喜歡我的源碼 復制粘貼可以直接用 積分不多希望得到大家認可 互粉互相學習

代碼片段和文件信息
package?com.mpn.dto;
import?org.apache.poi.xssf.usermodel.XSSFCellstyle;
public?class?ExcelBean?implements??java.io.Serializable?{
?private?String?headTextName;?//列頭(標題)名
????private?String?propertyName;?//對應字段名
????private?Integer?cols;?//合并單元格數
????private?XSSFCellstyle?cellstyle;
????public?ExcelBean(){
????}
????public?ExcelBean(String?headTextName?String?propertyName){
????????this.headTextName?=?headTextName;
????????this.propertyName?=?propertyName;
????}
????public?ExcelBean(String?headTextName?String?propertyName?Integer?cols)?{
????????super();
????????this.headTextName?=?headTextName;
????????this.propertyName?=?propertyName;
????????this.cols?=?cols;
????}
public?String?getHeadTextName()?{
return?headTextName;
}
public?void?setHeadTextName(String?headTextName)?{
this.headTextName?=?headTextName;
}
public?String?getPropertyName()?{
return?propertyName;
}
public?void?setPropertyName(String?propertyName)?{
this.propertyName?=?propertyName;
}
public?Integer?getCols()?{
return?cols;
}
public?void?setCols(Integer?cols)?{
this.cols?=?cols;
}
public?XSSFCellstyle?getCellstyle()?{
return?cellstyle;
}
public?void?setCellstyle(XSSFCellstyle?cellstyle)?{
this.cellstyle?=?cellstyle;
}
???
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-11-22?20:57??Excel導入\
?????文件????????1352??2018-11-22?11:19??Excel導入\ExcelBean.java
?????文件????????1257??2018-11-22?20:39??Excel導入\ExcelImportController.java
?????文件????????2356??2018-11-22?20:35??Excel導入\ExcelImportServiceImpl.java
?????文件???????12002??2018-11-22?11:24??Excel導入\ExcelUtil.java
?????文件????????7583??2018-11-22?18:20??Excel導入\fertilizer.js
?????文件????????8432??2018-11-22?18:19??Excel導入\fertilizer.jsp
?????文件????????5476??2018-11-22?11:09??Excel導入\pom.xm
?????文件????????1437??2018-11-22?12:41??Excel導入\TZdFertilizerMapper.java
?????文件???????17139??2018-11-22?20:31??Excel導入\TZdFertilizerMapper.xm
- 上一篇:C51單片機T9輸入法
- 下一篇:西門子s7-300PLC模糊控制
評論
共有 條評論