|
|
|
@@ -134,6 +134,7 @@ public class WxCUserBasicInfoServiceImpl implements WxCUserBasicInfoService { |
|
|
|
Cell addrCellTwo = rowtwo.createCell(6); |
|
|
|
Cell updateDateCellTwo = rowtwo.createCell(7); |
|
|
|
Cell createDateCellTwo = rowtwo.createCell(8); |
|
|
|
Cell tagCellTwo = rowtwo.createCell(9); |
|
|
|
|
|
|
|
nameCellTwo.setCellValue("姓名"); |
|
|
|
sexCellTwo.setCellValue("性别"); |
|
|
|
@@ -144,6 +145,7 @@ public class WxCUserBasicInfoServiceImpl implements WxCUserBasicInfoService { |
|
|
|
addrCellTwo.setCellValue("地址"); |
|
|
|
updateDateCellTwo.setCellValue("上次活跃时间"); |
|
|
|
createDateCellTwo.setCellValue("注册时间"); |
|
|
|
tagCellTwo.setCellValue("标签"); |
|
|
|
|
|
|
|
for (int i = 0; i < memberlist.size(); i++) { |
|
|
|
rowtwo = sheetTwo.createRow(i + 1); |
|
|
|
@@ -156,6 +158,7 @@ public class WxCUserBasicInfoServiceImpl implements WxCUserBasicInfoService { |
|
|
|
addrCellTwo = rowtwo.createCell(6); |
|
|
|
updateDateCellTwo = rowtwo.createCell(7); |
|
|
|
createDateCellTwo = rowtwo.createCell(8); |
|
|
|
tagCellTwo = rowtwo.createCell(9); |
|
|
|
|
|
|
|
WxCUserBasicInfo entity = memberlist.get(i); |
|
|
|
|
|
|
|
@@ -173,6 +176,7 @@ public class WxCUserBasicInfoServiceImpl implements WxCUserBasicInfoService { |
|
|
|
addrCellTwo.setCellValue(entity.getAddress()); |
|
|
|
updateDateCellTwo.setCellValue(sdf.format(entity.getUpdateDate())); |
|
|
|
createDateCellTwo.setCellValue(sdf.format(entity.getCreateDate())); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@@ -244,6 +248,7 @@ public class WxCUserBasicInfoServiceImpl implements WxCUserBasicInfoService { |
|
|
|
Cell addrCellTwo = rowtwo.createCell(6); |
|
|
|
Cell updateDateCellTwo = rowtwo.createCell(7); |
|
|
|
Cell createDateCellTwo = rowtwo.createCell(8); |
|
|
|
Cell tagCellTwo = rowtwo.createCell(9); |
|
|
|
|
|
|
|
nameCellTwo.setCellValue("姓名"); |
|
|
|
sexCellTwo.setCellValue("性别"); |
|
|
|
@@ -254,6 +259,7 @@ public class WxCUserBasicInfoServiceImpl implements WxCUserBasicInfoService { |
|
|
|
addrCellTwo.setCellValue("地址"); |
|
|
|
updateDateCellTwo.setCellValue("上次活跃时间"); |
|
|
|
createDateCellTwo.setCellValue("注册时间"); |
|
|
|
tagCellTwo.setCellValue("标签"); |
|
|
|
|
|
|
|
FileOutputStream fileOut = new FileOutputStream(file); |
|
|
|
workbook.write(fileOut); |
|
|
|
|