张延森 4 years ago
parent
commit
e0edbcf7ab

+ 1
- 1
pom.xml View File

10
 	</parent>
10
 	</parent>
11
 	<groupId>com.huiju</groupId>
11
 	<groupId>com.huiju</groupId>
12
 	<artifactId>xiangsong</artifactId>
12
 	<artifactId>xiangsong</artifactId>
13
-	<version>1.0.55</version>
13
+	<version>1.0.56</version>
14
 	<name>xiangsong</name>
14
 	<name>xiangsong</name>
15
 	<description>香颂</description>
15
 	<description>香颂</description>
16
 
16
 

+ 5
- 4
src/main/java/com/huiju/estateagents/property/service/impl/BuildingOwnerInfoServiceImpl.java View File

182
         taUserVerifyMapper.updateById(userVerify);
182
         taUserVerifyMapper.updateById(userVerify);
183
 
183
 
184
         // app 用户信息
184
         // app 用户信息
185
-        TaPerson person = taPersonMapper.selectById(userVerify.getPersonId());
185
+//        TaPerson person = taPersonMapper.selectById(userVerify.getPersonId());
186
 
186
 
187
 //         审核通过后,往楼栋资料库添加数据
187
 //         审核通过后,往楼栋资料库添加数据
188
         if ("1".equals(verify)) {
188
         if ("1".equals(verify)) {
189
             TpBuildingOwnerInfo tpBuildingOwnerInfo = insertTpBuildingOwnerInfo(userVerify.getPhaseId(), userVerify.getBuildingId(), userVerify.getUnitId(),
189
             TpBuildingOwnerInfo tpBuildingOwnerInfo = insertTpBuildingOwnerInfo(userVerify.getPhaseId(), userVerify.getBuildingId(), userVerify.getUnitId(),
190
                     userVerify.getLevelId(), userVerify.getRoomNoId(), userElement.getOrgId(), userElement.getUserId(),
190
                     userVerify.getLevelId(), userVerify.getRoomNoId(), userElement.getOrgId(), userElement.getUserId(),
191
-                    userVerify.getGender(), person.getNickname(), person.getPhone());
191
+                    userVerify.getGender(), userVerify.getOwnerName(), userVerify.getPhone(), userVerify.getIdCard());
192
 
192
 
193
             // 设置审核id
193
             // 设置审核id
194
             tpBuildingOwnerInfo.setTaUserVerifyId(userVerify.getId());
194
             tpBuildingOwnerInfo.setTaUserVerifyId(userVerify.getId());
253
         // 插入楼栋资料库
253
         // 插入楼栋资料库
254
         tpBuildingOwnerInfo = insertTpBuildingOwnerInfo(tpBuildingOwnerInfo.getPhaseId(), tpBuildingOwnerInfo.getBuildingId(), tpBuildingOwnerInfo.getUnitId(),
254
         tpBuildingOwnerInfo = insertTpBuildingOwnerInfo(tpBuildingOwnerInfo.getPhaseId(), tpBuildingOwnerInfo.getBuildingId(), tpBuildingOwnerInfo.getUnitId(),
255
                 tpBuildingOwnerInfo.getLevelId(), tpBuildingOwnerInfo.getRoomNoId(), userElement.getOrgId(), userElement.getUserId(),
255
                 tpBuildingOwnerInfo.getLevelId(), tpBuildingOwnerInfo.getRoomNoId(), userElement.getOrgId(), userElement.getUserId(),
256
-                tpBuildingOwnerInfo.getGender(), tpBuildingOwnerInfo.getOwnerName(), tpBuildingOwnerInfo.getOwnerTel());
256
+                tpBuildingOwnerInfo.getGender(), tpBuildingOwnerInfo.getOwnerName(), tpBuildingOwnerInfo.getOwnerTel(), tpBuildingOwnerInfo.getIdCard());
257
 
257
 
258
         // 更新 APP 端用户姓名
258
         // 更新 APP 端用户姓名
259
 //        appUser.setUserName(tpBuildingOwnerInfo.getOwnerName());
259
 //        appUser.setUserName(tpBuildingOwnerInfo.getOwnerName());
358
      */
358
      */
359
     private TpBuildingOwnerInfo insertTpBuildingOwnerInfo (Integer phaseId, Integer buildingId, Integer unitId,
359
     private TpBuildingOwnerInfo insertTpBuildingOwnerInfo (Integer phaseId, Integer buildingId, Integer unitId,
360
                                                            Integer levelId, Integer roomNoId, Integer orgId,
360
                                                            Integer levelId, Integer roomNoId, Integer orgId,
361
-                                                           Integer userId, String gender, String ownerName, String ownerTel) {
361
+                                                           Integer userId, String gender, String ownerName, String ownerTel, String idCard) {
362
         TpBuildingOwnerInfo tpBuildingOwnerInfo = new TpBuildingOwnerInfo();
362
         TpBuildingOwnerInfo tpBuildingOwnerInfo = new TpBuildingOwnerInfo();
363
 
363
 
364
         // 查询 期/楼栋/单元/层/户号
364
         // 查询 期/楼栋/单元/层/户号
382
         tpBuildingOwnerInfo.setRoomNoName(roomNo.getName());
382
         tpBuildingOwnerInfo.setRoomNoName(roomNo.getName());
383
         tpBuildingOwnerInfo.setOwnerName(ownerName);
383
         tpBuildingOwnerInfo.setOwnerName(ownerName);
384
         tpBuildingOwnerInfo.setOwnerTel(ownerTel);
384
         tpBuildingOwnerInfo.setOwnerTel(ownerTel);
385
+        tpBuildingOwnerInfo.setIdCard(idCard);
385
         tpBuildingOwnerInfo.setGender(gender);
386
         tpBuildingOwnerInfo.setGender(gender);
386
         tpBuildingOwnerInfo.setUpdateUser(userId);
387
         tpBuildingOwnerInfo.setUpdateUser(userId);
387
         tpBuildingOwnerInfo.setUpdateDate(LocalDateTime.now());
388
         tpBuildingOwnerInfo.setUpdateDate(LocalDateTime.now());