zouxuan 4 years ago
parent
commit
91c9df3259

+ 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>