|
|
@@ -1694,6 +1694,18 @@ public class TscOrderService {
|
|
|
@Transactional("shopTxnManager")
|
|
|
public void updateOrderInfo(Order order) {
|
|
|
|
|
|
+ // 2021.10.01 세션유실시 CUST_NO 주문정보에 있는 CUST_NO로 방어 설정
|
|
|
+ if (order.getCustNo() < 1) {
|
|
|
+ int custNo = 0;
|
|
|
+ Collection<Order> orderInfo = orderDao.getOrderInfoList(order);
|
|
|
+ if (orderInfo != null) {
|
|
|
+ if (orderInfo.size() > 0) {
|
|
|
+ custNo = orderInfo.iterator().next().getCustNo();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ order.setCustNo(custNo);
|
|
|
+ }
|
|
|
+
|
|
|
// 1.1 무통장입금시 입금대기
|
|
|
if (TscConstants.PayMeans.BANK_DEPOSIT.value().equals(order.getPayMeans())) {
|
|
|
order.setOrdDtlStat(TscConstants.OrderDetailStat.DEPOSIT_WAIT.value());
|