文件名初始化
This commit is contained in:
parent
bca1192e18
commit
5066c5be8c
|
|
@ -25,7 +25,7 @@ import com.hchyun.system.service.LogininforService;
|
|||
*/
|
||||
@RestController
|
||||
@RequestMapping("/monitor/logininfor")
|
||||
public class SysLogininforController extends BaseController {
|
||||
public class LogininforController extends BaseController {
|
||||
@Autowired
|
||||
private LogininforService logininforService;
|
||||
|
||||
|
|
@ -25,7 +25,7 @@ import com.hchyun.system.service.OperLogService;
|
|||
*/
|
||||
@RestController
|
||||
@RequestMapping("/monitor/operlog")
|
||||
public class SysOperlogController extends BaseController {
|
||||
public class OperlogController extends BaseController {
|
||||
@Autowired
|
||||
private OperLogService operLogService;
|
||||
|
||||
|
|
@ -31,7 +31,7 @@ import com.hchyun.system.service.UserOnlineService;
|
|||
*/
|
||||
@RestController
|
||||
@RequestMapping("/monitor/online")
|
||||
public class SysUserOnlineController extends BaseController {
|
||||
public class UserOnlineController extends BaseController {
|
||||
@Autowired
|
||||
private UserOnlineService userOnlineService;
|
||||
|
||||
|
|
@ -33,7 +33,7 @@ import com.hchyun.system.service.ConfigService;
|
|||
*/
|
||||
@RestController
|
||||
@RequestMapping("/system/config")
|
||||
public class SysConfigController extends BaseController {
|
||||
public class ConfigController extends BaseController {
|
||||
@Autowired
|
||||
private ConfigService configService;
|
||||
|
||||
|
|
@ -35,8 +35,8 @@ import com.hchyun.system.service.DeptService;
|
|||
*/
|
||||
@RestController
|
||||
@RequestMapping("/system/dept")
|
||||
public class SysDeptController extends BaseController {
|
||||
private Logger logger = LoggerFactory.getLogger(SysDeptController.class);
|
||||
public class DeptController extends BaseController {
|
||||
private Logger logger = LoggerFactory.getLogger(DeptController.class);
|
||||
|
||||
@Autowired
|
||||
private DeptService deptService;
|
||||
|
|
@ -31,7 +31,7 @@ import com.hchyun.system.service.DictTypeService;
|
|||
*/
|
||||
@RestController
|
||||
@RequestMapping("/system/dict/data")
|
||||
public class SysDictDataController extends BaseController {
|
||||
public class DictDataController extends BaseController {
|
||||
@Autowired
|
||||
private DictDataService dictDataService;
|
||||
|
||||
|
|
@ -31,7 +31,7 @@ import com.hchyun.system.service.DictTypeService;
|
|||
*/
|
||||
@RestController
|
||||
@RequestMapping("/system/dict/type")
|
||||
public class SysDictTypeController extends BaseController {
|
||||
public class DictTypeController extends BaseController {
|
||||
@Autowired
|
||||
private DictTypeService dictTypeService;
|
||||
|
||||
|
|
@ -15,7 +15,7 @@ import com.hchyun.common.core.entity.entity.User;
|
|||
import com.hchyun.common.core.entity.model.LoginBody;
|
||||
import com.hchyun.common.core.entity.model.LoginUser;
|
||||
import com.hchyun.common.utils.ServletUtils;
|
||||
import com.hchyun.framework.web.service.SysLoginService;
|
||||
import com.hchyun.framework.web.service.LoginService;
|
||||
import com.hchyun.framework.web.service.SysPermissionService;
|
||||
import com.hchyun.framework.web.service.TokenService;
|
||||
import com.hchyun.system.service.MenuService;
|
||||
|
|
@ -26,9 +26,9 @@ import com.hchyun.system.service.MenuService;
|
|||
* @author hchyun
|
||||
*/
|
||||
@RestController
|
||||
public class SysLoginController {
|
||||
public class LoginController {
|
||||
@Autowired
|
||||
private SysLoginService loginService;
|
||||
private LoginService loginService;
|
||||
|
||||
@Autowired
|
||||
private MenuService menuService;
|
||||
|
|
@ -34,7 +34,7 @@ import com.hchyun.system.service.MenuService;
|
|||
*/
|
||||
@RestController
|
||||
@RequestMapping("/system/menu")
|
||||
public class SysMenuController extends BaseController {
|
||||
public class MenuController extends BaseController {
|
||||
@Autowired
|
||||
private MenuService menuService;
|
||||
|
||||
|
|
@ -29,7 +29,7 @@ import com.hchyun.system.service.NoticeService;
|
|||
*/
|
||||
@RestController
|
||||
@RequestMapping("/system/notice")
|
||||
public class SysNoticeController extends BaseController {
|
||||
public class NoticeController extends BaseController {
|
||||
@Autowired
|
||||
private NoticeService noticeService;
|
||||
|
||||
|
|
@ -31,7 +31,7 @@ import com.hchyun.system.service.PostService;
|
|||
*/
|
||||
@RestController
|
||||
@RequestMapping("/system/post")
|
||||
public class SysPostController extends BaseController {
|
||||
public class PostController extends BaseController {
|
||||
@Autowired
|
||||
private PostService postService;
|
||||
|
||||
|
|
@ -31,7 +31,7 @@ import com.hchyun.system.service.UserService;
|
|||
*/
|
||||
@RestController
|
||||
@RequestMapping("/system/user/profile")
|
||||
public class SysProfileController extends BaseController {
|
||||
public class ProfileController extends BaseController {
|
||||
@Autowired
|
||||
private UserService userService;
|
||||
|
||||
|
|
@ -38,7 +38,7 @@ import com.hchyun.system.service.UserService;
|
|||
*/
|
||||
@RestController
|
||||
@RequestMapping("/system/role")
|
||||
public class SysRoleController extends BaseController {
|
||||
public class RoleController extends BaseController {
|
||||
@Autowired
|
||||
private RoleService roleService;
|
||||
|
||||
|
|
@ -40,7 +40,7 @@ import com.hchyun.system.service.UserService;
|
|||
*/
|
||||
@RestController
|
||||
@RequestMapping("/system/user")
|
||||
public class SysUserController extends BaseController {
|
||||
public class UserController extends BaseController {
|
||||
@Autowired
|
||||
private UserService userService;
|
||||
|
||||
|
|
@ -25,7 +25,7 @@ import com.hchyun.framework.dao.factory.AsyncFactory;
|
|||
* @author hchyun
|
||||
*/
|
||||
@Component
|
||||
public class SysLoginService {
|
||||
public class LoginService {
|
||||
@Autowired
|
||||
private TokenService tokenService;
|
||||
|
||||
|
|
@ -28,8 +28,8 @@ import com.hchyun.common.core.text.Convert;
|
|||
import com.hchyun.common.enums.BusinessType;
|
||||
import com.hchyun.generator.entity.GenTable;
|
||||
import com.hchyun.generator.entity.GenTableColumn;
|
||||
import com.hchyun.generator.service.IGenTableColumnService;
|
||||
import com.hchyun.generator.service.IGenTableService;
|
||||
import com.hchyun.generator.service.GenTableColumnService;
|
||||
import com.hchyun.generator.service.GenTableService;
|
||||
|
||||
/**
|
||||
* 代码生成 操作处理
|
||||
|
|
@ -40,10 +40,10 @@ import com.hchyun.generator.service.IGenTableService;
|
|||
@RequestMapping("/tool/gen")
|
||||
public class GenController extends BaseController {
|
||||
@Autowired
|
||||
private IGenTableService genTableService;
|
||||
private GenTableService genTableService;
|
||||
|
||||
@Autowired
|
||||
private IGenTableColumnService genTableColumnService;
|
||||
private GenTableColumnService genTableColumnService;
|
||||
|
||||
/**
|
||||
* 查询代码生成列表
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import com.hchyun.generator.entity.GenTableColumn;
|
|||
*
|
||||
* @author hchyun
|
||||
*/
|
||||
public interface IGenTableColumnService {
|
||||
public interface GenTableColumnService {
|
||||
/**
|
||||
* 查询业务字段列表
|
||||
*
|
||||
|
|
@ -11,7 +11,7 @@ import com.hchyun.generator.entity.GenTable;
|
|||
*
|
||||
* @author hchyun
|
||||
*/
|
||||
public interface IGenTableService {
|
||||
public interface GenTableService {
|
||||
/**
|
||||
* 查询业务列表
|
||||
*
|
||||
|
|
@ -3,7 +3,7 @@ package com.hchyun.generator.service.impl;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import com.hchyun.generator.service.IGenTableColumnService;
|
||||
import com.hchyun.generator.service.GenTableColumnService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.hchyun.common.core.text.Convert;
|
||||
|
|
@ -16,7 +16,7 @@ import com.hchyun.generator.dao.GenTableColumnDao;
|
|||
* @author hchyun
|
||||
*/
|
||||
@Service
|
||||
public class GenTableColumnServiceImpl implements IGenTableColumnService {
|
||||
public class GenTableColumnServiceImpl implements GenTableColumnService {
|
||||
@Autowired
|
||||
private GenTableColumnDao genTableColumnDao;
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ import com.hchyun.common.constant.ReturnConstants;
|
|||
import com.hchyun.common.utils.ServerResult;
|
||||
import com.hchyun.generator.dao.AssociatedDao;
|
||||
import com.hchyun.generator.entity.AssColumn;
|
||||
import com.hchyun.generator.service.IGenTableService;
|
||||
import com.hchyun.generator.service.GenTableService;
|
||||
import org.apache.commons.io.IOUtils;
|
||||
import org.apache.velocity.Template;
|
||||
import org.apache.velocity.VelocityContext;
|
||||
|
|
@ -49,7 +49,7 @@ import org.springframework.transaction.interceptor.TransactionAspectSupport;
|
|||
* @author hchyun
|
||||
*/
|
||||
@Service
|
||||
public class GenTableServiceImpl implements IGenTableService {
|
||||
public class GenTableServiceImpl implements GenTableService {
|
||||
private static final Logger log = LoggerFactory.getLogger(GenTableServiceImpl.class);
|
||||
|
||||
@Autowired
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ import com.hchyun.quartz.util.CronUtils;
|
|||
*/
|
||||
@RestController
|
||||
@RequestMapping("/monitor/job")
|
||||
public class SysJobController extends BaseController {
|
||||
public class JobController extends BaseController {
|
||||
@Autowired
|
||||
private ISysJobService jobService;
|
||||
|
||||
|
|
@ -25,7 +25,7 @@ import com.hchyun.quartz.service.ISysJobLogService;
|
|||
*/
|
||||
@RestController
|
||||
@RequestMapping("/monitor/jobLog")
|
||||
public class SysJobLogController extends BaseController {
|
||||
public class JobLogController extends BaseController {
|
||||
@Autowired
|
||||
private ISysJobLogService jobLogService;
|
||||
|
||||
Loading…
Reference in New Issue