...
|
...
|
@@ -13,17 +13,18 @@ |
|
|
<result property="updateTime" column="update_time"/>
|
|
|
<result property="linkType" column="link_type"/>
|
|
|
<result property="linkDetail" column="link_detail"/>
|
|
|
<result property="imageUrl" column="image_url"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="Base_Column_List">
|
|
|
id, category_name, status, level, parent_id, order_by,create_time,update_time,link_type,link_detail
|
|
|
id, category_name, status, level, parent_id, order_by,create_time,update_time,link_type,link_detail,image_url
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
<select id="selectAll" resultMap="BaseResultMap">
|
|
|
select <include refid="Base_Column_List" />
|
|
|
from sale_category where 1=1
|
|
|
order by level,order_by
|
|
|
order by level,order_by desc
|
|
|
</select>
|
|
|
|
|
|
</mapper> |
|
|
\ No newline at end of file |
...
|
...
|
|