添加业务配置控制层、事务层、数据层类
This commit is contained in:
@@ -26,6 +26,14 @@ import com.nis.web.service.OfficeService;
|
||||
import com.nis.web.service.RoleService;
|
||||
import com.nis.web.service.SystemService;
|
||||
import com.nis.web.service.UserService;
|
||||
import com.nis.web.service.configuration.AppCfgService;
|
||||
import com.nis.web.service.configuration.FtpCfgService;
|
||||
import com.nis.web.service.configuration.IpCfgService;
|
||||
import com.nis.web.service.configuration.MailCfgService;
|
||||
import com.nis.web.service.configuration.MediaCfgService;
|
||||
import com.nis.web.service.configuration.SslCfgService;
|
||||
import com.nis.web.service.configuration.TunnelCfgService;
|
||||
import com.nis.web.service.configuration.WebCfgService;
|
||||
|
||||
public class BaseController {
|
||||
|
||||
@@ -56,6 +64,29 @@ public class BaseController {
|
||||
@Autowired
|
||||
protected DictService dictService;
|
||||
|
||||
@Autowired
|
||||
protected IpCfgService ipCfgService;
|
||||
|
||||
@Autowired
|
||||
protected WebCfgService webCfgService;
|
||||
|
||||
@Autowired
|
||||
protected MailCfgService mailCfgService;
|
||||
|
||||
@Autowired
|
||||
protected FtpCfgService ftpCfgService;
|
||||
|
||||
@Autowired
|
||||
protected TunnelCfgService tunnCfgService;
|
||||
|
||||
@Autowired
|
||||
protected SslCfgService sslCfgService;
|
||||
|
||||
@Autowired
|
||||
protected MediaCfgService mediaCfgService;
|
||||
|
||||
@Autowired
|
||||
protected AppCfgService appCfgService;
|
||||
|
||||
protected final Logger logger = Logger.getLogger(this.getClass());
|
||||
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.nis.web.controller.configuration;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
||||
/**
|
||||
* 特定协议相关配置控制类
|
||||
* @author dell
|
||||
*
|
||||
*/
|
||||
@Controller
|
||||
public class AppCfgController {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.nis.web.controller.configuration;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
||||
/**
|
||||
* FTP相关配置控制类
|
||||
* @author dell
|
||||
*
|
||||
*/
|
||||
@Controller
|
||||
public class FtpCfgController {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.nis.web.controller.configuration;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
||||
/**
|
||||
* IP相关配置控制类
|
||||
* @author dell
|
||||
*
|
||||
*/
|
||||
@Controller
|
||||
public class IpCfgController {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.nis.web.controller.configuration;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
||||
/**
|
||||
* 邮件相关配置控制类
|
||||
* @author dell
|
||||
*
|
||||
*/
|
||||
@Controller
|
||||
public class MailCfgController {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.nis.web.controller.configuration;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
||||
/**
|
||||
* 在线媒体相关配置控制类
|
||||
* @author dell
|
||||
*
|
||||
*/
|
||||
@Controller
|
||||
public class MediaCfgController {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.nis.web.controller.configuration;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
||||
/**
|
||||
* 证书相关配置控制类
|
||||
* @author dell
|
||||
*
|
||||
*/
|
||||
@Controller
|
||||
public class SslCfgController {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package com.nis.web.controller.configuration;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
||||
/**
|
||||
* 隧道协议相关配置控制类
|
||||
* @author dell
|
||||
*
|
||||
*/
|
||||
@Controller
|
||||
public class TunnelCfgController {
|
||||
|
||||
/**
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public String l2tpList(){
|
||||
return "/configuration/tunnel/l2tpList";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.nis.web.controller.configuration;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
||||
/**
|
||||
* WEB相关配置控制类
|
||||
* @author dell
|
||||
*
|
||||
*/
|
||||
@Controller
|
||||
public class WebCfgController {
|
||||
|
||||
}
|
||||
11
src/main/java/com/nis/web/dao/configuration/AppCfgDao.java
Normal file
11
src/main/java/com/nis/web/dao/configuration/AppCfgDao.java
Normal file
@@ -0,0 +1,11 @@
|
||||
package com.nis.web.dao.configuration;
|
||||
|
||||
|
||||
/**
|
||||
* 特定协议相关配置数据处理类
|
||||
* @author dell
|
||||
*
|
||||
*/
|
||||
public class AppCfgDao {
|
||||
|
||||
}
|
||||
11
src/main/java/com/nis/web/dao/configuration/FtpCfgDao.java
Normal file
11
src/main/java/com/nis/web/dao/configuration/FtpCfgDao.java
Normal file
@@ -0,0 +1,11 @@
|
||||
package com.nis.web.dao.configuration;
|
||||
|
||||
|
||||
/**
|
||||
* FTP相关配置数据处理类
|
||||
* @author dell
|
||||
*
|
||||
*/
|
||||
public class FtpCfgDao {
|
||||
|
||||
}
|
||||
11
src/main/java/com/nis/web/dao/configuration/IpCfgDao.java
Normal file
11
src/main/java/com/nis/web/dao/configuration/IpCfgDao.java
Normal file
@@ -0,0 +1,11 @@
|
||||
package com.nis.web.dao.configuration;
|
||||
|
||||
|
||||
/**
|
||||
* IP相关配置数据处理类
|
||||
* @author dell
|
||||
*
|
||||
*/
|
||||
public class IpCfgDao {
|
||||
|
||||
}
|
||||
11
src/main/java/com/nis/web/dao/configuration/MailCfgDao.java
Normal file
11
src/main/java/com/nis/web/dao/configuration/MailCfgDao.java
Normal file
@@ -0,0 +1,11 @@
|
||||
package com.nis.web.dao.configuration;
|
||||
|
||||
|
||||
/**
|
||||
* 邮件相关配置数据处理类
|
||||
* @author dell
|
||||
*
|
||||
*/
|
||||
public class MailCfgDao {
|
||||
|
||||
}
|
||||
11
src/main/java/com/nis/web/dao/configuration/MediaCfgDao.java
Normal file
11
src/main/java/com/nis/web/dao/configuration/MediaCfgDao.java
Normal file
@@ -0,0 +1,11 @@
|
||||
package com.nis.web.dao.configuration;
|
||||
|
||||
|
||||
/**
|
||||
* 在线媒体相关配置数据处理类
|
||||
* @author dell
|
||||
*
|
||||
*/
|
||||
public class MediaCfgDao {
|
||||
|
||||
}
|
||||
11
src/main/java/com/nis/web/dao/configuration/SslCfgDao.java
Normal file
11
src/main/java/com/nis/web/dao/configuration/SslCfgDao.java
Normal file
@@ -0,0 +1,11 @@
|
||||
package com.nis.web.dao.configuration;
|
||||
|
||||
|
||||
/**
|
||||
* 证书相关配置数据处理类
|
||||
* @author dell
|
||||
*
|
||||
*/
|
||||
public class SslCfgDao {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package com.nis.web.dao.configuration;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
||||
/**
|
||||
* 隧道协议相关配置数据处理类
|
||||
* @author dell
|
||||
*
|
||||
*/
|
||||
public class TunnelCfgDao {
|
||||
|
||||
/**
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public List getL2tpList(){
|
||||
return null;
|
||||
}
|
||||
}
|
||||
11
src/main/java/com/nis/web/dao/configuration/WebCfgDao.java
Normal file
11
src/main/java/com/nis/web/dao/configuration/WebCfgDao.java
Normal file
@@ -0,0 +1,11 @@
|
||||
package com.nis.web.dao.configuration;
|
||||
|
||||
|
||||
/**
|
||||
* WEB相关配置数据处理类
|
||||
* @author dell
|
||||
*
|
||||
*/
|
||||
public class WebCfgDao {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.nis.web.service.configuration;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* 特定协议相关配置事务类
|
||||
* @author dell
|
||||
*
|
||||
*/
|
||||
@Service
|
||||
public class AppCfgService {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.nis.web.service.configuration;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* FTP相关配置事务类
|
||||
* @author dell
|
||||
*
|
||||
*/
|
||||
@Service
|
||||
public class FtpCfgService {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.nis.web.service.configuration;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* IP相关配置事务类
|
||||
* @author dell
|
||||
*
|
||||
*/
|
||||
@Service
|
||||
public class IpCfgService {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.nis.web.service.configuration;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* 邮件相关配置事务类
|
||||
* @author dell
|
||||
*
|
||||
*/
|
||||
@Service
|
||||
public class MailCfgService {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.nis.web.service.configuration;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* 在线媒体相关配置事务类
|
||||
* @author dell
|
||||
*
|
||||
*/
|
||||
@Service
|
||||
public class MediaCfgService {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.nis.web.service.configuration;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* 证书相关配置事务类
|
||||
* @author dell
|
||||
*
|
||||
*/
|
||||
@Service
|
||||
public class SslCfgService {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package com.nis.web.service.configuration;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* 隧道协议相关配置事务类
|
||||
* @author dell
|
||||
*
|
||||
*/
|
||||
@Service
|
||||
public class TunnelCfgService {
|
||||
|
||||
public List getL2tpList(){
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.nis.web.service.configuration;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* WEB相关配置事务类
|
||||
* @author dell
|
||||
*
|
||||
*/
|
||||
@Service
|
||||
public class WebCfgService {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user