|
@@ -363,8 +363,8 @@ public class WmPayOffServiceImpl extends ServiceImpl<WmPayOffMapper, WmPayOff> i
|
|
|
SettleAmountMonitorOutput deptMonitorOutput = deptAmountMonitor.stream().filter(item -> item.getUserId()
|
|
|
.equals(note.getUserId())).findFirst().orElse(null);
|
|
|
|
|
|
- SettleAmountMonitorOutput yaoyiMonitorOutput = yaoyiAmountMonitor.stream().filter(item -> item.getUserId()
|
|
|
- .equals(note.getUserId())).findFirst().orElse(null);
|
|
|
+ SettleAmountMonitorOutput yaoyiMonitorOutput = yaoyiAmountMonitor.stream().filter(item -> item.getIdCardNumber()
|
|
|
+ .equals(note.getIdCardNumber())).findFirst().orElse(null);
|
|
|
|
|
|
if (null != monitorOutput) {
|
|
|
monitorAmount = monitorAmount.add(monitorOutput.getTotalAmount());
|
|
@@ -515,8 +515,8 @@ public class WmPayOffServiceImpl extends ServiceImpl<WmPayOffMapper, WmPayOff> i
|
|
|
SettleAmountMonitorOutput deptMonitorOutput = deptAmountMonitor.stream().filter(item -> item.getUserId()
|
|
|
.equals(note.getUserId())).findFirst().orElse(null);
|
|
|
|
|
|
- SettleAmountMonitorOutput yaoyiMonitorOutput = yaoyiAmountMonitor.stream().filter(item -> item.getUserId()
|
|
|
- .equals(note.getUserId())).findFirst().orElse(null);
|
|
|
+ SettleAmountMonitorOutput yaoyiMonitorOutput = yaoyiAmountMonitor.stream().filter(item -> item.getIdCardNumber()
|
|
|
+ .equals(note.getIdCardNumber())).findFirst().orElse(null);
|
|
|
|
|
|
if (null != monitorOutput) {
|
|
|
monitorAmount = monitorAmount.add(monitorOutput.getTotalAmount());
|