排序,查询参数

This commit is contained in:
kuang.yife 2023-12-25 00:00:21 +08:00
parent 76f0a8fd61
commit 20879c29c4
3 changed files with 6 additions and 1 deletions

View File

@ -23,7 +23,7 @@
<input type="text" name="nickName"/> <input type="text" name="nickName"/>
</li> </li>
<li> <li>
<label>姓名:</label> <label>姓名:</label>
<input type="text" name="realName"/> <input type="text" name="realName"/>
</li> </li>
<li> <li>

View File

@ -10,6 +10,10 @@
<form id="formId"> <form id="formId">
<div class="select-list"> <div class="select-list">
<ul> <ul>
<li>
<label>昵称:</label>
<input type="text" name="nickName"/>
</li>
<li> <li>
<label>学历:</label> <label>学历:</label>
<input type="text" name="education"/> <input type="text" name="education"/>

View File

@ -62,6 +62,7 @@
<if test="hobby != null and hobby != ''"> and hobby = #{hobby}</if> <if test="hobby != null and hobby != ''"> and hobby = #{hobby}</if>
<if test="choosingStandard != null and choosingStandard != ''"> and choosing_standard = #{choosingStandard}</if> <if test="choosingStandard != null and choosingStandard != ''"> and choosing_standard = #{choosingStandard}</if>
</where> </where>
order by id desc
</select> </select>
<select id="selectTbUserSingleById" parameterType="Long" resultMap="TbUserSingleResult"> <select id="selectTbUserSingleById" parameterType="Long" resultMap="TbUserSingleResult">