查询报错
This commit is contained in:
@@ -110,11 +110,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="createTimeEnd != null and createTimeEnd != ''">
|
||||
and date_format(a.create_time,'%Y-%m-%d') <= #{createTimeEnd}
|
||||
</if>
|
||||
<if test="createTimeFrom != null and createTimeFrom != ''">
|
||||
and date_format(a.create_time,'%Y-%m-%d') >= #{createTimeFrom}
|
||||
<if test="createTimeFrom != null">
|
||||
and a.create_time <![CDATA[>=]]> #{createTimeFrom}
|
||||
</if>
|
||||
<if test="createTimeTo != null and createTimeTo != ''">
|
||||
and date_format(a.create_time,'%Y-%m-%d') <= #{createTimeTo}
|
||||
<if test="createTimeTo != null">
|
||||
and a.create_time <![CDATA[<=]]> #{createTimeTo}
|
||||
</if>
|
||||
<if test="pushTimeFrom != null">
|
||||
and a.PUSH_TIME <![CDATA[>=]]> #{pushTimeFrom}
|
||||
|
||||
Reference in New Issue
Block a user