添加参数

This commit is contained in:
huangzj
2023-11-24 11:28:12 +08:00
parent 44832df878
commit 92107c12b2
2 changed files with 4 additions and 0 deletions

View File

@@ -33,6 +33,9 @@
<if test="temp!=null and temp.searchBeginTime != null and temp.searchBeginTime !=''">
AND a.create_time &gt;= #{temp.searchBeginTime}
</if>
<if test="temp!=null and temp.id != null and temp.id !=''">
AND a.id = #{temp.id}
</if>
order by a.order_by asc,create_time desc
</select>