- 添加一个搜索功能呢

This commit is contained in:
sin
2019-05-08 18:45:08 +08:00
parent bca1afd3b4
commit b5078b3ffe
5 changed files with 44 additions and 4 deletions

View File

@@ -145,4 +145,14 @@
<bind name="limitIndex" value="pageSize * (index - 1)"/>
LIMIT #{limitIndex}, #{pageSize}
</select>
<!--
查询 - 根据 id 查询
-->
<select id="selectById" resultType="cn.iocoder.mall.order.biz.dataobject.OrderReturnDO">
SELECT
<include refid="FIELDS"/>
FROM `order_return`
WHERE id = #{id}
</select>
</mapper>