|
|
@@ -37,6 +37,13 @@ public class HotelDictImplService implements HotelDictService {
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
+ public String getDictNameById(int id) {
|
|
|
+ HotelDict hotelDict = hotelDictDao.getById(id);
|
|
|
+ if(hotelDict!=null) return hotelDict.getName();
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
public IPage<HotelDict> queryPage(String sqlx, int page, int rows) {
|
|
|
IPage<HotelDict> iPage = new IPage();
|
|
|
List<HotelDict> hotelDictList = hotelDictDao.queryPage(sqlx,page,rows);
|