Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haoban3.0
haoban-manage3.0
Commits
c54c8643
Commit
c54c8643
authored
Jun 12, 2023
by
guojx
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-2023-06-目标配置' into 'developer'
目标跟进达成分析门店明细数据 See merge request
!1308
parents
3b9926c6
36a7c0f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
9 deletions
+1
-9
StoreTargetConfigController.java
...ge/web/controller/target/StoreTargetConfigController.java
+1
-9
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/target/StoreTargetConfigController.java
View file @
c54c8643
...
...
@@ -103,25 +103,17 @@ public class StoreTargetConfigController {
* 目标跟进达成分析门店明细数据
* @param qo
* @param pageQo
* @param showAllStoreFlag 是否展示分组下全部门店。1:是
* @param nextStoreGroupId 分组下钻,需要传值分组id.如果没有值,默认展示全部门店或者全部一级分组
* @param orderByType 排序类型 1 正序asc 2倒序desc
* @param orderByFields 数字。具体看数据组的文档,备注里会有文档链接
* @param nextStoreGroupId
* @return
*/
@RequestMapping
(
value
=
"get-target-analysis-store-detail"
)
@ResponseBody
public
RestResponse
<
Page
<
StoreTargetReachDetailVO
>>
getTargetAnalysisStoreDetail
(
QueryDataStatisticsCommonQO
qo
,
PageQo
pageQo
,
Integer
showAllStoreFlag
,
String
nextStoreGroupId
,
Integer
orderByType
,
Integer
orderByFields
)
{
JSONObject
jsonObject
=
getCommon
(
qo
);
queryStoreGroupType
(
jsonObject
,
8
);
//如果是下钻的,需要门店过滤取交集
if
(
StringUtils
.
isNotBlank
(
nextStoreGroupId
))
{
dealNextStoreIdParam
(
jsonObject
,
nextStoreGroupId
);
}
//不传月参数,返回12条月数据。否则返回一条合计
Map
<
String
,
Object
>
totalRes
=
StoreTargetConfigHttpUtils
.
http
(
jsonObject
.
toJSONString
(),
qo
.
isYearQuery
()
?
"data_target_mgt_group_year_stat"
:
"data_target_mgt_group_month_stat"
);
...
...
@@ -134,7 +126,7 @@ public class StoreTargetConfigController {
jsonObject
.
put
(
"pageNum"
,
pageQo
.
getPageNum
());
jsonObject
.
put
(
"orderByFields"
,
orderByType
==
null
?
2
:
orderByType
);
jsonObject
.
put
(
"orderByType"
,
orderByFields
==
null
?
25
:
orderByFields
);
queryStoreGroupType
(
jsonObject
,
getStoreGroupType
(
showAllStoreFlag
,
nextStoreGroupId
)
);
queryStoreGroupType
(
jsonObject
,
7
);
Map
<
String
,
Object
>
res
=
StoreTargetConfigHttpUtils
.
http
(
jsonObject
.
toJSONString
(),
qo
.
isYearQuery
()
?
"data_target_mgt_group_year_stat"
:
"data_target_mgt_group_month_stat"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment