Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform
Commits
7e0b1374
Commit
7e0b1374
authored
Nov 29, 2019
by
libin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'order_received_statistics' into dev
parents
ec6e4cef
9d57dcd7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
CompanyPerformanceBiz.java
...va/com/xxfc/platform/order/biz/CompanyPerformanceBiz.java
+2
-0
OrderReceivedStatisticsMapper.xml
...c/main/resources/mapper/OrderReceivedStatisticsMapper.xml
+9
-3
No files found.
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/biz/CompanyPerformanceBiz.java
View file @
7e0b1374
...
...
@@ -44,6 +44,8 @@ public class CompanyPerformanceBiz {
* @param outputStream
*/
public
void
exportOrderReceivedStatisticsData
(
CompanyPerformanceFindDTO
companyPerformanceFindDTO
,
ServletOutputStream
outputStream
)
throws
IOException
{
companyPerformanceFindDTO
.
setPage
(
null
);
companyPerformanceFindDTO
.
setLimit
(
null
);
//1.查询数据
List
<
CompanyPerformanceBo
>
companyPerformanceBos
=
selectCompanyPerformances
(
companyPerformanceFindDTO
);
...
...
xx-order/xx-order-server/src/main/resources/mapper/OrderReceivedStatisticsMapper.xml
View file @
7e0b1374
...
...
@@ -103,7 +103,9 @@
`company_id` ,
`year`,
`date`
limit #{startIndex},#{endInex}
<if
test=
"page!=null and limit!=null"
>
limit #{startIndex},#{endInex}
</if>
) AS `ors`
LEFT JOIN (
SELECT
...
...
@@ -186,7 +188,9 @@
company_id,
`year`,
`month`
limit #{startIndex},#{endInex}
<if
test=
"page!=null and limit!=null"
>
limit #{startIndex},#{endInex}
</if>
) AS `ors`
LEFT JOIN (
SELECT
...
...
@@ -268,7 +272,9 @@
company_id,
`year`,
`week_of_year`
limit #{startIndex},#{endInex}
<if
test=
"page!=null and limit!=null"
>
limit #{startIndex},#{endInex}
</if>
) AS `ors`
LEFT JOIN (
SELECT
...
...
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