项目地图查询根据order_number排序

This commit is contained in:
joylink_zhangsai 2020-12-11 21:51:13 +08:00
parent 9da15bf9f9
commit 43183365cf

View File

@ -558,6 +558,7 @@ public class MapService implements IMapService {
@Override
public List<MapVO> findOnlineMapByProjectCode(String projectCode) {
MapInfoExample example = new MapInfoExample();
example.setOrderByClause("order_number");
example.createCriteria().andProjectCodeEqualTo(projectCode).andStatusEqualTo(MapStatus.Online.getCode());
List<MapInfo> mapInfoList = mapInfoDAO.selectByExample(example);
return MapVO.convert2VOList(mapInfoList);