查询报错

This commit is contained in:
王奎兴
2026-06-23 20:47:11 +08:00
parent cf22323cfe
commit 242f56ae1a
6 changed files with 24 additions and 24 deletions
@@ -435,11 +435,11 @@
<if test="pushTimeTo != null"> <if test="pushTimeTo != null">
and a.PUSH_TIME <![CDATA[<=]]> #{pushTimeTo} and a.PUSH_TIME <![CDATA[<=]]> #{pushTimeTo}
</if> </if>
<if test="createTimeFrom != null and createTimeFrom != ''"> <if test="createTimeFrom != null">
and date_format(a.create_time,'%Y-%m-%d') &gt;= #{createTimeFrom} and a.create_time <![CDATA[>=]]> #{createTimeFrom}
</if> </if>
<if test="createTimeTo != null and createTimeTo != ''"> <if test="createTimeTo != null">
and date_format(a.create_time,'%Y-%m-%d') &lt;= #{createTimeTo} and a.create_time <![CDATA[<=]]> #{createTimeTo}
</if> </if>
<if test="pushStatus != null"> <if test="pushStatus != null">
and a.PUSH_STATUS = #{pushStatus} and a.PUSH_STATUS = #{pushStatus}
@@ -315,11 +315,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="pushTimeTo != null"> <if test="pushTimeTo != null">
and a.PUSH_TIME <![CDATA[<=]]> #{pushTimeTo} and a.PUSH_TIME <![CDATA[<=]]> #{pushTimeTo}
</if> </if>
<if test="createTimeFrom != null and createTimeFrom != ''"> <if test="createTimeFrom != null">
and date_format(a.create_time,'%Y-%m-%d') &gt;= #{createTimeFrom} and a.create_time <![CDATA[>=]]> #{createTimeFrom}
</if> </if>
<if test="createTimeTo != null and createTimeTo != ''"> <if test="createTimeTo != null">
and date_format(a.create_time,'%Y-%m-%d') &lt;= #{createTimeTo} and a.create_time <![CDATA[<=]]> #{createTimeTo}
</if> </if>
<if test="pushStatus != null"> <if test="pushStatus != null">
and a.PUSH_STATUS = #{pushStatus} and a.PUSH_STATUS = #{pushStatus}
@@ -128,11 +128,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="pushTimeTo != null"> <if test="pushTimeTo != null">
and a.PUSH_TIME <![CDATA[<=]]> #{pushTimeTo} and a.PUSH_TIME <![CDATA[<=]]> #{pushTimeTo}
</if> </if>
<if test="createTimeFrom != null and createTimeFrom != ''"> <if test="createTimeFrom != null">
and date_format(a.create_time,'%Y-%m-%d') &gt;= #{createTimeFrom} and a.create_time <![CDATA[>=]]> #{createTimeFrom}
</if> </if>
<if test="createTimeTo != null and createTimeTo != ''"> <if test="createTimeTo != null">
and date_format(a.create_time,'%Y-%m-%d') &lt;= #{createTimeTo} and a.create_time <![CDATA[<=]]> #{createTimeTo}
</if> </if>
<if test="pushStatus != null"> <if test="pushStatus != null">
and a.PUSH_STATUS = #{pushStatus} and a.PUSH_STATUS = #{pushStatus}
@@ -424,11 +424,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="pushTimeTo != null"> <if test="pushTimeTo != null">
and a.PUSH_TIME <![CDATA[<=]]> #{pushTimeTo} and a.PUSH_TIME <![CDATA[<=]]> #{pushTimeTo}
</if> </if>
<if test="createTimeFrom != null and createTimeFrom != ''"> <if test="createTimeFrom != null">
and date_format(a.create_time,'%Y-%m-%d') &gt;= #{createTimeFrom} and a.create_time <![CDATA[>=]]> #{createTimeFrom}
</if> </if>
<if test="createTimeTo != null and createTimeTo != ''"> <if test="createTimeTo != null">
and date_format(a.create_time,'%Y-%m-%d') &lt;= #{createTimeTo} and a.create_time <![CDATA[<=]]> #{createTimeTo}
</if> </if>
<if test="pushStatus != null"> <if test="pushStatus != null">
and a.PUSH_STATUS = #{pushStatus} and a.PUSH_STATUS = #{pushStatus}
@@ -312,11 +312,11 @@
<if test="auditTimeEnd != null and auditTimeEnd != ''"> <if test="auditTimeEnd != null and auditTimeEnd != ''">
and date_format(a.audit_time,'%Y-%m-%d') &lt;= #{auditTimeEnd} and date_format(a.audit_time,'%Y-%m-%d') &lt;= #{auditTimeEnd}
</if> </if>
<if test="createTimeFrom != null and createTimeFrom != ''"> <if test="createTimeFrom != null">
and date_format(a.create_time,'%Y-%m-%d') &gt;= #{createTimeFrom} and a.create_time <![CDATA[>=]]> #{createTimeFrom}
</if> </if>
<if test="createTimeTo != null and createTimeTo != ''"> <if test="createTimeTo != null">
and date_format(a.create_time,'%Y-%m-%d') &lt;= #{createTimeTo} and a.create_time <![CDATA[<=]]> #{createTimeTo}
</if> </if>
<if test="pushTimeFrom != null"> <if test="pushTimeFrom != null">
and a.PUSH_TIME <![CDATA[>=]]> #{pushTimeFrom} and a.PUSH_TIME <![CDATA[>=]]> #{pushTimeFrom}
@@ -110,11 +110,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="createTimeEnd != null and createTimeEnd != ''"> <if test="createTimeEnd != null and createTimeEnd != ''">
and date_format(a.create_time,'%Y-%m-%d') &lt;= #{createTimeEnd} and date_format(a.create_time,'%Y-%m-%d') &lt;= #{createTimeEnd}
</if> </if>
<if test="createTimeFrom != null and createTimeFrom != ''"> <if test="createTimeFrom != null">
and date_format(a.create_time,'%Y-%m-%d') &gt;= #{createTimeFrom} and a.create_time <![CDATA[>=]]> #{createTimeFrom}
</if> </if>
<if test="createTimeTo != null and createTimeTo != ''"> <if test="createTimeTo != null">
and date_format(a.create_time,'%Y-%m-%d') &lt;= #{createTimeTo} and a.create_time <![CDATA[<=]]> #{createTimeTo}
</if> </if>
<if test="pushTimeFrom != null"> <if test="pushTimeFrom != null">
and a.PUSH_TIME <![CDATA[>=]]> #{pushTimeFrom} and a.PUSH_TIME <![CDATA[>=]]> #{pushTimeFrom}