|
@@ -2,7 +2,7 @@
|
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
<mapper namespace="com.sxtvs.open.api.news.mapper.YoumeiDataMapper">
|
|
|
<select id="getCategoryList" resultType="com.sxtvs.open.api.news.entity.CategoryData">
|
|
|
- SELECT d.*, c.category FROM youmei_data d
|
|
|
+ SELECT d.*, c.category FROM youmei_data_local d
|
|
|
LEFT JOIN youmei_data_category c ON d.`offset` = c.`offset`
|
|
|
WHERE d.offset >= #{offset} and d.content != ""
|
|
|
LIMIT #{limit}
|