Преглед на файлове

快手-代理商sql修改

yangzian преди 4 години
родител
ревизия
8a91b5b15f
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      jeecg-boot-finance/src/main/java/org/jeecg/ctop/finance/settlement/mapper/xml/ReportSettlementMapper.xml

+ 2 - 2
jeecg-boot-finance/src/main/java/org/jeecg/ctop/finance/settlement/mapper/xml/ReportSettlementMapper.xml

@@ -307,10 +307,10 @@
             AND d.account_id = #{accountId}
         </if>
         <if test="startTime !=null and startTime != ''">
-            AND d.date &gt;= #{startTime}
+            AND d.date_time &gt;= #{startTime}
         </if>
         <if test="endTime !=null and endTime != ''">
-            AND d.date &lt;= #{endTime}
+            AND d.date_time &lt;= #{endTime}
         </if>
         GROUP BY d.account_id
     </select>