| | |
| | | package com.yeshi.fanli.util.factory.shop;
|
| | |
|
| | | import com.yeshi.fanli.entity.shop.BanLiShopOrder;
|
| | | import com.yeshi.fanli.util.MoneyBigDecimalUtil;
|
| | | import com.yeshi.fanli.util.TimeUtil;
|
| | | import com.yeshi.fanli.vo.shop.BanLiShopOrderGoodsVO;
|
| | | import com.yeshi.fanli.vo.shop.BanLiShopOrderVO;
|
| | |
| | | private static String getPaidMoney(BanLiShopOrder order) {
|
| | | if (order.getMoneyPaymentState() == null || order.getMoneyPaymentState() == BanLiShopOrder.PAY_STATE_NOPAY
|
| | | || order.getMoneyPaymentState() == BanLiShopOrder.PAY_STATE_REFUND) {
|
| | | return "0";
|
| | | return "0.00";
|
| | | } else
|
| | | return order.getMoneyPayment().toString();
|
| | | return order.getMoneyPayment().setScale(2).toString();
|
| | | }
|
| | |
|
| | | }
|