| | |
| | | import com.xiaopeng.api.vo.order.XpPointsListVo; |
| | | import com.xiaopeng.common.core.web.page.PageInfo; |
| | | import com.xiaopeng.map.query.PointByNameQuery; |
| | | import com.xiaopeng.api.query.operation.FenceAndStationVo; |
| | | import org.apache.ibatis.annotations.Select; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | |
| | | */ |
| | | public interface XpPointMapper extends BaseMapper<XpPoint> { |
| | | |
| | | List<FenceAndStationVo> findListFenceAndStation(String cityCode); |
| | | |
| | | List<XpPoint> pointMap(@Param("query") PointMapQuery query); |
| | | |
| | | List<XpPoint> listAll(@Param("query") PointListQuery query); |
| | |
| | | |
| | | List<XpPoint> pageList(@Param("pageInfo") PageInfo<XpPoint> pageInfo, @Param("query") PointPageListListQuery query); |
| | | |
| | | |
| | | List<XpPoint> pageList( @Param("query") PointPageListListQuery query); |
| | | |
| | | @Select("SELECT point_number FROM xp_point WHERE point_number LIKE CONCAT(#{cityPrefix}, '-', #{bizType}, '-%') ORDER BY point_number DESC LIMIT 1") |
| | | String selectMaxPointNumber(@Param("cityPrefix") String cityPrefix, @Param("bizType") String bizType); |
| | | } |