<select id="queryListByPage" resultType="com.aladdin.ddnews.dto.DdCircleShopService2">
select
<include refid="Base_Column_List" />,
(select circle_name from dd_circle d where d.circle_id=s.circle_id) as circle_name
from
dd_circle_additional_function s
where
is_delete=0
order by create_time desc
</select>
mybatis直接对应相关类的写法
最新推荐文章于 2024-06-12 10:08:37 发布