魏熙美 před 6 roky
rodič
revize
08db6f3a19

+ 1
- 1
CODE/smart-community/property-api/src/main/java/com/community/huiju/dao/TpBuildingOwnerInfoMapper.java Zobrazit soubor

@@ -77,7 +77,7 @@ public interface TpBuildingOwnerInfoMapper extends BaseMapper<TpBuildingOwnerInf
77 77
             "and tpio.level_name = #{levelName} " +
78 78
             "AND tpio.room_no_name = #{roomNoName} " +
79 79
             "AND tpio.owner_tel = #{ownerTel}")
80
-    TpBuildingOwnerInfo selectCommunityIdAndAddress(@Param("communityId") Integer communityId, @Param("phaseName") String phaseName, @Param("buildingName") Integer buildingName, @Param("unitName") Integer unitName, @Param("levelName") Integer levelName, @Param("roomNoName") Integer roomNoName, @Param("ownerTel") String ownerTel);
80
+    TpBuildingOwnerInfo selectCommunityIdAndAddressName(@Param("communityId") Integer communityId, @Param("phaseName") String phaseName, @Param("buildingName") Integer buildingName, @Param("unitName") Integer unitName, @Param("levelName") Integer levelName, @Param("roomNoName") Integer roomNoName, @Param("ownerTel") String ownerTel);
81 81
 
82 82
 
83 83
 }

+ 7
- 3
CODE/smart-community/property-api/src/main/java/com/community/huiju/service/impl/BillInvoiceServiceImpl.java Zobrazit soubor

@@ -183,7 +183,8 @@ public class BillInvoiceServiceImpl extends ServiceImpl<BillInvoiceMapper, BillI
183 183
                 billStatement.setBillInvoiceId(billInvoice.getId());
184 184
                 billStatement.setTaUserId(billInvoice.getTaUserId());
185 185
                 billStatement.setPayPrice(billInvoice.getPayPrice());
186
-                billStatement.setPayName(buildingOwnerInfo.getOwnerName());
186
+                // TODO 缴费人,因为有一个情况就是没有业主
187
+//                 billStatement.setPayName(buildingOwnerInfo.getOwnerName());
187 188
                 billStatement.setPayRemark(billInvoice.getBillInvoiceExplain());
188 189
                 billStatement.setPayType("1");
189 190
                 billStatement.setCreateTime(new Date());
@@ -217,8 +218,11 @@ public class BillInvoiceServiceImpl extends ServiceImpl<BillInvoiceMapper, BillI
217 218
                 messageQueryWrapper.eq("source", "2");
218 219
 
219 220
                 Message one = iMessageService.getOne(messageQueryWrapper);
220
-                one.setStatus("0");
221
-                iMessageService.updateById(one);
221
+                if (null != one) {
222
+                    one.setStatus("0");
223
+                    iMessageService.updateById(one);
224
+                }
225
+
222 226
 
223 227
             }
224 228
         });

+ 6
- 4
CODE/smart-community/property-api/src/main/java/com/community/huiju/service/impl/BillServiceImpl.java Zobrazit soubor

@@ -565,14 +565,16 @@ public class BillServiceImpl extends ServiceImpl<BillMapper, Bill> implements IB
565 565
             queryWrapper.eq("message_type", "7");
566 566
             queryWrapper.eq("model_type", "2");
567 567
             queryWrapper.eq("source", "2");
568
-            queryWrapper.eq("status", "1");
569
-            Message message = messageMapper.selectOne(queryWrapper);
570
-            if (null != message) {
568
+            queryWrapper.eq("source", "2");
569
+            queryWrapper.eq("uuid_type", "1");
570
+
571
+            List<Message> messages = messageMapper.selectList(queryWrapper);
572
+            messages.forEach(message-> {
571 573
                 message.setStatus("0");
572 574
                 message.setUpdateDate(LocalDateTime.now());
573 575
                 message.setUpdateUser(userElement.getId());
574 576
                 messageMapper.updateById(message);
575
-            }
577
+            });
576 578
 
577 579
         });
578 580
 

+ 20
- 5
CODE/smart-community/property-api/src/main/java/com/community/huiju/service/impl/BuildingOwnerInfoServiceImpl.java Zobrazit soubor

@@ -584,11 +584,21 @@ public class BuildingOwnerInfoServiceImpl extends ServiceImpl<TpBuildingOwnerInf
584 584
             //从第一行开始第一行一般是标题
585 585
             for (int j = 3; j <= lastRowNum; j++) {
586 586
                 Row row = sheet.getRow(j);
587
-                String buildingInfo = row.getCell(0).getStringCellValue().trim();
588
-                String roomNoId = row.getCell(1).getStringCellValue().trim();
589
-                String ownerName = row.getCell(2).getStringCellValue().trim();
590
-                String ownerTel = row.getCell(3).getStringCellValue().trim();
591
-                String ownerRole = row.getCell(4).getStringCellValue().trim();
587
+                Cell cell = row.getCell(0);
588
+                cell.setCellType(Cell.CELL_TYPE_STRING);
589
+                String buildingInfo = cell.getStringCellValue().trim();
590
+                cell = row.getCell(1);
591
+                cell.setCellType(Cell.CELL_TYPE_STRING);
592
+                String roomNoId = cell.getStringCellValue().trim();
593
+                cell = row.getCell(2);
594
+                cell.setCellType(Cell.CELL_TYPE_STRING);
595
+                String ownerName = cell.getStringCellValue().trim();
596
+                cell = row.getCell(3);
597
+                cell.setCellType(Cell.CELL_TYPE_STRING);
598
+                String ownerTel = cell.getStringCellValue().trim();
599
+                cell = row.getCell(4);
600
+                cell.setCellType(Cell.CELL_TYPE_STRING);
601
+                String ownerRole = cell.getStringCellValue().trim();
592 602
                 int currentRow = j+1;
593 603
                 if (StringUtils.isEmpty(buildingInfo)){
594 604
                     responseBean.addError("第" + currentRow + "行" + "房产信息不能为空!");
@@ -908,16 +918,21 @@ public class BuildingOwnerInfoServiceImpl extends ServiceImpl<TpBuildingOwnerInf
908 918
                         buildingOwnerInfo.getRoomNoName();
909 919
 
910 920
                 cell = row.createCell(0);
921
+                cell.setCellType(Cell.CELL_TYPE_STRING);
911 922
                 cell.setCellValue(address);
912 923
                 cell.setCellStyle(cellStyle);
913 924
                 cell = row.createCell(1);
925
+                cell.setCellType(Cell.CELL_TYPE_STRING);
914 926
                 cell.setCellValue(buildingOwnerInfo.getId());
915 927
                 cell.setCellStyle(cellStyle);
916 928
                 cell = row.createCell(2);
929
+                cell.setCellType(Cell.CELL_TYPE_STRING);
917 930
                 cell.setCellStyle(cellStyle);
918 931
                 cell = row.createCell(3);
932
+                cell.setCellType(Cell.CELL_TYPE_STRING);
919 933
                 cell.setCellStyle(cellStyle);
920 934
                 cell = row.createCell(4);
935
+                cell.setCellType(Cell.CELL_TYPE_STRING);
921 936
                 cell.setCellStyle(cellStyle);
922 937
 
923 938
                 currentRow ++;

+ 3
- 3
VUECODE/smart-operate-manage/src/views/banner/index.vue Zobrazit soubor

@@ -1,15 +1,15 @@
1 1
 <template>
2 2
   <div class="app-container">
3 3
     <div class="filter-container">
4
-      <label>标题</label>
4
+      <label style="font-size: 14px; color: #606266;">标题</label>
5 5
       <el-input v-model="listQuery.title" placeholder="请输入标题" style="width: 200px;" class="filter-item" @keyup.enter.native="handleFilter"/>
6 6
       <!-- <label>跳转概述</label>
7 7
       <el-input v-model="listQuery.bannerDescription" placeholder="请输入跳转概述" style="width: 200px;" class="filter-item" @keyup.enter.native="handleFilter"/> -->
8
-      <label>适用社区</label>
8
+      <label style="font-size: 14px; color: #606266;">适用社区</label>
9 9
       <el-select v-model="listQuery.communityId" placeholder="适用社区" clearable style="width: 200px" class="filter-item">
10 10
         <el-option v-for="item in communityList" :key="item.id" :value="item.id" :label="item.communityName"/>
11 11
       </el-select>
12
-      <label>banner位置</label>
12
+      <label style="font-size: 14px; color: #606266;">banner位置</label>
13 13
       <el-select v-model="listQuery.bannerPosition" placeholder="banner位置" clearable class="filter-item" style="width: 200px">
14 14
         <el-option v-for="item in bannerPositionArr" :key="item.id" :value="item.id" :label="item.value"/>
15 15
       </el-select>

+ 5
- 2
VUECODE/smart-property-manage/src/views/bill/info/index.vue Zobrazit soubor

@@ -7,7 +7,7 @@
7 7
       <el-button type="info" @click="updateBill">修改</el-button>
8 8
     </div>
9 9
     <div class="bill-info-search">
10
-      <span style="font-weight: bold;">收费情况</span>
10
+      <span style="font-size: 14px; color: #606266;">收费情况</span>
11 11
       <el-form :model="formInline" inline="true" class="form-inline">
12 12
         <el-form-item label="选择房子">
13 13
           <el-select v-model="formInline.phaseId" placeholder="请选择期" @change="buildSelectChange(0)">
@@ -52,7 +52,7 @@
52 52
           <el-input v-model="formInline.ownerName"/>
53 53
         </el-form-item>
54 54
         <el-form-item label="缴费状态">
55
-          <el-select v-model="formInline.billStatus" placeholder="活动区域">
55
+          <el-select v-model="formInline.billStatus" placeholder="请选择">
56 56
             <el-option label="未缴费" value="0"/>
57 57
             <el-option label="已线上缴费" value="1"/>
58 58
             <el-option label="已线下缴费" value="2"/>
@@ -550,8 +550,11 @@ export default {
550 550
   margin-top: 20px;
551 551
 }
552 552
 .title-info {
553
+  font-weight: bold;
553 554
   height: 40px;
554 555
   line-height: 40px;
556
+  font-size: 14px;
557
+  color: #606266;
555 558
 }
556 559
 .bill-info-search {
557 560
   margin-left: 20px;

+ 7
- 5
VUECODE/smart-property-manage/src/views/building/batch/batchImport.vue Zobrazit soubor

@@ -3,13 +3,15 @@
3 3
   <div class="root">
4 4
     <el-form :inline="true" :model="listQuery" class="form-listQuery">
5 5
       <el-form-item>
6
-        <el-upload :on-change="handleChange" :before-upload="beforeUpload" :limit="1" class="upload-demo" action="" multiple>
7
-          <!-- <a href="http://jingcheng-h5temp.oss-cn-shanghai.aliyuncs.com/%E6%A5%BC%E6%A0%8B%E5%BA%93%E6%A8%A1%E6%9D%BF.xlsx?Expires=1548327771"></a> -->
6
+        <div style="display: flex;">
8 7
           <el-button style="margin-left: 10px;" size="large" type="primary" @click="exportExcel">下载模板-小区</el-button>
9
-          <el-button slot="trigger" size="large" type="primary">选取文件并预览</el-button>
8
+          <el-upload :on-change="handleChange" :before-upload="beforeUpload" :limit="1" class="upload-demo" action="" multiple>
9
+            <!-- <a href="http://jingcheng-h5temp.oss-cn-shanghai.aliyuncs.com/%E6%A5%BC%E6%A0%8B%E5%BA%93%E6%A8%A1%E6%9D%BF.xlsx?Expires=1548327771"></a> -->
10
+            <el-button slot="trigger" size="large" type="primary" style="margin-left: 10px;">选取文件并预览</el-button>
11
+          </el-upload>
10 12
           <el-button style="margin-left: 10px;" size="large" type="success" @click="submitUpload">提交</el-button>
11 13
           <el-button style="margin-left: 10px;" size="large" type="success" @click="dialogBuildingIndex">取消</el-button>
12
-        </el-upload>
14
+        </div>
13 15
       </el-form-item>
14 16
     </el-form>
15 17
     <el-table ref="multipleTable" :data="list" border tooltip-effect="dark" style="width: 100%; margin-top: 20px;">
@@ -26,7 +28,7 @@
26 28
         <template slot-scope="scope">{{ scope.row.levelName }}</template>
27 29
       </el-table-column>
28 30
       <el-table-column label="户号" align="center">
29
-        <template slot-scope="scope">{{ scope.row.name }}</template>
31
+        <template slot-scope="scope">{{ scope.row.roomNoName }}</template>
30 32
       </el-table-column>
31 33
       <el-table-column label="业主姓名" align="center">
32 34
         <template slot-scope="scope">{{ scope.row.ownerName }}</template>