|
@@ -221,7 +221,7 @@ public class PayOrderLogic {
|
|
|
num = num.add(workerOrderItem.getNum());
|
|
|
}
|
|
|
|
|
|
- if (workerOrderBuy.getServicePrice() != null){
|
|
|
+ if (workerOrderBuy.getServicePrice() != null && workerOrderBuy.getServicePrice().doubleValue() > 0){
|
|
|
|
|
|
totalAmount = totalAmount.add(workerOrderBuy.getServicePrice());
|
|
|
|
|
@@ -237,7 +237,7 @@ public class PayOrderLogic {
|
|
|
}
|
|
|
|
|
|
|
|
|
- if (workerOrderBuy.getOtherPrice() != null){
|
|
|
+ if (workerOrderBuy.getOtherPrice() != null && workerOrderBuy.getServicePrice().doubleValue() > 0){
|
|
|
|
|
|
totalAmount = totalAmount.add(workerOrderBuy.getOtherPrice());
|
|
|
BigDecimal workerOtherProceAmount = workerOrderBuy.getOtherPrice().multiply(Convert.toBigDecimal("0.006"));
|