Browse Source

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

bing 6 days ago
parent
commit
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 {
78
             }
78
             }
79
 
79
 
80
         }
80
         }
81
+        lqw.orderByDesc(PtRoom::getCreateTime);
81
         Page<PtRoomVo> result = baseMapper.selectVoPage(pageQuery.build(), lqw);
82
         Page<PtRoomVo> result = baseMapper.selectVoPage(pageQuery.build(), lqw);
82
         List<PtRoomVo> records = result.getRecords();
83
         List<PtRoomVo> records = result.getRecords();
83
         setAreaName(records);
84
         setAreaName(records);