Browse Source

:bug: fix

liuaogang 2 months ago
parent
commit
d17f4b9a34
1 changed files with 2 additions and 4 deletions
  1. 2 4
      src/main/resources/mapper/SpStatementShipUsageMonthMapper.xml

+ 2 - 4
src/main/resources/mapper/SpStatementShipUsageMonthMapper.xml

@@ -162,10 +162,8 @@
     where t.OPERATORID in
     ('sgldjzx','shgdjzxmt','shgjgwsd','shgjgwzd','shhdjzxmt','shmdjzxmt','shpdgjjzxmt','shsdjzxmt')
     AND t.conntype != '低压(标准化)'
-    AND ((T.ENDTIME <=
-    TO_DATE(#{thisDate}, 'yyyy-MM-dd HH24:mi:ss')
-    AND T.ENDTIME >=
-    TO_DATE(#{lastDate}, 'yyyy-MM-dd HH24:mi:ss')))
+    AND ((T.ENDTIME <= #{thisDate}
+    AND T.ENDTIME >= #{lastDate}))
   </select>
   <select id="selectThreeMonthsDataTotal" resultType="com.shcd.vo.SpShipUsageMonthQuarterVo">
     SELECT SUM(T.SHIP_USAGE_MONTH)        shipUsageMonth,