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
e804eb4b
Commit
e804eb4b
authored
Sep 14, 2024
by
guojx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
时间趋势优化
parent
0a85f572
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
GoodsAnalysisController.java
...n/manage/web/controller/data/GoodsAnalysisController.java
+2
-8
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/data/GoodsAnalysisController.java
View file @
e804eb4b
...
@@ -139,10 +139,7 @@ public class GoodsAnalysisController {
...
@@ -139,10 +139,7 @@ public class GoodsAnalysisController {
public
RestResponse
<
Page
<
GoodsAnalysisDateTrendVO
>>
getDateTrendOfManager
(
@RequestBody
GoodsAnalysisClerkDetailQO
qo
)
{
public
RestResponse
<
Page
<
GoodsAnalysisDateTrendVO
>>
getDateTrendOfManager
(
@RequestBody
GoodsAnalysisClerkDetailQO
qo
)
{
JSONObject
jsonObject
=
(
JSONObject
)
JSONObject
.
toJSON
(
qo
);
JSONObject
jsonObject
=
(
JSONObject
)
JSONObject
.
toJSON
(
qo
);
Map
<
String
,
Object
>
res
=
DataApiUtils
.
http
(
jsonObject
.
toJSONString
(),
"data_pro_pref_ent_date_overview"
);
Map
<
String
,
Object
>
res
=
DataApiUtils
.
http
(
jsonObject
.
toJSONString
(),
"data_pro_pref_ent_date_overview"
);
Page
page
=
DataApiUtils
.
getPageData
(
res
);
Page
<
GoodsAnalysisDateTrendVO
>
page
=
DataApiUtils
.
getPageData
(
res
,
GoodsAnalysisDateTrendVO
.
class
);
List
<
JSONObject
>
pageList
=
page
.
getResult
();
page
.
setResult
(
JSONArray
.
parseArray
(
JSON
.
toJSONString
(
pageList
),
GoodsAnalysisDateTrendVO
.
class
));
return
RestResponse
.
successResult
(
page
);
return
RestResponse
.
successResult
(
page
);
}
}
...
@@ -170,10 +167,7 @@ public class GoodsAnalysisController {
...
@@ -170,10 +167,7 @@ public class GoodsAnalysisController {
public
RestResponse
<
Page
<
ClerkDateTrendVO
>>
getDateTrendOfClerk
(
@RequestBody
GoodsAnalysisClerkDetailQO
qo
)
{
public
RestResponse
<
Page
<
ClerkDateTrendVO
>>
getDateTrendOfClerk
(
@RequestBody
GoodsAnalysisClerkDetailQO
qo
)
{
JSONObject
jsonObject
=
(
JSONObject
)
JSONObject
.
toJSON
(
qo
);
JSONObject
jsonObject
=
(
JSONObject
)
JSONObject
.
toJSON
(
qo
);
Map
<
String
,
Object
>
res
=
DataApiUtils
.
http
(
jsonObject
.
toJSONString
(),
"data_pro_pref_clerk_date_overview"
);
Map
<
String
,
Object
>
res
=
DataApiUtils
.
http
(
jsonObject
.
toJSONString
(),
"data_pro_pref_clerk_date_overview"
);
Page
page
=
DataApiUtils
.
getPageData
(
res
);
Page
<
ClerkDateTrendVO
>
page
=
DataApiUtils
.
getPageData
(
res
,
ClerkDateTrendVO
.
class
);
List
<
JSONObject
>
pageList
=
page
.
getResult
();
page
.
setResult
(
JSONArray
.
parseArray
(
JSON
.
toJSONString
(
pageList
),
ClerkDateTrendVO
.
class
));
return
RestResponse
.
successResult
(
page
);
return
RestResponse
.
successResult
(
page
);
}
}
...
...
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