|
|
@@ -97,7 +97,7 @@ public class HlwCompanyAccountCalculationController extends JeecgController<HlwC
|
|
|
Double totalOut = hlwCompanyAccountCalculationService.getTotalOut();
|
|
|
Double totalIn = hlwCompanyAccountCalculationService.getTotalIn();
|
|
|
//-1小于;0等于;1:大于
|
|
|
- if (totalOut.compareTo(totalIn) != 0) {
|
|
|
+ if (totalOut.compareTo(totalIn) == 0) {
|
|
|
return Result.ok("平台流水正确(通过平台)1");
|
|
|
}else{
|
|
|
return Result.error("平台流水出错(通过平台)1");
|
|
|
@@ -118,7 +118,7 @@ public class HlwCompanyAccountCalculationController extends JeecgController<HlwC
|
|
|
Double totalOut = hlwCompanyAccountCalculationService.getTotalOutTwo();
|
|
|
Double totalIn = hlwCompanyAccountCalculationService.getTotalInTwo();
|
|
|
//-1小于;0等于;1:大于
|
|
|
- if (totalOut.compareTo(totalIn) != 0) {
|
|
|
+ if (totalOut.compareTo(totalIn) == 0) {
|
|
|
return Result.ok("平台流水正确(通过平台)2");
|
|
|
}else{
|
|
|
return Result.error("平台流水出错(通过平台)2");
|
|
|
@@ -141,7 +141,7 @@ public class HlwCompanyAccountCalculationController extends JeecgController<HlwC
|
|
|
Double payment2 = hlwCompanyAccountCalculationService.getPayment2();
|
|
|
Double totalIn= businessAccountUtils.add(payment1,payment2);
|
|
|
//-1小于;0等于;1:大于
|
|
|
- if (totalOut.compareTo(totalIn) != 0) {
|
|
|
+ if (totalOut.compareTo(totalIn) == 0) {
|
|
|
return Result.ok("平台流水正确(通过平台)3");
|
|
|
}else{
|
|
|
return Result.error("平台流水出错(通过平台)3");
|
|
|
@@ -163,7 +163,7 @@ public class HlwCompanyAccountCalculationController extends JeecgController<HlwC
|
|
|
Double totalOut = hlwCompanyAccountCalculationService.getTotalOutNotOne();
|
|
|
Double totalIn = hlwCompanyAccountCalculationService.getTotalInNotOne();
|
|
|
//-1小于;0等于;1:大于
|
|
|
- if (totalOut.compareTo(totalIn) != 0) {
|
|
|
+ if (totalOut.compareTo(totalIn) == 0) {
|
|
|
return Result.ok("平台流水正确(不通过平台)1");
|
|
|
}else{
|
|
|
return Result.error("平台流水出错(不通过平台)1");
|
|
|
@@ -186,7 +186,7 @@ public class HlwCompanyAccountCalculationController extends JeecgController<HlwC
|
|
|
Double payment2 = hlwCompanyAccountCalculationService.getPaymentNot2();
|
|
|
Double totalIn= businessAccountUtils.add(payment1,payment2);
|
|
|
//-1小于;0等于;1:大于
|
|
|
- if (totalOut.compareTo(totalIn) != 0) {
|
|
|
+ if (totalOut.compareTo(totalIn) == 0) {
|
|
|
return Result.ok("平台流水正确(不通过平台)2");
|
|
|
}else{
|
|
|
return Result.error("平台流水出错(不通过平台)2");
|