Commit 8320de71 authored by wlx@33.cn's avatar wlx@33.cn

修改楼层排序

parent 74976a14
...@@ -63,7 +63,7 @@ public class HomePageController { ...@@ -63,7 +63,7 @@ public class HomePageController {
@PostMapping("/without/getBanner") @PostMapping("/without/getBanner")
public ResponseVO<List<OprationBanner>> getBanner(){ public ResponseVO<List<OprationBanner>> getBanner(){
List<OprationBanner> banners = iOprationBannerService.getList(PLATFORM_MERCHANT_ID); List<OprationBanner> banners = iOprationBannerService.getList(PLATFORM_MERCHANT_ID);
return new ResponseVO<List<OprationBanner>>(MallResponseEnum.SUCCESS,banners); return new ResponseVO<>(MallResponseEnum.SUCCESS,banners);
} }
@ApiOperation(value = "获取楼层") @ApiOperation(value = "获取楼层")
......
...@@ -8,6 +8,6 @@ ...@@ -8,6 +8,6 @@
from opration_banner b from opration_banner b
left join goods_spu s on b.banner_type = 1 and b.number = s.goods_id left join goods_spu s on b.banner_type = 1 and b.number = s.goods_id
where b.merchant_id = #{merchantId} and b.status = 0 where b.merchant_id = #{merchantId} and b.status = 0
order by b.display_order desc order by b.display_order
</select> </select>
</mapper> </mapper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment