zouxuan 4 年之前
父节点
当前提交
91c9df3259
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      mec-biz/src/main/resources/config/mybatis/FinancialExpenditureMapper.xml

+ 2 - 2
mec-biz/src/main/resources/config/mybatis/FinancialExpenditureMapper.xml

@@ -140,10 +140,10 @@
                 AND fe.cooperation_organ_id_ = #{cooperationOrganId}
             </if>
             <if test="startTime != null and startTime != ''">
-                AND DATE_FORMAT(fe.payment_time_,'%Y%m%d') &gt;= #{startTime}
+                AND DATE_FORMAT(fe.payment_time_,'%Y-%m-%d') &gt;= #{startTime}
             </if>
             <if test="endTime != null and endTime != ''">
-                AND DATE_FORMAT(fe.payment_time_,'%Y%m%d') &lt;= #{endTime}
+                AND DATE_FORMAT(fe.payment_time_,'%Y-%m-%d') &lt;= #{endTime}
             </if>
         </where>
     </sql>