From eb36f728d04f35b06dd03310323d0190b97446d7 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 26 六月 2019 10:05:14 +0800 Subject: [PATCH] 提现后台bug显示修改 --- fanli/src/main/java/com/yeshi/fanli/mapping/ExtractMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/mapping/ExtractMapper.xml b/fanli/src/main/java/com/yeshi/fanli/mapping/ExtractMapper.xml index 4ddba9d..639f32c 100644 --- a/fanli/src/main/java/com/yeshi/fanli/mapping/ExtractMapper.xml +++ b/fanli/src/main/java/com/yeshi/fanli/mapping/ExtractMapper.xml @@ -412,8 +412,8 @@ <select id="sumToadyApplyByUid" resultType="java.math.BigDecimal"> SELECT IFNULL(SUM(t.`money`),0) FROM yeshi_ec_extract t - WHERE t.`uid` = #{0} - AND <![CDATA[TO_DAYS( FROM_UNIXTIME(t.extractTime/1000)) = TO_DAYS(NOW())]]> + WHERE t.`uid` = #{uid} + AND FROM_UNIXTIME(t.extractTime/1000,'%Y-%m-%d') = #{day} </select> </mapper> \ No newline at end of file -- Gitblit v1.8.0