Explorar o código

bugfix:房间信息新增时无法将区域信息自动填充导致无法新增数据

bing hai 1 ano
pai
achega
fcbf259f30

+ 1 - 0
ruoyi-modules/ruoyi-backstage/src/main/java/org/dromara/backstage/basics/service/impl/PtRoomServiceImpl.java

@@ -78,6 +78,7 @@ public class PtRoomServiceImpl implements IPtRoomService {
             }
 
         }
+        lqw.orderByDesc(PtRoom::getCreateTime);
         Page<PtRoomVo> result = baseMapper.selectVoPage(pageQuery.build(), lqw);
         List<PtRoomVo> records = result.getRecords();
         setAreaName(records);