57364
This commit is contained in:
+2
-2
@@ -292,7 +292,7 @@ public class LawsTechnologyEvaluationItemResultEOServiceImpl extends ServiceImpl
|
|||||||
//创建表头
|
//创建表头
|
||||||
String[] titleArr = title.split(",");
|
String[] titleArr = title.split(",");
|
||||||
for (int i=0; i<=10; i++){
|
for (int i=0; i<=10; i++){
|
||||||
sheet.setColumnWidth(i,4000);
|
sheet.setColumnWidth(i,5000);
|
||||||
Cell cell = firstRow.createCell(i);
|
Cell cell = firstRow.createCell(i);
|
||||||
cell.setCellStyle(titleCellStyle);
|
cell.setCellStyle(titleCellStyle);
|
||||||
cell.setCellValue(titleArr[i]);
|
cell.setCellValue(titleArr[i]);
|
||||||
@@ -405,7 +405,7 @@ public class LawsTechnologyEvaluationItemResultEOServiceImpl extends ServiceImpl
|
|||||||
public String disposeDate(Date date){
|
public String disposeDate(Date date){
|
||||||
String result = "";
|
String result = "";
|
||||||
try {
|
try {
|
||||||
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
||||||
if(date != null){
|
if(date != null){
|
||||||
result = sdf.format(date);
|
result = sdf.format(date);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user