Browse Source

Merge branch '2.0.0' of http://git.ycjcjy.com/fuxingfan/smartCommunity into 2.0.0

魏熙美 6 years ago
parent
commit
6d2faa9401

+ 5
- 1
CODE/smart-community/app-api/src/main/java/com/community/huiju/service/impl/SocialServiceImpl.java View File

609
             tpTransactionReply.setReplyUuid(tpTransactionReplyBack.getUuid());
609
             tpTransactionReply.setReplyUuid(tpTransactionReplyBack.getUuid());
610
             tpTransactionReply.setReplyUuidType(tpTransactionReplyBack.getUuidType());
610
             tpTransactionReply.setReplyUuidType(tpTransactionReplyBack.getUuidType());
611
             tpTransactionReply.setReplyUuidName(tpTransactionReplyBack.getUuidName());
611
             tpTransactionReply.setReplyUuidName(tpTransactionReplyBack.getUuidName());
612
-            tpTransactionReply.setReplyUuidRole(tpTransactionReplyBack.getReplyUuidRole());
612
+            tpTransactionReply.setReplyUuidRole(tpTransactionReplyBack.getUuidRole());
613
             tpTransactionReply.setPublishType("0");
613
             tpTransactionReply.setPublishType("0");
614
         }
614
         }
615
         tpTransactionReply.setReleaseIdentity("0");
615
         tpTransactionReply.setReleaseIdentity("0");
913
         if (tpTransaction.getUuidType().equals("app")) {
913
         if (tpTransaction.getUuidType().equals("app")) {
914
             TaUser taUser = taUserMapper.selectByPrimaryKey(taUserVerifyMapper.selectByPrimaryKey(tpTransaction.getUuid()).getUserId());
914
             TaUser taUser = taUserMapper.selectByPrimaryKey(taUserVerifyMapper.selectByPrimaryKey(tpTransaction.getUuid()).getUserId());
915
             tpTransaction.setTelephone(taUser.getLoginName());
915
             tpTransaction.setTelephone(taUser.getLoginName());
916
+            TaSysRole taSysRole = taSysRoleMapper.selectByPrimaryKey(taUserVerifyMapper.selectByPrimaryKey(tpTransaction.getUuid()).getRoleId());
917
+            tpTransaction.setRoleId(taSysRole.getId());
918
+            tpTransaction.setRoleName(taSysRole.getRoleName());
916
         }
919
         }
917
         if (tpTransaction.getUuidType().equals("prop")) {
920
         if (tpTransaction.getUuidType().equals("prop")) {
918
            TpUser tpUser = tpUserMapper.selectByPrimaryKey(tpTransaction.getUuid());
921
            TpUser tpUser = tpUserMapper.selectByPrimaryKey(tpTransaction.getUuid());
919
             tpTransaction.setTelephone(tpUser.getLoginName());
922
             tpTransaction.setTelephone(tpUser.getLoginName());
923
+            tpTransaction.setRoleName("物业");
920
         }
924
         }
921
         
925
         
922
         Map<String, Object> map = Maps.newHashMap();
926
         Map<String, Object> map = Maps.newHashMap();

+ 14
- 14
CODE/smart-community/property-api/src/main/java/com/community/huiju/service/impl/BillInvoiceServiceImpl.java View File

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

+ 4
- 4
VUECODE/smart-property-manage/src/views/bill/info/index.vue View File

49
           </el-select>
49
           </el-select>
50
         </el-form-item>
50
         </el-form-item>
51
         <br>
51
         <br>
52
-        <el-form-item>
52
+        <!-- <el-form-item>
53
           <span class="title-info">户主姓名</span>
53
           <span class="title-info">户主姓名</span>
54
           <el-input v-model="formInline.ownerName" style="padding-left:25%;transform:translateY(-90%);"/>
54
           <el-input v-model="formInline.ownerName" style="padding-left:25%;transform:translateY(-90%);"/>
55
-        </el-form-item>
55
+        </el-form-item> -->
56
         <el-form-item>
56
         <el-form-item>
57
           <span class="title-info">缴费状态</span>
57
           <span class="title-info">缴费状态</span>
58
           <el-select v-model="formInline.billStatus" placeholder="请选择" style="padding-left:25%;transform:translateY(-90%);">
58
           <el-select v-model="formInline.billStatus" placeholder="请选择" style="padding-left:25%;transform:translateY(-90%);">
105
           {{ scope.row.phase + scope.row.building + scope.row.unit + scope.row.roomNo }}
105
           {{ scope.row.phase + scope.row.building + scope.row.unit + scope.row.roomNo }}
106
         </template>
106
         </template>
107
       </el-table-column>
107
       </el-table-column>
108
-      <el-table-column
108
+      <!-- <el-table-column
109
         prop="ownerName"
109
         prop="ownerName"
110
         label="户主姓名"
110
         label="户主姓名"
111
         align="center"
111
         align="center"
112
-        show-overflow-tooltip/>
112
+        show-overflow-tooltip/> -->
113
       <el-table-column
113
       <el-table-column
114
         prop="billInvoiceExplain"
114
         prop="billInvoiceExplain"
115
         label="收费单说明"
115
         label="收费单说明"