Przeglądaj źródła

sql

release_toaliyun_real
xhxu 5 lat temu
rodzic
commit
0e955d14b2
1 zmienionych plików z 3 dodań i 3 usunięć
  1. +3
    -3
      mallinkService/src/main/resources/mapper/WxActivityMapper.xml

+ 3
- 3
mallinkService/src/main/resources/mapper/WxActivityMapper.xml Wyświetl plik

@@ -94,10 +94,10 @@
<!-- </if>--> <!-- </if>-->


<if test=" null != startDate and null != endDate "> <if test=" null != startDate and null != endDate ">
and not(`activity_end_time` &lt; #{startDate} or `activity_start_time` &gt; #{endDate})
/*and ((`activity_start_time` &gt;= #{startDate} and `activity_start_time` &lt;= #{endDate})
and not(`activity_end_time` &lt; #{startDate, jdbcType=TIMESTAMP} or `activity_start_time` &gt; #{endDate, jdbcType=TIMESTAMP})
<!-- and ((`activity_start_time` &gt;= #{startDate} and `activity_start_time` &lt;= #{endDate})
or (`activity_end_time` &gt;= #{startDate} and `activity_end_time` &lt;= #{endDate}) or (`activity_end_time` &gt;= #{startDate} and `activity_end_time` &lt;= #{endDate})
or (`activity_start_time` &lt;= #{startDate} and `activity_end_time` &gt;= #{endDate}))*/
or (`activity_start_time` &lt;= #{startDate} and `activity_end_time` &gt;= #{endDate}))-->
</if> </if>
<if test=" null != sendMsg "> <if test=" null != sendMsg ">


Ładowanie…
Anuluj
Zapisz