Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
patzn-cloud-service-hmhj
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
wangweidong
patzn-cloud-service-hmhj
Commits
46e6e190
Commit
46e6e190
authored
Jul 20, 2022
by
lijingjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去除冗余代码‘
parent
0229b8f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
21 deletions
+3
-21
StatisticsServiceImpl.java
...service/lims/hmhj/service/impl/StatisticsServiceImpl.java
+3
-21
No files found.
src/main/java/com/patzn/cloud/service/lims/hmhj/service/impl/StatisticsServiceImpl.java
View file @
46e6e190
...
...
@@ -93,26 +93,7 @@ public class StatisticsServiceImpl extends BaseServiceImpl<StatisticsMapper, Sta
@Override
public
List
<
Statistics
>
getPrevAlBrandsRate
(
QueryDTO
queryDTO
)
{
List
<
Statistics
>
statistics
=
getAlBrandsRate
(
queryDTO
);
// if (CollectionUtils.isEmpty(statistics)) {
// return statistics;
// }
// queryDTO.setType("Al99.70");
// Integer total = statistics.get(0).getTotal();
// Integer num = baseMapper.selectAlBrandLowFeStats(queryDTO);
// num = null == num ? 0 : num;
// Statistics lowFe = new Statistics();
// lowFe.setBrand(queryDTO.getType() + "低铁");
// lowFe.setTotal(total);
// lowFe.setBrandNum(num);
// if (null == total || 0 == total) {
// lowFe.setRatio(0.0000);
// } else {
// double def = 1.0000;
// lowFe.setRatio(BigDecimalUtils.div(new BigDecimal(def * num), new BigDecimal(def * total), 4).doubleValue());
// }
// statistics.add(lowFe);
return
statistics
;
return
getAlBrandsRate
(
queryDTO
);
}
@Override
...
...
@@ -252,7 +233,8 @@ public class StatisticsServiceImpl extends BaseServiceImpl<StatisticsMapper, Sta
@Override
public
List
<
Statistics
>
getQualityInspectionItemQuantity
(
QueryDTO
queryDTO
)
{
return
baseMapper
.
selectQualityInspectionItemQuantity
(
queryDTO
);
List
<
Statistics
>
itemList
=
baseMapper
.
selectQualityInspectionItemQuantity
(
queryDTO
);
return
handleMonthData
(
queryDTO
,
itemList
);
}
@Override
...
...
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