|
@@ -60,6 +60,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="dataType != null and dataType == '3'"> and visit_date >= DATE_SUB(NOW(), INTERVAL 7 DAY)</if>
|
|
|
<if test="dataType != null and dataType == '4'"> and visit_date >= DATE_SUB(NOW(), INTERVAL 30 DAY))</if>
|
|
|
</where>
|
|
|
+ order by create_time DESC
|
|
|
</select>
|
|
|
|
|
|
<select id="selectBomanReservatByReservatId" parameterType="Long" resultMap="BomanReservatResult">
|