|
@@ -436,7 +436,7 @@ public class BillInvoiceServiceImpl extends ServiceImpl<BillInvoiceMapper, BillI
|
436
|
436
|
@Override
|
437
|
437
|
public ResponseBean exportExcel(UserElement userElement, Integer billId) {
|
438
|
438
|
ResponseBean responseBean = new ResponseBean();
|
439
|
|
- String [] title = new String[] { "收费单号","房屋信息","业主姓名","收费单说明","金额(元)","流水","缴费状态","缴费人","缴费时间","新建时间","新建人","修改人","修改时间" };
|
|
439
|
+ String [] title = new String[] { "收费单号","房屋信息","收费单说明","金额(元)","流水","缴费状态","缴费人","缴费时间","新建时间","新建人","修改人","修改时间" };
|
440
|
440
|
|
441
|
441
|
HSSFWorkbook excel = excel(title, userElement, billId,null);
|
442
|
442
|
responseBean.addSuccess(excel);
|
|
@@ -499,53 +499,53 @@ public class BillInvoiceServiceImpl extends ServiceImpl<BillInvoiceMapper, BillI
|
499
|
499
|
cell.setCellValue(records.get(t).getPhase() + records.get(t).getBuilding() + records.get(t).getUnit() + records.get(t).getRoomNo());
|
500
|
500
|
cell.setCellStyle(style);
|
501
|
501
|
// 业主姓名
|
502
|
|
- cell = row.createCell(2);
|
503
|
|
- cell.setCellValue(records.get(t).getOwnerName());
|
504
|
|
- cell.setCellStyle(style);
|
|
502
|
+// cell = row.createCell(2);
|
|
503
|
+// cell.setCellValue(records.get(t).getOwnerName());
|
|
504
|
+// cell.setCellStyle(style);
|
505
|
505
|
// 收费单说明
|
506
|
|
- cell = row.createCell(3);
|
|
506
|
+ cell = row.createCell(2);
|
507
|
507
|
cell.setCellValue(records.get(t).getBillInvoiceExplain());
|
508
|
508
|
cell.setCellStyle(style);
|
509
|
509
|
// 金额(元)
|
510
|
|
- cell = row.createCell(4);
|
|
510
|
+ cell = row.createCell(3);
|
511
|
511
|
double price = Double.valueOf(records.get(t).getPayPrice()) / 100.00;
|
512
|
512
|
cell.setCellValue(price);
|
513
|
513
|
cell.setCellStyle(style);
|
514
|
514
|
if (null != records.get(t).getBillStatementId()) {
|
515
|
515
|
// 流水
|
516
|
|
- cell = row.createCell(5);
|
|
516
|
+ cell = row.createCell(4);
|
517
|
517
|
cell.setCellValue(records.get(t).getBillStatementId());
|
518
|
518
|
cell.setCellStyle(style);
|
519
|
519
|
}
|
520
|
520
|
// 缴费状态
|
521
|
|
- cell = row.createCell(6);
|
|
521
|
+ cell = row.createCell(5);
|
522
|
522
|
cell.setCellValue("0".equals(records.get(t).getBillStatus()) ? "未交费" : "1".equals(records.get(t).getBillStatus()) ? "已线上缴费" : "已线下缴费");
|
523
|
523
|
cell.setCellStyle(style);
|
524
|
524
|
// 缴费人
|
525
|
|
- cell = row.createCell(7);
|
|
525
|
+ cell = row.createCell(6);
|
526
|
526
|
cell.setCellValue(records.get(t).getPayName());
|
527
|
527
|
cell.setCellStyle(style);
|
528
|
528
|
if (null != records.get(t).getPayDate()) {
|
529
|
529
|
// 缴费时间
|
530
|
|
- cell = row.createCell(8);
|
|
530
|
+ cell = row.createCell(7);
|
531
|
531
|
cell.setCellValue(dateFormat.format(records.get(t).getPayDate()));
|
532
|
532
|
cell.setCellStyle(style);
|
533
|
533
|
}
|
534
|
534
|
// 新建时间
|
535
|
|
- cell = row.createCell(9);
|
|
535
|
+ cell = row.createCell(8);
|
536
|
536
|
cell.setCellValue(dateFormat.format(records.get(t).getCreateDate()));
|
537
|
537
|
cell.setCellStyle(style);
|
538
|
538
|
// 新建人
|
539
|
|
- cell = row.createCell(10);
|
|
539
|
+ cell = row.createCell(9);
|
540
|
540
|
cell.setCellValue(records.get(t).getCreateUserName());
|
541
|
541
|
cell.setCellStyle(style);
|
542
|
542
|
// 修改人
|
543
|
|
- cell = row.createCell(11);
|
|
543
|
+ cell = row.createCell(10);
|
544
|
544
|
cell.setCellValue(records.get(t).getUpdateUserName());
|
545
|
545
|
cell.setCellStyle(style);
|
546
|
546
|
if (null != records.get(t).getUpdateDate()) {
|
547
|
547
|
// 修改时间
|
548
|
|
- cell = row.createCell(12);
|
|
548
|
+ cell = row.createCell(11);
|
549
|
549
|
cell.setCellValue(dateFormat.format(records.get(t).getUpdateDate()));
|
550
|
550
|
cell.setCellStyle(style);
|
551
|
551
|
}
|