Commit 7e0b1374 authored by libin's avatar libin

Merge branch 'order_received_statistics' into dev

parents ec6e4cef 9d57dcd7
...@@ -44,6 +44,8 @@ public class CompanyPerformanceBiz { ...@@ -44,6 +44,8 @@ public class CompanyPerformanceBiz {
* @param outputStream * @param outputStream
*/ */
public void exportOrderReceivedStatisticsData(CompanyPerformanceFindDTO companyPerformanceFindDTO, ServletOutputStream outputStream) throws IOException { public void exportOrderReceivedStatisticsData(CompanyPerformanceFindDTO companyPerformanceFindDTO, ServletOutputStream outputStream) throws IOException {
companyPerformanceFindDTO.setPage(null);
companyPerformanceFindDTO.setLimit(null);
//1.查询数据 //1.查询数据
List<CompanyPerformanceBo> companyPerformanceBos = selectCompanyPerformances(companyPerformanceFindDTO); List<CompanyPerformanceBo> companyPerformanceBos = selectCompanyPerformances(companyPerformanceFindDTO);
......
...@@ -103,7 +103,9 @@ ...@@ -103,7 +103,9 @@
`company_id` , `company_id` ,
`year`, `year`,
`date` `date`
<if test="page!=null and limit!=null">
limit #{startIndex},#{endInex} limit #{startIndex},#{endInex}
</if>
) AS `ors` ) AS `ors`
LEFT JOIN ( LEFT JOIN (
SELECT SELECT
...@@ -186,7 +188,9 @@ ...@@ -186,7 +188,9 @@
company_id, company_id,
`year`, `year`,
`month` `month`
<if test="page!=null and limit!=null">
limit #{startIndex},#{endInex} limit #{startIndex},#{endInex}
</if>
) AS `ors` ) AS `ors`
LEFT JOIN ( LEFT JOIN (
SELECT SELECT
...@@ -268,7 +272,9 @@ ...@@ -268,7 +272,9 @@
company_id, company_id,
`year`, `year`,
`week_of_year` `week_of_year`
<if test="page!=null and limit!=null">
limit #{startIndex},#{endInex} limit #{startIndex},#{endInex}
</if>
) AS `ors` ) AS `ors`
LEFT JOIN ( LEFT JOIN (
SELECT SELECT
......
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