Browse Source

提交房型排序

夏文涛 2 years ago
parent
commit
b86c36e246
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mhotel/src/com/happy/service/impl/HousePriceServiceImpl.java

+ 1 - 1
mhotel/src/com/happy/service/impl/HousePriceServiceImpl.java

@@ -124,7 +124,7 @@ public class HousePriceServiceImpl implements HousePriceService {
     @Override
     @Override
     public List<House> queryHouseListByManagerId(String managerId) {
     public List<House> queryHouseListByManagerId(String managerId) {
         if (StringUtils.isBlank(managerId)) return Collections.emptyList();
         if (StringUtils.isBlank(managerId)) return Collections.emptyList();
-        String sqlx = String.format(" and manager_id = %s %s", managerId, " order by create_date desc");
+        String sqlx = String.format(" and manager_id = %s %s", managerId, " order by id desc");
         return houseDao.queryList(sqlx);
         return houseDao.queryList(sqlx);
     }
     }