@@ -754,8 +754,12 @@ public class TscOrderService {
// 1. 총알배송 가능 시간 체크
if (orderDao.getDailyDeliveryTimeInfo() > 0) {
// 2. 총알배송 가능 지역 제크
- if (orderDao.getDailyDeliveryTimeInfo() > 0) {
+ if(StringUtils.isEmpty(order.getRecipZipcode())) {
rtn = 1;
+ } else {
+ if (orderDao.getDailyDeliveryZoneInfo(order) > 0) {
+ rtn = 1;
+ }
}
@@ -1817,7 +1817,7 @@
SELECT COUNT(1)
FROM TB_DAILY_DELIVERY_ZONE DC
WHERE 1=1
- AND ZIP_NO = #{zipNo}
+ AND ZIP_NO = #{recipZipcode}
</select>
<!-- 상품쿠폰, 장바구니쿠폰 적용 상품 조회 -->