|
@@ -225,14 +225,14 @@ public class PayOrderLogic {
|
|
|
|
|
|
totalAmount = totalAmount.add(workerOrderBuy.getServicePrice());
|
|
|
|
|
|
- BigDecimal workerServiceProceAmount = workerOrderBuy.getServicePrice().multiply(Convert.toBigDecimal("0.006"));
|
|
|
+ BigDecimal workerServiceProceAmount = workerOrderBuy.getServicePrice().multiply(Convert.toBigDecimal("0"));
|
|
|
|
|
|
|
|
|
if (workerServiceProceAmount.doubleValue() > 0.01) {
|
|
|
workerProceAmount.add(workerServiceProceAmount.setScale(2, BigDecimal.ROUND_HALF_UP));
|
|
|
|
|
|
}else {
|
|
|
- workerProceAmount.add(Convert.toBigDecimal("0.01"));
|
|
|
+ workerProceAmount.add(Convert.toBigDecimal("0"));
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -240,14 +240,14 @@ public class PayOrderLogic {
|
|
|
if (workerOrderBuy.getOtherPrice() != null && workerOrderBuy.getServicePrice().doubleValue() > 0){
|
|
|
|
|
|
totalAmount = totalAmount.add(workerOrderBuy.getOtherPrice());
|
|
|
- BigDecimal workerOtherProceAmount = workerOrderBuy.getOtherPrice().multiply(Convert.toBigDecimal("0.006"));
|
|
|
+ BigDecimal workerOtherProceAmount = workerOrderBuy.getOtherPrice().multiply(Convert.toBigDecimal("0"));
|
|
|
|
|
|
|
|
|
if (workerOtherProceAmount.doubleValue() > 0.01) {
|
|
|
workerProceAmount.add(workerOtherProceAmount.setScale(2, BigDecimal.ROUND_HALF_UP));
|
|
|
|
|
|
}else {
|
|
|
- workerProceAmount.add(Convert.toBigDecimal("0.01"));
|
|
|
+ workerProceAmount.add(Convert.toBigDecimal("0"));
|
|
|
}
|
|
|
|
|
|
}
|