|
|
@ -136,7 +136,9 @@ public class BsSgcJsjdBuiNmgStatisticsService { |
|
|
|
.mapToDouble(Double::parseDouble) |
|
|
|
.sum(); |
|
|
|
if (conPay>0) { |
|
|
|
nmgListTotal.setConPay(nmgListTotal.getConPay()+conPay); |
|
|
|
String conFormater = String.format("%.2f", conPay); |
|
|
|
|
|
|
|
nmgListTotal.setConPay(nmgListTotal.getConPay()+Double.parseDouble(conFormater)); |
|
|
|
} |
|
|
|
} |
|
|
|
LambdaQueryWrapper<BsSgcJsjdBuiRealName> rnLw = new LambdaQueryWrapper<>(); |
|
|
@ -166,7 +168,9 @@ public class BsSgcJsjdBuiNmgStatisticsService { |
|
|
|
.filter(s -> s != null && !s.isEmpty()) |
|
|
|
.mapToDouble(Double::parseDouble) |
|
|
|
.sum(); |
|
|
|
nmgListTotal.setUnPayTotal(nmgListTotal.getUnPayTotal()+unPay); |
|
|
|
String unPayFormater = String.format("%.2f", unPay); |
|
|
|
|
|
|
|
nmgListTotal.setUnPayTotal(nmgListTotal.getUnPayTotal()+Double.parseDouble(unPayFormater)); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
@ -220,7 +224,8 @@ public class BsSgcJsjdBuiNmgStatisticsService { |
|
|
|
.filter(s -> s != null && !s.isEmpty()) |
|
|
|
.mapToDouble(Double::parseDouble) |
|
|
|
.sum(); |
|
|
|
proInfo.setConPay(String.valueOf(conPay)); |
|
|
|
String conFormater = String.format("%.2f", conPay); |
|
|
|
proInfo.setConPay(conFormater); |
|
|
|
} |
|
|
|
|
|
|
|
List<BsSgcJsjdBuiComAcc> list1 = bsSgcJsjdBuiComAccService.list(Wrappers.lambdaQuery(BsSgcJsjdBuiComAcc.class) |
|
|
@ -269,7 +274,8 @@ public class BsSgcJsjdBuiNmgStatisticsService { |
|
|
|
.sum(); |
|
|
|
|
|
|
|
if (salaryCurrent>0){ |
|
|
|
proInfo.setPayTotal(String.valueOf(salaryCurrent)); |
|
|
|
String salaryCurrentFormat = String.format("%.2f", salaryCurrent); |
|
|
|
proInfo.setPayTotal(salaryCurrentFormat); |
|
|
|
}else { |
|
|
|
proInfo.setPayTotal("--"); |
|
|
|
} |
|
|
@ -280,7 +286,8 @@ public class BsSgcJsjdBuiNmgStatisticsService { |
|
|
|
.mapToDouble(Double::parseDouble) |
|
|
|
.sum(); |
|
|
|
if (unSalary>0){ |
|
|
|
proInfo.setUnPayTotal(String.valueOf(unSalary)); |
|
|
|
String unSalaryFormater = String.format("%.2f", unSalary); |
|
|
|
proInfo.setUnPayTotal(unSalaryFormater); |
|
|
|
proInfo.setIsUnPay("是"); |
|
|
|
}else { |
|
|
|
proInfo.setUnPayTotal("0"); |
|
|
|