|
|
@@ -2301,7 +2301,7 @@ public class ReportsServiceImpl extends ServiceImpl<ReportsMapper, Reports> impl
|
|
|
}
|
|
|
feeCenterReports.setAmountLocC(item.getAmountLoc());
|
|
|
feeCenterReports.setHblno(item.getHblno());
|
|
|
- feeCenterReports.setAmount(item.getQuantity().setScale(2) + "*" + item.getPrice().setScale(2));
|
|
|
+ feeCenterReports.setAmount(item.getQuantity().setScale(2, RoundingMode.HALF_UP) + "*" + item.getPrice().setScale(2, RoundingMode.HALF_UP));
|
|
|
feeCenterReports.setExrate(item.getExrate());
|
|
|
feeCenterReports.setQuantity(item.getQuantity());
|
|
|
feeCenterReports.setUnitNo(item.getUnitNo());
|
|
|
@@ -3868,7 +3868,7 @@ public class ReportsServiceImpl extends ServiceImpl<ReportsMapper, Reports> impl
|
|
|
}
|
|
|
feeCenterReports.setAmountLocD(item.getAmountLoc());
|
|
|
feeCenterReports.setHblno(item.getHblno());
|
|
|
- feeCenterReports.setAmount(item.getQuantity().setScale(2) + "*" + item.getPrice().setScale(2));
|
|
|
+ feeCenterReports.setAmount(item.getQuantity().setScale(2, RoundingMode.HALF_UP) + "*" + item.getPrice().setScale(2, RoundingMode.HALF_UP));
|
|
|
feeCenterReportsList.add(feeCenterReports);
|
|
|
}
|
|
|
if (!feeCenterList.isEmpty()) {
|
|
|
@@ -3997,7 +3997,7 @@ public class ReportsServiceImpl extends ServiceImpl<ReportsMapper, Reports> impl
|
|
|
}
|
|
|
feeCenterReports.setAmountLocD(item.getAmountLoc());
|
|
|
feeCenterReports.setHblno(item.getHblno());
|
|
|
- feeCenterReports.setAmount(item.getQuantity().setScale(2) + "*" + item.getPrice().setScale(2));
|
|
|
+ feeCenterReports.setAmount(item.getQuantity().setScale(2, RoundingMode.HALF_UP) + "*" + item.getPrice().setScale(2, RoundingMode.HALF_UP));
|
|
|
feeCenterReportsList.add(feeCenterReports);
|
|
|
}
|
|
|
if (!feeCenterList.isEmpty()) {
|
|
|
@@ -4125,7 +4125,7 @@ public class ReportsServiceImpl extends ServiceImpl<ReportsMapper, Reports> impl
|
|
|
}
|
|
|
feeCenterReports.setAmountLocC(item.getAmountLoc());
|
|
|
feeCenterReports.setHblno(item.getHblno());
|
|
|
- feeCenterReports.setAmount(item.getQuantity().setScale(2) + "*" + item.getPrice().setScale(2));
|
|
|
+ feeCenterReports.setAmount(item.getQuantity().setScale(2, RoundingMode.HALF_UP) + "*" + item.getPrice().setScale(2, RoundingMode.HALF_UP));
|
|
|
feeCenterReportsList.add(feeCenterReports);
|
|
|
}
|
|
|
if (!feeCenterList.isEmpty()) {
|
|
|
@@ -4244,7 +4244,7 @@ public class ReportsServiceImpl extends ServiceImpl<ReportsMapper, Reports> impl
|
|
|
}
|
|
|
feeCenterReports.setAmountLocC(item.getAmountLoc());
|
|
|
feeCenterReports.setHblno(item.getHblno());
|
|
|
- feeCenterReports.setAmount(item.getQuantity().setScale(2) + "*" + item.getPrice().setScale(2));
|
|
|
+ feeCenterReports.setAmount(item.getQuantity().setScale(2, RoundingMode.HALF_UP) + "*" + item.getPrice().setScale(2, RoundingMode.HALF_UP));
|
|
|
feeCenterReportsList.add(feeCenterReports);
|
|
|
}
|
|
|
if (!feeCenterList.isEmpty()) {
|
|
|
@@ -4390,7 +4390,7 @@ public class ReportsServiceImpl extends ServiceImpl<ReportsMapper, Reports> impl
|
|
|
}
|
|
|
feeCenterReports.setAmountLocC(item.getAmountLoc());
|
|
|
feeCenterReports.setHblno(item.getHblno());
|
|
|
- feeCenterReports.setAmount(item.getQuantity().setScale(2) + "*" + item.getPrice().setScale(2));
|
|
|
+ feeCenterReports.setAmount(item.getQuantity().setScale(2, RoundingMode.HALF_UP) + "*" + item.getPrice().setScale(2, RoundingMode.HALF_UP));
|
|
|
feeCenterReportsList.add(feeCenterReports);
|
|
|
}
|
|
|
if (!feeCenterList.isEmpty()) {
|
|
|
@@ -4508,7 +4508,7 @@ public class ReportsServiceImpl extends ServiceImpl<ReportsMapper, Reports> impl
|
|
|
}
|
|
|
feeCenterReports.setAmountLocC(item.getAmountLoc());
|
|
|
feeCenterReports.setHblno(item.getHblno());
|
|
|
- feeCenterReports.setAmount(item.getQuantity().setScale(2) + "*" + item.getPrice().setScale(2));
|
|
|
+ feeCenterReports.setAmount(item.getQuantity().setScale(2, RoundingMode.HALF_UP) + "*" + item.getPrice().setScale(2, RoundingMode.HALF_UP));
|
|
|
feeCenterReportsList.add(feeCenterReports);
|
|
|
}
|
|
|
if (!feeCenterList.isEmpty()) {
|
|
|
@@ -7005,7 +7005,7 @@ public class ReportsServiceImpl extends ServiceImpl<ReportsMapper, Reports> impl
|
|
|
}
|
|
|
feeCenterReports.setAmountLocD(item.getAmountLoc());
|
|
|
feeCenterReports.setHblno(item.getHblno());
|
|
|
- feeCenterReports.setAmount(item.getQuantity().setScale(2) + "*" + item.getPrice().setScale(2));
|
|
|
+ feeCenterReports.setAmount(item.getQuantity().setScale(2, RoundingMode.HALF_UP) + "*" + item.getPrice().setScale(2, RoundingMode.HALF_UP));
|
|
|
feeCenterReportsList.add(feeCenterReports);
|
|
|
}
|
|
|
if (!feeCenterList.isEmpty()) {
|
|
|
@@ -7119,7 +7119,7 @@ public class ReportsServiceImpl extends ServiceImpl<ReportsMapper, Reports> impl
|
|
|
}
|
|
|
feeCenterReports.setAmountLocD(item.getAmountLoc());
|
|
|
feeCenterReports.setHblno(item.getHblno());
|
|
|
- feeCenterReports.setAmount(item.getQuantity().setScale(2) + "*" + item.getPrice().setScale(2));
|
|
|
+ feeCenterReports.setAmount(item.getQuantity().setScale(2, RoundingMode.HALF_UP) + "*" + item.getPrice().setScale(2, RoundingMode.HALF_UP));
|
|
|
feeCenterReportsList.add(feeCenterReports);
|
|
|
}
|
|
|
if (!feeCenterList.isEmpty()) {
|
|
|
@@ -7232,7 +7232,7 @@ public class ReportsServiceImpl extends ServiceImpl<ReportsMapper, Reports> impl
|
|
|
}
|
|
|
feeCenterReports.setAmountLocC(item.getAmountLoc());
|
|
|
feeCenterReports.setHblno(item.getHblno());
|
|
|
- feeCenterReports.setAmount(item.getQuantity().setScale(2) + "*" + item.getPrice().setScale(2));
|
|
|
+ feeCenterReports.setAmount(item.getQuantity().setScale(2, RoundingMode.HALF_UP) + "*" + item.getPrice().setScale(2, RoundingMode.HALF_UP));
|
|
|
feeCenterReportsList.add(feeCenterReports);
|
|
|
}
|
|
|
if (!feeCenterList.isEmpty()) {
|
|
|
@@ -7336,7 +7336,7 @@ public class ReportsServiceImpl extends ServiceImpl<ReportsMapper, Reports> impl
|
|
|
}
|
|
|
feeCenterReports.setAmountLocC(item.getAmountLoc());
|
|
|
feeCenterReports.setHblno(item.getHblno());
|
|
|
- feeCenterReports.setAmount(item.getQuantity().setScale(2) + "*" + item.getPrice().setScale(2));
|
|
|
+ feeCenterReports.setAmount(item.getQuantity().setScale(2, RoundingMode.HALF_UP) + "*" + item.getPrice().setScale(2, RoundingMode.HALF_UP));
|
|
|
feeCenterReportsList.add(feeCenterReports);
|
|
|
}
|
|
|
if (!feeCenterList.isEmpty()) {
|