|
@@ -29,13 +29,13 @@ public interface TpRoomNoMapper extends BaseMapper<TpRoomNo> {
|
29
|
29
|
* @return
|
30
|
30
|
*/
|
31
|
31
|
@ResultType(TpRoomNo.class)
|
32
|
|
- @Select("select * from tp_room_no " +
|
33
|
|
- "where org_id = #{orgId} " +
|
34
|
|
- "and phase_name = #{phaseName} " +
|
35
|
|
- "and building_name = #{buildingName} " +
|
36
|
|
- "and unit_name = #{unitName} " +
|
37
|
|
- "and level_name = #{levelName} " +
|
38
|
|
- "and name = #{roomNoName}")
|
|
32
|
+// @Select("select * from tp_room_no " +
|
|
33
|
+// "where org_id = #{orgId} " +
|
|
34
|
+// "and phase_name = #{phaseName} " +
|
|
35
|
+// "and building_name = #{buildingName} " +
|
|
36
|
+// "and unit_name = #{unitName} " +
|
|
37
|
+// "and level_name = #{levelName} " +
|
|
38
|
+// "and name = #{roomNoName}")
|
39
|
39
|
TpRoomNo selectCommunityIdAndAddressName(@Param("orgId") Integer orgId, @Param("phaseName") String phaseName, @Param("buildingName") String buildingName, @Param("unitName") String unitName, @Param("levelName") String levelName, @Param("roomNoName") String roomNoName);
|
40
|
40
|
|
41
|
41
|
/**
|
|
@@ -58,11 +58,11 @@ public interface TpRoomNoMapper extends BaseMapper<TpRoomNo> {
|
58
|
58
|
Long selectCommunityIdCount(@Param("orgId") Integer orgId);
|
59
|
59
|
|
60
|
60
|
@ResultType(TpRoomNo.class)
|
61
|
|
- @Select("select * from tp_room_no where org_id=#{orgId} " +
|
62
|
|
- "and phase_id=#{phaseId} " +
|
63
|
|
- "and building_id=#{buildingId} " +
|
64
|
|
- "and unit_id=#{unitId} " +
|
65
|
|
- "and level_id=#{levelId}")
|
|
61
|
+// @Select("select * from tp_room_no where org_id=#{orgId} " +
|
|
62
|
+// "and phase_id=#{phaseId} " +
|
|
63
|
+// "and building_id=#{buildingId} " +
|
|
64
|
+// "and unit_id=#{unitId} " +
|
|
65
|
+// "and level_id=#{levelId}")
|
66
|
66
|
List<TpRoomNo> selectByAddress(Integer orgId, Integer phaseId, Integer buildingId, Integer unitId, Integer levelId);
|
67
|
67
|
|
68
|
68
|
}
|