|
|
@@ -47,7 +47,7 @@ public interface VoyageMapper extends BaseMapperX<VoyageDO> {
|
|
|
.eqIfPresent(VoyageDO::getRouteId, reqVO.getRouteId())
|
|
|
.eq(VoyageDO::getShelfStatus, VoyageShelfStatusEnum.ON_SHELF.getValue())
|
|
|
.likeIfPresent(VoyageDO::getChannel, reqVO.getChannel())
|
|
|
- .orderByAsc(VoyageDO::getCreateTime));
|
|
|
+ .orderByAsc(VoyageDO::getStartTime));
|
|
|
}
|
|
|
|
|
|
default List<VoyageDO> selectOnShelfListByShipId(Long shipId) {
|
|
|
@@ -56,7 +56,7 @@ public interface VoyageMapper extends BaseMapperX<VoyageDO> {
|
|
|
.gt(VoyageDO::getStartTime, LocalDate.now())
|
|
|
.eq(VoyageDO::getShelfStatus, VoyageShelfStatusEnum.ON_SHELF.getValue())
|
|
|
.like(VoyageDO::getChannel, "1")
|
|
|
- .orderByAsc(VoyageDO::getCreateTime));
|
|
|
+ .orderByAsc(VoyageDO::getStartTime));
|
|
|
}
|
|
|
|
|
|
List<VoyageDO> selectVovageList(@Param("shipId") Long shipId);
|