Commit 267b4777 by huluobin

sub select

parent 7612b46e
......@@ -131,4 +131,12 @@
</select>
<!--result map子查询-->
<select id="queryListOrderCommentLabel" resultType="com.gogirl.domain.order.serve.OrderCommentLabel">
select t2.*
from order_comment t1
left join order_comment_label t2 on find_in_set(t2.id, t1.label_sticker)
where t1.id = #{id}
</select>
</mapper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment