Bläddra i källkod

考情监考-大屏报表修改

wangliang 2 år sedan
förälder
incheckning
e0675482e0
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      themis-business/src/main/resources/mapper/TOeExamRecordMapper.xml

+ 2 - 2
themis-business/src/main/resources/mapper/TOeExamRecordMapper.xml

@@ -1648,7 +1648,7 @@
         <if test="orgId != null and orgId != ''">
             and tee.org_id = #{orgId}
         </if>
-        and (teesol.create_time >= unix_timestamp(date_sub(#{currentDate}, interval #{interval} day)) * 1000
+        and (teesol.create_time <![CDATA[ >= ]]> unix_timestamp(date_sub(#{currentDate}, interval #{interval} day)) * 1000
         and teesol.create_time <![CDATA[ <= ]]> unix_timestamp(#{currentDate}) * 1000)
         and teesol.`type` = 'ON_LINE') t where t.createTime <![CDATA[ <= ]]> #{item}
         union all
@@ -1672,7 +1672,7 @@
         <if test="orgId != null and orgId != ''">
             and tee.org_id = #{orgId}
         </if>
-        and (teesol.create_time >= unix_timestamp(date_sub(#{currentDate}, interval #{interval} day)) * 1000
+        and (teesol.create_time <![CDATA[ >= ]]> unix_timestamp(date_sub(#{currentDate}, interval #{interval} day)) * 1000
         and teesol.create_time <![CDATA[ <= ]]> unix_timestamp(#{currentDate}) * 1000)
         and teesol.`type` = 'OFF_LINE') t where t.createTime <![CDATA[ <= ]]> #{item}
     </sql>