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