Commit 70b9c225 authored by tangwei's avatar tangwei

修改bug

parent e5138ae9
...@@ -613,10 +613,10 @@ ...@@ -613,10 +613,10 @@
<if test='dto.createDate != null and dto.createDate == "1"'> <if test='dto.createDate != null and dto.createDate == "1"'>
AND wlesa.create_date LIKE CONCAT( DATE_FORMAT( NOW( ), '%Y-%m-%d' ), '%' ) AND wlesa.create_date LIKE CONCAT( DATE_FORMAT( NOW( ), '%Y-%m-%d' ), '%' )
</if> </if>
<if test='createDate != null and createDate == "7"'> <if test='dto.createDate != null and dto.createDate == "7"'>
AND wlesal.create_date > CONCAT( DATE_ADD( DATE_FORMAT( NOW( ), '%Y-%m-%d ' ), INTERVAL - 7 DAY ), ' 23:59:59' ) AND wlesal.create_date > CONCAT( DATE_ADD( DATE_FORMAT( NOW( ), '%Y-%m-%d ' ), INTERVAL - 7 DAY ), ' 23:59:59' )
</if> </if>
<if test='createDate != null and createDate == "30"'> <if test='dto.createDate != null and dto.createDate == "30"'>
AND wlesal.create_date > CONCAT( DATE_ADD( DATE_FORMAT( NOW( ), '%Y-%m-%d ' ), INTERVAL - 30 DAY ),' 23:59:59' ) AND wlesal.create_date > CONCAT( DATE_ADD( DATE_FORMAT( NOW( ), '%Y-%m-%d ' ), INTERVAL - 30 DAY ),' 23:59:59' )
</if> </if>
<if test="dto.createDate != null and dto.createDate.length() > 7"> <if test="dto.createDate != null and dto.createDate.length() > 7">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment