Authored by ZhongW

Update getShopTopArea.md

... ... @@ -20,12 +20,21 @@
### 对应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>
<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>
```
### 错误编码
... ...