文件名初始化

This commit is contained in:
20932067@zju.edu.cn 2021-02-20 18:25:20 +08:00
parent bca1192e18
commit 5066c5be8c
37 changed files with 30 additions and 30 deletions

View File

@ -25,7 +25,7 @@ import com.hchyun.system.service.LogininforService;
*/ */
@RestController @RestController
@RequestMapping("/monitor/logininfor") @RequestMapping("/monitor/logininfor")
public class SysLogininforController extends BaseController { public class LogininforController extends BaseController {
@Autowired @Autowired
private LogininforService logininforService; private LogininforService logininforService;

View File

@ -25,7 +25,7 @@ import com.hchyun.system.service.OperLogService;
*/ */
@RestController @RestController
@RequestMapping("/monitor/operlog") @RequestMapping("/monitor/operlog")
public class SysOperlogController extends BaseController { public class OperlogController extends BaseController {
@Autowired @Autowired
private OperLogService operLogService; private OperLogService operLogService;

View File

@ -31,7 +31,7 @@ import com.hchyun.system.service.UserOnlineService;
*/ */
@RestController @RestController
@RequestMapping("/monitor/online") @RequestMapping("/monitor/online")
public class SysUserOnlineController extends BaseController { public class UserOnlineController extends BaseController {
@Autowired @Autowired
private UserOnlineService userOnlineService; private UserOnlineService userOnlineService;

View File

@ -33,7 +33,7 @@ import com.hchyun.system.service.ConfigService;
*/ */
@RestController @RestController
@RequestMapping("/system/config") @RequestMapping("/system/config")
public class SysConfigController extends BaseController { public class ConfigController extends BaseController {
@Autowired @Autowired
private ConfigService configService; private ConfigService configService;

View File

@ -35,8 +35,8 @@ import com.hchyun.system.service.DeptService;
*/ */
@RestController @RestController
@RequestMapping("/system/dept") @RequestMapping("/system/dept")
public class SysDeptController extends BaseController { public class DeptController extends BaseController {
private Logger logger = LoggerFactory.getLogger(SysDeptController.class); private Logger logger = LoggerFactory.getLogger(DeptController.class);
@Autowired @Autowired
private DeptService deptService; private DeptService deptService;

View File

@ -31,7 +31,7 @@ import com.hchyun.system.service.DictTypeService;
*/ */
@RestController @RestController
@RequestMapping("/system/dict/data") @RequestMapping("/system/dict/data")
public class SysDictDataController extends BaseController { public class DictDataController extends BaseController {
@Autowired @Autowired
private DictDataService dictDataService; private DictDataService dictDataService;

View File

@ -31,7 +31,7 @@ import com.hchyun.system.service.DictTypeService;
*/ */
@RestController @RestController
@RequestMapping("/system/dict/type") @RequestMapping("/system/dict/type")
public class SysDictTypeController extends BaseController { public class DictTypeController extends BaseController {
@Autowired @Autowired
private DictTypeService dictTypeService; private DictTypeService dictTypeService;

View File

@ -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.LoginBody;
import com.hchyun.common.core.entity.model.LoginUser; import com.hchyun.common.core.entity.model.LoginUser;
import com.hchyun.common.utils.ServletUtils; 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.SysPermissionService;
import com.hchyun.framework.web.service.TokenService; import com.hchyun.framework.web.service.TokenService;
import com.hchyun.system.service.MenuService; import com.hchyun.system.service.MenuService;
@ -26,9 +26,9 @@ import com.hchyun.system.service.MenuService;
* @author hchyun * @author hchyun
*/ */
@RestController @RestController
public class SysLoginController { public class LoginController {
@Autowired @Autowired
private SysLoginService loginService; private LoginService loginService;
@Autowired @Autowired
private MenuService menuService; private MenuService menuService;

View File

@ -34,7 +34,7 @@ import com.hchyun.system.service.MenuService;
*/ */
@RestController @RestController
@RequestMapping("/system/menu") @RequestMapping("/system/menu")
public class SysMenuController extends BaseController { public class MenuController extends BaseController {
@Autowired @Autowired
private MenuService menuService; private MenuService menuService;

View File

@ -29,7 +29,7 @@ import com.hchyun.system.service.NoticeService;
*/ */
@RestController @RestController
@RequestMapping("/system/notice") @RequestMapping("/system/notice")
public class SysNoticeController extends BaseController { public class NoticeController extends BaseController {
@Autowired @Autowired
private NoticeService noticeService; private NoticeService noticeService;

View File

@ -31,7 +31,7 @@ import com.hchyun.system.service.PostService;
*/ */
@RestController @RestController
@RequestMapping("/system/post") @RequestMapping("/system/post")
public class SysPostController extends BaseController { public class PostController extends BaseController {
@Autowired @Autowired
private PostService postService; private PostService postService;

View File

@ -31,7 +31,7 @@ import com.hchyun.system.service.UserService;
*/ */
@RestController @RestController
@RequestMapping("/system/user/profile") @RequestMapping("/system/user/profile")
public class SysProfileController extends BaseController { public class ProfileController extends BaseController {
@Autowired @Autowired
private UserService userService; private UserService userService;

View File

@ -38,7 +38,7 @@ import com.hchyun.system.service.UserService;
*/ */
@RestController @RestController
@RequestMapping("/system/role") @RequestMapping("/system/role")
public class SysRoleController extends BaseController { public class RoleController extends BaseController {
@Autowired @Autowired
private RoleService roleService; private RoleService roleService;

View File

@ -40,7 +40,7 @@ import com.hchyun.system.service.UserService;
*/ */
@RestController @RestController
@RequestMapping("/system/user") @RequestMapping("/system/user")
public class SysUserController extends BaseController { public class UserController extends BaseController {
@Autowired @Autowired
private UserService userService; private UserService userService;

View File

@ -25,7 +25,7 @@ import com.hchyun.framework.dao.factory.AsyncFactory;
* @author hchyun * @author hchyun
*/ */
@Component @Component
public class SysLoginService { public class LoginService {
@Autowired @Autowired
private TokenService tokenService; private TokenService tokenService;

View File

@ -28,8 +28,8 @@ import com.hchyun.common.core.text.Convert;
import com.hchyun.common.enums.BusinessType; import com.hchyun.common.enums.BusinessType;
import com.hchyun.generator.entity.GenTable; import com.hchyun.generator.entity.GenTable;
import com.hchyun.generator.entity.GenTableColumn; import com.hchyun.generator.entity.GenTableColumn;
import com.hchyun.generator.service.IGenTableColumnService; import com.hchyun.generator.service.GenTableColumnService;
import com.hchyun.generator.service.IGenTableService; import com.hchyun.generator.service.GenTableService;
/** /**
* 代码生成 操作处理 * 代码生成 操作处理
@ -40,10 +40,10 @@ import com.hchyun.generator.service.IGenTableService;
@RequestMapping("/tool/gen") @RequestMapping("/tool/gen")
public class GenController extends BaseController { public class GenController extends BaseController {
@Autowired @Autowired
private IGenTableService genTableService; private GenTableService genTableService;
@Autowired @Autowired
private IGenTableColumnService genTableColumnService; private GenTableColumnService genTableColumnService;
/** /**
* 查询代码生成列表 * 查询代码生成列表

View File

@ -9,7 +9,7 @@ import com.hchyun.generator.entity.GenTableColumn;
* *
* @author hchyun * @author hchyun
*/ */
public interface IGenTableColumnService { public interface GenTableColumnService {
/** /**
* 查询业务字段列表 * 查询业务字段列表
* *

View File

@ -11,7 +11,7 @@ import com.hchyun.generator.entity.GenTable;
* *
* @author hchyun * @author hchyun
*/ */
public interface IGenTableService { public interface GenTableService {
/** /**
* 查询业务列表 * 查询业务列表
* *

View File

@ -3,7 +3,7 @@ package com.hchyun.generator.service.impl;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; 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.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import com.hchyun.common.core.text.Convert; import com.hchyun.common.core.text.Convert;
@ -16,7 +16,7 @@ import com.hchyun.generator.dao.GenTableColumnDao;
* @author hchyun * @author hchyun
*/ */
@Service @Service
public class GenTableColumnServiceImpl implements IGenTableColumnService { public class GenTableColumnServiceImpl implements GenTableColumnService {
@Autowired @Autowired
private GenTableColumnDao genTableColumnDao; private GenTableColumnDao genTableColumnDao;

View File

@ -15,7 +15,7 @@ import com.hchyun.common.constant.ReturnConstants;
import com.hchyun.common.utils.ServerResult; import com.hchyun.common.utils.ServerResult;
import com.hchyun.generator.dao.AssociatedDao; import com.hchyun.generator.dao.AssociatedDao;
import com.hchyun.generator.entity.AssColumn; 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.commons.io.IOUtils;
import org.apache.velocity.Template; import org.apache.velocity.Template;
import org.apache.velocity.VelocityContext; import org.apache.velocity.VelocityContext;
@ -49,7 +49,7 @@ import org.springframework.transaction.interceptor.TransactionAspectSupport;
* @author hchyun * @author hchyun
*/ */
@Service @Service
public class GenTableServiceImpl implements IGenTableService { public class GenTableServiceImpl implements GenTableService {
private static final Logger log = LoggerFactory.getLogger(GenTableServiceImpl.class); private static final Logger log = LoggerFactory.getLogger(GenTableServiceImpl.class);
@Autowired @Autowired

View File

@ -32,7 +32,7 @@ import com.hchyun.quartz.util.CronUtils;
*/ */
@RestController @RestController
@RequestMapping("/monitor/job") @RequestMapping("/monitor/job")
public class SysJobController extends BaseController { public class JobController extends BaseController {
@Autowired @Autowired
private ISysJobService jobService; private ISysJobService jobService;

View File

@ -25,7 +25,7 @@ import com.hchyun.quartz.service.ISysJobLogService;
*/ */
@RestController @RestController
@RequestMapping("/monitor/jobLog") @RequestMapping("/monitor/jobLog")
public class SysJobLogController extends BaseController { public class JobLogController extends BaseController {
@Autowired @Autowired
private ISysJobLogService jobLogService; private ISysJobLogService jobLogService;