瀏覽代碼

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

魏熙美 6 年之前
父節點
當前提交
6d2faa9401

+ 5
- 1
CODE/smart-community/app-api/src/main/java/com/community/huiju/service/impl/SocialServiceImpl.java 查看文件

@@ -609,7 +609,7 @@ public class SocialServiceImpl implements SocialServiceI {
609 609
             tpTransactionReply.setReplyUuid(tpTransactionReplyBack.getUuid());
610 610
             tpTransactionReply.setReplyUuidType(tpTransactionReplyBack.getUuidType());
611 611
             tpTransactionReply.setReplyUuidName(tpTransactionReplyBack.getUuidName());
612
-            tpTransactionReply.setReplyUuidRole(tpTransactionReplyBack.getReplyUuidRole());
612
+            tpTransactionReply.setReplyUuidRole(tpTransactionReplyBack.getUuidRole());
613 613
             tpTransactionReply.setPublishType("0");
614 614
         }
615 615
         tpTransactionReply.setReleaseIdentity("0");
@@ -913,10 +913,14 @@ public class SocialServiceImpl implements SocialServiceI {
913 913
         if (tpTransaction.getUuidType().equals("app")) {
914 914
             TaUser taUser = taUserMapper.selectByPrimaryKey(taUserVerifyMapper.selectByPrimaryKey(tpTransaction.getUuid()).getUserId());
915 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 920
         if (tpTransaction.getUuidType().equals("prop")) {
918 921
            TpUser tpUser = tpUserMapper.selectByPrimaryKey(tpTransaction.getUuid());
919 922
             tpTransaction.setTelephone(tpUser.getLoginName());
923
+            tpTransaction.setRoleName("物业");
920 924
         }
921 925
         
922 926
         Map<String, Object> map = Maps.newHashMap();

+ 14
- 14
CODE/smart-community/property-api/src/main/java/com/community/huiju/service/impl/BillInvoiceServiceImpl.java 查看文件

@@ -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
                 }

+ 4
- 4
VUECODE/smart-property-manage/src/views/bill/info/index.vue 查看文件

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