|
|
@ -363,4 +363,40 @@ public class RedisKeys { |
|
|
|
public static String getFileName4Import(String fileName) { |
|
|
|
return rootPrefix.concat("user:info:import").concat(fileName); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 楼栋最大编码 |
|
|
|
* |
|
|
|
* @param plotId |
|
|
|
* @return java.lang.String |
|
|
|
* @author zhy |
|
|
|
* @date 2022/6/16 14:02 |
|
|
|
*/ |
|
|
|
public static String getMaBuildingCodeKey(String plotId) { |
|
|
|
return rootPrefix.concat("user:room:building:").concat(plotId); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 单元最大编码 |
|
|
|
* |
|
|
|
* @param buildingId |
|
|
|
* @return java.lang.String |
|
|
|
* @author zhy |
|
|
|
* @date 2022/6/16 14:02 |
|
|
|
*/ |
|
|
|
public static String getMaUnitCodeKey(String buildingId) { |
|
|
|
return rootPrefix.concat("user:room:building:").concat(buildingId); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 房屋最大编码 |
|
|
|
* |
|
|
|
* @param buildingId |
|
|
|
* @return java.lang.String |
|
|
|
* @author zhy |
|
|
|
* @date 2022/6/16 14:02 |
|
|
|
*/ |
|
|
|
public static String getMaRoomCodeKey(String buildingId, String unit) { |
|
|
|
return rootPrefix.concat("user:room:building:").concat(buildingId).concat(unit); |
|
|
|
} |
|
|
|
} |
|
|
|