Authored by ZhongW

Update getShopTopArea.md

... ... @@ -20,11 +20,20 @@
### 对应SQL的操作库表
```xml
<select id="selectShopTopArea">
select * from shop_top_area where rank<11 and shop_id=#{shopId,jdbcType=INTEGER}
and date_id=#{dateId,jdbcType=INTEGER}
union all
select * from shop_top_area where shop_id = -1 and date_id=#{dateId,jdbcType=INTEGER}
<select id="selectShopTopAreaByShopId" resultMap="BaseResultMap">
select
<include refid="Base_Column_List"/>
from shop_top_area
<where>
<if test="shopTopArea.shopId != null ">
and shop_id=#{shopTopArea.shopId,jdbcType=INTEGER}
</if>
<if test="shopTopArea.shopId != null ">
and date_id=#{shopTopArea.dateId,jdbcType=INTEGER}
</if>
</where>
order by order_rate desc
limit 10
</select>
```
... ...