|
|
@@ -37,6 +37,9 @@ public class TaskOrderPaymentRespVO implements Serializable {
|
|
|
@Schema(description = "费用")
|
|
|
private BigDecimal serviceAmount;
|
|
|
|
|
|
+ @Schema(description = "法定金额")
|
|
|
+ private BigDecimal shouldAmount;
|
|
|
+
|
|
|
@Schema(description = "免征费用")
|
|
|
private BigDecimal exemptAmount;
|
|
|
|
|
|
@@ -93,15 +96,15 @@ public class TaskOrderPaymentRespVO implements Serializable {
|
|
|
|
|
|
private Integer equipMainType;
|
|
|
|
|
|
- public BigDecimal getActualAmount(){
|
|
|
- if(serviceAmount == null){
|
|
|
- return new BigDecimal(0);
|
|
|
- }
|
|
|
- if((checkType != null && checkType != 100) || reductionRadio == null){
|
|
|
- return serviceAmount;
|
|
|
- }
|
|
|
-
|
|
|
- double v = 1 - this.reductionRadio.doubleValue();
|
|
|
- return this.serviceAmount.multiply(new BigDecimal(v)).setScale(2, RoundingMode.HALF_UP);
|
|
|
- }
|
|
|
+// public BigDecimal getActualAmount(){
|
|
|
+// if(serviceAmount == null){
|
|
|
+// return new BigDecimal(0);
|
|
|
+// }
|
|
|
+// if((checkType != null && checkType != 100) || reductionRadio == null){
|
|
|
+// return serviceAmount;
|
|
|
+// }
|
|
|
+//
|
|
|
+// double v = 1 - this.reductionRadio.doubleValue();
|
|
|
+// return this.serviceAmount.multiply(new BigDecimal(v)).setScale(2, RoundingMode.HALF_UP);
|
|
|
+// }
|
|
|
}
|