| | |
| | | import com.xiaopeng.api.vo.order.XpPointsListVo; |
| | | import com.xiaopeng.common.core.web.page.PageInfo; |
| | | import com.xiaopeng.map.query.PointByNameQuery; |
| | | import org.apache.ibatis.annotations.Select; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | |
| | | List<XpPointsListVo> queryPointByName(@Param("query") PointByNameQuery query); |
| | | |
| | | List<XpPoint> pageList(@Param("pageInfo") PageInfo<XpPoint> pageInfo, @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); |
| | | } |