|
@@ -7,6 +7,7 @@ import com.style24.core.biz.service.TscMailService;
|
|
|
import com.style24.front.biz.service.TsfCommonService;
|
|
import com.style24.front.biz.service.TsfCommonService;
|
|
|
import com.style24.persistence.TscPageRequest;
|
|
import com.style24.persistence.TscPageRequest;
|
|
|
import com.style24.persistence.domain.Clause;
|
|
import com.style24.persistence.domain.Clause;
|
|
|
|
|
+import com.style24.persistence.domain.Login;
|
|
|
import com.style24.persistence.domain.SupplyCompany;
|
|
import com.style24.persistence.domain.SupplyCompany;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -649,6 +650,7 @@ public class TsfCustomerController extends TsfBaseController {
|
|
|
|
|
|
|
|
if (isJoin) {
|
|
if (isJoin) {
|
|
|
customerService.getLogin(customer.getCustNo(), request);
|
|
customerService.getLogin(customer.getCustNo(), request);
|
|
|
|
|
+ TsfSession.setAttribute("custNo", String.valueOf(customer.getCustNo()));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
result.setBoolean("isJoin", isJoin);
|
|
result.setBoolean("isJoin", isJoin);
|
|
@@ -706,6 +708,7 @@ public class TsfCustomerController extends TsfBaseController {
|
|
|
|
|
|
|
|
if (isJoin) {
|
|
if (isJoin) {
|
|
|
customerService.getLogin(customer.getCustNo(), request);
|
|
customerService.getLogin(customer.getCustNo(), request);
|
|
|
|
|
+ TsfSession.setAttribute("custNo", String.valueOf(customer.getCustNo()));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
result.setBoolean("isJoin", isJoin);
|
|
result.setBoolean("isJoin", isJoin);
|
|
@@ -723,11 +726,11 @@ public class TsfCustomerController extends TsfBaseController {
|
|
|
@GetMapping("/join/complete/form")
|
|
@GetMapping("/join/complete/form")
|
|
|
public ModelAndView getJoinCompleteForm() {
|
|
public ModelAndView getJoinCompleteForm() {
|
|
|
ModelAndView mav = new ModelAndView();
|
|
ModelAndView mav = new ModelAndView();
|
|
|
-
|
|
|
|
|
String maskingCustId = TsfSession.getAttribute("maskingCustId");
|
|
String maskingCustId = TsfSession.getAttribute("maskingCustId");
|
|
|
-
|
|
|
|
|
|
|
+ String custNo = TsfSession.getAttribute("custNo");
|
|
|
|
|
+ //log.info("custNo ===> {}", custNo);
|
|
|
mav.addObject("maskingCustId", maskingCustId);
|
|
mav.addObject("maskingCustId", maskingCustId);
|
|
|
- mav.addObject("custNo", TsfSession.getInfo().getCustNo());
|
|
|
|
|
|
|
+ mav.addObject("custNo", custNo);
|
|
|
mav.setViewName(super.getDeviceViewName("customer/JoinCompleteForm"));
|
|
mav.setViewName(super.getDeviceViewName("customer/JoinCompleteForm"));
|
|
|
|
|
|
|
|
return mav;
|
|
return mav;
|