|
@@ -275,8 +275,8 @@ public class PayOrderLogic {
|
|
|
|
|
|
workerOrderBuy.setNum(num);
|
|
|
workerOrderBuy.updateById();
|
|
|
- if (workerOrderBuy.getTotalAmount().doubleValue() <= 0){
|
|
|
- throw new RemoteServiceException("金额小于等于0,不允许支付");
|
|
|
+ if (workerOrderBuy.getTotalAmount().doubleValue() < 0){
|
|
|
+ throw new RemoteServiceException("金额小于0,不允许支付");
|
|
|
}
|
|
|
|
|
|
workerOrderItemService.saveBatch(workerOrderBuy.getWorkerOrderItems());
|