Browse Source

快手-代理商sql修改

yangzian 3 years ago
parent
commit
8a91b5b15f

+ 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}
             AND d.account_id = #{accountId}
         </if>
         </if>
         <if test="startTime !=null and startTime != ''">
         <if test="startTime !=null and startTime != ''">
-            AND d.date &gt;= #{startTime}
+            AND d.date_time &gt;= #{startTime}
         </if>
         </if>
         <if test="endTime !=null and endTime != ''">
         <if test="endTime !=null and endTime != ''">
-            AND d.date &lt;= #{endTime}
+            AND d.date_time &lt;= #{endTime}
         </if>
         </if>
         GROUP BY d.account_id
         GROUP BY d.account_id
     </select>
     </select>