修改注册函数,修改菜单信息
This commit is contained in:
@@ -45,7 +45,7 @@ public class TenantComponent implements ICommonQuery {
|
||||
|
||||
@Override
|
||||
public int insert(String beanJson, HttpServletRequest request)throws Exception {
|
||||
return tenantService.insertTenant(beanJson, request);
|
||||
return tenantService.insertTenant(beanJson);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -68,7 +68,7 @@ public class TenantService {
|
||||
}
|
||||
|
||||
@Transactional(value = "transactionManager", rollbackFor = Exception.class)
|
||||
public int insertTenant(String beanJson, HttpServletRequest request)throws Exception {
|
||||
public int insertTenant(String beanJson)throws Exception {
|
||||
Tenant tenant = JSONObject.parseObject(beanJson, Tenant.class);
|
||||
int result=0;
|
||||
try{
|
||||
|
||||
@@ -16,6 +16,7 @@ import com.jsh.erp.exception.BusinessRunTimeException;
|
||||
import com.jsh.erp.exception.JshException;
|
||||
import com.jsh.erp.service.log.LogService;
|
||||
import com.jsh.erp.service.orgaUserRel.OrgaUserRelService;
|
||||
import com.jsh.erp.service.tenant.TenantService;
|
||||
import com.jsh.erp.service.userBusiness.UserBusinessService;
|
||||
import com.jsh.erp.utils.ExceptionCodeConstants;
|
||||
import com.jsh.erp.utils.StringUtil;
|
||||
@@ -50,7 +51,8 @@ public class UserService {
|
||||
private LogService logService;
|
||||
@Resource
|
||||
private UserService userService;
|
||||
|
||||
@Resource
|
||||
private TenantService tenantService;
|
||||
@Resource
|
||||
private UserBusinessService userBusinessService;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user