dingxin 6 лет назад
Родитель
Сommit
f54c6f8397

+ 1
- 1
CODE/smart-community/app-api/src/main/resources/mapper/TpMessageMapper.xml Просмотреть файл

@@ -397,7 +397,7 @@
397 397
     ticket_id
398 398
     from
399 399
     tp_message
400
-    when ticket_id=#{ticketId}
400
+    WHERE ticket_id=#{ticketId}
401 401
   </select>
402 402
   <select id="selectConditionsTpMessage" resultMap="BaseResultMap" parameterType="map">
403 403
     SELECT

+ 1
- 0
CODE/smart-community/property-api/src/main/java/com/community/huiju/service/impl/BuildingTreeServiceImpl.java Просмотреть файл

@@ -768,6 +768,7 @@ public class BuildingTreeServiceImpl implements BuildingTreeServiceI {
768 768
 				tpBuildingOwnerInfo.eq("community_id", tpUnit.getCommunityId())
769 769
 						.eq("phase_id", tpUnit.getPhaseId())
770 770
 						.eq("building_id", tpUnit.getBuildingId())
771
+						.eq("unit_id",tpUnit.getId())
771 772
 						.eq("verify_status", 1);
772 773
 				}
773 774
 			List<TpBuildingOwnerInfo> ifoBuid = tpBuildingOwnerInfoMapper.selectList(tpBuildingOwnerInfo);