public abstract class BaseController extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
com.ptteng.wealth.finance.service.account.AccountService |
accountService |
static Long |
adminUserId |
com.ptteng.wealth.consign.service.ConsignmentService |
consignmentService |
com.ptteng.wealth.admin.service.ConstantService |
constantService |
com.qding.common.util.http.cookie.CookieUtil |
cookieUtil |
com.ptteng.wealth.finance.service.DebtApplyService |
debtApplyService |
Environment |
environment |
com.ptteng.wealth.finance.service.FundService |
fundService |
static String |
Img_Module_Common |
com.ptteng.wealth.finance.service.LoanApplyService |
loanApplyService |
com.ptteng.wealth.finance.service.LoanProductService |
loanProductService |
protected org.apache.commons.logging.Log |
log |
com.ptteng.wealth.finance.service.OrderService |
orderService |
com.ptteng.wealth.user.service.OrganizationService |
organizationService |
com.ptteng.wealth.user.service.OrgApplyService |
orgApplyService |
com.ptteng.wealth.user.service.PersonApplyService |
personApplyService |
com.ptteng.wealth.user.service.PersonService |
personService |
com.ptteng.wealth.finance.service.ProductService |
productService |
com.ptteng.wealth.common.service.SmsService |
smsService |
static String |
SPLITER_X |
static String |
SPLITTER_REGEX |
static String |
USER_ID |
com.ptteng.wealth.finance.service.account.UserAccountRelationService |
userAccountRelationService |
static String |
UserKey |
com.ptteng.wealth.user.service.UserOpenidRelationService |
userOpenidRelationService |
com.ptteng.wealth.user.service.UserService |
userService |
static String |
WriterKey |
| 构造器和说明 |
|---|
BaseController() |
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,Object> |
checkAndGetWriter(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
com.ptteng.wealth.user.model.User |
createUserInfo(com.ptteng.wealth.user.model.OrgApply orgApply,
Long userId,
String name,
org.apache.commons.logging.Log orgLog,
String kailinCode,
boolean fromCRM)
机构用户注册时创建用户账号
|
String |
getErrorCode(Long errorId) |
String |
getErrorInfo(Long errorId) |
static org.codehaus.jackson.map.ObjectMapper |
getJsonCallBackTemplate() |
com.ptteng.wealth.user.model.User |
getUser(javax.servlet.http.HttpServletRequest request) |
Long |
getUserId(javax.servlet.http.HttpServletRequest request) |
static Map |
getUserIdentity(String userName,
Long userId) |
String |
handleResult(Boolean bSucess,
int statusCode,
PrintWriter writer,
javax.servlet.http.HttpServletResponse httpServletResponse) |
String |
handleResult(PrintWriter writer,
javax.servlet.http.HttpServletResponse httpServletResponse,
boolean bSuccess,
int statusCode,
Map<String,String> stringInfoMap,
Map<String,Long> numberInfoMap,
Map<String,Object> objInfoMap) |
void |
updateOrgApplyInfo(com.ptteng.wealth.user.model.OrgApply orgApply,
Long oldOrgApplyId,
com.ptteng.wealth.user.model.OrgApply oldOrgApply,
org.apache.commons.logging.Log orgLog)
机构用户注册时,更新机构申请表
|
String |
writeConent(PrintWriter writer,
javax.servlet.http.HttpServletResponse httpServletResponse,
boolean bSuccess,
int statusCode,
Map<String,String> stringInfoMap,
Map<String,Long> numberInfoMap,
Map<String,Object> objInfoMap,
Map<String,String> errorMap) |
public static final String SPLITER_X
public static Long adminUserId
public static String SPLITTER_REGEX
@Autowired public com.ptteng.wealth.finance.service.ProductService productService
@Autowired public com.ptteng.wealth.consign.service.ConsignmentService consignmentService
@Autowired public com.ptteng.wealth.user.service.UserOpenidRelationService userOpenidRelationService
@Autowired public com.ptteng.wealth.common.service.SmsService smsService
@Autowired public com.ptteng.wealth.user.service.OrganizationService organizationService
@Autowired public com.ptteng.wealth.user.service.OrgApplyService orgApplyService
@Autowired public com.ptteng.wealth.user.service.PersonApplyService personApplyService
@Autowired public com.qding.common.util.http.cookie.CookieUtil cookieUtil
@Autowired public com.ptteng.wealth.user.service.PersonService personService
@Autowired public com.ptteng.wealth.user.service.UserService userService
@Autowired public com.ptteng.wealth.finance.service.account.AccountService accountService
@Autowired public Environment environment
@Autowired public com.ptteng.wealth.finance.service.OrderService orderService
@Autowired public com.ptteng.wealth.finance.service.account.UserAccountRelationService userAccountRelationService
@Autowired public com.ptteng.wealth.finance.service.LoanProductService loanProductService
@Autowired public com.ptteng.wealth.finance.service.LoanApplyService loanApplyService
@Autowired public com.ptteng.wealth.admin.service.ConstantService constantService
@Autowired public com.ptteng.wealth.finance.service.FundService fundService
@Autowired public com.ptteng.wealth.finance.service.DebtApplyService debtApplyService
protected org.apache.commons.logging.Log log
public static org.codehaus.jackson.map.ObjectMapper getJsonCallBackTemplate()
public Map<String,Object> checkAndGetWriter(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
public String handleResult(Boolean bSucess, int statusCode, PrintWriter writer, javax.servlet.http.HttpServletResponse httpServletResponse)
public String handleResult(PrintWriter writer, javax.servlet.http.HttpServletResponse httpServletResponse, boolean bSuccess, int statusCode, Map<String,String> stringInfoMap, Map<String,Long> numberInfoMap, Map<String,Object> objInfoMap)
public String writeConent(PrintWriter writer, javax.servlet.http.HttpServletResponse httpServletResponse, boolean bSuccess, int statusCode, Map<String,String> stringInfoMap, Map<String,Long> numberInfoMap, Map<String,Object> objInfoMap, Map<String,String> errorMap)
public Long getUserId(javax.servlet.http.HttpServletRequest request)
public com.ptteng.wealth.user.model.User getUser(javax.servlet.http.HttpServletRequest request)
public void updateOrgApplyInfo(com.ptteng.wealth.user.model.OrgApply orgApply,
Long oldOrgApplyId,
com.ptteng.wealth.user.model.OrgApply oldOrgApply,
org.apache.commons.logging.Log orgLog)
throws com.gemantic.common.exception.ServiceException,
com.gemantic.common.exception.ServiceDaoException
orgApply - oldOrgApplyId - oldOrgApply - orgLog - com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic com.ptteng.wealth.user.model.User createUserInfo(com.ptteng.wealth.user.model.OrgApply orgApply,
Long userId,
String name,
org.apache.commons.logging.Log orgLog,
String kailinCode,
boolean fromCRM)
throws com.gemantic.common.exception.ServiceException,
com.gemantic.common.exception.ServiceDaoException
orgApply - userId - orgLog - com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionCopyright © 2017. All rights reserved.