|
|
@@ -503,16 +503,19 @@ public class TsfPlanningController extends TsfBaseController {
|
|
|
public ModelAndView planningShotDeliveryForm(Plan plan) throws Exception {
|
|
|
ModelAndView mav = new ModelAndView();
|
|
|
CustDeliveryAddr addr = new CustDeliveryAddr();
|
|
|
- int custNo = TsfSession.getInfo().getCustNo();
|
|
|
- // 고객정보 조회
|
|
|
- Customer customer = new Customer();
|
|
|
- customer.setSiteCd(TscConstants.Site.STYLE24.value());
|
|
|
- customer.setCustNo(custNo);
|
|
|
- customer.setCustStat(TscConstants.CustStat.ACTIVE.value());
|
|
|
- customer = coreCustomerService.getCustomerInfo(customer);
|
|
|
-
|
|
|
- mav.addObject("customerInfo", customer);
|
|
|
+ Integer custNo = null;
|
|
|
+ if (TsfSession.isLogin()) {
|
|
|
+ custNo = TsfSession.getInfo().getCustNo();
|
|
|
+ // 고객정보 조회
|
|
|
+ Customer customer = new Customer();
|
|
|
+ customer.setSiteCd(TscConstants.Site.STYLE24.value());
|
|
|
+ customer.setCustNo(custNo);
|
|
|
+ customer.setCustStat(TscConstants.CustStat.ACTIVE.value());
|
|
|
+ customer = coreCustomerService.getCustomerInfo(customer);
|
|
|
+ mav.addObject("customerInfo", customer);
|
|
|
+ }
|
|
|
|
|
|
+
|
|
|
addr.setCustNo(custNo);
|
|
|
plan.setSiteCd(TscConstants.Site.STYLE24.value());
|
|
|
plan.setFrontGb(TsfSession.getFrontGb());
|