Commit 663c43cf by 丁伟

1、迁移初始提交

parent 0c212758
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
*/ */
package ccpit.admin; package org.ccpit.admin;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
...@@ -17,13 +17,13 @@ import javax.servlet.http.HttpServletRequest; ...@@ -17,13 +17,13 @@ import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession; import javax.servlet.http.HttpSession;
import org.apache.commons.lang.StringUtils; import org.apache.commons.lang.StringUtils;
import ccpit.base.controller.BaseController; import org.ccpit.base.controller.BaseController;
import ccpit.base.controller.ValidateCodeController; import org.ccpit.base.controller.ValidateCodeController;
import ccpit.base.logManage.LogInfoService; import org.ccpit.base.logManage.LogInfoService;
import ccpit.base.user.User; import org.ccpit.base.user.User;
import ccpit.base.user.UserService; import org.ccpit.base.user.UserService;
import ccpit.base.utils.PasswordHash; import org.ccpit.base.utils.PasswordHash;
import ccpit.base.utils.UserRolesUtil; import org.ccpit.base.utils.UserRolesUtil;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
...@@ -43,7 +43,7 @@ import org.springframework.web.servlet.ModelAndView; ...@@ -43,7 +43,7 @@ import org.springframework.web.servlet.ModelAndView;
*/ */
@Controller @Controller
@RequestMapping("/admin") @RequestMapping("/admin")
public class LoginController extends BaseController{ public class LoginController extends BaseController {
private static final Logger log = LoggerFactory.getLogger(LoginController.class); private static final Logger log = LoggerFactory.getLogger(LoginController.class);
@Autowired @Autowired
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* Copyright (c) 2016, liyang@ccpit.org All Rights Reserved. * Copyright (c) 2016, liyang@ccpit.org All Rights Reserved.
* *
*/ */
package ccpit.base.controller; package org.ccpit.base.controller;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
......
package ccpit.base.controller; package org.ccpit.base.controller;
import java.util.List; import java.util.List;
......
package ccpit.base.controller; package org.ccpit.base.controller;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
......
package ccpit.base.controller; package org.ccpit.base.controller;
/** /**
* Created by Administrator on 2015/8/13. * Created by Administrator on 2015/8/13.
......
...@@ -8,17 +8,17 @@ ...@@ -8,17 +8,17 @@
* *
*/ */
package ccpit.base.dao; package org.ccpit.base.dao;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import ccpit.base.controller.Page; import org.ccpit.base.controller.Page;
import ccpit.base.controller.PageRequest; import org.ccpit.base.controller.PageRequest;
import ccpit.base.utils.AssertUtil; import org.ccpit.base.utils.AssertUtil;
import ccpit.base.utils.ReadConfigUtil; import org.ccpit.base.utils.ReadConfigUtil;
import ccpit.base.utils.StringUtil; import org.ccpit.base.utils.StringUtil;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.BeanPropertyRowMapper; import org.springframework.jdbc.core.BeanPropertyRowMapper;
import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.jdbc.core.JdbcTemplate;
...@@ -263,9 +263,9 @@ public class JdbcDaoHelper<T> implements IJdbcDao<T> { ...@@ -263,9 +263,9 @@ public class JdbcDaoHelper<T> implements IJdbcDao<T> {
/** /**
* *
* TODO 查询结果分页显示,查询语句为sql * TODO 查询结果分页显示,查询语句为sql
* @see ccpit.base.dao.IJdbcDao#queryPage(ccpit.base.controller.PageRequest, String, Object[], Class) * @see IJdbcDao#queryPage(PageRequest, String, Object[], Class)
*/ */
public Page queryPage(PageRequest pageRequest, String sql, Object[] args,Class elementType) { public Page queryPage(PageRequest pageRequest, String sql, Object[] args, Class elementType) {
AssertUtil.notNull(pageRequest, "pageRequest不能为空"); AssertUtil.notNull(pageRequest, "pageRequest不能为空");
Page page = new Page(pageRequest); Page page = new Page(pageRequest);
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
*/ */
package ccpit.base.logManage; package org.ccpit.base.logManage;
import java.io.Serializable; import java.io.Serializable;
import java.util.Date; import java.util.Date;
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
*/ */
package ccpit.base.logManage; package org.ccpit.base.logManage;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
...@@ -17,9 +17,9 @@ import javax.servlet.http.HttpServletRequest; ...@@ -17,9 +17,9 @@ import javax.servlet.http.HttpServletRequest;
import net.sf.json.JSONArray; import net.sf.json.JSONArray;
import ccpit.base.controller.BaseController; import org.ccpit.base.controller.BaseController;
import ccpit.base.controller.Page; import org.ccpit.base.controller.Page;
import ccpit.base.controller.PageRequest; import org.ccpit.base.controller.PageRequest;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
......
...@@ -8,9 +8,9 @@ ...@@ -8,9 +8,9 @@
* *
*/ */
package ccpit.base.logManage; package org.ccpit.base.logManage;
import ccpit.base.dao.BaseDao; import org.ccpit.base.dao.BaseDao;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
/** /**
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
*/ */
package ccpit.base.logManage; package org.ccpit.base.logManage;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;
import java.util.Date; import java.util.Date;
...@@ -18,12 +18,12 @@ import java.util.Map; ...@@ -18,12 +18,12 @@ import java.util.Map;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import javax.transaction.Transactional; import javax.transaction.Transactional;
import ccpit.base.controller.BaseController; import org.ccpit.base.controller.BaseController;
import ccpit.base.controller.Convert; import org.ccpit.base.controller.Convert;
import ccpit.base.controller.Page; import org.ccpit.base.controller.Page;
import ccpit.base.controller.PageBo; import org.ccpit.base.controller.PageBo;
import ccpit.base.controller.PageRequest; import org.ccpit.base.controller.PageRequest;
import ccpit.base.user.User; import org.ccpit.base.user.User;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
*/ */
package ccpit.base.metadataManage; package org.ccpit.base.metadataManage;
import org.hibernate.annotations.Cache; import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy; import org.hibernate.annotations.CacheConcurrencyStrategy;
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
*/ */
package ccpit.base.metadataManage; package org.ccpit.base.metadataManage;
import java.io.FileNotFoundException; import java.io.FileNotFoundException;
import java.io.IOException; import java.io.IOException;
...@@ -34,10 +34,10 @@ import org.apache.commons.fileupload.servlet.ServletFileUpload; ...@@ -34,10 +34,10 @@ import org.apache.commons.fileupload.servlet.ServletFileUpload;
import org.apache.poi.xssf.usermodel.XSSFRow; import org.apache.poi.xssf.usermodel.XSSFRow;
import org.apache.poi.xssf.usermodel.XSSFSheet; import org.apache.poi.xssf.usermodel.XSSFSheet;
import org.apache.poi.xssf.usermodel.XSSFWorkbook; import org.apache.poi.xssf.usermodel.XSSFWorkbook;
import ccpit.base.controller.BaseController; import org.ccpit.base.controller.BaseController;
import ccpit.base.controller.Page; import org.ccpit.base.controller.Page;
import ccpit.base.controller.PageRequest; import org.ccpit.base.controller.PageRequest;
import ccpit.base.user.User; import org.ccpit.base.user.User;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
......
...@@ -8,9 +8,9 @@ ...@@ -8,9 +8,9 @@
* *
*/ */
package ccpit.base.metadataManage; package org.ccpit.base.metadataManage;
import ccpit.base.dao.BaseDao; import org.ccpit.base.dao.BaseDao;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
/** /**
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
*/ */
package ccpit.base.metadataManage; package org.ccpit.base.metadataManage;
import java.io.UnsupportedEncodingException; import java.io.UnsupportedEncodingException;
import java.util.ArrayList; import java.util.ArrayList;
...@@ -18,11 +18,11 @@ import java.util.Map; ...@@ -18,11 +18,11 @@ import java.util.Map;
import javax.transaction.Transactional; import javax.transaction.Transactional;
import ccpit.base.controller.Convert; import org.ccpit.base.controller.Convert;
import ccpit.base.controller.Page; import org.ccpit.base.controller.Page;
import ccpit.base.controller.PageBo; import org.ccpit.base.controller.PageBo;
import ccpit.base.controller.PageRequest; import org.ccpit.base.controller.PageRequest;
import ccpit.base.utils.TranslateDataUtil; import org.ccpit.base.utils.TranslateDataUtil;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
*/ */
package ccpit.base.orgManage; package org.ccpit.base.orgManage;
import java.io.IOException; import java.io.IOException;
import java.io.UnsupportedEncodingException; import java.io.UnsupportedEncodingException;
...@@ -23,13 +23,13 @@ import java.util.Set; ...@@ -23,13 +23,13 @@ import java.util.Set;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponse;
import ccpit.base.controller.BaseController; import org.ccpit.base.controller.BaseController;
import ccpit.base.controller.Page; import org.ccpit.base.controller.Page;
import ccpit.base.controller.PageRequest; import org.ccpit.base.controller.PageRequest;
import ccpit.base.role.Role; import org.ccpit.base.role.Role;
import ccpit.base.role.RoleService; import org.ccpit.base.role.RoleService;
import ccpit.base.user.User; import org.ccpit.base.user.User;
import ccpit.base.user.UserService; import org.ccpit.base.user.UserService;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
......
...@@ -8,15 +8,15 @@ ...@@ -8,15 +8,15 @@
* *
*/ */
package ccpit.base.orgManage; package org.ccpit.base.orgManage;
import java.util.HashSet; import java.util.HashSet;
import java.util.List; import java.util.List;
import java.util.Set; import java.util.Set;
import ccpit.base.dao.BaseDao; import org.ccpit.base.dao.BaseDao;
import ccpit.base.role.Role; import org.ccpit.base.role.Role;
import ccpit.base.user.User; import org.ccpit.base.user.User;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
/** /**
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
*/ */
package ccpit.base.orgManage; package org.ccpit.base.orgManage;
import java.util.Date; import java.util.Date;
import java.util.HashSet; import java.util.HashSet;
...@@ -22,8 +22,8 @@ import javax.persistence.GenerationType; ...@@ -22,8 +22,8 @@ import javax.persistence.GenerationType;
import javax.persistence.Id; import javax.persistence.Id;
import javax.persistence.ManyToMany; import javax.persistence.ManyToMany;
import ccpit.base.role.Role; import org.ccpit.base.role.Role;
import ccpit.base.user.User; import org.ccpit.base.user.User;
import org.hibernate.annotations.Cache; import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy; import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.hibernate.annotations.Where; import org.hibernate.annotations.Where;
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
*/ */
package ccpit.base.orgManage; package org.ccpit.base.orgManage;
import java.util.HashSet; import java.util.HashSet;
import java.util.List; import java.util.List;
...@@ -16,11 +16,11 @@ import java.util.Set; ...@@ -16,11 +16,11 @@ import java.util.Set;
import javax.transaction.Transactional; import javax.transaction.Transactional;
import ccpit.base.controller.Page; import org.ccpit.base.controller.Page;
import ccpit.base.controller.PageRequest; import org.ccpit.base.controller.PageRequest;
import ccpit.base.role.Role; import org.ccpit.base.role.Role;
import ccpit.base.role.RoleDao; import org.ccpit.base.role.RoleDao;
import ccpit.base.user.User; import org.ccpit.base.user.User;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
*/ */
package ccpit.base.privilegeManage; package org.ccpit.base.privilegeManage;
import org.hibernate.annotations.Cache; import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy; import org.hibernate.annotations.CacheConcurrencyStrategy;
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
*/ */
package ccpit.base.privilegeManage; package org.ccpit.base.privilegeManage;
import java.io.UnsupportedEncodingException; import java.io.UnsupportedEncodingException;
import java.util.ArrayList; import java.util.ArrayList;
...@@ -20,11 +20,11 @@ import java.util.Map; ...@@ -20,11 +20,11 @@ import java.util.Map;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponse;
import ccpit.base.role.Role; import org.ccpit.base.role.Role;
import ccpit.base.role.RoleService; import org.ccpit.base.role.RoleService;
import ccpit.base.role.RoleUrl; import org.ccpit.base.role.RoleUrl;
import ccpit.base.user.User; import org.ccpit.base.user.User;
import ccpit.base.user.UserController; import org.ccpit.base.user.UserController;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
......
...@@ -8,11 +8,11 @@ ...@@ -8,11 +8,11 @@
* *
*/ */
package ccpit.base.privilegeManage; package org.ccpit.base.privilegeManage;
import java.util.List; import java.util.List;
import ccpit.base.dao.BaseDao; import org.ccpit.base.dao.BaseDao;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
/** /**
...@@ -26,7 +26,7 @@ import org.springframework.stereotype.Repository; ...@@ -26,7 +26,7 @@ import org.springframework.stereotype.Repository;
* @see * @see
*/ */
@Repository @Repository
public class OperateDao extends BaseDao<Operate>{ public class OperateDao extends BaseDao<Operate> {
public List<Operate> getChildOrgById(long id) { public List<Operate> getChildOrgById(long id) {
String hql = "from " + Operate.class.getName()+" where parentId=" + id; String hql = "from " + Operate.class.getName()+" where parentId=" + id;
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
*/ */
package ccpit.base.privilegeManage; package org.ccpit.base.privilegeManage;
import java.util.List; import java.util.List;
......
package ccpit.base.role; package org.ccpit.base.role;
import java.util.List; import java.util.List;
......
package ccpit.base.role; package org.ccpit.base.role;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
...@@ -12,9 +12,9 @@ import javax.persistence.Id; ...@@ -12,9 +12,9 @@ import javax.persistence.Id;
import javax.persistence.ManyToMany; import javax.persistence.ManyToMany;
import javax.persistence.OneToMany; import javax.persistence.OneToMany;
import ccpit.base.modol.BaseEntity; import org.ccpit.base.modol.BaseEntity;
import ccpit.base.orgManage.OrgInfo; import org.ccpit.base.orgManage.OrgInfo;
import ccpit.base.user.User; import org.ccpit.base.user.User;
import org.hibernate.annotations.Cache; import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy; import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.hibernate.annotations.Where; import org.hibernate.annotations.Where;
......
package ccpit.base.role; package org.ccpit.base.role;
import java.io.IOException; import java.io.IOException;
import java.util.ArrayList; import java.util.ArrayList;
...@@ -11,13 +11,13 @@ import javax.servlet.http.HttpServletResponse; ...@@ -11,13 +11,13 @@ import javax.servlet.http.HttpServletResponse;
import net.sf.json.JSONArray; import net.sf.json.JSONArray;
import ccpit.base.controller.BaseController; import org.ccpit.base.controller.BaseController;
import ccpit.base.controller.Page; import org.ccpit.base.controller.Page;
import ccpit.base.controller.PageRequest; import org.ccpit.base.controller.PageRequest;
import ccpit.base.orgManage.OrgInfo; import org.ccpit.base.orgManage.OrgInfo;
import ccpit.base.orgManage.OrgService; import org.ccpit.base.orgManage.OrgService;
import ccpit.base.user.User; import org.ccpit.base.user.User;
import ccpit.base.user.UserService; import org.ccpit.base.user.UserService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PathVariable;
...@@ -30,7 +30,7 @@ import org.springframework.web.servlet.ModelAndView; ...@@ -30,7 +30,7 @@ import org.springframework.web.servlet.ModelAndView;
*/ */
@Controller @Controller
@RequestMapping("/admin/role") @RequestMapping("/admin/role")
public class RoleController extends BaseController{ public class RoleController extends BaseController {
@Autowired @Autowired
private RoleService roleService; private RoleService roleService;
@Autowired @Autowired
......
package ccpit.base.role; package org.ccpit.base.role;
import ccpit.base.dao.BaseDao; import org.ccpit.base.dao.BaseDao;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
/** /**
......
package ccpit.base.role; package org.ccpit.base.role;
import org.apache.commons.lang.StringUtils; import org.apache.commons.lang.StringUtils;
import ccpit.base.controller.Convert; import org.ccpit.base.controller.Convert;
import ccpit.base.controller.Page; import org.ccpit.base.controller.Page;
import ccpit.base.controller.PageBo; import org.ccpit.base.controller.PageBo;
import ccpit.base.controller.PageRequest; import org.ccpit.base.controller.PageRequest;
import ccpit.base.user.UserDao; import org.ccpit.base.utils.UrlRolesMapper;
import ccpit.base.utils.UrlRolesMapper;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
......
package ccpit.base.role; package org.ccpit.base.role;
import ccpit.base.modol.BaseEntity; import org.ccpit.base.modol.BaseEntity;
import org.hibernate.annotations.*; import org.hibernate.annotations.*;
import javax.persistence.*; import javax.persistence.*;
......
package ccpit.base.security; package org.ccpit.base.security;
import java.io.IOException; import java.io.IOException;
...@@ -16,7 +16,7 @@ import javax.servlet.http.HttpServletRequest; ...@@ -16,7 +16,7 @@ import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponse;
import org.apache.commons.lang.StringUtils; import org.apache.commons.lang.StringUtils;
import ccpit.base.controller.BaseController; import org.ccpit.base.controller.BaseController;
/** /**
* 用户登录Filter 拦截后台所有请求 * 用户登录Filter 拦截后台所有请求
......
package ccpit.base.security; package org.ccpit.base.security;
import org.apache.commons.lang.StringUtils; import org.apache.commons.lang.StringUtils;
import ccpit.base.user.User; import org.ccpit.base.user.User;
import ccpit.base.usergroup.UserGroup; import org.ccpit.base.usergroup.UserGroup;
import ccpit.base.usergroup.UserGroupService; import org.ccpit.base.usergroup.UserGroupService;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.TagSupport;
/** /**
* Created by Administrator on 2015/9/7. * Created by Administrator on 2015/9/7.
......
package ccpit.base.security; package org.ccpit.base.security;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang.StringUtils; import org.apache.commons.lang.StringUtils;
import ccpit.base.role.Role; import org.ccpit.base.role.Role;
import ccpit.base.user.UserService; import org.ccpit.base.user.UserService;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.TagSupport;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import java.util.Set; import java.util.Set;
......
package ccpit.base.security; package org.ccpit.base.security;
import org.apache.commons.lang.StringUtils; import org.apache.commons.lang.StringUtils;
import ccpit.base.user.User; import org.ccpit.base.user.User;
import ccpit.base.usergroup.UserGroup; import org.ccpit.base.usergroup.UserGroup;
import ccpit.base.usergroup.UserGroupService; import org.ccpit.base.usergroup.UserGroupService;
/** /**
* Created by Administrator on 2015/9/7. * Created by Administrator on 2015/9/7.
......
package ccpit.base.security; package org.ccpit.base.security;
import org.apache.commons.collections.CollectionUtils; import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang.StringUtils; import org.apache.commons.lang.StringUtils;
import ccpit.base.role.Role; import org.ccpit.base.role.Role;
import ccpit.base.user.UserService; import org.ccpit.base.user.UserService;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
......
package ccpit.base.security; package org.ccpit.base.security;
import org.apache.commons.collections.CollectionUtils; import org.apache.commons.collections.CollectionUtils;
import ccpit.base.role.Role; import org.ccpit.base.role.Role;
import ccpit.base.user.User; import org.ccpit.base.user.User;
import ccpit.base.utils.UrlRolesMapper; import org.ccpit.base.utils.UrlRolesMapper;
import ccpit.base.utils.UserRolesUtil; import org.ccpit.base.utils.UserRolesUtil;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Configurable; import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.stereotype.Component;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter; import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
......
package ccpit.base.security; package org.ccpit.base.security;
import java.util.Set; import java.util.Set;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import org.apache.commons.collections.CollectionUtils; import org.apache.commons.collections.CollectionUtils;
import ccpit.base.role.Role; import org.ccpit.base.role.Role;
import ccpit.base.utils.UrlRolesMapper; import org.ccpit.base.utils.UrlRolesMapper;
import ccpit.base.utils.UserRolesUtil; import org.ccpit.base.utils.UserRolesUtil;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
/** /**
......
package ccpit.base.service; package org.ccpit.base.service;
/** /**
* Created by Administrator on 2015/8/18. * Created by Administrator on 2015/8/18.
......
package ccpit.base.user; package org.ccpit.base.user;
/** /**
* Created by Administrator on 2015/9/2. * Created by Administrator on 2015/9/2.
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
*/ */
package ccpit.base.utils; package org.ccpit.base.utils;
import java.io.BufferedReader; import java.io.BufferedReader;
import java.io.IOException; import java.io.IOException;
......
package ccpit.base.utils; package org.ccpit.base.utils;
import java.util.Map; import java.util.Map;
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
*/ */
package ccpit.base.utils; package org.ccpit.base.utils;
/** /**
* ClassName:OSinfoUtil <br/> * ClassName:OSinfoUtil <br/>
* Function: TODO 判断当前系统类型工具类. <br/> * Function: TODO 判断当前系统类型工具类. <br/>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
*/ */
package ccpit.base.utils; package org.ccpit.base.utils;
import java.lang.reflect.Array; import java.lang.reflect.Array;
import java.util.Arrays; import java.util.Arrays;
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
*/ */
package ccpit.base.utils; package org.ccpit.base.utils;
import java.math.BigInteger; import java.math.BigInteger;
import java.security.NoSuchAlgorithmException; import java.security.NoSuchAlgorithmException;
......
package ccpit.base.utils; package org.ccpit.base.utils;
import java.io.InputStream; import java.io.InputStream;
import java.util.Enumeration; import java.util.Enumeration;
......
package ccpit.base.utils.lucene; package org.ccpit.base.utils.lucene;
import java.io.File; import java.io.File;
import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.store.Directory; import org.apache.lucene.store.Directory;
import org.apache.lucene.store.FSDirectory; import org.apache.lucene.store.FSDirectory;
import ccpit.base.utils.ReadConfigUtil; import org.ccpit.base.utils.ReadConfigUtil;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.wltea.analyzer.lucene.IKAnalyzer; import org.wltea.analyzer.lucene.IKAnalyzer;
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* Copyright (c) 2016, liyang@ccpit.org All Rights Reserved. * Copyright (c) 2016, liyang@ccpit.org All Rights Reserved.
* *
*/ */
package ccpit.base.utils.lucene; package org.ccpit.base.utils.lucene;
import java.io.File; import java.io.File;
import java.io.IOException; import java.io.IOException;
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
*/ */
package ccpit.base.utils.mailUtil; package org.ccpit.base.utils.mailUtil;
import java.io.Serializable; import java.io.Serializable;
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
*/ */
package ccpit.base.utils.mailUtil; package org.ccpit.base.utils.mailUtil;
import java.io.File; import java.io.File;
import java.io.UnsupportedEncodingException; import java.io.UnsupportedEncodingException;
......
package ccpit.base.utils.page; package org.ccpit.base.utils.page;
/** /**
* @author liyang 封装一个排序对象 * @author liyang 封装一个排序对象
......
package ccpit.base.utils.page; package org.ccpit.base.utils.page;
import java.lang.annotation.ElementType; import java.lang.annotation.ElementType;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;
......
package ccpit.base.utils.page; package org.ccpit.base.utils.page;
import java.lang.reflect.Field; import java.lang.reflect.Field;
import java.lang.reflect.Method; import java.lang.reflect.Method;
...@@ -12,13 +12,11 @@ import java.util.Map; ...@@ -12,13 +12,11 @@ import java.util.Map;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import ccpit.base.controller.Convert; import org.ccpit.base.controller.Convert;
import ccpit.base.controller.Page; import org.ccpit.base.controller.Page;
import ccpit.base.controller.PageBo; import org.ccpit.base.controller.PageBo;
import ccpit.base.utils.CommonUtils; import org.ccpit.base.utils.CommonUtils;
import ccpit.base.utils.MethodInterface; import org.ccpit.base.utils.MethodInterface;
/** /**
...@@ -151,7 +149,7 @@ public class PageUtil { ...@@ -151,7 +149,7 @@ public class PageUtil {
return map; return map;
} }
public static <T> PageBo<T> convert(Page<T> page,MethodInterface method){ public static <T> PageBo<T> convert(Page<T> page, MethodInterface method){
if(null == page){ if(null == page){
return null; return null;
} }
......
package ccpit.base.utils.page; package org.ccpit.base.utils.page;
import java.lang.annotation.ElementType; import java.lang.annotation.ElementType;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
*/ */
package ccpit.business.newsManage; package org.ccpit.business.newsManage;
import java.util.Date; import java.util.Date;
...@@ -20,7 +20,7 @@ import javax.persistence.Id; ...@@ -20,7 +20,7 @@ import javax.persistence.Id;
import javax.persistence.OneToOne; import javax.persistence.OneToOne;
import javax.persistence.Table; import javax.persistence.Table;
import ccpit.base.user.User; import org.ccpit.base.user.User;
import org.hibernate.annotations.Where; import org.hibernate.annotations.Where;
/** /**
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
*/ */
package ccpit.business.newsManage; package org.ccpit.business.newsManage;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
...@@ -16,11 +16,11 @@ import java.util.Map; ...@@ -16,11 +16,11 @@ import java.util.Map;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponse;
import ccpit.base.controller.BaseController; import org.ccpit.base.controller.BaseController;
import ccpit.base.controller.Page; import org.ccpit.base.controller.Page;
import ccpit.base.controller.PageRequest; import org.ccpit.base.controller.PageRequest;
import ccpit.base.logManage.LogInfoService; import org.ccpit.base.logManage.LogInfoService;
import ccpit.base.user.User; import org.ccpit.base.user.User;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
......
...@@ -8,9 +8,9 @@ ...@@ -8,9 +8,9 @@
* *
*/ */
package ccpit.business.newsManage; package org.ccpit.business.newsManage;
import ccpit.base.dao.BaseDao; import org.ccpit.base.dao.BaseDao;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
/** /**
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
*/ */
package ccpit.business.newsManage; package org.ccpit.business.newsManage;
import java.io.UnsupportedEncodingException; import java.io.UnsupportedEncodingException;
import java.util.ArrayList; import java.util.ArrayList;
...@@ -24,15 +24,15 @@ import net.sf.json.JSONArray; ...@@ -24,15 +24,15 @@ import net.sf.json.JSONArray;
import org.apache.lucene.document.Field; import org.apache.lucene.document.Field;
import org.apache.lucene.document.Field.Index; import org.apache.lucene.document.Field.Index;
import org.apache.lucene.document.Field.Store; import org.apache.lucene.document.Field.Store;
import ccpit.base.controller.Convert; import org.ccpit.base.controller.Convert;
import ccpit.base.controller.Page; import org.ccpit.base.controller.Page;
import ccpit.base.controller.PageBo; import org.ccpit.base.controller.PageBo;
import ccpit.base.controller.PageRequest; import org.ccpit.base.controller.PageRequest;
import ccpit.base.logManage.LogInfoService; import org.ccpit.base.logManage.LogInfoService;
import ccpit.base.user.User; import org.ccpit.base.user.User;
import ccpit.base.utils.DateConvert; import org.ccpit.base.utils.DateConvert;
import ccpit.base.utils.StringUtil; import org.ccpit.base.utils.StringUtil;
import ccpit.base.utils.page.PageUtil; import org.ccpit.base.utils.page.PageUtil;
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 org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
*/ */
package ccpit.business.noticeManage; package org.ccpit.business.noticeManage;
import java.util.Date; import java.util.Date;
...@@ -20,7 +20,7 @@ import javax.persistence.Id; ...@@ -20,7 +20,7 @@ import javax.persistence.Id;
import javax.persistence.OneToOne; import javax.persistence.OneToOne;
import javax.persistence.Table; import javax.persistence.Table;
import ccpit.base.user.User; import org.ccpit.base.user.User;
import org.hibernate.annotations.Where; import org.hibernate.annotations.Where;
/** /**
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
*/ */
package ccpit.business.noticeManage; package org.ccpit.business.noticeManage;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
...@@ -16,11 +16,11 @@ import java.util.Map; ...@@ -16,11 +16,11 @@ import java.util.Map;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponse;
import ccpit.base.controller.BaseController; import org.ccpit.base.controller.BaseController;
import ccpit.base.controller.Page; import org.ccpit.base.controller.Page;
import ccpit.base.controller.PageRequest; import org.ccpit.base.controller.PageRequest;
import ccpit.base.logManage.LogInfoService; import org.ccpit.base.logManage.LogInfoService;
import ccpit.base.user.User; import org.ccpit.base.user.User;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
...@@ -39,7 +39,7 @@ import org.springframework.web.servlet.ModelAndView; ...@@ -39,7 +39,7 @@ import org.springframework.web.servlet.ModelAndView;
*/ */
@RestController @RestController
@RequestMapping("/business/noticeManage") @RequestMapping("/business/noticeManage")
public class NoticeController extends BaseController{ public class NoticeController extends BaseController {
@Autowired @Autowired
private NoticeService noticeService; private NoticeService noticeService;
......
...@@ -8,9 +8,9 @@ ...@@ -8,9 +8,9 @@
* *
*/ */
package ccpit.business.noticeManage; package org.ccpit.business.noticeManage;
import ccpit.base.dao.BaseDao; import org.ccpit.base.dao.BaseDao;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
/** /**
...@@ -25,7 +25,7 @@ import org.springframework.stereotype.Repository; ...@@ -25,7 +25,7 @@ import org.springframework.stereotype.Repository;
*/ */
@Repository @Repository
public class NoticeDao extends BaseDao<Notice>{ public class NoticeDao extends BaseDao<Notice> {
} }
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
*/ */
package ccpit.business.noticeManage; package org.ccpit.business.noticeManage;
import java.io.UnsupportedEncodingException; import java.io.UnsupportedEncodingException;
import java.util.Date; import java.util.Date;
...@@ -21,14 +21,14 @@ import javax.transaction.Transactional; ...@@ -21,14 +21,14 @@ import javax.transaction.Transactional;
import net.sf.json.JSONArray; import net.sf.json.JSONArray;
import ccpit.base.controller.Convert; import org.ccpit.base.controller.Convert;
import ccpit.base.controller.Page; import org.ccpit.base.controller.Page;
import ccpit.base.controller.PageBo; import org.ccpit.base.controller.PageBo;
import ccpit.base.controller.PageRequest; import org.ccpit.base.controller.PageRequest;
import ccpit.base.logManage.LogInfoService; import org.ccpit.base.logManage.LogInfoService;
import ccpit.base.user.User; import org.ccpit.base.user.User;
import ccpit.base.utils.StringUtil; import org.ccpit.base.utils.StringUtil;
import ccpit.base.utils.page.PageUtil; import org.ccpit.base.utils.page.PageUtil;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
...@@ -143,7 +143,7 @@ public class NoticeService { ...@@ -143,7 +143,7 @@ public class NoticeService {
map.put("id", notice.getId()); map.put("id", notice.getId());
map.put("noticeTitle", notice.getNoticeTitle()); map.put("noticeTitle", notice.getNoticeTitle());
map.put("noticeType", null == notice.getNoticeType() ? "" : 1 == notice.getNoticeType() ? "通知公告" : "政策法规"); map.put("noticeType", null == notice.getNoticeType() ? "" : 1 == notice.getNoticeType() ? "通知公告" : "政策法规");
map.put("createTime",StringUtil.DATE_FORMATE.format(notice.getCreateTime())); map.put("createTime", StringUtil.DATE_FORMATE.format(notice.getCreateTime()));
map.put("clickVolume", notice.getClickVolume()); map.put("clickVolume", notice.getClickVolume());
map.put("creator", notice.getCreator().getUsername()); map.put("creator", notice.getCreator().getUsername());
......
package ccpit.business.questionsManage; package org.ccpit.business.questionsManage;
import java.util.Date; import java.util.Date;
...@@ -10,7 +10,7 @@ import javax.persistence.Id; ...@@ -10,7 +10,7 @@ import javax.persistence.Id;
import javax.persistence.OneToOne; import javax.persistence.OneToOne;
import javax.persistence.Table; import javax.persistence.Table;
import ccpit.base.user.User; import org.ccpit.base.user.User;
import org.hibernate.annotations.Where; import org.hibernate.annotations.Where;
@Entity @Entity
@Where(clause = "deleted='false'") @Where(clause = "deleted='false'")
......
package ccpit.business.questionsManage; package org.ccpit.business.questionsManage;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
...@@ -6,11 +6,11 @@ import java.util.Map; ...@@ -6,11 +6,11 @@ import java.util.Map;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponse;
import ccpit.base.controller.BaseController; import org.ccpit.base.controller.BaseController;
import ccpit.base.controller.Page; import org.ccpit.base.controller.Page;
import ccpit.base.controller.PageRequest; import org.ccpit.base.controller.PageRequest;
import ccpit.base.logManage.LogInfoService; import org.ccpit.base.logManage.LogInfoService;
import ccpit.base.user.User; import org.ccpit.base.user.User;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
...@@ -19,7 +19,7 @@ import org.springframework.web.servlet.ModelAndView; ...@@ -19,7 +19,7 @@ import org.springframework.web.servlet.ModelAndView;
@RestController @RestController
@RequestMapping(value="/business/questionManage") @RequestMapping(value="/business/questionManage")
public class QuestionController extends BaseController{ public class QuestionController extends BaseController {
@Autowired @Autowired
private QuestionService questionService; private QuestionService questionService;
......
package ccpit.business.questionsManage; package org.ccpit.business.questionsManage;
import ccpit.base.dao.BaseDao; import org.ccpit.base.dao.BaseDao;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
@Repository @Repository
public class QuestionDao extends BaseDao<Question>{ public class QuestionDao extends BaseDao<Question> {
} }
package ccpit.business.questionsManage; package org.ccpit.business.questionsManage;
import java.io.UnsupportedEncodingException; import java.io.UnsupportedEncodingException;
import java.util.Date; import java.util.Date;
...@@ -11,14 +11,14 @@ import javax.transaction.Transactional; ...@@ -11,14 +11,14 @@ import javax.transaction.Transactional;
import net.sf.json.JSONArray; import net.sf.json.JSONArray;
import ccpit.base.controller.Convert; import org.ccpit.base.controller.Convert;
import ccpit.base.controller.Page; import org.ccpit.base.controller.Page;
import ccpit.base.controller.PageBo; import org.ccpit.base.controller.PageBo;
import ccpit.base.controller.PageRequest; import org.ccpit.base.controller.PageRequest;
import ccpit.base.logManage.LogInfoService; import org.ccpit.base.logManage.LogInfoService;
import ccpit.base.user.User; import org.ccpit.base.user.User;
import ccpit.base.utils.StringUtil; import org.ccpit.base.utils.StringUtil;
import ccpit.base.utils.page.PageUtil; import org.ccpit.base.utils.page.PageUtil;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
...@@ -115,7 +115,7 @@ public class QuestionService { ...@@ -115,7 +115,7 @@ public class QuestionService {
} }
map.put("id", question.getId()); map.put("id", question.getId());
map.put("title", question.getTitle()); map.put("title", question.getTitle());
map.put("createTime",StringUtil.DATE_FORMATE.format(question.getCreateTime())); map.put("createTime", StringUtil.DATE_FORMATE.format(question.getCreateTime()));
map.put("clickVolume", question.getClickVolume()); map.put("clickVolume", question.getClickVolume());
map.put("creator", question.getCreator().getUsername()); map.put("creator", question.getCreator().getUsername());
......
/** /**
* *
*/ */
package ccpit.business.serviceNetWork; package org.ccpit.business.serviceNetWork;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Id; import javax.persistence.Id;
......
/** /**
* *
*/ */
package ccpit.business.serviceNetWork; package org.ccpit.business.serviceNetWork;
import ccpit.base.dao.BaseDao; import org.ccpit.base.dao.BaseDao;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
/** /**
...@@ -16,6 +16,6 @@ import org.springframework.stereotype.Repository; ...@@ -16,6 +16,6 @@ import org.springframework.stereotype.Repository;
* *
*/ */
@Repository @Repository
public class ServiceNetWorkDao extends BaseDao<ServiceNetWork>{ public class ServiceNetWorkDao extends BaseDao<ServiceNetWork> {
} }
/** /**
* *
*/ */
package ccpit.business.serviceNetWork; package org.ccpit.business.serviceNetWork;
import java.util.List; import java.util.List;
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
*/ */
package ccpit.business.smsManage; package org.ccpit.business.smsManage;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
......
/** /**
* *
*/ */
package ccpit.front.newsInfo; package org.ccpit.front.newsInfo;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
...@@ -9,9 +9,9 @@ import java.util.Map; ...@@ -9,9 +9,9 @@ import java.util.Map;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession; import javax.servlet.http.HttpSession;
import ccpit.base.controller.BaseController; import org.ccpit.base.controller.BaseController;
import ccpit.business.newsManage.NewsInfo; import org.ccpit.business.newsManage.NewsInfo;
import ccpit.business.newsManage.NewsInfoService; import org.ccpit.business.newsManage.NewsInfoService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
......
package ccpit.ueditor; package org.ccpit.ueditor;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;
import java.util.Date; import java.util.Date;
......
package ccpit.ueditor.define; package org.ccpit.ueditor.define;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
......
package ccpit.ueditor.define; package org.ccpit.ueditor.define;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
...@@ -6,7 +6,7 @@ import java.util.Iterator; ...@@ -6,7 +6,7 @@ import java.util.Iterator;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import ccpit.ueditor.Encoder; import org.ccpit.ueditor.Encoder;
/** /**
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" <beans xmlns="http://www.springframework.org/schema/beans"
xmlns:context="http://www.springframework.org/schema/context" xmlns:context="http://www.springframework.org/schema/context"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:task="http://www.springframework.org/schema/task"
xsi:schemaLocation=" xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.2.xsd http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.2.xsd"> http://www.springframework.org/schema/context/spring-context-3.2.xsd http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task.xsd">
<!-- 发送邮件的线程池 --> <!-- 发送邮件的线程池 -->
<bean id="taskExecutor" <bean id="taskExecutor"
...@@ -15,11 +14,11 @@ ...@@ -15,11 +14,11 @@
<property name="maxPoolSize" value="10" /> <property name="maxPoolSize" value="10" />
<property name="queueCapacity" value="25" /> <property name="queueCapacity" value="25" />
</bean> </bean>
<bean id="multipartResolver" class="ccpit.base.controller.MyMultipartResolver"> <!-- <bean id="multipartResolver" class="org.ccpit.base.controller.MyMultipartResolver">
<!-- url中带有example的http请求就不会被multipartResolver先解析--> url中带有example的http请求就不会被multipartResolver先解析
<property name="excludeUrls" value="uploadFile"/> <property name="excludeUrls" value="uploadFile"/>
<property name="maxUploadSize" value="10485760"/> <property name="maxUploadSize" value="10485760"/>
</bean> </bean> -->
<bean id="configProperties" class="org.springframework.beans.factory.config.PropertiesFactoryBean"> <bean id="configProperties" class="org.springframework.beans.factory.config.PropertiesFactoryBean">
<property name="locations"> <property name="locations">
<list> <list>
......
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="security" uri="http://www.ccpit.org/" %>
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
......
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="security" uri="http://www.ccpit.org/" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> <html>
......
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="security" uri="http://www.ccpit.org/" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> <html>
<head> <head>
......
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="security" uri="http://www.ccpit.org/" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html> <html>
<head> <head>
......
<%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="security" uri="http://www.ccpit.org/" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html> <html>
<head> <head>
......
<%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="security" uri="http://www.ccpit.org/" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html> <html>
<head> <head>
......
<%@ page language="java" contentType="text/html; charset=UTF-8" <%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%> pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="security" uri="http://www.ccpit.org/" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> <html>
<head> <head>
......
<%@ page language="java" contentType="text/html; charset=UTF-8" <%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%> pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="security" uri="http://www.ccpit.org/" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> <html>
<head> <head>
...@@ -46,7 +47,7 @@ ...@@ -46,7 +47,7 @@
<table class="edittable" width="100%" border="0"> <table class="edittable" width="100%" border="0">
<tr> <tr>
<td align="right"><span>通知公告标题:</span></td> <td align="right"><span>通知公告标题:</span></td>
<td align="left"> <td align="left" colspan="3">
<input id="titleId" name="noticeTitle" class="easyui-textbox" /> <input id="titleId" name="noticeTitle" class="easyui-textbox" />
</td> </td>
</tr> </tr>
...@@ -55,30 +56,32 @@ ...@@ -55,30 +56,32 @@
<td align="left"> <td align="left">
<input id="noticeTypeId" name="noticeType" class="easyui-combobox" /> <input id="noticeTypeId" name="noticeType" class="easyui-combobox" />
</td> </td>
<td align="right" class="infotatusClass"><span>置顶:</span></td>
<td align="left" class="infotatusClass">
<input id="infotatusId" name="infotatus" class="easyui-combobox" />
</td>
</tr> </tr>
<tr> <tr>
<td width="15%" align="right"><span>通知公告内容:</span></td> <td width="15%" align="right"><span>通知公告内容:</span></td>
<td width="85%" align="left" > <td width="85%" align="left" colspan="3">
<textarea id="noticeContentId" name="noticeContent" rows="15"></textarea> <textarea id="noticeContentId" name="noticeContent" rows="15"></textarea>
</td> </td>
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td></td> <td colspan="3"></td>
</tr> </tr>
<tr> <tr>
<td colspan="2" align="center"> <td colspan="4" align="center">
<a id="buttonId01" href="#" class="easyui-linkbutton" iconCls="icon-ok" onclick="saveData()">保存</a> <a id="buttonId01" href="#" class="easyui-linkbutton" iconCls="icon-ok" onclick="saveData()">保存</a>
<a id="buttonId02" href="#" class="easyui-linkbutton" iconCls="icon-cancel" onclick="closeWindow();">取消</a> <a id="buttonId02" href="#" class="easyui-linkbutton" iconCls="icon-cancel" onclick="closeWindow();">取消</a>
</td> </td>
</tr> </tr>
<tr> <tr>
<td ></td> <td colspan="4"></td>
<td></td>
</tr> </tr>
<tr> <tr>
<td ></td> <td colspan="4"></td>
<td></td>
</tr> </tr>
</table> </table>
</form> </form>
......
<%@ page language="java" contentType="text/html; charset=UTF-8" <%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%> pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="security" uri="http://www.ccpit.org/" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> <html>
<head> <head>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
pageEncoding="UTF-8"%> pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="security" uri="http://www.ccpit.org/"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<html lang="en"> <html lang="en">
<head> <head>
......
<%@ page language="java" contentType="text/html; charset=UTF-8" <%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8" %> pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="security" uri="http://www.ccpit.org/"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>中国国际贸易促进委员会原产地证申报系统</title> <title>中国国际贸易促进委员会原产地证申报系统</title>
<link href="/resource/front/css/bootstrap.min.css" rel="stylesheet"> <link href="/resource/front/css/bootstrap.min.css" rel="stylesheet">
<link href="/resource/front/css/style.css" rel="stylesheet"> <link href="/resource/front/css/style.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" <link rel="stylesheet" type="text/css"
href="/resource/front/css/costom_css_tongzhigonggao.css"> href="/resource/front/css/costom_css_tongzhigonggao.css">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]> <!--[if lt IE 9]>
<script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script> <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script> <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]--> <![endif]-->
</head> </head>
<body> <body>
<jsp:include page="header.jsp"/> <jsp:include page="header.jsp" />
<div class="row content"> <div class="row content">
<div class="col-sm-12 col-md-12 "> <div class="col-sm-12 col-md-12 ">
<!-- <div class="thumbnail"> --> <!-- <div class="thumbnail"> -->
<!-- <div class="caption"> --> <!-- <div class="caption"> -->
...@@ -32,18 +32,18 @@ ...@@ -32,18 +32,18 @@
<!-- </div> --> <!-- </div> -->
<!-- </div> --> <!-- </div> -->
</div> </div>
</div> </div>
<button type="button" <button type="button"
class="btn btn-lg costom_middle_button" class="btn btn-lg costom_middle_button"
style="font-width: bold;cursor:default;color:#fff;">${id eq '1' ? '通知公告': '政策法规'}</button> style="font-width: bold;cursor:default;color:#fff;">${id eq '1' ? '通知公告': '政策法规'}</button>
<div class="row content"> <div class="row content">
<div class="col-sm-12 col-md-12"> <div class="col-sm-12 col-md-12">
<div class="thumbnail"> <div class="thumbnail">
<div class="caption costom_table_captionDiv"> <div class="caption costom_table_captionDiv">
<input id="newsType" type="hidden" value="${id}"/> <input id="newsType" type="hidden" value="${id}" />
<table class="table table-striped costom_table"> <table class="table table-striped costom_table">
<thead class="costom_table_thead"> <thead class="costom_table_thead">
<tr> <tr>
...@@ -60,39 +60,42 @@ ...@@ -60,39 +60,42 @@
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<!-- 客服文件 -->
<jsp:include page="customerService.jsp" />
<jsp:include page="footer.jsp"/> <jsp:include page="footer.jsp" />
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="/resource/front/js/jquery.min.js"></script> <script src="/resource/front/js/jquery.min.js"></script>
<script src="/resource/front/commonUtils.js"></script> <script src="/resource/front/commonUtils.js"></script>
<script src="/resource/front/jqPaginator.js"></script> <script src="/resource/front/jqPaginator.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed --> <!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="/resource/front/js/bootstrap.min.js"></script> <script src="/resource/front/js/bootstrap.min.js"></script>
<script rel="script" type="text/javascript"> <script rel="script" type="text/javascript">
/** /**
* Created by Administrator on 2017/4/21. * Created by Administrator on 2017/4/21.
*/ */
$(document).ready(function () { $(document).ready(function() {
$("#search").click(function () { $("#search").click(function() {
$("#popsearch").slideDown("slow"); $("#popsearch").slideDown("slow");
}); });
$("#popsearch .gb_btn").click(function () { $("#popsearch .gb_btn").click(function() {
$("#popsearch").slideUp("slow"); $("#popsearch").slideUp("slow");
}); });
var param = ""; var param = "";
initData(function (param) { initData(function(param) {
var newsType = $("#newsType").val(); var newsType = $("#newsType").val();
param = '"noticeType":' + newsType; param = '"noticeType":' + newsType;
return param; return param;
}, '/front/aboutNotice', '/front/aboutNoticeContent'); }, '/front/aboutNotice', '/front/aboutNoticeContent');
}); });
$(function () { $(function() {
$('[data-toggle="popover"]').popover() $('[data-toggle="popover"]').popover()
}) })
</script> </script>
<script src="/resource/front/js/aside_fade.js"></script> <script src="/resource/front/js/aside_fade.js"></script>
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
pageEncoding="UTF-8"%> pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="security" uri="http://www.ccpit.org/"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<html> <html>
<head> <head>
...@@ -77,8 +77,8 @@ ...@@ -77,8 +77,8 @@
</div> </div>
<!-- 客服文件 -->
<jsp:include page="customerService.jsp" />
<jsp:include page="footer.jsp" /> <jsp:include page="footer.jsp" />
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
pageEncoding="UTF-8"%> pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="security" uri="http://www.ccpit.org/"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<html> <html>
<head> <head>
...@@ -70,8 +70,8 @@ ...@@ -70,8 +70,8 @@
</div> </div>
<!-- 客服文件 -->
<jsp:include page="customerService.jsp" />
<jsp:include page="footer.jsp" /> <jsp:include page="footer.jsp" />
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
pageEncoding="UTF-8"%> pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="security" uri="http://www.ccpit.org/"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<html lang="en"> <html lang="en">
<head> <head>
......
<%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="security" uri="http://www.ccpit.org/" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html> <html>
<head> <head>
...@@ -11,7 +12,7 @@ ...@@ -11,7 +12,7 @@
<script src="<c:url value='/resource/login/js/jquery.js'/>" type="text/javascript"></script> <script src="<c:url value='/resource/login/js/jquery.js'/>" type="text/javascript"></script>
<script src="<c:url value='/resource/login/js/cloud.js '/>" type="text/javascript"></script> <script src="<c:url value='/resource/login/js/cloud.js '/>" type="text/javascript"></script>
<script src="<c:url value='/resource/login/js/login.js'/>"></script> <script src="<c:url value='/resource/login/js/login.js'/>"></script>
<title>中国贸促会原产地证官网系统</title> <title>中国贸促会臺港澳企業服務中心官网系统</title>
<script language="javascript"> <script language="javascript">
</script> </script>
<style type="text/css"> <style type="text/css">
...@@ -44,7 +45,7 @@ ...@@ -44,7 +45,7 @@
<div id="cloud2" class="cloud"></div> <div id="cloud2" class="cloud"></div>
</div> </div>
<div class="logintop"> <div class="logintop">
<span>欢迎登录中国贸促会原产地证官网系统官网系统</span> <span>欢迎登录中国贸促会臺港澳企業服務中心官网系统</span>
<ul> <ul>
<li><a href="/">回首页</a></li> <li><a href="/">回首页</a></li>
<li><a href="#">帮助</a></li> <li><a href="#">帮助</a></li>
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd"> <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
"http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
<taglib> <taglib>
<tlibversion>1.0</tlibversion> <tlibversion>1.0</tlibversion>
<jspversion>2.0</jspversion> <jspversion>2.0</jspversion>
<shortname>security</shortname> <shortname>security</shortname>
<tag> <tag>
<name>url</name> <name>url</name>
<tagclass>ccpit.base.security.SecurityUriTag</tagclass> <tagclass>org.ccpit.base.security.SecurityUriTag</tagclass>
<bodycontent>jsp</bodycontent> <bodycontent>JSP</bodycontent>
<attribute> <attribute>
<name>uri</name> <name>uri</name>
<required>true</required> <required>true</required>
...@@ -17,8 +18,8 @@ ...@@ -17,8 +18,8 @@
<tag> <tag>
<name>allRole</name> <name>allRole</name>
<tagclass>ccpit.base.security.SecurityAllRoleTag</tagclass> <tagclass>org.ccpit.base.security.SecurityAllRoleTag</tagclass>
<bodycontent>jsp</bodycontent> <bodycontent>JSP</bodycontent>
<attribute> <attribute>
<name>roles</name> <name>roles</name>
<required>true</required> <required>true</required>
...@@ -28,8 +29,8 @@ ...@@ -28,8 +29,8 @@
<tag> <tag>
<name>anyRole</name> <name>anyRole</name>
<tagclass>ccpit.base.security.SecurityAnyRoleTag</tagclass> <tagclass>org.ccpit.base.security.SecurityAnyRoleTag</tagclass>
<bodycontent>jsp</bodycontent> <bodycontent>JSP</bodycontent>
<attribute> <attribute>
<name>roles</name> <name>roles</name>
<required>true</required> <required>true</required>
...@@ -39,8 +40,8 @@ ...@@ -39,8 +40,8 @@
<tag> <tag>
<name>allGroup</name> <name>allGroup</name>
<tagclass>ccpit.base.security.SecurityAllGroupTag</tagclass> <tagclass>org.ccpit.base.security.SecurityAllGroupTag</tagclass>
<bodycontent>jsp</bodycontent> <bodycontent>JSP</bodycontent>
<attribute> <attribute>
<name>groups</name> <name>groups</name>
<required>true</required> <required>true</required>
...@@ -50,8 +51,9 @@ ...@@ -50,8 +51,9 @@
<tag> <tag>
<name>anyGroup</name> <name>anyGroup</name>
<tagclass>ccpit.base.security.SecurityAnyGroupTag</tagclass> <tagclass>org.ccpit.base.security.SecurityAnyGroupTag</tagclass>
<bodycontent>jsp</bodycontent> <bodycontent>JSP</bodycontent>
<attribute> <attribute>
<name>groups</name> <name>groups</name>
<required>true</required> <required>true</required>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment