瀏覽代碼

修改判断时间字段

DESKTOP-2K9OVK9\siwei 5 月之前
父節點
當前提交
782ab7e784

+ 2 - 2
onemap-modules/onemap-apply/src/main/resources/mapper/postgresql/zymlapplication/TZymlApplicationRecordMapper.xml

@@ -62,8 +62,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="spUserId != null  and spUserId != ''"> and sp_user_id = #{spUserId}</if>
             <if test="spUserBy != null  and spUserBy != ''"> and sp_user_by = #{spUserBy}</if>
             <if test="spTime != null "> and sp_time = #{spTime}</if>
-            <if test="startTime != null "> and sp_time &gt;= #{startTime}</if>
-            <if test="endTime != null "> and sp_time &lt;= #{endTime}</if>
+            <if test="startTime != null "> and sq_time &gt;= #{startTime}</if>
+            <if test="endTime != null "> and sq_time &lt;= #{endTime}</if>
             <if test="spReason != null  and spReason != ''"> and sp_reason = #{spReason}</if>
             <if test="state != null "> and state = #{state}</if>
             <if test="fwKey != null "> and fw_key = #{fwKey}</if>