package com.hfkj.dao;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * mapper扩展类
 */
public interface BsStoreProductCategoryMapperExt {

    @Select("<script> select sort from bs_store_product_category where store_id = #{storeId} and `status` <![CDATA[ <> ]]> 0 ORDER BY sort desc LIMIT 1 </script>")
    Integer queryMaxSort(@Param("storeId") Long storeId);

}
