Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 533e9aa8
authored
Apr 30, 2021
by
danmo
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改月统计数据
1 parent
a4c1ab84
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
10 deletions
linkwe-wecom/src/main/resources/mapper/wecom/WeGroupStatisticMapper.xml
linkwe-wecom/src/main/resources/mapper/wecom/WeUserBehaviorDataMapper.xml
linkwe-wecom/src/main/resources/mapper/wecom/WeGroupStatisticMapper.xml
View file @
533e9aa
...
@@ -150,11 +150,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -150,11 +150,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
sum(ifnull(wgs.msg_total, 0)) msg_total,
sum(ifnull(wgs.msg_total, 0)) msg_total,
date_format(wgs.stat_time, '%Y-%m') as finish_date
date_format(wgs.stat_time, '%Y-%m') as finish_date
from we_group_statistic wgs
from we_group_statistic wgs
/*where
str_to_date(date_format(wgs.stat_time, '%Y-%m'), '%Y-%m')
>
=
str_to_date(date_format(date_sub(current_date, interval #{few} month), '%Y-%m'), '%Y-%m')
and str_to_date(date_format(wgs.stat_time, '%Y-%m'), '%Y-%m')
<
=
str_to_date(date_format(current_date, '%Y-%m'), '%Y-%m')*/
group by finish_date
group by finish_date
order by finish_date
order by finish_date
) as tbr on tbl._date = tbr.finish_date
) as tbr on tbl._date = tbr.finish_date
...
...
linkwe-wecom/src/main/resources/mapper/wecom/WeUserBehaviorDataMapper.xml
View file @
533e9aa
...
@@ -149,11 +149,6 @@
...
@@ -149,11 +149,6 @@
sum(ifnull(wubd.negative_feedback_cnt, 0)) negative_feedback_cnt,
sum(ifnull(wubd.negative_feedback_cnt, 0)) negative_feedback_cnt,
date_format(wubd.stat_time, '%Y-%m') as finish_date
date_format(wubd.stat_time, '%Y-%m') as finish_date
from we_user_behavior_data wubd
from we_user_behavior_data wubd
/*where
str_to_date(date_format(wubd.stat_time, '%Y-%m'), '%Y-%m')
>
=
str_to_date(date_format(date_sub(current_date, interval #{few} month), '%Y-%m'), '%Y-%m')
and str_to_date(date_format(wubd.stat_time, '%Y-%m'), '%Y-%m')
<
=
str_to_date(date_format(current_date, '%Y-%m'), '%Y-%m')*/
group by finish_date
group by finish_date
order by finish_date
order by finish_date
) as tbr on tbl._date = tbr.finish_date
) as tbr on tbl._date = tbr.finish_date
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment