| | |
| | | limit #{limit} offset #{offset} |
| | | </select> |
| | | |
| | | <select id="selectToken" resultMap="resultMap" resultType="com.moon.server.entity.sys.TokenEntity"> |
| | | <select id="selectToken" resultType="com.moon.server.entity.sys.TokenEntity"> |
| | | select a.*, fn_uname(create_user) createName, fn_uname(update_user) updateName |
| | | from lf.sys_token a |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <select id="selectByIds" resultType="com.moon.server.entity.sys.TokenEntity"> |
| | | select * from lf.sys_token where id in |
| | | <foreach item="id" collection="ids" index="index" open="(" separator="," close=")"> |
| | | #{id} |
| | | </foreach> |
| | | </select> |
| | | |
| | | <select id="selectOneById" resultType="com.moon.server.entity.sys.TokenEntity"> |
| | | select a.*, fn_uname(create_user) createName, fn_uname(update_user) updateName |
| | | from lf.sys_token a |