下拉端口列表调通

This commit is contained in:
aoshiguchen
2022-09-01 23:27:25 +08:00
parent 99edb29765
commit 84d72b613f
15 changed files with 54 additions and 31 deletions
@@ -23,6 +23,7 @@ package fun.asgc.neutrino.proxy.server.dal;
import fun.asgc.neutrino.core.annotation.Component;
import fun.asgc.neutrino.core.annotation.Param;
import fun.asgc.neutrino.core.aop.Intercept;
import fun.asgc.neutrino.core.db.annotation.Delete;
import fun.asgc.neutrino.core.db.annotation.ResultType;
import fun.asgc.neutrino.core.db.annotation.Select;
@@ -43,6 +44,7 @@ import java.util.Set;
* @author: aoshiguchen
* @date: 2022/8/6
*/
@Intercept(ignoreGlobal = true)
@Component
public interface LicenseMapper extends SqlMapper {
@@ -23,6 +23,7 @@ package fun.asgc.neutrino.proxy.server.dal;
import fun.asgc.neutrino.core.annotation.Component;
import fun.asgc.neutrino.core.annotation.Param;
import fun.asgc.neutrino.core.aop.Intercept;
import fun.asgc.neutrino.core.db.annotation.Delete;
import fun.asgc.neutrino.core.db.annotation.ResultType;
import fun.asgc.neutrino.core.db.annotation.Select;
@@ -41,6 +42,7 @@ import java.util.Set;
* @author: aoshiguchen
* @date: 2022/8/8
*/
@Intercept(ignoreGlobal = true)
@Component
public interface PortMappingMapper extends SqlMapper {
@@ -23,6 +23,7 @@ package fun.asgc.neutrino.proxy.server.dal;
import fun.asgc.neutrino.core.annotation.Component;
import fun.asgc.neutrino.core.annotation.Param;
import fun.asgc.neutrino.core.aop.Intercept;
import fun.asgc.neutrino.core.db.annotation.*;
import fun.asgc.neutrino.core.db.mapper.SqlMapper;
import fun.asgc.neutrino.core.db.page.Page;
@@ -38,6 +39,7 @@ import java.util.List;
* @author: aoshiguchen
* @date: 2022/8/7
*/
@Intercept(ignoreGlobal = true)
@Component
public interface PortPoolMapper extends SqlMapper {
@@ -22,6 +22,7 @@
package fun.asgc.neutrino.proxy.server.dal;
import fun.asgc.neutrino.core.annotation.Component;
import fun.asgc.neutrino.core.aop.Intercept;
import fun.asgc.neutrino.core.db.mapper.SqlMapper;
/**
@@ -29,6 +30,7 @@ import fun.asgc.neutrino.core.db.mapper.SqlMapper;
* @author: aoshiguchen
* @date: 2022/8/31
*/
@Intercept(ignoreGlobal = true)
@Component
public interface UserConnectRecordMapper extends SqlMapper {
@@ -22,6 +22,7 @@
package fun.asgc.neutrino.proxy.server.dal;
import fun.asgc.neutrino.core.annotation.Component;
import fun.asgc.neutrino.core.aop.Intercept;
import fun.asgc.neutrino.core.db.annotation.Insert;
import fun.asgc.neutrino.core.db.mapper.SqlMapper;
import fun.asgc.neutrino.proxy.server.dal.entity.UserLoginRecordDO;
@@ -31,6 +32,7 @@ import fun.asgc.neutrino.proxy.server.dal.entity.UserLoginRecordDO;
* @author: aoshiguchen
* @date: 2022/8/2
*/
@Intercept(ignoreGlobal = true)
@Component
public interface UserLoginRecordMapper extends SqlMapper {
/**
@@ -23,6 +23,7 @@ package fun.asgc.neutrino.proxy.server.dal;
import fun.asgc.neutrino.core.annotation.Component;
import fun.asgc.neutrino.core.annotation.Param;
import fun.asgc.neutrino.core.aop.Intercept;
import fun.asgc.neutrino.core.db.annotation.*;
import fun.asgc.neutrino.core.db.mapper.SqlMapper;
import fun.asgc.neutrino.core.db.page.Page;
@@ -40,6 +41,7 @@ import java.util.Set;
* @author: aoshiguchen
* @date: 2022/8/1
*/
@Intercept(ignoreGlobal = true)
@Component
public interface UserMapper extends SqlMapper {
@@ -23,6 +23,7 @@ package fun.asgc.neutrino.proxy.server.dal;
import fun.asgc.neutrino.core.annotation.Component;
import fun.asgc.neutrino.core.annotation.Param;
import fun.asgc.neutrino.core.aop.Intercept;
import fun.asgc.neutrino.core.db.annotation.Delete;
import fun.asgc.neutrino.core.db.annotation.Insert;
import fun.asgc.neutrino.core.db.annotation.Select;
@@ -37,6 +38,7 @@ import java.util.Date;
* @author: aoshiguchen
* @date: 2022/8/1
*/
@Intercept(ignoreGlobal = true)
@Component
public interface UserTokenMapper extends SqlMapper {
/**
@@ -24,6 +24,7 @@ package fun.asgc.neutrino.proxy.server.service;
import com.google.common.collect.Sets;
import fun.asgc.neutrino.core.annotation.Autowired;
import fun.asgc.neutrino.core.annotation.Component;
import fun.asgc.neutrino.core.annotation.NonIntercept;
import fun.asgc.neutrino.core.db.page.Page;
import fun.asgc.neutrino.core.db.page.PageQuery;
import fun.asgc.neutrino.core.util.CollectionUtil;
@@ -51,6 +52,7 @@ import java.util.stream.Collectors;
* @author: aoshiguchen
* @date: 2022/8/6
*/
@NonIntercept
@Component
public class LicenseService {
@@ -24,6 +24,7 @@ package fun.asgc.neutrino.proxy.server.service;
import com.google.common.collect.Sets;
import fun.asgc.neutrino.core.annotation.Autowired;
import fun.asgc.neutrino.core.annotation.Component;
import fun.asgc.neutrino.core.annotation.NonIntercept;
import fun.asgc.neutrino.core.db.page.Page;
import fun.asgc.neutrino.core.db.page.PageQuery;
import fun.asgc.neutrino.core.util.CollectionUtil;
@@ -58,6 +59,7 @@ import java.util.stream.Collectors;
* @author: aoshiguchen
* @date: 2022/8/8
*/
@NonIntercept
@Component
public class PortMappingService {
@Autowired
@@ -23,6 +23,7 @@ package fun.asgc.neutrino.proxy.server.service;
import fun.asgc.neutrino.core.annotation.Autowired;
import fun.asgc.neutrino.core.annotation.Component;
import fun.asgc.neutrino.core.annotation.NonIntercept;
import fun.asgc.neutrino.core.db.page.Page;
import fun.asgc.neutrino.core.db.page.PageQuery;
import fun.asgc.neutrino.proxy.server.constant.EnableStatusEnum;
@@ -45,6 +46,7 @@ import java.util.List;
* @author: aoshiguchen
* @date: 2022/8/7
*/
@NonIntercept
@Component
public class PortPoolService {
@@ -23,6 +23,7 @@ package fun.asgc.neutrino.proxy.server.service;
import fun.asgc.neutrino.core.annotation.Autowired;
import fun.asgc.neutrino.core.annotation.Component;
import fun.asgc.neutrino.core.annotation.NonIntercept;
import fun.asgc.neutrino.core.db.page.Page;
import fun.asgc.neutrino.core.db.page.PageQuery;
import fun.asgc.neutrino.core.util.DateUtil;
@@ -50,6 +51,7 @@ import java.util.UUID;
* @author: aoshiguchen
* @date: 2022/7/31
*/
@NonIntercept
@Component
public class UserService {
private static final String DEFAULT_PASSWORD = "123456";