Parcourir la source

五个后台接口(登录,角色,模块权限,公司,用户信息)

limiao il y a 4 ans
Parent
commit
4c06d41061
48 fichiers modifiés avec 9879 ajouts et 2 suppressions
  1. 180 0
      src/main/java/com/gyee/frame/controller/gen/GyeeorganController.java
  2. 181 0
      src/main/java/com/gyee/frame/controller/gen/GyeepermissionController.java
  3. 178 0
      src/main/java/com/gyee/frame/controller/gen/GyeeroleController.java
  4. 183 0
      src/main/java/com/gyee/frame/controller/gen/GyeeuserController.java
  5. 180 0
      src/main/java/com/gyee/frame/controller/gen/GyeeuserinformationController.java
  6. 40 0
      src/main/java/com/gyee/frame/mapper/auto/GyeeorganMapper.java
  7. 40 0
      src/main/java/com/gyee/frame/mapper/auto/GyeepermissionMapper.java
  8. 40 0
      src/main/java/com/gyee/frame/mapper/auto/GyeeroleMapper.java
  9. 42 0
      src/main/java/com/gyee/frame/mapper/auto/GyeeuserMapper.java
  10. 40 0
      src/main/java/com/gyee/frame/mapper/auto/GyeeuserinformationMapper.java
  11. 87 0
      src/main/java/com/gyee/frame/model/auto/Gyeeorgan.java
  12. 493 0
      src/main/java/com/gyee/frame/model/auto/GyeeorganExample.java
  13. 143 0
      src/main/java/com/gyee/frame/model/auto/Gyeepermission.java
  14. 777 0
      src/main/java/com/gyee/frame/model/auto/GyeepermissionExample.java
  15. 135 0
      src/main/java/com/gyee/frame/model/auto/GyeepermissionView.java
  16. 73 0
      src/main/java/com/gyee/frame/model/auto/Gyeerole.java
  17. 422 0
      src/main/java/com/gyee/frame/model/auto/GyeeroleExample.java
  18. 87 0
      src/main/java/com/gyee/frame/model/auto/Gyeeuser.java
  19. 493 0
      src/main/java/com/gyee/frame/model/auto/GyeeuserExample.java
  20. 171 0
      src/main/java/com/gyee/frame/model/auto/Gyeeuserinformation.java
  21. 919 0
      src/main/java/com/gyee/frame/model/auto/GyeeuserinformationExample.java
  22. 153 0
      src/main/java/com/gyee/frame/service/GyeeorganService.java
  23. 210 0
      src/main/java/com/gyee/frame/service/GyeepermissionService.java
  24. 153 0
      src/main/java/com/gyee/frame/service/GyeeroleService.java
  25. 153 0
      src/main/java/com/gyee/frame/service/GyeeuserService.java
  26. 153 0
      src/main/java/com/gyee/frame/service/GyeeuserinformationService.java
  27. 1 1
      src/main/resources/application-dev.yml
  28. 1 1
      src/main/resources/application.yml
  29. 240 0
      src/main/resources/mybatis/auto/GyeeorganMapper.xml
  30. 320 0
      src/main/resources/mybatis/auto/GyeepermissionMapper.xml
  31. 220 0
      src/main/resources/mybatis/auto/GyeeroleMapper.xml
  32. 240 0
      src/main/resources/mybatis/auto/GyeeuserMapper.xml
  33. 360 0
      src/main/resources/mybatis/auto/GyeeuserinformationMapper.xml
  34. 155 0
      src/main/resources/templates/gen/gyeeorgan/add.html
  35. 126 0
      src/main/resources/templates/gen/gyeeorgan/edit.html
  36. 230 0
      src/main/resources/templates/gen/gyeeorgan/list.html
  37. 187 0
      src/main/resources/templates/gen/gyeepermission/add.html
  38. 158 0
      src/main/resources/templates/gen/gyeepermission/edit.html
  39. 262 0
      src/main/resources/templates/gen/gyeepermission/list.html
  40. 147 0
      src/main/resources/templates/gen/gyeerole/add.html
  41. 118 0
      src/main/resources/templates/gen/gyeerole/edit.html
  42. 222 0
      src/main/resources/templates/gen/gyeerole/list.html
  43. 155 0
      src/main/resources/templates/gen/gyeeuser/add.html
  44. 126 0
      src/main/resources/templates/gen/gyeeuser/edit.html
  45. 230 0
      src/main/resources/templates/gen/gyeeuser/list.html
  46. 203 0
      src/main/resources/templates/gen/gyeeuserinformation/add.html
  47. 174 0
      src/main/resources/templates/gen/gyeeuserinformation/edit.html
  48. 278 0
      src/main/resources/templates/gen/gyeeuserinformation/list.html

+ 180 - 0
src/main/java/com/gyee/frame/controller/gen/GyeeorganController.java

@@ -0,0 +1,180 @@
+package com.gyee.frame.controller.gen;
+
+import java.util.List;
+
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.ResponseBody;
+import com.github.pagehelper.PageInfo;
+import com.gyee.frame.common.base.BaseController;
+import com.gyee.frame.common.domain.AjaxResult;
+import com.gyee.frame.model.auto.Gyeeorgan;
+import com.gyee.frame.model.auto.Gyeerole;
+import com.gyee.frame.model.custom.TableSplitResult;
+import com.gyee.frame.model.custom.Tablepar;
+import com.gyee.frame.model.custom.TitleVo;
+import com.gyee.frame.service.GyeeorganService;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+
+@Controller
+@RequestMapping("GyeeorganController")
+@Api(value = "")
+public class GyeeorganController extends BaseController{
+	
+	private String prefix = "gen/gyeeorgan";
+	@Autowired
+	private GyeeorganService gyeeorganService;
+	
+	@GetMapping("view")
+	@RequiresPermissions("gen:gyeeorgan:view")
+    public String view(ModelMap model)
+    {	
+		String str="";
+		setTitle(model, new TitleVo("列表", str+"管理", true,"欢迎进入"+str+"页面", true, false));
+        return prefix + "/list";
+    }
+	
+	/**
+	 * 
+		 *@author:Li Miao
+		 *
+		 *@description: 获取风电场权限
+		 *
+		 *@param:userid
+		 *
+		 *@return:
+		 *
+		 *@createTime:2020年4月17日
+		 *
+	 */
+	@GetMapping("/GyeeOrganList")
+	@ResponseBody
+	public AjaxResult getOrgan(String userid){
+		List<Gyeeorgan> list=gyeeorganService.queryOrganByUserId(userid);
+		if(list.isEmpty()){
+			return AjaxResult.error(500, "无法获取风场权限");
+			
+		}else{
+			return AjaxResult.successData(200, list);
+		}
+	}
+	
+	
+	//@Log(title = "集合查询", action = "111")
+	@PostMapping("list")
+	@RequiresPermissions("gen:gyeeorgan:list")
+	@ResponseBody
+	public Object list(Tablepar tablepar,String searchText){
+		PageInfo<Gyeeorgan> page=gyeeorganService.list(tablepar,searchText) ; 
+		TableSplitResult<Gyeeorgan> result=new TableSplitResult<Gyeeorgan>(page.getPageNum(), page.getTotal(), page.getList()); 
+		return  result;
+	}
+	
+	/**
+     * 新增
+     */
+
+    @GetMapping("/add")
+    public String add(ModelMap modelMap)
+    {
+        return prefix + "/add";
+    }
+	
+	//@Log(title = "新增", action = "111")
+	@PostMapping("add")
+	@RequiresPermissions("gen:gyeeorgan:add")
+	@ResponseBody
+	public AjaxResult add(Gyeeorgan gyeeorgan){
+		int b=gyeeorganService.insertSelective(gyeeorgan);
+		if(b>0){
+			return success();
+		}else{
+			return error();
+		}
+	}
+	
+	/**
+	 * 删除用户
+	 * @param ids
+	 * @return
+	 */
+	//@Log(title = "删除", action = "111")
+	@PostMapping("remove")
+	@RequiresPermissions("gen:gyeeorgan:remove")
+	@ResponseBody
+	public AjaxResult remove(String ids){
+		int b=gyeeorganService.deleteByPrimaryKey(ids);
+		if(b>0){
+			return success();
+		}else{
+			return error();
+		}
+	}
+	
+	/**
+	 * 检查用户
+	 * @param tsysUser
+	 * @return
+	 */
+	@PostMapping("checkNameUnique")
+	@ResponseBody
+	public int checkNameUnique(Gyeeorgan gyeeorgan){
+		int b=gyeeorganService.checkNameUnique(gyeeorgan);
+		if(b>0){
+			return 1;
+		}else{
+			return 0;
+		}
+	}
+	
+	
+	/**
+	 * 修改跳转
+	 * @param id
+	 * @param mmap
+	 * @return
+	 */
+	@GetMapping("/edit/{id}")
+    public String edit(@PathVariable("id") String id, ModelMap mmap)
+    {
+        mmap.put("Gyeeorgan", gyeeorganService.selectByPrimaryKey(id));
+
+        return prefix + "/edit";
+    }
+	
+	/**
+     * 修改保存
+     */
+    //@Log(title = "修改", action = "111")
+    @RequiresPermissions("gen:gyeeorgan:edit")
+    @PostMapping("/edit")
+    @ResponseBody
+    public AjaxResult editSave(Gyeeorgan record)
+    {
+        return toAjax(gyeeorganService.updateByPrimaryKeySelective(record));
+    }
+
+    
+    /**
+   	 * 根据主键查询
+   	 * 
+   	 * @param id
+   	 * @param mmap
+   	 * @return
+   	 */
+   	@PostMapping("/get/{id}")
+   	@ApiOperation(value = "根据id查询唯一", notes = "根据id查询唯一")
+   	public Gyeeorgan edit(@PathVariable("id") String id) {
+   		return gyeeorganService.selectByPrimaryKey(id);
+   	}
+    
+
+	
+}

+ 181 - 0
src/main/java/com/gyee/frame/controller/gen/GyeepermissionController.java

@@ -0,0 +1,181 @@
+package com.gyee.frame.controller.gen;
+
+import java.util.List;
+
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.ResponseBody;
+import com.github.pagehelper.PageInfo;
+import com.gyee.frame.common.base.BaseController;
+import com.gyee.frame.common.domain.AjaxResult;
+import com.gyee.frame.model.auto.Gyeepermission;
+import com.gyee.frame.model.auto.GyeepermissionView;
+import com.gyee.frame.model.auto.Gyeerole;
+import com.gyee.frame.model.custom.TableSplitResult;
+import com.gyee.frame.model.custom.Tablepar;
+import com.gyee.frame.model.custom.TitleVo;
+import com.gyee.frame.service.GyeepermissionService;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+
+@Controller
+@RequestMapping("GyeepermissionController")
+@Api(value = "")
+public class GyeepermissionController extends BaseController{
+	
+	private String prefix = "gen/gyeepermission";
+	@Autowired
+	private GyeepermissionService gyeepermissionService;
+	
+	@GetMapping("view")
+	@RequiresPermissions("gen:gyeepermission:view")
+    public String view(ModelMap model)
+    {	
+		String str="";
+		setTitle(model, new TitleVo("列表", str+"管理", true,"欢迎进入"+str+"页面", true, false));
+        return prefix + "/list";
+    }
+	
+	/**
+	 * 
+		 *@author:Li Miao
+		 *
+		 *@description: 得到模块权限
+		 *
+		 *@param:roleId
+		 *
+		 *@return:
+		 *
+		 *@createTime:2020年4月20日
+		 *
+	 */
+	@GetMapping("/GyeePermissionList")
+	@ResponseBody
+	public AjaxResult getPermission(String userid){
+		List<GyeepermissionView> list=gyeepermissionService.queryPermissionByRoleId(userid);
+		if(list.isEmpty()){
+			return AjaxResult.error(500, "无法获取权限");
+			
+		}else{
+			return AjaxResult.successData(200, list);
+		}
+	}
+	
+	
+	//@Log(title = "集合查询", action = "111")
+	@PostMapping("list")
+	@RequiresPermissions("gen:gyeepermission:list")
+	@ResponseBody
+	public Object list(Tablepar tablepar,String searchText){
+		PageInfo<Gyeepermission> page=gyeepermissionService.list(tablepar,searchText) ; 
+		TableSplitResult<Gyeepermission> result=new TableSplitResult<Gyeepermission>(page.getPageNum(), page.getTotal(), page.getList()); 
+		return  result;
+	}
+	
+	/**
+     * 新增
+     */
+
+    @GetMapping("/add")
+    public String add(ModelMap modelMap)
+    {
+        return prefix + "/add";
+    }
+	
+	//@Log(title = "新增", action = "111")
+	@PostMapping("add")
+	@RequiresPermissions("gen:gyeepermission:add")
+	@ResponseBody
+	public AjaxResult add(Gyeepermission gyeepermission){
+		int b=gyeepermissionService.insertSelective(gyeepermission);
+		if(b>0){
+			return success();
+		}else{
+			return error();
+		}
+	}
+	
+	/**
+	 * 删除用户
+	 * @param ids
+	 * @return
+	 */
+	//@Log(title = "删除", action = "111")
+	@PostMapping("remove")
+	@RequiresPermissions("gen:gyeepermission:remove")
+	@ResponseBody
+	public AjaxResult remove(String ids){
+		int b=gyeepermissionService.deleteByPrimaryKey(ids);
+		if(b>0){
+			return success();
+		}else{
+			return error();
+		}
+	}
+	
+	/**
+	 * 检查用户
+	 * @param tsysUser
+	 * @return
+	 */
+	@PostMapping("checkNameUnique")
+	@ResponseBody
+	public int checkNameUnique(Gyeepermission gyeepermission){
+		int b=gyeepermissionService.checkNameUnique(gyeepermission);
+		if(b>0){
+			return 1;
+		}else{
+			return 0;
+		}
+	}
+	
+	
+	/**
+	 * 修改跳转
+	 * @param id
+	 * @param mmap
+	 * @return
+	 */
+	@GetMapping("/edit/{id}")
+    public String edit(@PathVariable("id") String id, ModelMap mmap)
+    {
+        mmap.put("Gyeepermission", gyeepermissionService.selectByPrimaryKey(id));
+
+        return prefix + "/edit";
+    }
+	
+	/**
+     * 修改保存
+     */
+    //@Log(title = "修改", action = "111")
+    @RequiresPermissions("gen:gyeepermission:edit")
+    @PostMapping("/edit")
+    @ResponseBody
+    public AjaxResult editSave(Gyeepermission record)
+    {
+        return toAjax(gyeepermissionService.updateByPrimaryKeySelective(record));
+    }
+
+    
+    /**
+   	 * 根据主键查询
+   	 * 
+   	 * @param id
+   	 * @param mmap
+   	 * @return
+   	 */
+   	@PostMapping("/get/{id}")
+   	@ApiOperation(value = "根据id查询唯一", notes = "根据id查询唯一")
+   	public Gyeepermission edit(@PathVariable("id") String id) {
+   		return gyeepermissionService.selectByPrimaryKey(id);
+   	}
+    
+
+	
+}

+ 178 - 0
src/main/java/com/gyee/frame/controller/gen/GyeeroleController.java

@@ -0,0 +1,178 @@
+package com.gyee.frame.controller.gen;
+
+import java.util.List;
+
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.ResponseBody;
+import com.github.pagehelper.PageInfo;
+import com.gyee.frame.common.base.BaseController;
+import com.gyee.frame.common.domain.AjaxResult;
+import com.gyee.frame.model.auto.Gyeerole;
+import com.gyee.frame.model.custom.TableSplitResult;
+import com.gyee.frame.model.custom.Tablepar;
+import com.gyee.frame.model.custom.TitleVo;
+import com.gyee.frame.service.GyeeroleService;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+
+@Controller
+@RequestMapping("GyeeroleController")
+@Api(value = "")
+public class GyeeroleController extends BaseController{
+	
+	private String prefix = "gen/gyeerole";
+	@Autowired
+	private GyeeroleService gyeeroleService;
+	
+	@GetMapping("view")
+	@RequiresPermissions("gen:gyeerole:view")
+    public String view(ModelMap model)
+    {	
+		String str="";
+		setTitle(model, new TitleVo("列表", str+"管理", true,"欢迎进入"+str+"页面", true, false));
+        return prefix + "/list";
+    }
+	
+	/**
+	 * 
+		 *@author:Li Miao
+		 *
+		 *@description: 获取用户角色
+		 *
+		 *@param:userid
+		 *
+		 *@return:
+		 *
+		 *@createTime:2020年4月16日
+		 *
+	 */
+	@GetMapping("/GyeeRoleList")
+	@ResponseBody
+	public AjaxResult getRole(String userid){
+		List<Gyeerole> list=gyeeroleService.queryRoleByUserId(userid);
+		if(list.isEmpty()){
+			return AjaxResult.error(500, "无法获取角色");
+			
+		}else{
+			return AjaxResult.successData(200, list);
+		}
+	}
+	
+	//@Log(title = "集合查询", action = "111")
+	@PostMapping("list")
+	@RequiresPermissions("gen:gyeerole:list")
+	@ResponseBody
+	public Object list(Tablepar tablepar,String searchText){
+		PageInfo<Gyeerole> page=gyeeroleService.list(tablepar,searchText) ; 
+		TableSplitResult<Gyeerole> result=new TableSplitResult<Gyeerole>(page.getPageNum(), page.getTotal(), page.getList()); 
+		return  result;
+	}
+	
+	/**
+     * 新增
+     */
+
+    @GetMapping("/add")
+    public String add(ModelMap modelMap)
+    {
+        return prefix + "/add";
+    }
+	
+	//@Log(title = "新增", action = "111")
+	@PostMapping("add")
+	@RequiresPermissions("gen:gyeerole:add")
+	@ResponseBody
+	public AjaxResult add(Gyeerole gyeerole){
+		int b=gyeeroleService.insertSelective(gyeerole);
+		if(b>0){
+			return success();
+		}else{
+			return error();
+		}
+	}
+	
+	/**
+	 * 删除用户
+	 * @param ids
+	 * @return
+	 */
+	//@Log(title = "删除", action = "111")
+	@PostMapping("remove")
+	@RequiresPermissions("gen:gyeerole:remove")
+	@ResponseBody
+	public AjaxResult remove(String ids){
+		int b=gyeeroleService.deleteByPrimaryKey(ids);
+		if(b>0){
+			return success();
+		}else{
+			return error();
+		}
+	}
+	
+	/**
+	 * 检查用户
+	 * @param tsysUser
+	 * @return
+	 */
+	@PostMapping("checkNameUnique")
+	@ResponseBody
+	public int checkNameUnique(Gyeerole gyeerole){
+		int b=gyeeroleService.checkNameUnique(gyeerole);
+		if(b>0){
+			return 1;
+		}else{
+			return 0;
+		}
+	}
+	
+	
+	/**
+	 * 修改跳转
+	 * @param id
+	 * @param mmap
+	 * @return
+	 */
+	@GetMapping("/edit/{id}")
+    public String edit(@PathVariable("id") String id, ModelMap mmap)
+    {
+        mmap.put("Gyeerole", gyeeroleService.selectByPrimaryKey(id));
+
+        return prefix + "/edit";
+    }
+	
+	/**
+     * 修改保存
+     */
+    //@Log(title = "修改", action = "111")
+    @RequiresPermissions("gen:gyeerole:edit")
+    @PostMapping("/edit")
+    @ResponseBody
+    public AjaxResult editSave(Gyeerole record)
+    {
+        return toAjax(gyeeroleService.updateByPrimaryKeySelective(record));
+    }
+
+    
+    /**
+   	 * 根据主键查询
+   	 * 
+   	 * @param id
+   	 * @param mmap
+   	 * @return
+   	 */
+   	@PostMapping("/get/{id}")
+   	@ApiOperation(value = "根据id查询唯一", notes = "根据id查询唯一")
+   	public Gyeerole edit(@PathVariable("id") String id) {
+   		return gyeeroleService.selectByPrimaryKey(id);
+   	}
+    
+
+	
+}

+ 183 - 0
src/main/java/com/gyee/frame/controller/gen/GyeeuserController.java

@@ -0,0 +1,183 @@
+package com.gyee.frame.controller.gen;
+
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.ResponseBody;
+import com.github.pagehelper.PageInfo;
+import com.gyee.frame.common.base.BaseController;
+import com.gyee.frame.common.domain.AjaxResult;
+import com.gyee.frame.model.auto.Gyeeuser;
+import com.gyee.frame.model.custom.TableSplitResult;
+import com.gyee.frame.model.custom.Tablepar;
+import com.gyee.frame.model.custom.TitleVo;
+import com.gyee.frame.netty.websocket.util.SocketToolController;
+import com.gyee.frame.service.GyeeuserService;
+
+import io.lettuce.core.dynamic.annotation.Param;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+
+@Controller
+@RequestMapping("GyeeuserController")
+@Api(value = "")
+public class GyeeuserController extends SocketToolController{
+	
+	private String prefix = "gen/gyeeuser";
+	@Autowired
+	private GyeeuserService gyeeuserService;
+	
+	@GetMapping("view")
+	@RequiresPermissions("gen:gyeeuser:view")
+    public String view(ModelMap model)
+    {	
+		String str="";
+		setTitle(model, new TitleVo("列表", str+"管理", true,"欢迎进入"+str+"页面", true, false));
+        return prefix + "/list";
+    }
+	
+	/**
+	 * 
+		 *@author:Li Miao
+		 *
+		 *@description: 登录接口
+		 *
+		 *@param:username,password
+		 *
+		 *@return:
+		 *
+		 *@createTime:2020年4月16日
+		 *
+	 */
+	@GetMapping("/login")
+	@ResponseBody
+	public AjaxResult login(String username,String password){
+		Gyeeuser gyeeuser=new Gyeeuser();
+		gyeeuser.setUsername(username);
+		gyeeuser.setPassword(password);
+		String id=gyeeuserService.queryIdByUserNamePassWord(gyeeuser);
+		if(id!=""&&id!=null){
+			return AjaxResult.successData(200, id);
+			
+		}else{			
+			return AjaxResult.successData(200, "-1");
+		}
+	}
+	
+	
+	//@Log(title = "集合查询", action = "111")
+	@PostMapping("list")
+	@RequiresPermissions("gen:gyeeuser:list")
+	@ResponseBody
+	public Object list(Tablepar tablepar,String searchText){
+		PageInfo<Gyeeuser> page=gyeeuserService.list(tablepar,searchText) ; 
+		TableSplitResult<Gyeeuser> result=new TableSplitResult<Gyeeuser>(page.getPageNum(), page.getTotal(), page.getList()); 
+		return  result;
+	}
+	
+	/**
+     * 新增
+     */
+
+    @GetMapping("/add")
+    public String add(ModelMap modelMap)
+    {
+        return prefix + "/add";
+    }
+	
+	//@Log(title = "新增", action = "111")
+	@PostMapping("add")
+	@RequiresPermissions("gen:gyeeuser:add")
+	@ResponseBody
+	public AjaxResult add(Gyeeuser gyeeuser){
+		int b=gyeeuserService.insertSelective(gyeeuser);
+		if(b>0){
+			return success();
+		}else{
+			return error();
+		}
+	}
+	
+	/**
+	 * 删除用户
+	 * @param ids
+	 * @return
+	 */
+	//@Log(title = "删除", action = "111")
+	@PostMapping("remove")
+	@RequiresPermissions("gen:gyeeuser:remove")
+	@ResponseBody
+	public AjaxResult remove(String ids){
+		int b=gyeeuserService.deleteByPrimaryKey(ids);
+		if(b>0){
+			return success();
+		}else{
+			return error();
+		}
+	}
+	
+	/**
+	 * 检查用户
+	 * @param tsysUser
+	 * @return
+	 */
+	@PostMapping("checkNameUnique")
+	@ResponseBody
+	public int checkNameUnique(Gyeeuser gyeeuser){
+		int b=gyeeuserService.checkNameUnique(gyeeuser);
+		if(b>0){
+			return 1;
+		}else{
+			return 0;
+		}
+	}
+	
+	
+	/**
+	 * 修改跳转
+	 * @param id
+	 * @param mmap
+	 * @return
+	 */
+	@GetMapping("/edit/{id}")
+    public String edit(@PathVariable("id") String id, ModelMap mmap)
+    {
+        mmap.put("Gyeeuser", gyeeuserService.selectByPrimaryKey(id));
+
+        return prefix + "/edit";
+    }
+	
+	/**
+     * 修改保存
+     */
+    //@Log(title = "修改", action = "111")
+    @RequiresPermissions("gen:gyeeuser:edit")
+    @PostMapping("/edit")
+    @ResponseBody
+    public AjaxResult editSave(Gyeeuser record)
+    {
+        return toAjax(gyeeuserService.updateByPrimaryKeySelective(record));
+    }
+
+    
+    /**
+   	 * 根据主键查询
+   	 * 
+   	 * @param id
+   	 * @param mmap
+   	 * @return
+   	 */
+   	@PostMapping("/get/{id}")
+   	@ApiOperation(value = "根据id查询唯一", notes = "根据id查询唯一")
+   	public Gyeeuser edit(@PathVariable("id") String id) {
+   		return gyeeuserService.selectByPrimaryKey(id);
+   	}
+    
+
+	
+}

+ 180 - 0
src/main/java/com/gyee/frame/controller/gen/GyeeuserinformationController.java

@@ -0,0 +1,180 @@
+package com.gyee.frame.controller.gen;
+
+import java.util.List;
+
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.ResponseBody;
+import com.github.pagehelper.PageInfo;
+import com.gyee.frame.common.base.BaseController;
+import com.gyee.frame.common.domain.AjaxResult;
+import com.gyee.frame.model.auto.Gyeerole;
+import com.gyee.frame.model.auto.Gyeeuserinformation;
+import com.gyee.frame.model.custom.TableSplitResult;
+import com.gyee.frame.model.custom.Tablepar;
+import com.gyee.frame.model.custom.TitleVo;
+import com.gyee.frame.service.GyeeuserinformationService;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+
+@Controller
+@RequestMapping("GyeeuserinformationController")
+@Api(value = "")
+public class GyeeuserinformationController extends BaseController{
+	
+	private String prefix = "gen/gyeeuserinformation";
+	@Autowired
+	private GyeeuserinformationService gyeeuserinformationService;
+	
+	@GetMapping("view")
+	@RequiresPermissions("gen:gyeeuserinformation:view")
+    public String view(ModelMap model)
+    {	
+		String str="";
+		setTitle(model, new TitleVo("列表", str+"管理", true,"欢迎进入"+str+"页面", true, false));
+        return prefix + "/list";
+    }
+	
+	/**
+	 * 
+		 *@author:Li Miao
+		 *
+		 *@description: 获取用户信息
+		 *
+		 *@param:userid
+		 *
+		 *@return:
+		 *
+		 *
+		 *@createTime:2020年4月16日
+		 *
+	 */
+	@GetMapping("/GyeeUserInformation")
+	@ResponseBody
+	public AjaxResult getUserInformation(String userid){
+		Gyeeuserinformation gyeeUserInformation=gyeeuserinformationService.queryById(userid);
+		if(gyeeUserInformation.getId()!=""&&gyeeUserInformation.getId()!=null){
+			return AjaxResult.successData(200, gyeeUserInformation);
+			
+		}else{
+			return AjaxResult.error(500, "无法获取用户信息");
+		}
+	}
+	
+	//@Log(title = "集合查询", action = "111")
+	@PostMapping("list")
+	@RequiresPermissions("gen:gyeeuserinformation:list")
+	@ResponseBody
+	public Object list(Tablepar tablepar,String searchText){
+		PageInfo<Gyeeuserinformation> page=gyeeuserinformationService.list(tablepar,searchText) ; 
+		TableSplitResult<Gyeeuserinformation> result=new TableSplitResult<Gyeeuserinformation>(page.getPageNum(), page.getTotal(), page.getList()); 
+		return  result;
+	}
+	
+	/**
+     * 新增
+     */
+
+    @GetMapping("/add")
+    public String add(ModelMap modelMap)
+    {
+        return prefix + "/add";
+    }
+	
+	//@Log(title = "新增", action = "111")
+	@PostMapping("add")
+	@RequiresPermissions("gen:gyeeuserinformation:add")
+	@ResponseBody
+	public AjaxResult add(Gyeeuserinformation gyeeuserinformation){
+		int b=gyeeuserinformationService.insertSelective(gyeeuserinformation);
+		if(b>0){
+			return success();
+		}else{
+			return error();
+		}
+	}
+	
+	/**
+	 * 删除用户
+	 * @param ids
+	 * @return
+	 */
+	//@Log(title = "删除", action = "111")
+	@PostMapping("remove")
+	@RequiresPermissions("gen:gyeeuserinformation:remove")
+	@ResponseBody
+	public AjaxResult remove(String ids){
+		int b=gyeeuserinformationService.deleteByPrimaryKey(ids);
+		if(b>0){
+			return success();
+		}else{
+			return error();
+		}
+	}
+	
+	/**
+	 * 检查用户
+	 * @param tsysUser
+	 * @return
+	 */
+	@PostMapping("checkNameUnique")
+	@ResponseBody
+	public int checkNameUnique(Gyeeuserinformation gyeeuserinformation){
+		int b=gyeeuserinformationService.checkNameUnique(gyeeuserinformation);
+		if(b>0){
+			return 1;
+		}else{
+			return 0;
+		}
+	}
+	
+	
+	/**
+	 * 修改跳转
+	 * @param id
+	 * @param mmap
+	 * @return
+	 */
+	@GetMapping("/edit/{id}")
+    public String edit(@PathVariable("id") String id, ModelMap mmap)
+    {
+        mmap.put("Gyeeuserinformation", gyeeuserinformationService.selectByPrimaryKey(id));
+
+        return prefix + "/edit";
+    }
+	
+	/**
+     * 修改保存
+     */
+    //@Log(title = "修改", action = "111")
+    @RequiresPermissions("gen:gyeeuserinformation:edit")
+    @PostMapping("/edit")
+    @ResponseBody
+    public AjaxResult editSave(Gyeeuserinformation record)
+    {
+        return toAjax(gyeeuserinformationService.updateByPrimaryKeySelective(record));
+    }
+
+    
+    /**
+   	 * 根据主键查询
+   	 * 
+   	 * @param id
+   	 * @param mmap
+   	 * @return
+   	 */
+   	@PostMapping("/get/{id}")
+   	@ApiOperation(value = "根据id查询唯一", notes = "根据id查询唯一")
+   	public Gyeeuserinformation edit(@PathVariable("id") String id) {
+   		return gyeeuserinformationService.selectByPrimaryKey(id);
+   	}
+    
+
+	
+}

+ 40 - 0
src/main/java/com/gyee/frame/mapper/auto/GyeeorganMapper.java

@@ -0,0 +1,40 @@
+package com.gyee.frame.mapper.auto;
+
+import com.gyee.frame.model.auto.Gyeeorgan;
+import com.gyee.frame.model.auto.GyeeorganExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+/**
+ *  GyeeorganMapper
+ * @author gyee_自动生成
+ * @email 1@qq.com
+ * @date 2020-04-17 14:18:03
+ */
+public interface GyeeorganMapper {
+      	   	      	      	      	      
+    long countByExample(GyeeorganExample example);
+
+    int deleteByExample(GyeeorganExample example);
+		
+    int deleteByPrimaryKey(String id);
+		
+    int insert(Gyeeorgan record);
+
+    int insertSelective(Gyeeorgan record);
+
+    List<Gyeeorgan> selectByExample(GyeeorganExample example);
+		
+    Gyeeorgan selectByPrimaryKey(String id);
+		
+    int updateByExampleSelective(@Param("record") Gyeeorgan record, @Param("example") GyeeorganExample example);
+
+    int updateByExample(@Param("record") Gyeeorgan record, @Param("example") GyeeorganExample example); 
+		
+    int updateByPrimaryKeySelective(Gyeeorgan record);
+
+    int updateByPrimaryKey(Gyeeorgan record);
+    
+    List<Gyeeorgan> queryOrganByUserId(String userid);
+  	  	
+}

+ 40 - 0
src/main/java/com/gyee/frame/mapper/auto/GyeepermissionMapper.java

@@ -0,0 +1,40 @@
+package com.gyee.frame.mapper.auto;
+
+import com.gyee.frame.model.auto.Gyeepermission;
+import com.gyee.frame.model.auto.GyeepermissionExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+/**
+ *  GyeepermissionMapper
+ * @author gyee_自动生成
+ * @email 1@qq.com
+ * @date 2020-04-16 14:55:15
+ */
+public interface GyeepermissionMapper {
+      	   	      	      	      	      	      	      	      	      
+    long countByExample(GyeepermissionExample example);
+
+    int deleteByExample(GyeepermissionExample example);
+		
+    int deleteByPrimaryKey(String id);
+		
+    int insert(Gyeepermission record);
+
+    int insertSelective(Gyeepermission record);
+
+    List<Gyeepermission> selectByExample(GyeepermissionExample example);
+		
+    Gyeepermission selectByPrimaryKey(String id);
+		
+    int updateByExampleSelective(@Param("record") Gyeepermission record, @Param("example") GyeepermissionExample example);
+
+    int updateByExample(@Param("record") Gyeepermission record, @Param("example") GyeepermissionExample example); 
+		
+    int updateByPrimaryKeySelective(Gyeepermission record);
+
+    int updateByPrimaryKey(Gyeepermission record);
+    
+    List<Gyeepermission> queryPermissionByRoleId(String userid);
+  	  	
+}

+ 40 - 0
src/main/java/com/gyee/frame/mapper/auto/GyeeroleMapper.java

@@ -0,0 +1,40 @@
+package com.gyee.frame.mapper.auto;
+
+import com.gyee.frame.model.auto.Gyeerole;
+import com.gyee.frame.model.auto.GyeeroleExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+/**
+ *  GyeeroleMapper
+ * @author gyee_自动生成
+ * @email 1@qq.com
+ * @date 2020-04-16 13:20:51
+ */
+public interface GyeeroleMapper {
+      	   	      	      	      
+    long countByExample(GyeeroleExample example);
+
+    int deleteByExample(GyeeroleExample example);
+		
+    int deleteByPrimaryKey(String id);
+		
+    int insert(Gyeerole record);
+
+    int insertSelective(Gyeerole record);
+
+    List<Gyeerole> selectByExample(GyeeroleExample example);
+		
+    Gyeerole selectByPrimaryKey(String id);
+		
+    int updateByExampleSelective(@Param("record") Gyeerole record, @Param("example") GyeeroleExample example);
+
+    int updateByExample(@Param("record") Gyeerole record, @Param("example") GyeeroleExample example); 
+		
+    int updateByPrimaryKeySelective(Gyeerole record);
+
+    int updateByPrimaryKey(Gyeerole record);
+    
+    List<Gyeerole> queryRoleByUserId(String userid);
+  	  	
+}

+ 42 - 0
src/main/java/com/gyee/frame/mapper/auto/GyeeuserMapper.java

@@ -0,0 +1,42 @@
+package com.gyee.frame.mapper.auto;
+
+import com.gyee.frame.model.auto.Gyeeuser;
+import com.gyee.frame.model.auto.GyeeuserExample;
+import com.gyee.frame.model.auto.TsysUser;
+
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+/**
+ *  GyeeuserMapper
+ * @author gyee_自动生成
+ * @email 1@qq.com
+ * @date 2020-04-15 16:48:37
+ */
+public interface GyeeuserMapper {
+      	   	      	      	      	      
+    long countByExample(GyeeuserExample example);
+
+    int deleteByExample(GyeeuserExample example);
+		
+    int deleteByPrimaryKey(String id);
+		
+    int insert(Gyeeuser record);
+
+    int insertSelective(Gyeeuser record);
+
+    List<Gyeeuser> selectByExample(GyeeuserExample example);
+		
+    Gyeeuser selectByPrimaryKey(String id);
+		
+    int updateByExampleSelective(@Param("record") Gyeeuser record, @Param("example") GyeeuserExample example);
+
+    int updateByExample(@Param("record") Gyeeuser record, @Param("example") GyeeuserExample example); 
+		
+    int updateByPrimaryKeySelective(Gyeeuser record);
+
+    int updateByPrimaryKey(Gyeeuser record);
+    
+    String queryIdByUserNamePassWord(Gyeeuser gyeeuser);
+  	  	
+}

+ 40 - 0
src/main/java/com/gyee/frame/mapper/auto/GyeeuserinformationMapper.java

@@ -0,0 +1,40 @@
+package com.gyee.frame.mapper.auto;
+
+import com.gyee.frame.model.auto.Gyeeuserinformation;
+import com.gyee.frame.model.auto.GyeeuserinformationExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+/**
+ *  GyeeuserinformationMapper
+ * @author gyee_自动生成
+ * @email 1@qq.com
+ * @date 2020-04-16 15:54:30
+ */
+public interface GyeeuserinformationMapper {
+      	   	      	      	      	      	      	      	      	      	      	      
+    long countByExample(GyeeuserinformationExample example);
+
+    int deleteByExample(GyeeuserinformationExample example);
+		
+    int deleteByPrimaryKey(String id);
+		
+    int insert(Gyeeuserinformation record);
+
+    int insertSelective(Gyeeuserinformation record);
+
+    List<Gyeeuserinformation> selectByExample(GyeeuserinformationExample example);
+		
+    Gyeeuserinformation selectByPrimaryKey(String id);
+		
+    int updateByExampleSelective(@Param("record") Gyeeuserinformation record, @Param("example") GyeeuserinformationExample example);
+
+    int updateByExample(@Param("record") Gyeeuserinformation record, @Param("example") GyeeuserinformationExample example); 
+		
+    int updateByPrimaryKeySelective(Gyeeuserinformation record);
+
+    int updateByPrimaryKey(Gyeeuserinformation record);
+    
+    Gyeeuserinformation queryById(String userid);
+  	
+}

+ 87 - 0
src/main/java/com/gyee/frame/model/auto/Gyeeorgan.java

@@ -0,0 +1,87 @@
+package com.gyee.frame.model.auto;
+
+import java.io.Serializable;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+
+/**
+ *  Gyeeorgan 
+ * @author gyee_自动生成
+ * @email 1@qq.com
+ * @date 2020-04-17 14:18:03
+ */
+ @ApiModel(value="Gyeeorgan", description="")
+public class Gyeeorgan implements Serializable {
+
+	private static final long serialVersionUID = 1L;
+	
+		
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String id;
+		
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String name;
+		
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String describes;
+		
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String type;
+		
+		
+	public String getId() {
+        return id;
+    }
+
+    public void setId(String id) {
+        this.id = id;
+    }
+	 
+			
+	public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+	 
+			
+	public String getDescribes() {
+        return describes;
+    }
+
+    public void setDescribes(String describes) {
+        this.describes = describes;
+    }
+	 
+			
+	public String getType() {
+        return type;
+    }
+
+    public void setType(String type) {
+        this.type = type;
+    }
+	 
+			
+	public Gyeeorgan() {
+        super();
+    }
+    
+																						
+	public Gyeeorgan(String id,String name,String describes,String type) {
+	
+		this.id = id;
+		this.name = name;
+		this.describes = describes;
+		this.type = type;
+		
+	}
+	
+}

+ 493 - 0
src/main/java/com/gyee/frame/model/auto/GyeeorganExample.java

@@ -0,0 +1,493 @@
+package com.gyee.frame.model.auto;
+
+import java.math.BigDecimal;
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+/**
+ *  GyeeorganExample
+ * @author gyee_自动生成
+ * @email 1@qq.com
+ * @date 2020-04-17 14:18:03
+ */
+public class GyeeorganExample {
+
+    protected String orderByClause;
+
+    protected boolean distinct;
+
+    protected List<Criteria> oredCriteria;
+
+    public GyeeorganExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    public Criteria or() {
+        Criteria criteria = createCriteriaInternal();
+        oredCriteria.add(criteria);
+        return criteria;
+    }
+
+    public Criteria createCriteria() {
+        Criteria criteria = createCriteriaInternal();
+        if (oredCriteria.size() == 0) {
+            oredCriteria.add(criteria);
+        }
+        return criteria;
+    }
+
+    protected Criteria createCriteriaInternal() {
+        Criteria criteria = new Criteria();
+        return criteria;
+    }
+
+    public void clear() {
+        oredCriteria.clear();
+        orderByClause = null;
+        distinct = false;
+    }
+
+    protected abstract static class GeneratedCriteria {
+        protected List<Criterion> criteria;
+
+        protected GeneratedCriteria() {
+            super();
+            criteria = new ArrayList<Criterion>();
+        }
+
+        public boolean isValid() {
+            return criteria.size() > 0;
+        }
+
+        public List<Criterion> getAllCriteria() {
+            return criteria;
+        }
+
+        public List<Criterion> getCriteria() {
+            return criteria;
+        }
+
+        protected void addCriterion(String condition) {
+            if (condition == null) {
+                throw new RuntimeException("Value for condition cannot be null");
+            }
+            criteria.add(new Criterion(condition));
+        }
+
+        protected void addCriterion(String condition, Object value, String property) {
+            if (value == null) {
+                throw new RuntimeException("Value for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value));
+        }
+
+        protected void addCriterion(String condition, Object value1, Object value2, String property) {
+            if (value1 == null || value2 == null) {
+                throw new RuntimeException("Between values for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value1, value2));
+        }
+				
+        public Criteria andIdIsNull() {
+            addCriterion("id is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIsNotNull() {
+            addCriterion("id is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdEqualTo(String value) {
+            addCriterion("id =", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotEqualTo(String value) {
+            addCriterion("id <>", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThan(String value) {
+            addCriterion("id >", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThanOrEqualTo(String value) {
+            addCriterion("id >=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThan(String value) {
+            addCriterion("id <", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThanOrEqualTo(String value) {
+            addCriterion("id <=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLike(String value) {
+            addCriterion("id like", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotLike(String value) {
+            addCriterion("id not like", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIn(List<String> values) {
+            addCriterion("id in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotIn(List<String> values) {
+            addCriterion("id not in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdBetween(String value1, String value2) {
+            addCriterion("id between", value1, value2, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotBetween(String value1, String value2) {
+            addCriterion("id not between", value1, value2, "id");
+            return (Criteria) this;
+        }
+        
+			
+        public Criteria andNameIsNull() {
+            addCriterion("name is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameIsNotNull() {
+            addCriterion("name is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameEqualTo(String value) {
+            addCriterion("name =", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotEqualTo(String value) {
+            addCriterion("name <>", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameGreaterThan(String value) {
+            addCriterion("name >", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameGreaterThanOrEqualTo(String value) {
+            addCriterion("name >=", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameLessThan(String value) {
+            addCriterion("name <", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameLessThanOrEqualTo(String value) {
+            addCriterion("name <=", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameLike(String value) {
+            addCriterion("name like", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotLike(String value) {
+            addCriterion("name not like", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameIn(List<String> values) {
+            addCriterion("name in", values, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotIn(List<String> values) {
+            addCriterion("name not in", values, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameBetween(String value1, String value2) {
+            addCriterion("name between", value1, value2, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotBetween(String value1, String value2) {
+            addCriterion("name not between", value1, value2, "name");
+            return (Criteria) this;
+        }
+        
+			
+        public Criteria andDescribesIsNull() {
+            addCriterion("describes is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescribesIsNotNull() {
+            addCriterion("describes is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescribesEqualTo(String value) {
+            addCriterion("describes =", value, "describes");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescribesNotEqualTo(String value) {
+            addCriterion("describes <>", value, "describes");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescribesGreaterThan(String value) {
+            addCriterion("describes >", value, "describes");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescribesGreaterThanOrEqualTo(String value) {
+            addCriterion("describes >=", value, "describes");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescribesLessThan(String value) {
+            addCriterion("describes <", value, "describes");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescribesLessThanOrEqualTo(String value) {
+            addCriterion("describes <=", value, "describes");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescribesLike(String value) {
+            addCriterion("describes like", value, "describes");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescribesNotLike(String value) {
+            addCriterion("describes not like", value, "describes");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescribesIn(List<String> values) {
+            addCriterion("describes in", values, "describes");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescribesNotIn(List<String> values) {
+            addCriterion("describes not in", values, "describes");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescribesBetween(String value1, String value2) {
+            addCriterion("describes between", value1, value2, "describes");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescribesNotBetween(String value1, String value2) {
+            addCriterion("describes not between", value1, value2, "describes");
+            return (Criteria) this;
+        }
+        
+			
+        public Criteria andTypeIsNull() {
+            addCriterion("type is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andTypeIsNotNull() {
+            addCriterion("type is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andTypeEqualTo(String value) {
+            addCriterion("type =", value, "type");
+            return (Criteria) this;
+        }
+
+        public Criteria andTypeNotEqualTo(String value) {
+            addCriterion("type <>", value, "type");
+            return (Criteria) this;
+        }
+
+        public Criteria andTypeGreaterThan(String value) {
+            addCriterion("type >", value, "type");
+            return (Criteria) this;
+        }
+
+        public Criteria andTypeGreaterThanOrEqualTo(String value) {
+            addCriterion("type >=", value, "type");
+            return (Criteria) this;
+        }
+
+        public Criteria andTypeLessThan(String value) {
+            addCriterion("type <", value, "type");
+            return (Criteria) this;
+        }
+
+        public Criteria andTypeLessThanOrEqualTo(String value) {
+            addCriterion("type <=", value, "type");
+            return (Criteria) this;
+        }
+
+        public Criteria andTypeLike(String value) {
+            addCriterion("type like", value, "type");
+            return (Criteria) this;
+        }
+
+        public Criteria andTypeNotLike(String value) {
+            addCriterion("type not like", value, "type");
+            return (Criteria) this;
+        }
+
+        public Criteria andTypeIn(List<String> values) {
+            addCriterion("type in", values, "type");
+            return (Criteria) this;
+        }
+
+        public Criteria andTypeNotIn(List<String> values) {
+            addCriterion("type not in", values, "type");
+            return (Criteria) this;
+        }
+
+        public Criteria andTypeBetween(String value1, String value2) {
+            addCriterion("type between", value1, value2, "type");
+            return (Criteria) this;
+        }
+
+        public Criteria andTypeNotBetween(String value1, String value2) {
+            addCriterion("type not between", value1, value2, "type");
+            return (Criteria) this;
+        }
+        
+	}
+
+    public static class Criteria extends GeneratedCriteria {
+
+        protected Criteria() {
+            super();
+        }
+    }
+
+    public static class Criterion {
+        private String condition;
+
+        private Object value;
+
+        private Object secondValue;
+
+        private boolean noValue;
+
+        private boolean singleValue;
+
+        private boolean betweenValue;
+
+        private boolean listValue;
+
+        private String typeHandler;
+
+        public String getCondition() {
+            return condition;
+        }
+
+        public Object getValue() {
+            return value;
+        }
+
+        public Object getSecondValue() {
+            return secondValue;
+        }
+
+        public boolean isNoValue() {
+            return noValue;
+        }
+
+        public boolean isSingleValue() {
+            return singleValue;
+        }
+
+        public boolean isBetweenValue() {
+            return betweenValue;
+        }
+
+        public boolean isListValue() {
+            return listValue;
+        }
+
+        public String getTypeHandler() {
+            return typeHandler;
+        }
+
+        protected Criterion(String condition) {
+            super();
+            this.condition = condition;
+            this.typeHandler = null;
+            this.noValue = true;
+        }
+
+        protected Criterion(String condition, Object value, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.typeHandler = typeHandler;
+            if (value instanceof List<?>) {
+                this.listValue = true;
+            } else {
+                this.singleValue = true;
+            }
+        }
+
+        protected Criterion(String condition, Object value) {
+            this(condition, value, null);
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.secondValue = secondValue;
+            this.typeHandler = typeHandler;
+            this.betweenValue = true;
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue) {
+            this(condition, value, secondValue, null);
+        }
+    }
+}

+ 143 - 0
src/main/java/com/gyee/frame/model/auto/Gyeepermission.java

@@ -0,0 +1,143 @@
+package com.gyee.frame.model.auto;
+
+import java.io.Serializable;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+
+/**
+ *  Gyeepermission 
+ * @author gyee_自动生成
+ * @email 1@qq.com
+ * @date 2020-04-16 14:55:15
+ */
+ @ApiModel(value="Gyeepermission", description="")
+public class Gyeepermission implements Serializable {
+
+	private static final long serialVersionUID = 1L;
+	
+		
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String id;
+		
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String permisssionlevel;
+		
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String permisssionname;
+		
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String describes;
+		
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String remark1;
+		
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String remark2;
+		
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String parent;
+		
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String isable;
+		
+		
+	public String getId() {
+        return id;
+    }
+
+    public void setId(String id) {
+        this.id = id;
+    }
+	 
+			
+	public String getPermisssionlevel() {
+        return permisssionlevel;
+    }
+
+    public void setPermisssionlevel(String permisssionlevel) {
+        this.permisssionlevel = permisssionlevel;
+    }
+	 
+			
+	public String getPermisssionname() {
+        return permisssionname;
+    }
+
+    public void setPermisssionname(String permisssionname) {
+        this.permisssionname = permisssionname;
+    }
+	 
+			
+	public String getDescribes() {
+        return describes;
+    }
+
+    public void setDescribes(String describes) {
+        this.describes = describes;
+    }
+	 
+			
+	public String getRemark1() {
+        return remark1;
+    }
+
+    public void setRemark1(String remark1) {
+        this.remark1 = remark1;
+    }
+	 
+			
+	public String getRemark2() {
+        return remark2;
+    }
+
+    public void setRemark2(String remark2) {
+        this.remark2 = remark2;
+    }
+	 
+			
+	public String getParent() {
+        return parent;
+    }
+
+    public void setParent(String parent) {
+        this.parent = parent;
+    }
+	 
+			
+	public String getIsable() {
+        return isable;
+    }
+
+    public void setIsable(String isable) {
+        this.isable = isable;
+    }
+	 
+			
+	public Gyeepermission() {
+        super();
+    }
+    
+																																										
+	public Gyeepermission(String id,String permisssionlevel,String permisssionname,String describes,String remark1,String remark2,String parent,String isable) {
+	
+		this.id = id;
+		this.permisssionlevel = permisssionlevel;
+		this.permisssionname = permisssionname;
+		this.describes = describes;
+		this.remark1 = remark1;
+		this.remark2 = remark2;
+		this.parent = parent;
+		this.isable = isable;
+		
+	}
+	
+}

+ 777 - 0
src/main/java/com/gyee/frame/model/auto/GyeepermissionExample.java

@@ -0,0 +1,777 @@
+package com.gyee.frame.model.auto;
+
+import java.math.BigDecimal;
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+/**
+ *  GyeepermissionExample
+ * @author gyee_自动生成
+ * @email 1@qq.com
+ * @date 2020-04-16 14:55:15
+ */
+public class GyeepermissionExample {
+
+    protected String orderByClause;
+
+    protected boolean distinct;
+
+    protected List<Criteria> oredCriteria;
+
+    public GyeepermissionExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    public Criteria or() {
+        Criteria criteria = createCriteriaInternal();
+        oredCriteria.add(criteria);
+        return criteria;
+    }
+
+    public Criteria createCriteria() {
+        Criteria criteria = createCriteriaInternal();
+        if (oredCriteria.size() == 0) {
+            oredCriteria.add(criteria);
+        }
+        return criteria;
+    }
+
+    protected Criteria createCriteriaInternal() {
+        Criteria criteria = new Criteria();
+        return criteria;
+    }
+
+    public void clear() {
+        oredCriteria.clear();
+        orderByClause = null;
+        distinct = false;
+    }
+
+    protected abstract static class GeneratedCriteria {
+        protected List<Criterion> criteria;
+
+        protected GeneratedCriteria() {
+            super();
+            criteria = new ArrayList<Criterion>();
+        }
+
+        public boolean isValid() {
+            return criteria.size() > 0;
+        }
+
+        public List<Criterion> getAllCriteria() {
+            return criteria;
+        }
+
+        public List<Criterion> getCriteria() {
+            return criteria;
+        }
+
+        protected void addCriterion(String condition) {
+            if (condition == null) {
+                throw new RuntimeException("Value for condition cannot be null");
+            }
+            criteria.add(new Criterion(condition));
+        }
+
+        protected void addCriterion(String condition, Object value, String property) {
+            if (value == null) {
+                throw new RuntimeException("Value for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value));
+        }
+
+        protected void addCriterion(String condition, Object value1, Object value2, String property) {
+            if (value1 == null || value2 == null) {
+                throw new RuntimeException("Between values for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value1, value2));
+        }
+				
+        public Criteria andIdIsNull() {
+            addCriterion("id is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIsNotNull() {
+            addCriterion("id is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdEqualTo(String value) {
+            addCriterion("id =", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotEqualTo(String value) {
+            addCriterion("id <>", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThan(String value) {
+            addCriterion("id >", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThanOrEqualTo(String value) {
+            addCriterion("id >=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThan(String value) {
+            addCriterion("id <", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThanOrEqualTo(String value) {
+            addCriterion("id <=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLike(String value) {
+            addCriterion("id like", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotLike(String value) {
+            addCriterion("id not like", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIn(List<String> values) {
+            addCriterion("id in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotIn(List<String> values) {
+            addCriterion("id not in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdBetween(String value1, String value2) {
+            addCriterion("id between", value1, value2, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotBetween(String value1, String value2) {
+            addCriterion("id not between", value1, value2, "id");
+            return (Criteria) this;
+        }
+        
+			
+        public Criteria andPermisssionlevelIsNull() {
+            addCriterion("permisssionlevel is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPermisssionlevelIsNotNull() {
+            addCriterion("permisssionlevel is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPermisssionlevelEqualTo(String value) {
+            addCriterion("permisssionlevel =", value, "permisssionlevel");
+            return (Criteria) this;
+        }
+
+        public Criteria andPermisssionlevelNotEqualTo(String value) {
+            addCriterion("permisssionlevel <>", value, "permisssionlevel");
+            return (Criteria) this;
+        }
+
+        public Criteria andPermisssionlevelGreaterThan(String value) {
+            addCriterion("permisssionlevel >", value, "permisssionlevel");
+            return (Criteria) this;
+        }
+
+        public Criteria andPermisssionlevelGreaterThanOrEqualTo(String value) {
+            addCriterion("permisssionlevel >=", value, "permisssionlevel");
+            return (Criteria) this;
+        }
+
+        public Criteria andPermisssionlevelLessThan(String value) {
+            addCriterion("permisssionlevel <", value, "permisssionlevel");
+            return (Criteria) this;
+        }
+
+        public Criteria andPermisssionlevelLessThanOrEqualTo(String value) {
+            addCriterion("permisssionlevel <=", value, "permisssionlevel");
+            return (Criteria) this;
+        }
+
+        public Criteria andPermisssionlevelLike(String value) {
+            addCriterion("permisssionlevel like", value, "permisssionlevel");
+            return (Criteria) this;
+        }
+
+        public Criteria andPermisssionlevelNotLike(String value) {
+            addCriterion("permisssionlevel not like", value, "permisssionlevel");
+            return (Criteria) this;
+        }
+
+        public Criteria andPermisssionlevelIn(List<String> values) {
+            addCriterion("permisssionlevel in", values, "permisssionlevel");
+            return (Criteria) this;
+        }
+
+        public Criteria andPermisssionlevelNotIn(List<String> values) {
+            addCriterion("permisssionlevel not in", values, "permisssionlevel");
+            return (Criteria) this;
+        }
+
+        public Criteria andPermisssionlevelBetween(String value1, String value2) {
+            addCriterion("permisssionlevel between", value1, value2, "permisssionlevel");
+            return (Criteria) this;
+        }
+
+        public Criteria andPermisssionlevelNotBetween(String value1, String value2) {
+            addCriterion("permisssionlevel not between", value1, value2, "permisssionlevel");
+            return (Criteria) this;
+        }
+        
+			
+        public Criteria andPermisssionnameIsNull() {
+            addCriterion("permisssionname is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPermisssionnameIsNotNull() {
+            addCriterion("permisssionname is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPermisssionnameEqualTo(String value) {
+            addCriterion("permisssionname =", value, "permisssionname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPermisssionnameNotEqualTo(String value) {
+            addCriterion("permisssionname <>", value, "permisssionname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPermisssionnameGreaterThan(String value) {
+            addCriterion("permisssionname >", value, "permisssionname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPermisssionnameGreaterThanOrEqualTo(String value) {
+            addCriterion("permisssionname >=", value, "permisssionname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPermisssionnameLessThan(String value) {
+            addCriterion("permisssionname <", value, "permisssionname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPermisssionnameLessThanOrEqualTo(String value) {
+            addCriterion("permisssionname <=", value, "permisssionname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPermisssionnameLike(String value) {
+            addCriterion("permisssionname like", value, "permisssionname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPermisssionnameNotLike(String value) {
+            addCriterion("permisssionname not like", value, "permisssionname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPermisssionnameIn(List<String> values) {
+            addCriterion("permisssionname in", values, "permisssionname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPermisssionnameNotIn(List<String> values) {
+            addCriterion("permisssionname not in", values, "permisssionname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPermisssionnameBetween(String value1, String value2) {
+            addCriterion("permisssionname between", value1, value2, "permisssionname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPermisssionnameNotBetween(String value1, String value2) {
+            addCriterion("permisssionname not between", value1, value2, "permisssionname");
+            return (Criteria) this;
+        }
+        
+			
+        public Criteria andDescribesIsNull() {
+            addCriterion("describes is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescribesIsNotNull() {
+            addCriterion("describes is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescribesEqualTo(String value) {
+            addCriterion("describes =", value, "describes");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescribesNotEqualTo(String value) {
+            addCriterion("describes <>", value, "describes");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescribesGreaterThan(String value) {
+            addCriterion("describes >", value, "describes");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescribesGreaterThanOrEqualTo(String value) {
+            addCriterion("describes >=", value, "describes");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescribesLessThan(String value) {
+            addCriterion("describes <", value, "describes");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescribesLessThanOrEqualTo(String value) {
+            addCriterion("describes <=", value, "describes");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescribesLike(String value) {
+            addCriterion("describes like", value, "describes");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescribesNotLike(String value) {
+            addCriterion("describes not like", value, "describes");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescribesIn(List<String> values) {
+            addCriterion("describes in", values, "describes");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescribesNotIn(List<String> values) {
+            addCriterion("describes not in", values, "describes");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescribesBetween(String value1, String value2) {
+            addCriterion("describes between", value1, value2, "describes");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescribesNotBetween(String value1, String value2) {
+            addCriterion("describes not between", value1, value2, "describes");
+            return (Criteria) this;
+        }
+        
+			
+        public Criteria andRemark1IsNull() {
+            addCriterion("remark1 is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemark1IsNotNull() {
+            addCriterion("remark1 is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemark1EqualTo(String value) {
+            addCriterion("remark1 =", value, "remark1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemark1NotEqualTo(String value) {
+            addCriterion("remark1 <>", value, "remark1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemark1GreaterThan(String value) {
+            addCriterion("remark1 >", value, "remark1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemark1GreaterThanOrEqualTo(String value) {
+            addCriterion("remark1 >=", value, "remark1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemark1LessThan(String value) {
+            addCriterion("remark1 <", value, "remark1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemark1LessThanOrEqualTo(String value) {
+            addCriterion("remark1 <=", value, "remark1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemark1Like(String value) {
+            addCriterion("remark1 like", value, "remark1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemark1NotLike(String value) {
+            addCriterion("remark1 not like", value, "remark1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemark1In(List<String> values) {
+            addCriterion("remark1 in", values, "remark1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemark1NotIn(List<String> values) {
+            addCriterion("remark1 not in", values, "remark1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemark1Between(String value1, String value2) {
+            addCriterion("remark1 between", value1, value2, "remark1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemark1NotBetween(String value1, String value2) {
+            addCriterion("remark1 not between", value1, value2, "remark1");
+            return (Criteria) this;
+        }
+        
+			
+        public Criteria andRemark2IsNull() {
+            addCriterion("remark2 is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemark2IsNotNull() {
+            addCriterion("remark2 is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemark2EqualTo(String value) {
+            addCriterion("remark2 =", value, "remark2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemark2NotEqualTo(String value) {
+            addCriterion("remark2 <>", value, "remark2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemark2GreaterThan(String value) {
+            addCriterion("remark2 >", value, "remark2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemark2GreaterThanOrEqualTo(String value) {
+            addCriterion("remark2 >=", value, "remark2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemark2LessThan(String value) {
+            addCriterion("remark2 <", value, "remark2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemark2LessThanOrEqualTo(String value) {
+            addCriterion("remark2 <=", value, "remark2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemark2Like(String value) {
+            addCriterion("remark2 like", value, "remark2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemark2NotLike(String value) {
+            addCriterion("remark2 not like", value, "remark2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemark2In(List<String> values) {
+            addCriterion("remark2 in", values, "remark2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemark2NotIn(List<String> values) {
+            addCriterion("remark2 not in", values, "remark2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemark2Between(String value1, String value2) {
+            addCriterion("remark2 between", value1, value2, "remark2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemark2NotBetween(String value1, String value2) {
+            addCriterion("remark2 not between", value1, value2, "remark2");
+            return (Criteria) this;
+        }
+        
+			
+        public Criteria andParentIsNull() {
+            addCriterion("parent is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andParentIsNotNull() {
+            addCriterion("parent is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andParentEqualTo(String value) {
+            addCriterion("parent =", value, "parent");
+            return (Criteria) this;
+        }
+
+        public Criteria andParentNotEqualTo(String value) {
+            addCriterion("parent <>", value, "parent");
+            return (Criteria) this;
+        }
+
+        public Criteria andParentGreaterThan(String value) {
+            addCriterion("parent >", value, "parent");
+            return (Criteria) this;
+        }
+
+        public Criteria andParentGreaterThanOrEqualTo(String value) {
+            addCriterion("parent >=", value, "parent");
+            return (Criteria) this;
+        }
+
+        public Criteria andParentLessThan(String value) {
+            addCriterion("parent <", value, "parent");
+            return (Criteria) this;
+        }
+
+        public Criteria andParentLessThanOrEqualTo(String value) {
+            addCriterion("parent <=", value, "parent");
+            return (Criteria) this;
+        }
+
+        public Criteria andParentLike(String value) {
+            addCriterion("parent like", value, "parent");
+            return (Criteria) this;
+        }
+
+        public Criteria andParentNotLike(String value) {
+            addCriterion("parent not like", value, "parent");
+            return (Criteria) this;
+        }
+
+        public Criteria andParentIn(List<String> values) {
+            addCriterion("parent in", values, "parent");
+            return (Criteria) this;
+        }
+
+        public Criteria andParentNotIn(List<String> values) {
+            addCriterion("parent not in", values, "parent");
+            return (Criteria) this;
+        }
+
+        public Criteria andParentBetween(String value1, String value2) {
+            addCriterion("parent between", value1, value2, "parent");
+            return (Criteria) this;
+        }
+
+        public Criteria andParentNotBetween(String value1, String value2) {
+            addCriterion("parent not between", value1, value2, "parent");
+            return (Criteria) this;
+        }
+        
+			
+        public Criteria andIsableIsNull() {
+            addCriterion("isable is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIsableIsNotNull() {
+            addCriterion("isable is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIsableEqualTo(String value) {
+            addCriterion("isable =", value, "isable");
+            return (Criteria) this;
+        }
+
+        public Criteria andIsableNotEqualTo(String value) {
+            addCriterion("isable <>", value, "isable");
+            return (Criteria) this;
+        }
+
+        public Criteria andIsableGreaterThan(String value) {
+            addCriterion("isable >", value, "isable");
+            return (Criteria) this;
+        }
+
+        public Criteria andIsableGreaterThanOrEqualTo(String value) {
+            addCriterion("isable >=", value, "isable");
+            return (Criteria) this;
+        }
+
+        public Criteria andIsableLessThan(String value) {
+            addCriterion("isable <", value, "isable");
+            return (Criteria) this;
+        }
+
+        public Criteria andIsableLessThanOrEqualTo(String value) {
+            addCriterion("isable <=", value, "isable");
+            return (Criteria) this;
+        }
+
+        public Criteria andIsableLike(String value) {
+            addCriterion("isable like", value, "isable");
+            return (Criteria) this;
+        }
+
+        public Criteria andIsableNotLike(String value) {
+            addCriterion("isable not like", value, "isable");
+            return (Criteria) this;
+        }
+
+        public Criteria andIsableIn(List<String> values) {
+            addCriterion("isable in", values, "isable");
+            return (Criteria) this;
+        }
+
+        public Criteria andIsableNotIn(List<String> values) {
+            addCriterion("isable not in", values, "isable");
+            return (Criteria) this;
+        }
+
+        public Criteria andIsableBetween(String value1, String value2) {
+            addCriterion("isable between", value1, value2, "isable");
+            return (Criteria) this;
+        }
+
+        public Criteria andIsableNotBetween(String value1, String value2) {
+            addCriterion("isable not between", value1, value2, "isable");
+            return (Criteria) this;
+        }
+        
+	}
+
+    public static class Criteria extends GeneratedCriteria {
+
+        protected Criteria() {
+            super();
+        }
+    }
+
+    public static class Criterion {
+        private String condition;
+
+        private Object value;
+
+        private Object secondValue;
+
+        private boolean noValue;
+
+        private boolean singleValue;
+
+        private boolean betweenValue;
+
+        private boolean listValue;
+
+        private String typeHandler;
+
+        public String getCondition() {
+            return condition;
+        }
+
+        public Object getValue() {
+            return value;
+        }
+
+        public Object getSecondValue() {
+            return secondValue;
+        }
+
+        public boolean isNoValue() {
+            return noValue;
+        }
+
+        public boolean isSingleValue() {
+            return singleValue;
+        }
+
+        public boolean isBetweenValue() {
+            return betweenValue;
+        }
+
+        public boolean isListValue() {
+            return listValue;
+        }
+
+        public String getTypeHandler() {
+            return typeHandler;
+        }
+
+        protected Criterion(String condition) {
+            super();
+            this.condition = condition;
+            this.typeHandler = null;
+            this.noValue = true;
+        }
+
+        protected Criterion(String condition, Object value, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.typeHandler = typeHandler;
+            if (value instanceof List<?>) {
+                this.listValue = true;
+            } else {
+                this.singleValue = true;
+            }
+        }
+
+        protected Criterion(String condition, Object value) {
+            this(condition, value, null);
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.secondValue = secondValue;
+            this.typeHandler = typeHandler;
+            this.betweenValue = true;
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue) {
+            this(condition, value, secondValue, null);
+        }
+    }
+}

+ 135 - 0
src/main/java/com/gyee/frame/model/auto/GyeepermissionView.java

@@ -0,0 +1,135 @@
+package com.gyee.frame.model.auto;
+
+import java.util.List;
+
+import io.swagger.annotations.ApiModelProperty;
+
+public class GyeepermissionView {
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String id;
+		
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String permisssionlevel;
+		
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String permisssionname;
+		
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String describes;
+		
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String remark1;
+		
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String remark2;
+		
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String parent;
+		
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String isable;
+	
+	@ApiModelProperty(value = "")
+private List<GyeepermissionView> GyeePermissionList;
+
+	public String getId() {
+		return id;
+	}
+
+	public void setId(String id) {
+		this.id = id;
+	}
+
+	public String getPermisssionlevel() {
+		return permisssionlevel;
+	}
+
+	public void setPermisssionlevel(String permisssionlevel) {
+		this.permisssionlevel = permisssionlevel;
+	}
+
+	public String getPermisssionname() {
+		return permisssionname;
+	}
+
+	public void setPermisssionname(String permisssionname) {
+		this.permisssionname = permisssionname;
+	}
+
+	public String getDescribes() {
+		return describes;
+	}
+
+	public void setDescribes(String describes) {
+		this.describes = describes;
+	}
+
+	public String getRemark1() {
+		return remark1;
+	}
+
+	public void setRemark1(String remark1) {
+		this.remark1 = remark1;
+	}
+
+	public String getRemark2() {
+		return remark2;
+	}
+
+	public void setRemark2(String remark2) {
+		this.remark2 = remark2;
+	}
+
+	public String getParent() {
+		return parent;
+	}
+
+	public void setParent(String parent) {
+		this.parent = parent;
+	}
+
+	public String getIsable() {
+		return isable;
+	}
+
+	public void setIsable(String isable) {
+		this.isable = isable;
+	}
+
+	public List<GyeepermissionView> getGyeePermissionList() {
+		return GyeePermissionList;
+	}
+
+	public void setGyeePermissionList(List<GyeepermissionView> gyeePermissionList) {
+		GyeePermissionList = gyeePermissionList;
+	}
+
+	public GyeepermissionView(String id, String permisssionlevel, String permisssionname, String describes,
+			String remark1, String remark2, String parent, String isable, List<GyeepermissionView> gyeePermissionList) {
+		super();
+		this.id = id;
+		this.permisssionlevel = permisssionlevel;
+		this.permisssionname = permisssionname;
+		this.describes = describes;
+		this.remark1 = remark1;
+		this.remark2 = remark2;
+		this.parent = parent;
+		this.isable = isable;
+		GyeePermissionList = gyeePermissionList;
+	}
+
+	public GyeepermissionView() {
+		super();
+	}
+
+	
+
+}

+ 73 - 0
src/main/java/com/gyee/frame/model/auto/Gyeerole.java

@@ -0,0 +1,73 @@
+package com.gyee.frame.model.auto;
+
+import java.io.Serializable;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+
+/**
+ *  Gyeerole 
+ * @author gyee_自动生成
+ * @email 1@qq.com
+ * @date 2020-04-16 13:20:51
+ */
+ @ApiModel(value="Gyeerole", description="")
+public class Gyeerole implements Serializable {
+
+	private static final long serialVersionUID = 1L;
+	
+		
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String id;
+		
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String name;
+		
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String remark;
+		
+		
+	public String getId() {
+        return id;
+    }
+
+    public void setId(String id) {
+        this.id = id;
+    }
+	 
+			
+	public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+	 
+			
+	public String getRemark() {
+        return remark;
+    }
+
+    public void setRemark(String remark) {
+        this.remark = remark;
+    }
+	 
+			
+	public Gyeerole() {
+        super();
+    }
+    
+																	
+	public Gyeerole(String id,String name,String remark) {
+	
+		this.id = id;
+		this.name = name;
+		this.remark = remark;
+		
+	}
+	
+}

+ 422 - 0
src/main/java/com/gyee/frame/model/auto/GyeeroleExample.java

@@ -0,0 +1,422 @@
+package com.gyee.frame.model.auto;
+
+import java.math.BigDecimal;
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+/**
+ *  GyeeroleExample
+ * @author gyee_自动生成
+ * @email 1@qq.com
+ * @date 2020-04-16 13:20:51
+ */
+public class GyeeroleExample {
+
+    protected String orderByClause;
+
+    protected boolean distinct;
+
+    protected List<Criteria> oredCriteria;
+
+    public GyeeroleExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    public Criteria or() {
+        Criteria criteria = createCriteriaInternal();
+        oredCriteria.add(criteria);
+        return criteria;
+    }
+
+    public Criteria createCriteria() {
+        Criteria criteria = createCriteriaInternal();
+        if (oredCriteria.size() == 0) {
+            oredCriteria.add(criteria);
+        }
+        return criteria;
+    }
+
+    protected Criteria createCriteriaInternal() {
+        Criteria criteria = new Criteria();
+        return criteria;
+    }
+
+    public void clear() {
+        oredCriteria.clear();
+        orderByClause = null;
+        distinct = false;
+    }
+
+    protected abstract static class GeneratedCriteria {
+        protected List<Criterion> criteria;
+
+        protected GeneratedCriteria() {
+            super();
+            criteria = new ArrayList<Criterion>();
+        }
+
+        public boolean isValid() {
+            return criteria.size() > 0;
+        }
+
+        public List<Criterion> getAllCriteria() {
+            return criteria;
+        }
+
+        public List<Criterion> getCriteria() {
+            return criteria;
+        }
+
+        protected void addCriterion(String condition) {
+            if (condition == null) {
+                throw new RuntimeException("Value for condition cannot be null");
+            }
+            criteria.add(new Criterion(condition));
+        }
+
+        protected void addCriterion(String condition, Object value, String property) {
+            if (value == null) {
+                throw new RuntimeException("Value for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value));
+        }
+
+        protected void addCriterion(String condition, Object value1, Object value2, String property) {
+            if (value1 == null || value2 == null) {
+                throw new RuntimeException("Between values for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value1, value2));
+        }
+				
+        public Criteria andIdIsNull() {
+            addCriterion("id is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIsNotNull() {
+            addCriterion("id is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdEqualTo(String value) {
+            addCriterion("id =", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotEqualTo(String value) {
+            addCriterion("id <>", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThan(String value) {
+            addCriterion("id >", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThanOrEqualTo(String value) {
+            addCriterion("id >=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThan(String value) {
+            addCriterion("id <", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThanOrEqualTo(String value) {
+            addCriterion("id <=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLike(String value) {
+            addCriterion("id like", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotLike(String value) {
+            addCriterion("id not like", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIn(List<String> values) {
+            addCriterion("id in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotIn(List<String> values) {
+            addCriterion("id not in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdBetween(String value1, String value2) {
+            addCriterion("id between", value1, value2, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotBetween(String value1, String value2) {
+            addCriterion("id not between", value1, value2, "id");
+            return (Criteria) this;
+        }
+        
+			
+        public Criteria andNameIsNull() {
+            addCriterion("name is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameIsNotNull() {
+            addCriterion("name is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameEqualTo(String value) {
+            addCriterion("name =", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotEqualTo(String value) {
+            addCriterion("name <>", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameGreaterThan(String value) {
+            addCriterion("name >", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameGreaterThanOrEqualTo(String value) {
+            addCriterion("name >=", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameLessThan(String value) {
+            addCriterion("name <", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameLessThanOrEqualTo(String value) {
+            addCriterion("name <=", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameLike(String value) {
+            addCriterion("name like", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotLike(String value) {
+            addCriterion("name not like", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameIn(List<String> values) {
+            addCriterion("name in", values, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotIn(List<String> values) {
+            addCriterion("name not in", values, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameBetween(String value1, String value2) {
+            addCriterion("name between", value1, value2, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotBetween(String value1, String value2) {
+            addCriterion("name not between", value1, value2, "name");
+            return (Criteria) this;
+        }
+        
+			
+        public Criteria andRemarkIsNull() {
+            addCriterion("remark is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarkIsNotNull() {
+            addCriterion("remark is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarkEqualTo(String value) {
+            addCriterion("remark =", value, "remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarkNotEqualTo(String value) {
+            addCriterion("remark <>", value, "remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarkGreaterThan(String value) {
+            addCriterion("remark >", value, "remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
+            addCriterion("remark >=", value, "remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarkLessThan(String value) {
+            addCriterion("remark <", value, "remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarkLessThanOrEqualTo(String value) {
+            addCriterion("remark <=", value, "remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarkLike(String value) {
+            addCriterion("remark like", value, "remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarkNotLike(String value) {
+            addCriterion("remark not like", value, "remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarkIn(List<String> values) {
+            addCriterion("remark in", values, "remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarkNotIn(List<String> values) {
+            addCriterion("remark not in", values, "remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarkBetween(String value1, String value2) {
+            addCriterion("remark between", value1, value2, "remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarkNotBetween(String value1, String value2) {
+            addCriterion("remark not between", value1, value2, "remark");
+            return (Criteria) this;
+        }
+        
+	}
+
+    public static class Criteria extends GeneratedCriteria {
+
+        protected Criteria() {
+            super();
+        }
+    }
+
+    public static class Criterion {
+        private String condition;
+
+        private Object value;
+
+        private Object secondValue;
+
+        private boolean noValue;
+
+        private boolean singleValue;
+
+        private boolean betweenValue;
+
+        private boolean listValue;
+
+        private String typeHandler;
+
+        public String getCondition() {
+            return condition;
+        }
+
+        public Object getValue() {
+            return value;
+        }
+
+        public Object getSecondValue() {
+            return secondValue;
+        }
+
+        public boolean isNoValue() {
+            return noValue;
+        }
+
+        public boolean isSingleValue() {
+            return singleValue;
+        }
+
+        public boolean isBetweenValue() {
+            return betweenValue;
+        }
+
+        public boolean isListValue() {
+            return listValue;
+        }
+
+        public String getTypeHandler() {
+            return typeHandler;
+        }
+
+        protected Criterion(String condition) {
+            super();
+            this.condition = condition;
+            this.typeHandler = null;
+            this.noValue = true;
+        }
+
+        protected Criterion(String condition, Object value, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.typeHandler = typeHandler;
+            if (value instanceof List<?>) {
+                this.listValue = true;
+            } else {
+                this.singleValue = true;
+            }
+        }
+
+        protected Criterion(String condition, Object value) {
+            this(condition, value, null);
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.secondValue = secondValue;
+            this.typeHandler = typeHandler;
+            this.betweenValue = true;
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue) {
+            this(condition, value, secondValue, null);
+        }
+    }
+}

+ 87 - 0
src/main/java/com/gyee/frame/model/auto/Gyeeuser.java

@@ -0,0 +1,87 @@
+package com.gyee.frame.model.auto;
+
+import java.io.Serializable;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+
+/**
+ *  Gyeeuser 
+ * @author gyee_自动生成
+ * @email 1@qq.com
+ * @date 2020-04-15 16:48:37
+ */
+ @ApiModel(value="Gyeeuser", description="")
+public class Gyeeuser implements Serializable {
+
+	private static final long serialVersionUID = 1L;
+	
+		
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String id;
+		
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String username;
+		
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String password;
+		
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String nickname;
+		
+		
+	public String getId() {
+        return id;
+    }
+
+    public void setId(String id) {
+        this.id = id;
+    }
+	 
+			
+	public String getUsername() {
+        return username;
+    }
+
+    public void setUsername(String username) {
+        this.username = username;
+    }
+	 
+			
+	public String getPassword() {
+        return password;
+    }
+
+    public void setPassword(String password) {
+        this.password = password;
+    }
+	 
+			
+	public String getNickname() {
+        return nickname;
+    }
+
+    public void setNickname(String nickname) {
+        this.nickname = nickname;
+    }
+	 
+			
+	public Gyeeuser() {
+        super();
+    }
+    
+																						
+	public Gyeeuser(String id,String username,String password,String nickname) {
+	
+		this.id = id;
+		this.username = username;
+		this.password = password;
+		this.nickname = nickname;
+		
+	}
+	
+}

+ 493 - 0
src/main/java/com/gyee/frame/model/auto/GyeeuserExample.java

@@ -0,0 +1,493 @@
+package com.gyee.frame.model.auto;
+
+import java.math.BigDecimal;
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+/**
+ *  GyeeuserExample
+ * @author gyee_自动生成
+ * @email 1@qq.com
+ * @date 2020-04-15 16:48:37
+ */
+public class GyeeuserExample {
+
+    protected String orderByClause;
+
+    protected boolean distinct;
+
+    protected List<Criteria> oredCriteria;
+
+    public GyeeuserExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    public Criteria or() {
+        Criteria criteria = createCriteriaInternal();
+        oredCriteria.add(criteria);
+        return criteria;
+    }
+
+    public Criteria createCriteria() {
+        Criteria criteria = createCriteriaInternal();
+        if (oredCriteria.size() == 0) {
+            oredCriteria.add(criteria);
+        }
+        return criteria;
+    }
+
+    protected Criteria createCriteriaInternal() {
+        Criteria criteria = new Criteria();
+        return criteria;
+    }
+
+    public void clear() {
+        oredCriteria.clear();
+        orderByClause = null;
+        distinct = false;
+    }
+
+    protected abstract static class GeneratedCriteria {
+        protected List<Criterion> criteria;
+
+        protected GeneratedCriteria() {
+            super();
+            criteria = new ArrayList<Criterion>();
+        }
+
+        public boolean isValid() {
+            return criteria.size() > 0;
+        }
+
+        public List<Criterion> getAllCriteria() {
+            return criteria;
+        }
+
+        public List<Criterion> getCriteria() {
+            return criteria;
+        }
+
+        protected void addCriterion(String condition) {
+            if (condition == null) {
+                throw new RuntimeException("Value for condition cannot be null");
+            }
+            criteria.add(new Criterion(condition));
+        }
+
+        protected void addCriterion(String condition, Object value, String property) {
+            if (value == null) {
+                throw new RuntimeException("Value for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value));
+        }
+
+        protected void addCriterion(String condition, Object value1, Object value2, String property) {
+            if (value1 == null || value2 == null) {
+                throw new RuntimeException("Between values for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value1, value2));
+        }
+				
+        public Criteria andIdIsNull() {
+            addCriterion("id is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIsNotNull() {
+            addCriterion("id is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdEqualTo(String value) {
+            addCriterion("id =", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotEqualTo(String value) {
+            addCriterion("id <>", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThan(String value) {
+            addCriterion("id >", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThanOrEqualTo(String value) {
+            addCriterion("id >=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThan(String value) {
+            addCriterion("id <", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThanOrEqualTo(String value) {
+            addCriterion("id <=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLike(String value) {
+            addCriterion("id like", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotLike(String value) {
+            addCriterion("id not like", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIn(List<String> values) {
+            addCriterion("id in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotIn(List<String> values) {
+            addCriterion("id not in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdBetween(String value1, String value2) {
+            addCriterion("id between", value1, value2, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotBetween(String value1, String value2) {
+            addCriterion("id not between", value1, value2, "id");
+            return (Criteria) this;
+        }
+        
+			
+        public Criteria andUsernameIsNull() {
+            addCriterion("username is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andUsernameIsNotNull() {
+            addCriterion("username is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andUsernameEqualTo(String value) {
+            addCriterion("username =", value, "username");
+            return (Criteria) this;
+        }
+
+        public Criteria andUsernameNotEqualTo(String value) {
+            addCriterion("username <>", value, "username");
+            return (Criteria) this;
+        }
+
+        public Criteria andUsernameGreaterThan(String value) {
+            addCriterion("username >", value, "username");
+            return (Criteria) this;
+        }
+
+        public Criteria andUsernameGreaterThanOrEqualTo(String value) {
+            addCriterion("username >=", value, "username");
+            return (Criteria) this;
+        }
+
+        public Criteria andUsernameLessThan(String value) {
+            addCriterion("username <", value, "username");
+            return (Criteria) this;
+        }
+
+        public Criteria andUsernameLessThanOrEqualTo(String value) {
+            addCriterion("username <=", value, "username");
+            return (Criteria) this;
+        }
+
+        public Criteria andUsernameLike(String value) {
+            addCriterion("username like", value, "username");
+            return (Criteria) this;
+        }
+
+        public Criteria andUsernameNotLike(String value) {
+            addCriterion("username not like", value, "username");
+            return (Criteria) this;
+        }
+
+        public Criteria andUsernameIn(List<String> values) {
+            addCriterion("username in", values, "username");
+            return (Criteria) this;
+        }
+
+        public Criteria andUsernameNotIn(List<String> values) {
+            addCriterion("username not in", values, "username");
+            return (Criteria) this;
+        }
+
+        public Criteria andUsernameBetween(String value1, String value2) {
+            addCriterion("username between", value1, value2, "username");
+            return (Criteria) this;
+        }
+
+        public Criteria andUsernameNotBetween(String value1, String value2) {
+            addCriterion("username not between", value1, value2, "username");
+            return (Criteria) this;
+        }
+        
+			
+        public Criteria andPasswordIsNull() {
+            addCriterion("password is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPasswordIsNotNull() {
+            addCriterion("password is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPasswordEqualTo(String value) {
+            addCriterion("password =", value, "password");
+            return (Criteria) this;
+        }
+
+        public Criteria andPasswordNotEqualTo(String value) {
+            addCriterion("password <>", value, "password");
+            return (Criteria) this;
+        }
+
+        public Criteria andPasswordGreaterThan(String value) {
+            addCriterion("password >", value, "password");
+            return (Criteria) this;
+        }
+
+        public Criteria andPasswordGreaterThanOrEqualTo(String value) {
+            addCriterion("password >=", value, "password");
+            return (Criteria) this;
+        }
+
+        public Criteria andPasswordLessThan(String value) {
+            addCriterion("password <", value, "password");
+            return (Criteria) this;
+        }
+
+        public Criteria andPasswordLessThanOrEqualTo(String value) {
+            addCriterion("password <=", value, "password");
+            return (Criteria) this;
+        }
+
+        public Criteria andPasswordLike(String value) {
+            addCriterion("password like", value, "password");
+            return (Criteria) this;
+        }
+
+        public Criteria andPasswordNotLike(String value) {
+            addCriterion("password not like", value, "password");
+            return (Criteria) this;
+        }
+
+        public Criteria andPasswordIn(List<String> values) {
+            addCriterion("password in", values, "password");
+            return (Criteria) this;
+        }
+
+        public Criteria andPasswordNotIn(List<String> values) {
+            addCriterion("password not in", values, "password");
+            return (Criteria) this;
+        }
+
+        public Criteria andPasswordBetween(String value1, String value2) {
+            addCriterion("password between", value1, value2, "password");
+            return (Criteria) this;
+        }
+
+        public Criteria andPasswordNotBetween(String value1, String value2) {
+            addCriterion("password not between", value1, value2, "password");
+            return (Criteria) this;
+        }
+        
+			
+        public Criteria andNicknameIsNull() {
+            addCriterion("nickname is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNicknameIsNotNull() {
+            addCriterion("nickname is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNicknameEqualTo(String value) {
+            addCriterion("nickname =", value, "nickname");
+            return (Criteria) this;
+        }
+
+        public Criteria andNicknameNotEqualTo(String value) {
+            addCriterion("nickname <>", value, "nickname");
+            return (Criteria) this;
+        }
+
+        public Criteria andNicknameGreaterThan(String value) {
+            addCriterion("nickname >", value, "nickname");
+            return (Criteria) this;
+        }
+
+        public Criteria andNicknameGreaterThanOrEqualTo(String value) {
+            addCriterion("nickname >=", value, "nickname");
+            return (Criteria) this;
+        }
+
+        public Criteria andNicknameLessThan(String value) {
+            addCriterion("nickname <", value, "nickname");
+            return (Criteria) this;
+        }
+
+        public Criteria andNicknameLessThanOrEqualTo(String value) {
+            addCriterion("nickname <=", value, "nickname");
+            return (Criteria) this;
+        }
+
+        public Criteria andNicknameLike(String value) {
+            addCriterion("nickname like", value, "nickname");
+            return (Criteria) this;
+        }
+
+        public Criteria andNicknameNotLike(String value) {
+            addCriterion("nickname not like", value, "nickname");
+            return (Criteria) this;
+        }
+
+        public Criteria andNicknameIn(List<String> values) {
+            addCriterion("nickname in", values, "nickname");
+            return (Criteria) this;
+        }
+
+        public Criteria andNicknameNotIn(List<String> values) {
+            addCriterion("nickname not in", values, "nickname");
+            return (Criteria) this;
+        }
+
+        public Criteria andNicknameBetween(String value1, String value2) {
+            addCriterion("nickname between", value1, value2, "nickname");
+            return (Criteria) this;
+        }
+
+        public Criteria andNicknameNotBetween(String value1, String value2) {
+            addCriterion("nickname not between", value1, value2, "nickname");
+            return (Criteria) this;
+        }
+        
+	}
+
+    public static class Criteria extends GeneratedCriteria {
+
+        protected Criteria() {
+            super();
+        }
+    }
+
+    public static class Criterion {
+        private String condition;
+
+        private Object value;
+
+        private Object secondValue;
+
+        private boolean noValue;
+
+        private boolean singleValue;
+
+        private boolean betweenValue;
+
+        private boolean listValue;
+
+        private String typeHandler;
+
+        public String getCondition() {
+            return condition;
+        }
+
+        public Object getValue() {
+            return value;
+        }
+
+        public Object getSecondValue() {
+            return secondValue;
+        }
+
+        public boolean isNoValue() {
+            return noValue;
+        }
+
+        public boolean isSingleValue() {
+            return singleValue;
+        }
+
+        public boolean isBetweenValue() {
+            return betweenValue;
+        }
+
+        public boolean isListValue() {
+            return listValue;
+        }
+
+        public String getTypeHandler() {
+            return typeHandler;
+        }
+
+        protected Criterion(String condition) {
+            super();
+            this.condition = condition;
+            this.typeHandler = null;
+            this.noValue = true;
+        }
+
+        protected Criterion(String condition, Object value, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.typeHandler = typeHandler;
+            if (value instanceof List<?>) {
+                this.listValue = true;
+            } else {
+                this.singleValue = true;
+            }
+        }
+
+        protected Criterion(String condition, Object value) {
+            this(condition, value, null);
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.secondValue = secondValue;
+            this.typeHandler = typeHandler;
+            this.betweenValue = true;
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue) {
+            this(condition, value, secondValue, null);
+        }
+    }
+}

+ 171 - 0
src/main/java/com/gyee/frame/model/auto/Gyeeuserinformation.java

@@ -0,0 +1,171 @@
+package com.gyee.frame.model.auto;
+
+import java.io.Serializable;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+
+/**
+ *  Gyeeuserinformation 
+ * @author gyee_自动生成
+ * @email 1@qq.com
+ * @date 2020-04-16 15:54:30
+ */
+ @ApiModel(value="Gyeeuserinformation", description="")
+public class Gyeeuserinformation implements Serializable {
+
+	private static final long serialVersionUID = 1L;
+	
+		
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String id;
+		
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String icon;
+		
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String phonenum;
+		
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String remarks1;
+		
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String remarks2;
+		
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String email;
+		
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String lastlogintime;
+		
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String lastloginip;
+		
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String lastequipmenttype;
+		
+	/**  **/
+	@ApiModelProperty(value = "") 
+private String name;
+		
+		
+	public String getId() {
+        return id;
+    }
+
+    public void setId(String id) {
+        this.id = id;
+    }
+	 
+			
+	public String getIcon() {
+        return icon;
+    }
+
+    public void setIcon(String icon) {
+        this.icon = icon;
+    }
+	 
+			
+	public String getPhonenum() {
+        return phonenum;
+    }
+
+    public void setPhonenum(String phonenum) {
+        this.phonenum = phonenum;
+    }
+	 
+			
+	public String getRemarks1() {
+        return remarks1;
+    }
+
+    public void setRemarks1(String remarks1) {
+        this.remarks1 = remarks1;
+    }
+	 
+			
+	public String getRemarks2() {
+        return remarks2;
+    }
+
+    public void setRemarks2(String remarks2) {
+        this.remarks2 = remarks2;
+    }
+	 
+			
+	public String getEmail() {
+        return email;
+    }
+
+    public void setEmail(String email) {
+        this.email = email;
+    }
+	 
+			
+	public String getLastlogintime() {
+        return lastlogintime;
+    }
+
+    public void setLastlogintime(String lastlogintime) {
+        this.lastlogintime = lastlogintime;
+    }
+	 
+			
+	public String getLastloginip() {
+        return lastloginip;
+    }
+
+    public void setLastloginip(String lastloginip) {
+        this.lastloginip = lastloginip;
+    }
+	 
+			
+	public String getLastequipmenttype() {
+        return lastequipmenttype;
+    }
+
+    public void setLastequipmenttype(String lastequipmenttype) {
+        this.lastequipmenttype = lastequipmenttype;
+    }
+	 
+			
+	public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+	 
+			
+	public Gyeeuserinformation() {
+        super();
+    }
+    
+																																																				
+	public Gyeeuserinformation(String id,String icon,String phonenum,String remarks1,String remarks2,String email,String lastlogintime,String lastloginip,String lastequipmenttype,String name) {
+	
+		this.id = id;
+		this.icon = icon;
+		this.phonenum = phonenum;
+		this.remarks1 = remarks1;
+		this.remarks2 = remarks2;
+		this.email = email;
+		this.lastlogintime = lastlogintime;
+		this.lastloginip = lastloginip;
+		this.lastequipmenttype = lastequipmenttype;
+		this.name = name;
+		
+	}
+	
+}

+ 919 - 0
src/main/java/com/gyee/frame/model/auto/GyeeuserinformationExample.java

@@ -0,0 +1,919 @@
+package com.gyee.frame.model.auto;
+
+import java.math.BigDecimal;
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+/**
+ *  GyeeuserinformationExample
+ * @author gyee_自动生成
+ * @email 1@qq.com
+ * @date 2020-04-16 15:54:30
+ */
+public class GyeeuserinformationExample {
+
+    protected String orderByClause;
+
+    protected boolean distinct;
+
+    protected List<Criteria> oredCriteria;
+
+    public GyeeuserinformationExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    public Criteria or() {
+        Criteria criteria = createCriteriaInternal();
+        oredCriteria.add(criteria);
+        return criteria;
+    }
+
+    public Criteria createCriteria() {
+        Criteria criteria = createCriteriaInternal();
+        if (oredCriteria.size() == 0) {
+            oredCriteria.add(criteria);
+        }
+        return criteria;
+    }
+
+    protected Criteria createCriteriaInternal() {
+        Criteria criteria = new Criteria();
+        return criteria;
+    }
+
+    public void clear() {
+        oredCriteria.clear();
+        orderByClause = null;
+        distinct = false;
+    }
+
+    protected abstract static class GeneratedCriteria {
+        protected List<Criterion> criteria;
+
+        protected GeneratedCriteria() {
+            super();
+            criteria = new ArrayList<Criterion>();
+        }
+
+        public boolean isValid() {
+            return criteria.size() > 0;
+        }
+
+        public List<Criterion> getAllCriteria() {
+            return criteria;
+        }
+
+        public List<Criterion> getCriteria() {
+            return criteria;
+        }
+
+        protected void addCriterion(String condition) {
+            if (condition == null) {
+                throw new RuntimeException("Value for condition cannot be null");
+            }
+            criteria.add(new Criterion(condition));
+        }
+
+        protected void addCriterion(String condition, Object value, String property) {
+            if (value == null) {
+                throw new RuntimeException("Value for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value));
+        }
+
+        protected void addCriterion(String condition, Object value1, Object value2, String property) {
+            if (value1 == null || value2 == null) {
+                throw new RuntimeException("Between values for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value1, value2));
+        }
+				
+        public Criteria andIdIsNull() {
+            addCriterion("id is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIsNotNull() {
+            addCriterion("id is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdEqualTo(String value) {
+            addCriterion("id =", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotEqualTo(String value) {
+            addCriterion("id <>", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThan(String value) {
+            addCriterion("id >", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThanOrEqualTo(String value) {
+            addCriterion("id >=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThan(String value) {
+            addCriterion("id <", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThanOrEqualTo(String value) {
+            addCriterion("id <=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLike(String value) {
+            addCriterion("id like", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotLike(String value) {
+            addCriterion("id not like", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIn(List<String> values) {
+            addCriterion("id in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotIn(List<String> values) {
+            addCriterion("id not in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdBetween(String value1, String value2) {
+            addCriterion("id between", value1, value2, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotBetween(String value1, String value2) {
+            addCriterion("id not between", value1, value2, "id");
+            return (Criteria) this;
+        }
+        
+			
+        public Criteria andIconIsNull() {
+            addCriterion("icon is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIconIsNotNull() {
+            addCriterion("icon is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIconEqualTo(String value) {
+            addCriterion("icon =", value, "icon");
+            return (Criteria) this;
+        }
+
+        public Criteria andIconNotEqualTo(String value) {
+            addCriterion("icon <>", value, "icon");
+            return (Criteria) this;
+        }
+
+        public Criteria andIconGreaterThan(String value) {
+            addCriterion("icon >", value, "icon");
+            return (Criteria) this;
+        }
+
+        public Criteria andIconGreaterThanOrEqualTo(String value) {
+            addCriterion("icon >=", value, "icon");
+            return (Criteria) this;
+        }
+
+        public Criteria andIconLessThan(String value) {
+            addCriterion("icon <", value, "icon");
+            return (Criteria) this;
+        }
+
+        public Criteria andIconLessThanOrEqualTo(String value) {
+            addCriterion("icon <=", value, "icon");
+            return (Criteria) this;
+        }
+
+        public Criteria andIconLike(String value) {
+            addCriterion("icon like", value, "icon");
+            return (Criteria) this;
+        }
+
+        public Criteria andIconNotLike(String value) {
+            addCriterion("icon not like", value, "icon");
+            return (Criteria) this;
+        }
+
+        public Criteria andIconIn(List<String> values) {
+            addCriterion("icon in", values, "icon");
+            return (Criteria) this;
+        }
+
+        public Criteria andIconNotIn(List<String> values) {
+            addCriterion("icon not in", values, "icon");
+            return (Criteria) this;
+        }
+
+        public Criteria andIconBetween(String value1, String value2) {
+            addCriterion("icon between", value1, value2, "icon");
+            return (Criteria) this;
+        }
+
+        public Criteria andIconNotBetween(String value1, String value2) {
+            addCriterion("icon not between", value1, value2, "icon");
+            return (Criteria) this;
+        }
+        
+			
+        public Criteria andPhonenumIsNull() {
+            addCriterion("phonenum is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhonenumIsNotNull() {
+            addCriterion("phonenum is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhonenumEqualTo(String value) {
+            addCriterion("phonenum =", value, "phonenum");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhonenumNotEqualTo(String value) {
+            addCriterion("phonenum <>", value, "phonenum");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhonenumGreaterThan(String value) {
+            addCriterion("phonenum >", value, "phonenum");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhonenumGreaterThanOrEqualTo(String value) {
+            addCriterion("phonenum >=", value, "phonenum");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhonenumLessThan(String value) {
+            addCriterion("phonenum <", value, "phonenum");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhonenumLessThanOrEqualTo(String value) {
+            addCriterion("phonenum <=", value, "phonenum");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhonenumLike(String value) {
+            addCriterion("phonenum like", value, "phonenum");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhonenumNotLike(String value) {
+            addCriterion("phonenum not like", value, "phonenum");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhonenumIn(List<String> values) {
+            addCriterion("phonenum in", values, "phonenum");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhonenumNotIn(List<String> values) {
+            addCriterion("phonenum not in", values, "phonenum");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhonenumBetween(String value1, String value2) {
+            addCriterion("phonenum between", value1, value2, "phonenum");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhonenumNotBetween(String value1, String value2) {
+            addCriterion("phonenum not between", value1, value2, "phonenum");
+            return (Criteria) this;
+        }
+        
+			
+        public Criteria andRemarks1IsNull() {
+            addCriterion("remarks1 is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarks1IsNotNull() {
+            addCriterion("remarks1 is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarks1EqualTo(String value) {
+            addCriterion("remarks1 =", value, "remarks1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarks1NotEqualTo(String value) {
+            addCriterion("remarks1 <>", value, "remarks1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarks1GreaterThan(String value) {
+            addCriterion("remarks1 >", value, "remarks1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarks1GreaterThanOrEqualTo(String value) {
+            addCriterion("remarks1 >=", value, "remarks1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarks1LessThan(String value) {
+            addCriterion("remarks1 <", value, "remarks1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarks1LessThanOrEqualTo(String value) {
+            addCriterion("remarks1 <=", value, "remarks1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarks1Like(String value) {
+            addCriterion("remarks1 like", value, "remarks1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarks1NotLike(String value) {
+            addCriterion("remarks1 not like", value, "remarks1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarks1In(List<String> values) {
+            addCriterion("remarks1 in", values, "remarks1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarks1NotIn(List<String> values) {
+            addCriterion("remarks1 not in", values, "remarks1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarks1Between(String value1, String value2) {
+            addCriterion("remarks1 between", value1, value2, "remarks1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarks1NotBetween(String value1, String value2) {
+            addCriterion("remarks1 not between", value1, value2, "remarks1");
+            return (Criteria) this;
+        }
+        
+			
+        public Criteria andRemarks2IsNull() {
+            addCriterion("remarks2 is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarks2IsNotNull() {
+            addCriterion("remarks2 is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarks2EqualTo(String value) {
+            addCriterion("remarks2 =", value, "remarks2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarks2NotEqualTo(String value) {
+            addCriterion("remarks2 <>", value, "remarks2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarks2GreaterThan(String value) {
+            addCriterion("remarks2 >", value, "remarks2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarks2GreaterThanOrEqualTo(String value) {
+            addCriterion("remarks2 >=", value, "remarks2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarks2LessThan(String value) {
+            addCriterion("remarks2 <", value, "remarks2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarks2LessThanOrEqualTo(String value) {
+            addCriterion("remarks2 <=", value, "remarks2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarks2Like(String value) {
+            addCriterion("remarks2 like", value, "remarks2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarks2NotLike(String value) {
+            addCriterion("remarks2 not like", value, "remarks2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarks2In(List<String> values) {
+            addCriterion("remarks2 in", values, "remarks2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarks2NotIn(List<String> values) {
+            addCriterion("remarks2 not in", values, "remarks2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarks2Between(String value1, String value2) {
+            addCriterion("remarks2 between", value1, value2, "remarks2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarks2NotBetween(String value1, String value2) {
+            addCriterion("remarks2 not between", value1, value2, "remarks2");
+            return (Criteria) this;
+        }
+        
+			
+        public Criteria andEmailIsNull() {
+            addCriterion("email is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andEmailIsNotNull() {
+            addCriterion("email is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andEmailEqualTo(String value) {
+            addCriterion("email =", value, "email");
+            return (Criteria) this;
+        }
+
+        public Criteria andEmailNotEqualTo(String value) {
+            addCriterion("email <>", value, "email");
+            return (Criteria) this;
+        }
+
+        public Criteria andEmailGreaterThan(String value) {
+            addCriterion("email >", value, "email");
+            return (Criteria) this;
+        }
+
+        public Criteria andEmailGreaterThanOrEqualTo(String value) {
+            addCriterion("email >=", value, "email");
+            return (Criteria) this;
+        }
+
+        public Criteria andEmailLessThan(String value) {
+            addCriterion("email <", value, "email");
+            return (Criteria) this;
+        }
+
+        public Criteria andEmailLessThanOrEqualTo(String value) {
+            addCriterion("email <=", value, "email");
+            return (Criteria) this;
+        }
+
+        public Criteria andEmailLike(String value) {
+            addCriterion("email like", value, "email");
+            return (Criteria) this;
+        }
+
+        public Criteria andEmailNotLike(String value) {
+            addCriterion("email not like", value, "email");
+            return (Criteria) this;
+        }
+
+        public Criteria andEmailIn(List<String> values) {
+            addCriterion("email in", values, "email");
+            return (Criteria) this;
+        }
+
+        public Criteria andEmailNotIn(List<String> values) {
+            addCriterion("email not in", values, "email");
+            return (Criteria) this;
+        }
+
+        public Criteria andEmailBetween(String value1, String value2) {
+            addCriterion("email between", value1, value2, "email");
+            return (Criteria) this;
+        }
+
+        public Criteria andEmailNotBetween(String value1, String value2) {
+            addCriterion("email not between", value1, value2, "email");
+            return (Criteria) this;
+        }
+        
+			
+        public Criteria andLastlogintimeIsNull() {
+            addCriterion("lastlogintime is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastlogintimeIsNotNull() {
+            addCriterion("lastlogintime is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastlogintimeEqualTo(String value) {
+            addCriterion("lastlogintime =", value, "lastlogintime");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastlogintimeNotEqualTo(String value) {
+            addCriterion("lastlogintime <>", value, "lastlogintime");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastlogintimeGreaterThan(String value) {
+            addCriterion("lastlogintime >", value, "lastlogintime");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastlogintimeGreaterThanOrEqualTo(String value) {
+            addCriterion("lastlogintime >=", value, "lastlogintime");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastlogintimeLessThan(String value) {
+            addCriterion("lastlogintime <", value, "lastlogintime");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastlogintimeLessThanOrEqualTo(String value) {
+            addCriterion("lastlogintime <=", value, "lastlogintime");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastlogintimeLike(String value) {
+            addCriterion("lastlogintime like", value, "lastlogintime");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastlogintimeNotLike(String value) {
+            addCriterion("lastlogintime not like", value, "lastlogintime");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastlogintimeIn(List<String> values) {
+            addCriterion("lastlogintime in", values, "lastlogintime");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastlogintimeNotIn(List<String> values) {
+            addCriterion("lastlogintime not in", values, "lastlogintime");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastlogintimeBetween(String value1, String value2) {
+            addCriterion("lastlogintime between", value1, value2, "lastlogintime");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastlogintimeNotBetween(String value1, String value2) {
+            addCriterion("lastlogintime not between", value1, value2, "lastlogintime");
+            return (Criteria) this;
+        }
+        
+			
+        public Criteria andLastloginipIsNull() {
+            addCriterion("lastloginip is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastloginipIsNotNull() {
+            addCriterion("lastloginip is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastloginipEqualTo(String value) {
+            addCriterion("lastloginip =", value, "lastloginip");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastloginipNotEqualTo(String value) {
+            addCriterion("lastloginip <>", value, "lastloginip");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastloginipGreaterThan(String value) {
+            addCriterion("lastloginip >", value, "lastloginip");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastloginipGreaterThanOrEqualTo(String value) {
+            addCriterion("lastloginip >=", value, "lastloginip");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastloginipLessThan(String value) {
+            addCriterion("lastloginip <", value, "lastloginip");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastloginipLessThanOrEqualTo(String value) {
+            addCriterion("lastloginip <=", value, "lastloginip");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastloginipLike(String value) {
+            addCriterion("lastloginip like", value, "lastloginip");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastloginipNotLike(String value) {
+            addCriterion("lastloginip not like", value, "lastloginip");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastloginipIn(List<String> values) {
+            addCriterion("lastloginip in", values, "lastloginip");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastloginipNotIn(List<String> values) {
+            addCriterion("lastloginip not in", values, "lastloginip");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastloginipBetween(String value1, String value2) {
+            addCriterion("lastloginip between", value1, value2, "lastloginip");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastloginipNotBetween(String value1, String value2) {
+            addCriterion("lastloginip not between", value1, value2, "lastloginip");
+            return (Criteria) this;
+        }
+        
+			
+        public Criteria andLastequipmenttypeIsNull() {
+            addCriterion("lastequipmenttype is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastequipmenttypeIsNotNull() {
+            addCriterion("lastequipmenttype is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastequipmenttypeEqualTo(String value) {
+            addCriterion("lastequipmenttype =", value, "lastequipmenttype");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastequipmenttypeNotEqualTo(String value) {
+            addCriterion("lastequipmenttype <>", value, "lastequipmenttype");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastequipmenttypeGreaterThan(String value) {
+            addCriterion("lastequipmenttype >", value, "lastequipmenttype");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastequipmenttypeGreaterThanOrEqualTo(String value) {
+            addCriterion("lastequipmenttype >=", value, "lastequipmenttype");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastequipmenttypeLessThan(String value) {
+            addCriterion("lastequipmenttype <", value, "lastequipmenttype");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastequipmenttypeLessThanOrEqualTo(String value) {
+            addCriterion("lastequipmenttype <=", value, "lastequipmenttype");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastequipmenttypeLike(String value) {
+            addCriterion("lastequipmenttype like", value, "lastequipmenttype");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastequipmenttypeNotLike(String value) {
+            addCriterion("lastequipmenttype not like", value, "lastequipmenttype");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastequipmenttypeIn(List<String> values) {
+            addCriterion("lastequipmenttype in", values, "lastequipmenttype");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastequipmenttypeNotIn(List<String> values) {
+            addCriterion("lastequipmenttype not in", values, "lastequipmenttype");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastequipmenttypeBetween(String value1, String value2) {
+            addCriterion("lastequipmenttype between", value1, value2, "lastequipmenttype");
+            return (Criteria) this;
+        }
+
+        public Criteria andLastequipmenttypeNotBetween(String value1, String value2) {
+            addCriterion("lastequipmenttype not between", value1, value2, "lastequipmenttype");
+            return (Criteria) this;
+        }
+        
+			
+        public Criteria andNameIsNull() {
+            addCriterion("name is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameIsNotNull() {
+            addCriterion("name is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameEqualTo(String value) {
+            addCriterion("name =", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotEqualTo(String value) {
+            addCriterion("name <>", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameGreaterThan(String value) {
+            addCriterion("name >", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameGreaterThanOrEqualTo(String value) {
+            addCriterion("name >=", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameLessThan(String value) {
+            addCriterion("name <", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameLessThanOrEqualTo(String value) {
+            addCriterion("name <=", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameLike(String value) {
+            addCriterion("name like", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotLike(String value) {
+            addCriterion("name not like", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameIn(List<String> values) {
+            addCriterion("name in", values, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotIn(List<String> values) {
+            addCriterion("name not in", values, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameBetween(String value1, String value2) {
+            addCriterion("name between", value1, value2, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotBetween(String value1, String value2) {
+            addCriterion("name not between", value1, value2, "name");
+            return (Criteria) this;
+        }
+        
+	}
+
+    public static class Criteria extends GeneratedCriteria {
+
+        protected Criteria() {
+            super();
+        }
+    }
+
+    public static class Criterion {
+        private String condition;
+
+        private Object value;
+
+        private Object secondValue;
+
+        private boolean noValue;
+
+        private boolean singleValue;
+
+        private boolean betweenValue;
+
+        private boolean listValue;
+
+        private String typeHandler;
+
+        public String getCondition() {
+            return condition;
+        }
+
+        public Object getValue() {
+            return value;
+        }
+
+        public Object getSecondValue() {
+            return secondValue;
+        }
+
+        public boolean isNoValue() {
+            return noValue;
+        }
+
+        public boolean isSingleValue() {
+            return singleValue;
+        }
+
+        public boolean isBetweenValue() {
+            return betweenValue;
+        }
+
+        public boolean isListValue() {
+            return listValue;
+        }
+
+        public String getTypeHandler() {
+            return typeHandler;
+        }
+
+        protected Criterion(String condition) {
+            super();
+            this.condition = condition;
+            this.typeHandler = null;
+            this.noValue = true;
+        }
+
+        protected Criterion(String condition, Object value, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.typeHandler = typeHandler;
+            if (value instanceof List<?>) {
+                this.listValue = true;
+            } else {
+                this.singleValue = true;
+            }
+        }
+
+        protected Criterion(String condition, Object value) {
+            this(condition, value, null);
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.secondValue = secondValue;
+            this.typeHandler = typeHandler;
+            this.betweenValue = true;
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue) {
+            this(condition, value, secondValue, null);
+        }
+    }
+}

+ 153 - 0
src/main/java/com/gyee/frame/service/GyeeorganService.java

@@ -0,0 +1,153 @@
+package com.gyee.frame.service;
+
+import java.util.List;
+import java.util.Arrays;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.github.pagehelper.PageHelper;
+import com.github.pagehelper.PageInfo;
+import com.gyee.frame.common.base.BaseService;
+import com.gyee.frame.common.support.Convert;
+import com.gyee.frame.mapper.auto.GyeeorganMapper;
+import com.gyee.frame.model.auto.Gyeeorgan;
+import com.gyee.frame.model.auto.GyeeorganExample;
+import com.gyee.frame.model.custom.Tablepar;
+import com.gyee.frame.util.SnowflakeIdWorker;
+
+/**
+ *  GyeeorganService
+ * @Title: GyeeorganService.java 
+ * @Package com.gyee.frame.service 
+ * @author gyee_自动生成
+ * @email 1@qq.com
+ * @date 2020-04-17 14:18:03  
+ **/
+@Service
+public class GyeeorganService implements BaseService<Gyeeorgan, GyeeorganExample>{
+	@Autowired
+	private GyeeorganMapper gyeeorganMapper;
+	
+      	   	      	      	      	      	
+	/**
+	 * 分页查询
+	 * @param pageNum
+	 * @param pageSize
+	 * @return
+	 */
+	 public PageInfo<Gyeeorgan> list(Tablepar tablepar,String name){
+	        GyeeorganExample testExample=new GyeeorganExample();
+	        testExample.setOrderByClause("id ASC");
+	        if(name!=null&&!"".equals(name)){
+	        	testExample.createCriteria().andDescribesLike("%"+name+"%");
+	        }
+
+	        PageHelper.startPage(tablepar.getPageNum(), tablepar.getPageSize());
+	        List<Gyeeorgan> list= gyeeorganMapper.selectByExample(testExample);
+	        PageInfo<Gyeeorgan> pageInfo = new PageInfo<Gyeeorgan>(list);
+	        return  pageInfo;
+	 }
+
+	@Override
+	public int deleteByPrimaryKey(String ids) {
+				
+			List<String> lista=Convert.toListStrArray(ids);
+			GyeeorganExample example=new GyeeorganExample();
+			example.createCriteria().andIdIn(lista);
+			return gyeeorganMapper.deleteByExample(example);
+			
+				
+	}
+	
+	
+	@Override
+	public Gyeeorgan selectByPrimaryKey(String id) {
+				
+			return gyeeorganMapper.selectByPrimaryKey(id);
+				
+	}
+
+	
+	@Override
+	public int updateByPrimaryKeySelective(Gyeeorgan record) {
+		return gyeeorganMapper.updateByPrimaryKeySelective(record);
+	}
+	
+	
+	/**
+	 * 添加
+	 */
+	@Override
+	public int insertSelective(Gyeeorgan record) {
+				
+		//添加雪花主键id
+		record.setId(SnowflakeIdWorker.getUUID());
+			
+				
+		return gyeeorganMapper.insertSelective(record);
+	}
+	
+	
+	@Override
+	public int updateByExampleSelective(Gyeeorgan record, GyeeorganExample example) {
+		
+		return gyeeorganMapper.updateByExampleSelective(record, example);
+	}
+
+	
+	@Override
+	public int updateByExample(Gyeeorgan record, GyeeorganExample example) {
+		
+		return gyeeorganMapper.updateByExample(record, example);
+	}
+
+	@Override
+	public List<Gyeeorgan> selectByExample(GyeeorganExample example) {
+		
+		return gyeeorganMapper.selectByExample(example);
+	}
+
+	
+	@Override
+	public long countByExample(GyeeorganExample example) {
+		
+		return gyeeorganMapper.countByExample(example);
+	}
+
+	
+	@Override
+	public int deleteByExample(GyeeorganExample example) {
+		
+		return gyeeorganMapper.deleteByExample(example);
+	}
+	
+	/**
+	 * 检查name
+	 * @param gyeeorgan
+	 * @return
+	 */
+	public int checkNameUnique(Gyeeorgan gyeeorgan){
+		GyeeorganExample example=new GyeeorganExample();
+		example.createCriteria().andDescribesEqualTo(gyeeorgan.getDescribes());
+		List<Gyeeorgan> list=gyeeorganMapper.selectByExample(example);
+		return list.size();
+	}
+	
+	/**
+	 * 
+		 *@author:Li Miao
+		 *
+		 *@description: 通过userid查询风场权限
+		 *
+		 *@param:userid
+		 *
+		 *@return:List<Gyeeorgan>
+		 *
+		 *@createTime:2020年4月17日
+		 *
+	 */
+	public List<Gyeeorgan> queryOrganByUserId(String userid){
+		return gyeeorganMapper.queryOrganByUserId(userid);
+	}
+
+
+}

+ 210 - 0
src/main/java/com/gyee/frame/service/GyeepermissionService.java

@@ -0,0 +1,210 @@
+package com.gyee.frame.service;
+
+import java.util.List;
+import java.util.ArrayList;
+import java.util.Arrays;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.github.pagehelper.PageHelper;
+import com.github.pagehelper.PageInfo;
+import com.gyee.frame.common.base.BaseService;
+import com.gyee.frame.common.support.Convert;
+import com.gyee.frame.mapper.auto.GyeepermissionMapper;
+import com.gyee.frame.model.auto.Gyeepermission;
+import com.gyee.frame.model.auto.GyeepermissionExample;
+import com.gyee.frame.model.auto.GyeepermissionView;
+import com.gyee.frame.model.custom.Tablepar;
+import com.gyee.frame.util.SnowflakeIdWorker;
+
+/**
+ *  GyeepermissionService
+ * @Title: GyeepermissionService.java 
+ * @Package com.gyee.frame.service 
+ * @author gyee_自动生成
+ * @email 1@qq.com
+ * @date 2020-04-16 14:55:15  
+ **/
+@Service
+public class GyeepermissionService implements BaseService<Gyeepermission, GyeepermissionExample>{
+	@Autowired
+	private GyeepermissionMapper gyeepermissionMapper;
+	
+      	   	      	      	      	      	      	      	      	      	
+	/**
+	 * 分页查询
+	 * @param pageNum
+	 * @param pageSize
+	 * @return
+	 */
+	 public PageInfo<Gyeepermission> list(Tablepar tablepar,String name){
+	        GyeepermissionExample testExample=new GyeepermissionExample();
+	        testExample.setOrderByClause("id ASC");
+	        if(name!=null&&!"".equals(name)){
+	        	testExample.createCriteria().andPermisssionnameLike("%"+name+"%");
+	        }
+
+	        PageHelper.startPage(tablepar.getPageNum(), tablepar.getPageSize());
+	        List<Gyeepermission> list= gyeepermissionMapper.selectByExample(testExample);
+	        PageInfo<Gyeepermission> pageInfo = new PageInfo<Gyeepermission>(list);
+	        return  pageInfo;
+	 }
+
+	@Override
+	public int deleteByPrimaryKey(String ids) {
+				
+			List<String> lista=Convert.toListStrArray(ids);
+			GyeepermissionExample example=new GyeepermissionExample();
+			example.createCriteria().andIdIn(lista);
+			return gyeepermissionMapper.deleteByExample(example);
+			
+				
+	}
+	
+	
+	@Override
+	public Gyeepermission selectByPrimaryKey(String id) {
+				
+			return gyeepermissionMapper.selectByPrimaryKey(id);
+				
+	}
+
+	
+	@Override
+	public int updateByPrimaryKeySelective(Gyeepermission record) {
+		return gyeepermissionMapper.updateByPrimaryKeySelective(record);
+	}
+	
+	
+	/**
+	 * 添加
+	 */
+	@Override
+	public int insertSelective(Gyeepermission record) {
+				
+		//添加雪花主键id
+		record.setId(SnowflakeIdWorker.getUUID());
+			
+				
+		return gyeepermissionMapper.insertSelective(record);
+	}
+	
+	
+	@Override
+	public int updateByExampleSelective(Gyeepermission record, GyeepermissionExample example) {
+		
+		return gyeepermissionMapper.updateByExampleSelective(record, example);
+	}
+
+	
+	@Override
+	public int updateByExample(Gyeepermission record, GyeepermissionExample example) {
+		
+		return gyeepermissionMapper.updateByExample(record, example);
+	}
+
+	@Override
+	public List<Gyeepermission> selectByExample(GyeepermissionExample example) {
+		
+		return gyeepermissionMapper.selectByExample(example);
+	}
+
+	
+	@Override
+	public long countByExample(GyeepermissionExample example) {
+		
+		return gyeepermissionMapper.countByExample(example);
+	}
+
+	
+	@Override
+	public int deleteByExample(GyeepermissionExample example) {
+		
+		return gyeepermissionMapper.deleteByExample(example);
+	}
+	
+	/**
+	 * 检查name
+	 * @param gyeepermission
+	 * @return
+	 */
+	public int checkNameUnique(Gyeepermission gyeepermission){
+		GyeepermissionExample example=new GyeepermissionExample();
+		example.createCriteria().andPermisssionnameEqualTo(gyeepermission.getPermisssionname());
+		List<Gyeepermission> list=gyeepermissionMapper.selectByExample(example);
+		return list.size();
+	}
+
+	/**
+	 * 
+		 *@author:Li Miao
+		 *
+		 *@description: 查询模块权限
+		 *
+		 *@param:roleId
+		 *
+		 *@return:List<GyeepermissionView>
+		 *
+		 *@createTime:2020年4月20日
+		 *
+	 */
+	public List<GyeepermissionView> queryPermissionByRoleId(String userid){
+		List<Gyeepermission> allList=gyeepermissionMapper.queryPermissionByRoleId(userid);
+		List<GyeepermissionView> list=new ArrayList();		
+		for(int i=0;i<allList.size();i++){
+			if(allList.get(i).getParent().equals("-1")){
+				GyeepermissionView gyeePermissionView=new GyeepermissionView();
+				gyeePermissionView.setId(allList.get(i).getId());
+				gyeePermissionView.setPermisssionlevel(allList.get(i).getPermisssionlevel());
+				gyeePermissionView.setPermisssionname(allList.get(i).getPermisssionname());
+				gyeePermissionView.setDescribes(allList.get(i).getDescribes());
+				gyeePermissionView.setRemark1(allList.get(i).getRemark1());
+				gyeePermissionView.setRemark2(allList.get(i).getRemark2());
+				gyeePermissionView.setParent(allList.get(i).getParent());
+				gyeePermissionView.setIsable(allList.get(i).getIsable());
+				List<GyeepermissionView> layerList=new ArrayList();
+				layerList=this.getPermission(allList, allList.get(i).getId());
+				gyeePermissionView.setGyeePermissionList(layerList);
+				list.add(gyeePermissionView);
+			}
+			
+		}
+		return list;
+	}
+	
+	/**
+	 * 
+		 *@author:Li Miao
+		 *
+		 *@description: 得到下一级的模块权限,递归算法
+		 *
+		 *@param:allList,parent
+		 *
+		 *@return:List<GyeepermissionView>
+		 *
+		 *@createTime:2020年4月20日
+		 *
+	 */
+	public List<GyeepermissionView> getPermission(List<Gyeepermission> allList,String parent){
+		List<GyeepermissionView> layerList=new ArrayList();
+		for(int i=0;i<allList.size();i++){
+			if(allList.get(i).getParent().equals(parent)){
+				GyeepermissionView gyeePermissionView=new GyeepermissionView();
+				gyeePermissionView.setId(allList.get(i).getId());
+				gyeePermissionView.setPermisssionlevel(allList.get(i).getPermisssionlevel());
+				gyeePermissionView.setPermisssionname(allList.get(i).getPermisssionname());
+				gyeePermissionView.setDescribes(allList.get(i).getDescribes());
+				gyeePermissionView.setRemark1(allList.get(i).getRemark1());
+				gyeePermissionView.setRemark2(allList.get(i).getRemark2());
+				gyeePermissionView.setParent(allList.get(i).getParent());
+				gyeePermissionView.setIsable(allList.get(i).getIsable());
+				List<GyeepermissionView> nextLayerList=new ArrayList();
+				nextLayerList=this.getPermission(allList, allList.get(i).getId());
+				gyeePermissionView.setGyeePermissionList(nextLayerList);
+				layerList.add(gyeePermissionView);
+			}
+		}
+		return layerList;
+	}
+
+
+}

+ 153 - 0
src/main/java/com/gyee/frame/service/GyeeroleService.java

@@ -0,0 +1,153 @@
+package com.gyee.frame.service;
+
+import java.util.List;
+import java.util.Arrays;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.github.pagehelper.PageHelper;
+import com.github.pagehelper.PageInfo;
+import com.gyee.frame.common.base.BaseService;
+import com.gyee.frame.common.support.Convert;
+import com.gyee.frame.mapper.auto.GyeeroleMapper;
+import com.gyee.frame.model.auto.Gyeerole;
+import com.gyee.frame.model.auto.GyeeroleExample;
+import com.gyee.frame.model.custom.Tablepar;
+import com.gyee.frame.util.SnowflakeIdWorker;
+
+/**
+ *  GyeeroleService
+ * @Title: GyeeroleService.java 
+ * @Package com.gyee.frame.service 
+ * @author gyee_自动生成
+ * @email 1@qq.com
+ * @date 2020-04-16 13:20:51  
+ **/
+@Service
+public class GyeeroleService implements BaseService<Gyeerole, GyeeroleExample>{
+	@Autowired
+	private GyeeroleMapper gyeeroleMapper;
+	
+      	   	      	      	      	
+	/**
+	 * 分页查询
+	 * @param pageNum
+	 * @param pageSize
+	 * @return
+	 */
+	 public PageInfo<Gyeerole> list(Tablepar tablepar,String name){
+	        GyeeroleExample testExample=new GyeeroleExample();
+	        testExample.setOrderByClause("id ASC");
+	        if(name!=null&&!"".equals(name)){
+	        	testExample.createCriteria().andNameLike("%"+name+"%");
+	        }
+
+	        PageHelper.startPage(tablepar.getPageNum(), tablepar.getPageSize());
+	        List<Gyeerole> list= gyeeroleMapper.selectByExample(testExample);
+	        PageInfo<Gyeerole> pageInfo = new PageInfo<Gyeerole>(list);
+	        return  pageInfo;
+	 }
+
+	@Override
+	public int deleteByPrimaryKey(String ids) {
+				
+			List<String> lista=Convert.toListStrArray(ids);
+			GyeeroleExample example=new GyeeroleExample();
+			example.createCriteria().andIdIn(lista);
+			return gyeeroleMapper.deleteByExample(example);
+			
+				
+	}
+	
+	
+	@Override
+	public Gyeerole selectByPrimaryKey(String id) {
+				
+			return gyeeroleMapper.selectByPrimaryKey(id);
+				
+	}
+
+	
+	@Override
+	public int updateByPrimaryKeySelective(Gyeerole record) {
+		return gyeeroleMapper.updateByPrimaryKeySelective(record);
+	}
+	
+	
+	/**
+	 * 添加
+	 */
+	@Override
+	public int insertSelective(Gyeerole record) {
+				
+		//添加雪花主键id
+		record.setId(SnowflakeIdWorker.getUUID());
+			
+				
+		return gyeeroleMapper.insertSelective(record);
+	}
+	
+	
+	@Override
+	public int updateByExampleSelective(Gyeerole record, GyeeroleExample example) {
+		
+		return gyeeroleMapper.updateByExampleSelective(record, example);
+	}
+
+	
+	@Override
+	public int updateByExample(Gyeerole record, GyeeroleExample example) {
+		
+		return gyeeroleMapper.updateByExample(record, example);
+	}
+
+	@Override
+	public List<Gyeerole> selectByExample(GyeeroleExample example) {
+		
+		return gyeeroleMapper.selectByExample(example);
+	}
+
+	
+	@Override
+	public long countByExample(GyeeroleExample example) {
+		
+		return gyeeroleMapper.countByExample(example);
+	}
+
+	
+	@Override
+	public int deleteByExample(GyeeroleExample example) {
+		
+		return gyeeroleMapper.deleteByExample(example);
+	}
+	
+	/**
+	 * 检查name
+	 * @param gyeerole
+	 * @return
+	 */
+	public int checkNameUnique(Gyeerole gyeerole){
+		GyeeroleExample example=new GyeeroleExample();
+		example.createCriteria().andNameEqualTo(gyeerole.getName());
+		List<Gyeerole> list=gyeeroleMapper.selectByExample(example);
+		return list.size();
+	}
+	
+	/**
+	 * 
+		 *@author:Li Miao
+		 *
+		 *@description: 查询用户角色信息
+		 *
+		 *@param:id
+		 *
+		 *@return:List<Gyeerole>
+		 *
+		 *@createTime:2020年4月16日
+		 *
+	 */
+	public List<Gyeerole> queryRoleByUserId(String userid){
+		return gyeeroleMapper.queryRoleByUserId(userid);
+	}
+
+
+}

+ 153 - 0
src/main/java/com/gyee/frame/service/GyeeuserService.java

@@ -0,0 +1,153 @@
+package com.gyee.frame.service;
+
+import java.util.List;
+import java.util.Arrays;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.github.pagehelper.PageHelper;
+import com.github.pagehelper.PageInfo;
+import com.gyee.frame.common.base.BaseService;
+import com.gyee.frame.common.support.Convert;
+import com.gyee.frame.mapper.auto.GyeeuserMapper;
+import com.gyee.frame.model.auto.Gyeeuser;
+import com.gyee.frame.model.auto.GyeeuserExample;
+import com.gyee.frame.model.custom.Tablepar;
+import com.gyee.frame.util.SnowflakeIdWorker;
+
+/**
+ *  GyeeuserService
+ * @Title: GyeeuserService.java 
+ * @Package com.gyee.frame.service 
+ * @author gyee_自动生成
+ * @email 1@qq.com
+ * @date 2020-04-15 16:48:37  
+ **/
+@Service
+public class GyeeuserService implements BaseService<Gyeeuser, GyeeuserExample>{
+	@Autowired
+	private GyeeuserMapper gyeeuserMapper;
+	
+      	   	      	      	      	      	
+	/**
+	 * 分页查询
+	 * @param pageNum
+	 * @param pageSize
+	 * @return
+	 */
+	 public PageInfo<Gyeeuser> list(Tablepar tablepar,String name){
+	        GyeeuserExample testExample=new GyeeuserExample();
+	        testExample.setOrderByClause("id ASC");
+	        if(name!=null&&!"".equals(name)){
+	        	testExample.createCriteria().andUsernameLike("%"+name+"%");
+	        }
+
+	        PageHelper.startPage(tablepar.getPageNum(), tablepar.getPageSize());
+	        List<Gyeeuser> list= gyeeuserMapper.selectByExample(testExample);
+	        PageInfo<Gyeeuser> pageInfo = new PageInfo<Gyeeuser>(list);
+	        return  pageInfo;
+	 }
+
+	@Override
+	public int deleteByPrimaryKey(String ids) {
+				
+			List<String> lista=Convert.toListStrArray(ids);
+			GyeeuserExample example=new GyeeuserExample();
+			example.createCriteria().andIdIn(lista);
+			return gyeeuserMapper.deleteByExample(example);
+			
+				
+	}
+	
+	
+	@Override
+	public Gyeeuser selectByPrimaryKey(String id) {
+				
+			return gyeeuserMapper.selectByPrimaryKey(id);
+				
+	}
+
+	
+	@Override
+	public int updateByPrimaryKeySelective(Gyeeuser record) {
+		return gyeeuserMapper.updateByPrimaryKeySelective(record);
+	}
+	
+	
+	/**
+	 * 添加
+	 */
+	@Override
+	public int insertSelective(Gyeeuser record) {
+				
+		//添加雪花主键id
+		record.setId(SnowflakeIdWorker.getUUID());
+			
+				
+		return gyeeuserMapper.insertSelective(record);
+	}
+	
+	
+	@Override
+	public int updateByExampleSelective(Gyeeuser record, GyeeuserExample example) {
+		
+		return gyeeuserMapper.updateByExampleSelective(record, example);
+	}
+
+	
+	@Override
+	public int updateByExample(Gyeeuser record, GyeeuserExample example) {
+		
+		return gyeeuserMapper.updateByExample(record, example);
+	}
+
+	@Override
+	public List<Gyeeuser> selectByExample(GyeeuserExample example) {
+		
+		return gyeeuserMapper.selectByExample(example);
+	}
+
+	
+	@Override
+	public long countByExample(GyeeuserExample example) {
+		
+		return gyeeuserMapper.countByExample(example);
+	}
+
+	
+	@Override
+	public int deleteByExample(GyeeuserExample example) {
+		
+		return gyeeuserMapper.deleteByExample(example);
+	}
+	
+	/**
+	 * 检查name
+	 * @param gyeeuser
+	 * @return
+	 */
+	public int checkNameUnique(Gyeeuser gyeeuser){
+		GyeeuserExample example=new GyeeuserExample();
+		example.createCriteria().andUsernameEqualTo(gyeeuser.getUsername());
+		List<Gyeeuser> list=gyeeuserMapper.selectByExample(example);
+		return list.size();
+	}
+	
+	/**
+	 * 
+		 *@author:Li Miao
+		 *
+		 *@description: 获取用户id
+		 *
+		 *@param:gyeeuser
+		 *
+		 *@return:id
+		 *
+		 *@createTime:2020年4月16日
+		 *
+	 */
+	public String queryIdByUserNamePassWord(Gyeeuser gyeeuser){
+		return gyeeuserMapper.queryIdByUserNamePassWord(gyeeuser);
+	}
+
+
+}

+ 153 - 0
src/main/java/com/gyee/frame/service/GyeeuserinformationService.java

@@ -0,0 +1,153 @@
+package com.gyee.frame.service;
+
+import java.util.List;
+import java.util.Arrays;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.github.pagehelper.PageHelper;
+import com.github.pagehelper.PageInfo;
+import com.gyee.frame.common.base.BaseService;
+import com.gyee.frame.common.support.Convert;
+import com.gyee.frame.mapper.auto.GyeeuserinformationMapper;
+import com.gyee.frame.model.auto.Gyeeuserinformation;
+import com.gyee.frame.model.auto.GyeeuserinformationExample;
+import com.gyee.frame.model.custom.Tablepar;
+import com.gyee.frame.util.SnowflakeIdWorker;
+
+/**
+ *  GyeeuserinformationService
+ * @Title: GyeeuserinformationService.java 
+ * @Package com.gyee.frame.service 
+ * @author gyee_自动生成
+ * @email 1@qq.com
+ * @date 2020-04-16 15:54:30  
+ **/
+@Service
+public class GyeeuserinformationService implements BaseService<Gyeeuserinformation, GyeeuserinformationExample>{
+	@Autowired
+	private GyeeuserinformationMapper gyeeuserinformationMapper;
+	
+      	   	      	      	      	      	      	      	      	      	      	      	
+	/**
+	 * 分页查询
+	 * @param pageNum
+	 * @param pageSize
+	 * @return
+	 */
+	 public PageInfo<Gyeeuserinformation> list(Tablepar tablepar,String name){
+	        GyeeuserinformationExample testExample=new GyeeuserinformationExample();
+	        testExample.setOrderByClause("id ASC");
+	        if(name!=null&&!"".equals(name)){
+	        	testExample.createCriteria().andNameLike("%"+name+"%");
+	        }
+
+	        PageHelper.startPage(tablepar.getPageNum(), tablepar.getPageSize());
+	        List<Gyeeuserinformation> list= gyeeuserinformationMapper.selectByExample(testExample);
+	        PageInfo<Gyeeuserinformation> pageInfo = new PageInfo<Gyeeuserinformation>(list);
+	        return  pageInfo;
+	 }
+
+	@Override
+	public int deleteByPrimaryKey(String ids) {
+				
+			List<String> lista=Convert.toListStrArray(ids);
+			GyeeuserinformationExample example=new GyeeuserinformationExample();
+			example.createCriteria().andIdIn(lista);
+			return gyeeuserinformationMapper.deleteByExample(example);
+			
+				
+	}
+	
+	
+	@Override
+	public Gyeeuserinformation selectByPrimaryKey(String id) {
+				
+			return gyeeuserinformationMapper.selectByPrimaryKey(id);
+				
+	}
+
+	
+	@Override
+	public int updateByPrimaryKeySelective(Gyeeuserinformation record) {
+		return gyeeuserinformationMapper.updateByPrimaryKeySelective(record);
+	}
+	
+	
+	/**
+	 * 添加
+	 */
+	@Override
+	public int insertSelective(Gyeeuserinformation record) {
+				
+		//添加雪花主键id
+		record.setId(SnowflakeIdWorker.getUUID());
+			
+				
+		return gyeeuserinformationMapper.insertSelective(record);
+	}
+	
+	
+	@Override
+	public int updateByExampleSelective(Gyeeuserinformation record, GyeeuserinformationExample example) {
+		
+		return gyeeuserinformationMapper.updateByExampleSelective(record, example);
+	}
+
+	
+	@Override
+	public int updateByExample(Gyeeuserinformation record, GyeeuserinformationExample example) {
+		
+		return gyeeuserinformationMapper.updateByExample(record, example);
+	}
+
+	@Override
+	public List<Gyeeuserinformation> selectByExample(GyeeuserinformationExample example) {
+		
+		return gyeeuserinformationMapper.selectByExample(example);
+	}
+
+	
+	@Override
+	public long countByExample(GyeeuserinformationExample example) {
+		
+		return gyeeuserinformationMapper.countByExample(example);
+	}
+
+	
+	@Override
+	public int deleteByExample(GyeeuserinformationExample example) {
+		
+		return gyeeuserinformationMapper.deleteByExample(example);
+	}
+	
+	/**
+	 * 检查name
+	 * @param gyeeuserinformation
+	 * @return
+	 */
+	public int checkNameUnique(Gyeeuserinformation gyeeuserinformation){
+		GyeeuserinformationExample example=new GyeeuserinformationExample();
+		example.createCriteria().andNameEqualTo(gyeeuserinformation.getName());
+		List<Gyeeuserinformation> list=gyeeuserinformationMapper.selectByExample(example);
+		return list.size();
+	}
+	
+	/**
+	 * 
+		 *@author:Li Miao
+		 *
+		 *@description: 通过userid查询用户信息
+		 *
+		 *@param:id
+		 *
+		 *@return:List<Gyeeuserinformation>
+		 *
+		 *@createTime:2020年4月16日
+		 *
+	 */
+	public Gyeeuserinformation queryById(String userid){
+		return gyeeuserinformationMapper.queryById(userid);
+	}
+
+
+}

+ 1 - 1
src/main/resources/application-dev.yml

@@ -9,7 +9,7 @@ spring:
      master:
         #url: jdbc:mysql://localhost:3306/gyee?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false
         #url: jdbc:mysql://localhost:3306/gyee?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false
-        url: jdbc:mysql://49.4.78.143:3306/mysql?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false
+        url: jdbc:mysql://49.4.78.143:3306/gyeephone?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false
         username: root
         password: 123456
      #备数据源 #关闭

+ 1 - 1
src/main/resources/application.yml

@@ -27,7 +27,7 @@ gyee:
   rollVerification: true
 #tomcat websocket
 server :
-  port : 8081
+  port : 8082
   ##项目名字配置
   #servlet : 
   #  context-path : /demo

+ 240 - 0
src/main/resources/mybatis/auto/GyeeorganMapper.xml

@@ -0,0 +1,240 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.gyee.frame.mapper.auto.GyeeorganMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Gyeeorgan">
+    <result column="id" jdbcType="VARCHAR" property="id" />
+    <result column="name" jdbcType="VARCHAR" property="name" />
+    <result column="describes" jdbcType="VARCHAR" property="describes" />
+    <result column="type" jdbcType="VARCHAR" property="type" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <where>
+      <foreach collection="oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Update_By_Example_Where_Clause">
+    <where>
+      <foreach collection="example.oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+<sql id="Base_Column_List">
+	  	  	      	id,
+       	  	      	name,
+       	  	      	describes,
+       	  	    	  	type
+       	</sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.GyeeorganExample" resultMap="BaseResultMap">
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from gyeeorgan
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
+    select 
+    <include refid="Base_Column_List" />
+    from gyeeorgan
+    where id = #{id,jdbcType=VARCHAR}
+  </select>
+
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
+    delete from gyeeorgan
+    where id = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.GyeeorganExample">
+    delete from gyeeorgan
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Gyeeorgan">
+    insert into gyeeorgan (
+      	  	       id,
+       	  	       name,
+       	  	       describes,
+       	  	    	  type
+       	    )
+    values (
+	  	  	      	#{id,jdbcType=VARCHAR},
+       	  	      	#{name,jdbcType=VARCHAR},
+       	  	      	#{describes,jdbcType=VARCHAR},
+       	  	    	  #{type,jdbcType=VARCHAR}
+       	    )
+  </insert>
+  
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Gyeeorgan">
+    insert into gyeeorgan
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+          
+      <if test="id != null">
+        id,
+      </if>
+      
+         
+      <if test="name != null">
+        name,
+      </if>
+      
+         
+      <if test="describes != null">
+        describes,
+      </if>
+      
+         
+      <if test="type != null">
+        type,
+      </if>
+      
+         </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+          <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+          <if test="name != null">
+        #{name,jdbcType=VARCHAR},
+      </if>
+          <if test="describes != null">
+        #{describes,jdbcType=VARCHAR},
+      </if>
+          <if test="type != null">
+        #{type,jdbcType=VARCHAR},
+      </if>
+        </trim>
+  </insert>
+  
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.GyeeorganExample" resultType="java.lang.Long">
+    select count(*) from gyeeorgan
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  
+  <update id="updateByExampleSelective" parameterType="map">
+    update gyeeorgan
+    <set>
+          <if test="record.id != null">
+        id = #{record.id,jdbcType=VARCHAR},
+      </if>
+          <if test="record.name != null">
+        name = #{record.name,jdbcType=VARCHAR},
+      </if>
+          <if test="record.describes != null">
+        describes = #{record.describes,jdbcType=VARCHAR},
+      </if>
+          <if test="record.type != null">
+        type = #{record.type,jdbcType=VARCHAR},
+      </if>
+         
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  
+  
+  <update id="updateByExample" parameterType="map">
+    update gyeeorgan
+    set
+            	     	 id = #{record.id,jdbcType=VARCHAR},
+    	         	     	 name = #{record.name,jdbcType=VARCHAR},
+    	         	     	 describes = #{record.describes,jdbcType=VARCHAR},
+    	         	     	 type = #{record.type,jdbcType=VARCHAR}
+    	         <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  
+  
+      <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Gyeeorgan">
+    update gyeeorgan
+    <set>
+                          <if test="name != null">
+        name = #{name,jdbcType=VARCHAR},
+      </if>
+                      <if test="describes != null">
+        describes = #{describes,jdbcType=VARCHAR},
+      </if>
+                      <if test="type != null">
+        type = #{type,jdbcType=VARCHAR},
+      </if>
+              </set>
+    where 
+            id = #{id,jdbcType=VARCHAR}
+                                  
+  </update>
+
+      	      	   	      	   	      	   	      	
+
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Gyeeorgan">
+    update gyeeorgan
+    set 
+             	        	    	 			name = #{name,jdbcType=VARCHAR},
+		     	        	    	 			describes = #{describes,jdbcType=VARCHAR},
+		     	        	    	 			type = #{type,jdbcType=VARCHAR}
+		     	        where 
+            id = #{id,jdbcType=VARCHAR}
+                                    
+  </update>
+  
+  <select id="queryOrganByUserId" parameterType="java.lang.String" resultType="com.gyee.frame.model.auto.Gyeeorgan">
+  	   select * from gyeeorgan go inner join gyeeuserorgan guo on go.id=guo.organid where guo.userid=#{userid,jdbcType=VARCHAR}
+ </select>
+  
+                        
+</mapper>

+ 320 - 0
src/main/resources/mybatis/auto/GyeepermissionMapper.xml

@@ -0,0 +1,320 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.gyee.frame.mapper.auto.GyeepermissionMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Gyeepermission">
+    <result column="id" jdbcType="VARCHAR" property="id" />
+    <result column="permisssionlevel" jdbcType="VARCHAR" property="permisssionlevel" />
+    <result column="permisssionname" jdbcType="VARCHAR" property="permisssionname" />
+    <result column="describes" jdbcType="VARCHAR" property="describes" />
+    <result column="remark1" jdbcType="VARCHAR" property="remark1" />
+    <result column="remark2" jdbcType="VARCHAR" property="remark2" />
+    <result column="parent" jdbcType="VARCHAR" property="parent" />
+    <result column="isable" jdbcType="VARCHAR" property="isable" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <where>
+      <foreach collection="oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Update_By_Example_Where_Clause">
+    <where>
+      <foreach collection="example.oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+<sql id="Base_Column_List">
+	  	  	      	id,
+       	  	      	permisssionlevel,
+       	  	      	permisssionname,
+       	  	      	describes,
+       	  	      	remark1,
+       	  	      	remark2,
+       	  	      	parent,
+       	  	    	  	isable
+       	</sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.GyeepermissionExample" resultMap="BaseResultMap">
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from gyeepermission
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
+    select 
+    <include refid="Base_Column_List" />
+    from gyeepermission
+    where id = #{id,jdbcType=VARCHAR}
+  </select>
+
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
+    delete from gyeepermission
+    where id = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.GyeepermissionExample">
+    delete from gyeepermission
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Gyeepermission">
+    insert into gyeepermission (
+      	  	       id,
+       	  	       permisssionlevel,
+       	  	       permisssionname,
+       	  	       describes,
+       	  	       remark1,
+       	  	       remark2,
+       	  	       parent,
+       	  	    	  isable
+       	    )
+    values (
+	  	  	      	#{id,jdbcType=VARCHAR},
+       	  	      	#{permisssionlevel,jdbcType=VARCHAR},
+       	  	      	#{permisssionname,jdbcType=VARCHAR},
+       	  	      	#{describes,jdbcType=VARCHAR},
+       	  	      	#{remark1,jdbcType=VARCHAR},
+       	  	      	#{remark2,jdbcType=VARCHAR},
+       	  	      	#{parent,jdbcType=VARCHAR},
+       	  	    	  #{isable,jdbcType=VARCHAR}
+       	    )
+  </insert>
+  
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Gyeepermission">
+    insert into gyeepermission
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+          
+      <if test="id != null">
+        id,
+      </if>
+      
+         
+      <if test="permisssionlevel != null">
+        permisssionlevel,
+      </if>
+      
+         
+      <if test="permisssionname != null">
+        permisssionname,
+      </if>
+      
+         
+      <if test="describes != null">
+        describes,
+      </if>
+      
+         
+      <if test="remark1 != null">
+        remark1,
+      </if>
+      
+         
+      <if test="remark2 != null">
+        remark2,
+      </if>
+      
+         
+      <if test="parent != null">
+        parent,
+      </if>
+      
+         
+      <if test="isable != null">
+        isable,
+      </if>
+      
+         </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+          <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+          <if test="permisssionlevel != null">
+        #{permisssionlevel,jdbcType=VARCHAR},
+      </if>
+          <if test="permisssionname != null">
+        #{permisssionname,jdbcType=VARCHAR},
+      </if>
+          <if test="describes != null">
+        #{describes,jdbcType=VARCHAR},
+      </if>
+          <if test="remark1 != null">
+        #{remark1,jdbcType=VARCHAR},
+      </if>
+          <if test="remark2 != null">
+        #{remark2,jdbcType=VARCHAR},
+      </if>
+          <if test="parent != null">
+        #{parent,jdbcType=VARCHAR},
+      </if>
+          <if test="isable != null">
+        #{isable,jdbcType=VARCHAR},
+      </if>
+        </trim>
+  </insert>
+  
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.GyeepermissionExample" resultType="java.lang.Long">
+    select count(*) from gyeepermission
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  
+  <update id="updateByExampleSelective" parameterType="map">
+    update gyeepermission
+    <set>
+          <if test="record.id != null">
+        id = #{record.id,jdbcType=VARCHAR},
+      </if>
+          <if test="record.permisssionlevel != null">
+        permisssionlevel = #{record.permisssionlevel,jdbcType=VARCHAR},
+      </if>
+          <if test="record.permisssionname != null">
+        permisssionname = #{record.permisssionname,jdbcType=VARCHAR},
+      </if>
+          <if test="record.describes != null">
+        describes = #{record.describes,jdbcType=VARCHAR},
+      </if>
+          <if test="record.remark1 != null">
+        remark1 = #{record.remark1,jdbcType=VARCHAR},
+      </if>
+          <if test="record.remark2 != null">
+        remark2 = #{record.remark2,jdbcType=VARCHAR},
+      </if>
+          <if test="record.parent != null">
+        parent = #{record.parent,jdbcType=VARCHAR},
+      </if>
+          <if test="record.isable != null">
+        isable = #{record.isable,jdbcType=VARCHAR},
+      </if>
+         
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  
+  
+  <update id="updateByExample" parameterType="map">
+    update gyeepermission
+    set
+            	     	 id = #{record.id,jdbcType=VARCHAR},
+    	         	     	 permisssionlevel = #{record.permisssionlevel,jdbcType=VARCHAR},
+    	         	     	 permisssionname = #{record.permisssionname,jdbcType=VARCHAR},
+    	         	     	 describes = #{record.describes,jdbcType=VARCHAR},
+    	         	     	 remark1 = #{record.remark1,jdbcType=VARCHAR},
+    	         	     	 remark2 = #{record.remark2,jdbcType=VARCHAR},
+    	         	     	 parent = #{record.parent,jdbcType=VARCHAR},
+    	         	     	 isable = #{record.isable,jdbcType=VARCHAR}
+    	         <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  
+  
+      <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Gyeepermission">
+    update gyeepermission
+    <set>
+                          <if test="permisssionlevel != null">
+        permisssionlevel = #{permisssionlevel,jdbcType=VARCHAR},
+      </if>
+                      <if test="permisssionname != null">
+        permisssionname = #{permisssionname,jdbcType=VARCHAR},
+      </if>
+                      <if test="describes != null">
+        describes = #{describes,jdbcType=VARCHAR},
+      </if>
+                      <if test="remark1 != null">
+        remark1 = #{remark1,jdbcType=VARCHAR},
+      </if>
+                      <if test="remark2 != null">
+        remark2 = #{remark2,jdbcType=VARCHAR},
+      </if>
+                      <if test="parent != null">
+        parent = #{parent,jdbcType=VARCHAR},
+      </if>
+                      <if test="isable != null">
+        isable = #{isable,jdbcType=VARCHAR},
+      </if>
+              </set>
+    where 
+            id = #{id,jdbcType=VARCHAR}
+                                                                  
+  </update>
+
+      	      	   	      	   	      	   	      	   	      	   	      	   	      	   	      	
+
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Gyeepermission">
+    update gyeepermission
+    set 
+             	        	    	 			permisssionlevel = #{permisssionlevel,jdbcType=VARCHAR},
+		     	        	    	 			permisssionname = #{permisssionname,jdbcType=VARCHAR},
+		     	        	    	 			describes = #{describes,jdbcType=VARCHAR},
+		     	        	    	 			remark1 = #{remark1,jdbcType=VARCHAR},
+		     	        	    	 			remark2 = #{remark2,jdbcType=VARCHAR},
+		     	        	    	 			parent = #{parent,jdbcType=VARCHAR},
+		     	        	    	 			isable = #{isable,jdbcType=VARCHAR}
+		     	        where 
+            id = #{id,jdbcType=VARCHAR}
+                                                                    
+  </update>
+  
+  <select id="queryPermissionByRoleId" parameterType="java.lang.String" resultType="com.gyee.frame.model.auto.Gyeepermission">
+       select * from gyeepermission gp inner join gyeerolepermission grp on gp.id=grp.permisssionid inner join gyeeuserrole gur on grp.roleid=gur.roleid where gur.userid=#{userid,jdbcType=VARCHAR}
+ </select>
+  
+                                            
+</mapper>

+ 220 - 0
src/main/resources/mybatis/auto/GyeeroleMapper.xml

@@ -0,0 +1,220 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.gyee.frame.mapper.auto.GyeeroleMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Gyeerole">
+    <result column="id" jdbcType="VARCHAR" property="id" />
+    <result column="name" jdbcType="VARCHAR" property="name" />
+    <result column="remark" jdbcType="VARCHAR" property="remark" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <where>
+      <foreach collection="oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Update_By_Example_Where_Clause">
+    <where>
+      <foreach collection="example.oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+<sql id="Base_Column_List">
+	  	  	      	id,
+       	  	      	name,
+       	  	    	  	remark
+       	</sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.GyeeroleExample" resultMap="BaseResultMap">
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from gyeerole
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
+    select 
+    <include refid="Base_Column_List" />
+    from gyeerole
+    where id = #{id,jdbcType=VARCHAR}
+  </select>
+
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
+    delete from gyeerole
+    where id = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.GyeeroleExample">
+    delete from gyeerole
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Gyeerole">
+    insert into gyeerole (
+      	  	       id,
+       	  	       name,
+       	  	    	  remark
+       	    )
+    values (
+	  	  	      	#{id,jdbcType=VARCHAR},
+       	  	      	#{name,jdbcType=VARCHAR},
+       	  	    	  #{remark,jdbcType=VARCHAR}
+       	    )
+  </insert>
+  
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Gyeerole">
+    insert into gyeerole
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+          
+      <if test="id != null">
+        id,
+      </if>
+      
+         
+      <if test="name != null">
+        name,
+      </if>
+      
+         
+      <if test="remark != null">
+        remark,
+      </if>
+      
+         </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+          <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+          <if test="name != null">
+        #{name,jdbcType=VARCHAR},
+      </if>
+          <if test="remark != null">
+        #{remark,jdbcType=VARCHAR},
+      </if>
+        </trim>
+  </insert>
+  
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.GyeeroleExample" resultType="java.lang.Long">
+    select count(*) from gyeerole
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  
+  <update id="updateByExampleSelective" parameterType="map">
+    update gyeerole
+    <set>
+          <if test="record.id != null">
+        id = #{record.id,jdbcType=VARCHAR},
+      </if>
+          <if test="record.name != null">
+        name = #{record.name,jdbcType=VARCHAR},
+      </if>
+          <if test="record.remark != null">
+        remark = #{record.remark,jdbcType=VARCHAR},
+      </if>
+         
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  
+  
+  <update id="updateByExample" parameterType="map">
+    update gyeerole
+    set
+            	     	 id = #{record.id,jdbcType=VARCHAR},
+    	         	     	 name = #{record.name,jdbcType=VARCHAR},
+    	         	     	 remark = #{record.remark,jdbcType=VARCHAR}
+    	         <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  
+  
+      <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Gyeerole">
+    update gyeerole
+    <set>
+                          <if test="name != null">
+        name = #{name,jdbcType=VARCHAR},
+      </if>
+                      <if test="remark != null">
+        remark = #{remark,jdbcType=VARCHAR},
+      </if>
+              </set>
+    where 
+            id = #{id,jdbcType=VARCHAR}
+                          
+  </update>
+
+      	      	   	      	   	      	
+
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Gyeerole">
+    update gyeerole
+    set 
+             	        	    	 			name = #{name,jdbcType=VARCHAR},
+		     	        	    	 			remark = #{remark,jdbcType=VARCHAR}
+		     	        where 
+            id = #{id,jdbcType=VARCHAR}
+                            
+  </update>
+  
+  <select id="queryRoleByUserId" parameterType="java.lang.String" resultType="com.gyee.frame.model.auto.Gyeerole">
+  	   select * from gyeerole gr inner join gyeeuserrole gur on gr.id=gur.roleid where gur.userid=#{userid,jdbcType=VARCHAR}
+ </select>
+  
+                   
+</mapper>

+ 240 - 0
src/main/resources/mybatis/auto/GyeeuserMapper.xml

@@ -0,0 +1,240 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.gyee.frame.mapper.auto.GyeeuserMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Gyeeuser">
+    <result column="id" jdbcType="VARCHAR" property="id" />
+    <result column="username" jdbcType="VARCHAR" property="username" />
+    <result column="password" jdbcType="VARCHAR" property="password" />
+    <result column="nickname" jdbcType="VARCHAR" property="nickname" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <where>
+      <foreach collection="oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Update_By_Example_Where_Clause">
+    <where>
+      <foreach collection="example.oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+<sql id="Base_Column_List">
+	  	  	      	id,
+       	  	      	username,
+       	  	      	password,
+       	  	    	  	nickname
+       	</sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.GyeeuserExample" resultMap="BaseResultMap">
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from gyeeuser
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
+    select 
+    <include refid="Base_Column_List" />
+    from gyeeuser
+    where id = #{id,jdbcType=VARCHAR}
+  </select>
+
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
+    delete from gyeeuser
+    where id = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.GyeeuserExample">
+    delete from gyeeuser
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Gyeeuser">
+    insert into gyeeuser (
+      	  	       id,
+       	  	       username,
+       	  	       password,
+       	  	    	  nickname
+       	    )
+    values (
+	  	  	      	#{id,jdbcType=VARCHAR},
+       	  	      	#{username,jdbcType=VARCHAR},
+       	  	      	#{password,jdbcType=VARCHAR},
+       	  	    	  #{nickname,jdbcType=VARCHAR}
+       	    )
+  </insert>
+  
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Gyeeuser">
+    insert into gyeeuser
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+          
+      <if test="id != null">
+        id,
+      </if>
+      
+         
+      <if test="username != null">
+        username,
+      </if>
+      
+         
+      <if test="password != null">
+        password,
+      </if>
+      
+         
+      <if test="nickname != null">
+        nickname,
+      </if>
+      
+         </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+          <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+          <if test="username != null">
+        #{username,jdbcType=VARCHAR},
+      </if>
+          <if test="password != null">
+        #{password,jdbcType=VARCHAR},
+      </if>
+          <if test="nickname != null">
+        #{nickname,jdbcType=VARCHAR},
+      </if>
+        </trim>
+  </insert>
+  
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.GyeeuserExample" resultType="java.lang.Long">
+    select count(*) from gyeeuser
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  
+  <update id="updateByExampleSelective" parameterType="map">
+    update gyeeuser
+    <set>
+          <if test="record.id != null">
+        id = #{record.id,jdbcType=VARCHAR},
+      </if>
+          <if test="record.username != null">
+        username = #{record.username,jdbcType=VARCHAR},
+      </if>
+          <if test="record.password != null">
+        password = #{record.password,jdbcType=VARCHAR},
+      </if>
+          <if test="record.nickname != null">
+        nickname = #{record.nickname,jdbcType=VARCHAR},
+      </if>
+         
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  
+  
+  <update id="updateByExample" parameterType="map">
+    update gyeeuser
+    set
+            	     	 id = #{record.id,jdbcType=VARCHAR},
+    	         	     	 username = #{record.username,jdbcType=VARCHAR},
+    	         	     	 password = #{record.password,jdbcType=VARCHAR},
+    	         	     	 nickname = #{record.nickname,jdbcType=VARCHAR}
+    	         <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  
+  
+      <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Gyeeuser">
+    update gyeeuser
+    <set>
+                          <if test="username != null">
+        username = #{username,jdbcType=VARCHAR},
+      </if>
+                      <if test="password != null">
+        password = #{password,jdbcType=VARCHAR},
+      </if>
+                      <if test="nickname != null">
+        nickname = #{nickname,jdbcType=VARCHAR},
+      </if>
+              </set>
+    where 
+            id = #{id,jdbcType=VARCHAR}
+                                  
+  </update>
+
+      	      	   	      	   	      	   	      	
+
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Gyeeuser">
+    update gyeeuser
+    set 
+             	        	    	 			username = #{username,jdbcType=VARCHAR},
+		     	        	    	 			password = #{password,jdbcType=VARCHAR},
+		     	        	    	 			nickname = #{nickname,jdbcType=VARCHAR}
+		     	        where 
+            id = #{id,jdbcType=VARCHAR}
+                                    
+  </update>
+  
+  <select id="queryIdByUserNamePassWord" parameterType="com.gyee.frame.model.auto.Gyeeuser" resultType="java.lang.String">
+       select id from gyeeuser where username=#{username,jdbcType=VARCHAR} and password=#{password,jdbcType=VARCHAR}
+ </select>
+  
+                        
+</mapper>

+ 360 - 0
src/main/resources/mybatis/auto/GyeeuserinformationMapper.xml

@@ -0,0 +1,360 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.gyee.frame.mapper.auto.GyeeuserinformationMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Gyeeuserinformation">
+    <result column="id" jdbcType="VARCHAR" property="id" />
+    <result column="icon" jdbcType="VARCHAR" property="icon" />
+    <result column="phonenum" jdbcType="VARCHAR" property="phonenum" />
+    <result column="remarks1" jdbcType="VARCHAR" property="remarks1" />
+    <result column="remarks2" jdbcType="VARCHAR" property="remarks2" />
+    <result column="email" jdbcType="VARCHAR" property="email" />
+    <result column="lastlogintime" jdbcType="VARCHAR" property="lastlogintime" />
+    <result column="lastloginip" jdbcType="VARCHAR" property="lastloginip" />
+    <result column="lastequipmenttype" jdbcType="VARCHAR" property="lastequipmenttype" />
+    <result column="name" jdbcType="VARCHAR" property="name" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <where>
+      <foreach collection="oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Update_By_Example_Where_Clause">
+    <where>
+      <foreach collection="example.oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+<sql id="Base_Column_List">
+	  	  	      	id,
+       	  	      	icon,
+       	  	      	phonenum,
+       	  	      	remarks1,
+       	  	      	remarks2,
+       	  	      	email,
+       	  	      	lastlogintime,
+       	  	      	lastloginip,
+       	  	      	lastequipmenttype,
+       	  	    	  	name
+       	</sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.GyeeuserinformationExample" resultMap="BaseResultMap">
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from gyeeuserinformation
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
+    select 
+    <include refid="Base_Column_List" />
+    from gyeeuserinformation
+    where id = #{id,jdbcType=VARCHAR}
+  </select>
+
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
+    delete from gyeeuserinformation
+    where id = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.GyeeuserinformationExample">
+    delete from gyeeuserinformation
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Gyeeuserinformation">
+    insert into gyeeuserinformation (
+      	  	       id,
+       	  	       icon,
+       	  	       phonenum,
+       	  	       remarks1,
+       	  	       remarks2,
+       	  	       email,
+       	  	       lastlogintime,
+       	  	       lastloginip,
+       	  	       lastequipmenttype,
+       	  	    	  name
+       	    )
+    values (
+	  	  	      	#{id,jdbcType=VARCHAR},
+       	  	      	#{icon,jdbcType=VARCHAR},
+       	  	      	#{phonenum,jdbcType=VARCHAR},
+       	  	      	#{remarks1,jdbcType=VARCHAR},
+       	  	      	#{remarks2,jdbcType=VARCHAR},
+       	  	      	#{email,jdbcType=VARCHAR},
+       	  	      	#{lastlogintime,jdbcType=VARCHAR},
+       	  	      	#{lastloginip,jdbcType=VARCHAR},
+       	  	      	#{lastequipmenttype,jdbcType=VARCHAR},
+       	  	    	  #{name,jdbcType=VARCHAR}
+       	    )
+  </insert>
+  
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Gyeeuserinformation">
+    insert into gyeeuserinformation
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+          
+      <if test="id != null">
+        id,
+      </if>
+      
+         
+      <if test="icon != null">
+        icon,
+      </if>
+      
+         
+      <if test="phonenum != null">
+        phonenum,
+      </if>
+      
+         
+      <if test="remarks1 != null">
+        remarks1,
+      </if>
+      
+         
+      <if test="remarks2 != null">
+        remarks2,
+      </if>
+      
+         
+      <if test="email != null">
+        email,
+      </if>
+      
+         
+      <if test="lastlogintime != null">
+        lastlogintime,
+      </if>
+      
+         
+      <if test="lastloginip != null">
+        lastloginip,
+      </if>
+      
+         
+      <if test="lastequipmenttype != null">
+        lastequipmenttype,
+      </if>
+      
+         
+      <if test="name != null">
+        name,
+      </if>
+      
+         </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+          <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+          <if test="icon != null">
+        #{icon,jdbcType=VARCHAR},
+      </if>
+          <if test="phonenum != null">
+        #{phonenum,jdbcType=VARCHAR},
+      </if>
+          <if test="remarks1 != null">
+        #{remarks1,jdbcType=VARCHAR},
+      </if>
+          <if test="remarks2 != null">
+        #{remarks2,jdbcType=VARCHAR},
+      </if>
+          <if test="email != null">
+        #{email,jdbcType=VARCHAR},
+      </if>
+          <if test="lastlogintime != null">
+        #{lastlogintime,jdbcType=VARCHAR},
+      </if>
+          <if test="lastloginip != null">
+        #{lastloginip,jdbcType=VARCHAR},
+      </if>
+          <if test="lastequipmenttype != null">
+        #{lastequipmenttype,jdbcType=VARCHAR},
+      </if>
+          <if test="name != null">
+        #{name,jdbcType=VARCHAR},
+      </if>
+        </trim>
+  </insert>
+  
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.GyeeuserinformationExample" resultType="java.lang.Long">
+    select count(*) from gyeeuserinformation
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  
+  <update id="updateByExampleSelective" parameterType="map">
+    update gyeeuserinformation
+    <set>
+          <if test="record.id != null">
+        id = #{record.id,jdbcType=VARCHAR},
+      </if>
+          <if test="record.icon != null">
+        icon = #{record.icon,jdbcType=VARCHAR},
+      </if>
+          <if test="record.phonenum != null">
+        phonenum = #{record.phonenum,jdbcType=VARCHAR},
+      </if>
+          <if test="record.remarks1 != null">
+        remarks1 = #{record.remarks1,jdbcType=VARCHAR},
+      </if>
+          <if test="record.remarks2 != null">
+        remarks2 = #{record.remarks2,jdbcType=VARCHAR},
+      </if>
+          <if test="record.email != null">
+        email = #{record.email,jdbcType=VARCHAR},
+      </if>
+          <if test="record.lastlogintime != null">
+        lastlogintime = #{record.lastlogintime,jdbcType=VARCHAR},
+      </if>
+          <if test="record.lastloginip != null">
+        lastloginip = #{record.lastloginip,jdbcType=VARCHAR},
+      </if>
+          <if test="record.lastequipmenttype != null">
+        lastequipmenttype = #{record.lastequipmenttype,jdbcType=VARCHAR},
+      </if>
+          <if test="record.name != null">
+        name = #{record.name,jdbcType=VARCHAR},
+      </if>
+         
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  
+  
+  <update id="updateByExample" parameterType="map">
+    update gyeeuserinformation
+    set
+            	     	 id = #{record.id,jdbcType=VARCHAR},
+    	         	     	 icon = #{record.icon,jdbcType=VARCHAR},
+    	         	     	 phonenum = #{record.phonenum,jdbcType=VARCHAR},
+    	         	     	 remarks1 = #{record.remarks1,jdbcType=VARCHAR},
+    	         	     	 remarks2 = #{record.remarks2,jdbcType=VARCHAR},
+    	         	     	 email = #{record.email,jdbcType=VARCHAR},
+    	         	     	 lastlogintime = #{record.lastlogintime,jdbcType=VARCHAR},
+    	         	     	 lastloginip = #{record.lastloginip,jdbcType=VARCHAR},
+    	         	     	 lastequipmenttype = #{record.lastequipmenttype,jdbcType=VARCHAR},
+    	         	     	 name = #{record.name,jdbcType=VARCHAR}
+    	         <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  
+  
+      <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Gyeeuserinformation">
+    update gyeeuserinformation
+    <set>
+                          <if test="icon != null">
+        icon = #{icon,jdbcType=VARCHAR},
+      </if>
+                      <if test="phonenum != null">
+        phonenum = #{phonenum,jdbcType=VARCHAR},
+      </if>
+                      <if test="remarks1 != null">
+        remarks1 = #{remarks1,jdbcType=VARCHAR},
+      </if>
+                      <if test="remarks2 != null">
+        remarks2 = #{remarks2,jdbcType=VARCHAR},
+      </if>
+                      <if test="email != null">
+        email = #{email,jdbcType=VARCHAR},
+      </if>
+                      <if test="lastlogintime != null">
+        lastlogintime = #{lastlogintime,jdbcType=VARCHAR},
+      </if>
+                      <if test="lastloginip != null">
+        lastloginip = #{lastloginip,jdbcType=VARCHAR},
+      </if>
+                      <if test="lastequipmenttype != null">
+        lastequipmenttype = #{lastequipmenttype,jdbcType=VARCHAR},
+      </if>
+                      <if test="name != null">
+        name = #{name,jdbcType=VARCHAR},
+      </if>
+              </set>
+    where 
+            id = #{id,jdbcType=VARCHAR}
+                                                                                  
+  </update>
+
+      	      	   	      	   	      	   	      	   	      	   	      	   	      	   	      	   	      	   	      	
+
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Gyeeuserinformation">
+    update gyeeuserinformation
+    set 
+             	        	    	 			icon = #{icon,jdbcType=VARCHAR},
+		     	        	    	 			phonenum = #{phonenum,jdbcType=VARCHAR},
+		     	        	    	 			remarks1 = #{remarks1,jdbcType=VARCHAR},
+		     	        	    	 			remarks2 = #{remarks2,jdbcType=VARCHAR},
+		     	        	    	 			email = #{email,jdbcType=VARCHAR},
+		     	        	    	 			lastlogintime = #{lastlogintime,jdbcType=VARCHAR},
+		     	        	    	 			lastloginip = #{lastloginip,jdbcType=VARCHAR},
+		     	        	    	 			lastequipmenttype = #{lastequipmenttype,jdbcType=VARCHAR},
+		     	        	    	 			name = #{name,jdbcType=VARCHAR}
+		     	        where 
+            id = #{id,jdbcType=VARCHAR}
+                                                                                    
+  </update>
+  
+  <select id="queryById" parameterType="java.lang.String" resultType="com.gyee.frame.model.auto.Gyeeuserinformation">
+       select * from gyeeuserinformation where id=#{userid,jdbcType=VARCHAR}
+ </select>
+  
+                                                      
+</mapper>

+ 155 - 0
src/main/resources/templates/gen/gyeeorgan/add.html

@@ -0,0 +1,155 @@
+<!DOCTYPE html>
+<html xmlns:th="http://www.thymeleaf.org" 
+      xmlns:sec="http://www.pollix.at/thymeleaf/shiro">
+<head th:replace="admin/common/html/tableHead :: head(~{::title},~{::link},~{::style})">
+
+<title th:text=${title}></title>
+<!-- 这儿引用单独的css link -->
+<!-- Ladda for Bootstrap 3按钮加载进度插件 -->
+<link rel="stylesheet" th:href="@{/static/admin/assets/js/button/ladda/ladda.min.css}">
+<!-- bootstrap-table表单样式 -->
+<link th:href="@{/static/admin/assets/js/bootstrap/css/bootstrap-table/bootstrap-table.min.css}" rel="stylesheet"/>
+<!-- 用户界面自定义css -->
+<link th:href="@{/static/admin/user/css/user-add.css}" rel="stylesheet"/>
+<style type="text/css"></style>
+</head>
+
+<body>
+
+<div class="content-wrap">
+	<div class="row">
+		<div class="col-sm-12">
+			<div class="nest" id="elementClose">
+				<div class="">
+				</div>
+				<div class="body-nest" id="element">
+					<div class="panel-body">
+						<form  class="form-horizontal m" id="form-add">
+						
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="name" name="name"/>
+										</div>
+									</div>
+									
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="describes" name="describes"/>
+										</div>
+									</div>
+									
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="type" name="type"/>
+										</div>
+									</div>
+									
+			
+									<div class="form-group">
+										<div class="form-control-static col-sm-offset-9">
+											<button type="submit" class="btn btn-primary">提交</button>
+											<button onclick="$.modal.close()" class="btn btn-danger" type="button">关闭</button>
+										</div>
+									</div>
+						 </form>
+					</div>
+				</div>
+			</div>
+		</div>
+	</div>
+</div>
+
+<!-- 通用js -->
+<div th:include="admin/common/html/js :: onload_js">
+   
+</div>
+<!-- bootstarp 表格 -->
+<script th:src="@{/static/admin/assets/js/bootstrap/js/bootstrap-table/bootstrap-table.min.js}" type="text/javascript"></script>
+<script th:src="@{/static/admin/assets/js/bootstrap/js/bootstrap-table/locale/bootstrap-table-zh-CN.min.js}" type="text/javascript"></script>
+<script th:src="@{/static/admin/assets/js/bootstrap/js/base_list.js}" type="text/javascript"></script>
+
+
+<!-- 弹窗 -->
+<script  th:src="@{/static/admin/assets/js/layer/layer.js}" type="text/javascript"></script>
+<!-- 遮罩层 -->
+<script  th:src="@{/static/admin/assets/js/blockUI/jquery.blockUI.js}" type="text/javascript"></script>
+<!-- jqueryForm序列化 -->
+<script  th:src="@{/static/js/jqueryFormSerializeJson.js}" type="text/javascript"></script>
+<script type="text/javascript">
+
+$(function(){
+	 $(".MyDate").datetimepicker({
+		 	format: "yyyy-mm-dd hh:00:00",
+	        startDate: new Date(),
+	        autoclose: true,
+	        todayBtn: true,
+	        language: 'zh-CN',
+	        initialDate:new Date(),
+	        minView: 1      
+	    });
+	
+})
+
+
+$("#form-add").validate({
+	rules:{
+		describes:{
+			required:true,
+			minlength: 2,
+			maxlength: 20,
+			remote: {
+                url: rootPath + "/GyeeorganController/checkNameUnique",
+                type: "post",
+                dataType: "json",
+                dataFilter: function(data, type) {
+                    if (data == "0")
+                    	return true;
+                    else 
+                    	return false;
+                }
+            }
+		}
+	},
+	messages: {
+        "describes": {
+            remote: "已经存在"
+        }
+    },
+	submitHandler:function(form){
+		add();
+	}
+});
+
+/**
+ * 用户添加方法
+ */
+function add() {
+	var dataFormJson=$("#form-add").serialize();
+	$.ajax({
+		cache : true,
+		type : "POST",
+		url : rootPath + "/GyeeorganController/add",
+		data : dataFormJson,
+		async : false,
+		error : function(request) {
+			$.modal.alertError("系统错误");
+		},
+		success : function(data) {
+			$.operate.saveSuccess(data);
+		}
+	});
+}
+
+
+</script>
+
+
+</body>
+
+
+</html>

+ 126 - 0
src/main/resources/templates/gen/gyeeorgan/edit.html

@@ -0,0 +1,126 @@
+<!DOCTYPE html>
+<html xmlns:th="http://www.thymeleaf.org" 
+      xmlns:sec="http://www.pollix.at/thymeleaf/shiro">
+<head th:replace="admin/common/html/tableHead :: tableHead(~{::title},~{::link},~{::style})">
+
+<title th:text=${title}></title>
+<!-- 这儿引用单独的css link -->
+<!-- Ladda for Bootstrap 3按钮加载进度插件 -->
+<link rel="stylesheet" th:href="@{/static/admin/assets/js/button/ladda/ladda.min.css}">
+<!-- bootstrap-table表单样式 -->
+<link th:href="@{/static/admin/assets/js/bootstrap/css/bootstrap-table/bootstrap-table.min.css}" rel="stylesheet"/>
+
+<!-- 用户界面自定义css -->
+<link th:href="@{/static/admin/user/css/user-add.css}" rel="stylesheet"/>
+<style type="text/css"></style>
+
+</head>
+
+<body>
+      	   	      	      	      	      
+<div class="content-wrap">
+	<div class="row">
+		<div class="col-sm-12">
+			<div class="nest" id="elementClose">
+				<div class="">
+				</div>
+				<div class="body-nest" id="element">
+					<div class="panel-body">
+						<form  class="form-horizontal m" id="form-edit" th:object="${Gyeeorgan}">
+							<input id="id" name="id" type="hidden" th:field="*{id}"/>
+						
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="name" name="name" th:value="*{name}"/>
+										</div>
+									</div>
+
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="describes" name="describes" th:value="*{describes}"/>
+										</div>
+									</div>
+
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="type" name="type" th:value="*{type}"/>
+										</div>
+									</div>
+
+			
+									<div class="form-group">
+										<div class="form-control-static col-sm-offset-9">
+											<button type="submit" class="btn btn-primary">提交</button>
+											<button onclick="$.modal.close()" class="btn btn-danger" type="button">关闭</button>
+										</div>
+									</div>
+						</form>
+					</div>
+				</div>
+			</div>
+		</div>
+	</div>
+</div>
+
+<!-- 通用js -->
+<div th:include="admin/common/html/js :: onload_js">
+   
+</div>
+<!-- bootstarp 表格 -->
+<script th:src="@{/static/admin/assets/js/bootstrap/js/bootstrap-table/bootstrap-table.min.js}" type="text/javascript"></script>
+<script th:src="@{/static/admin/assets/js/bootstrap/js/bootstrap-table/locale/bootstrap-table-zh-CN.min.js}" type="text/javascript"></script>
+<script th:src="@{/static/admin/assets/js/bootstrap/js/base_list.js}" type="text/javascript"></script>
+
+
+<!-- 弹窗 -->
+<script th:src="@{/static/admin/assets/js/layer/layer.js}" type="text/javascript"></script>
+<!-- 遮罩层 -->
+<script th:src="@{/static/admin/assets/js/blockUI/jquery.blockUI.js}" type="text/javascript"></script>
+<script type="text/javascript">
+$(function(){
+	 $(".MyDate").datetimepicker({
+		 	format: "yyyy-mm-dd hh:00:00",
+	        startDate: new Date(),
+	        autoclose: true,
+	        todayBtn: true,
+	        language: 'zh-CN',
+	        initialDate:new Date(),
+	        minView: 1      
+	    });
+	
+})
+
+
+$("#form-edit").validate({
+	submitHandler : function(form) {
+		edit();
+	}
+});
+
+function edit() {
+	var dataFormJson = $("#form-edit").serialize();
+	$.ajax({
+		cache : true,
+		type : "POST",
+		url : rootPath + "/GyeeorganController/edit",
+		data : dataFormJson,
+		async : false,
+		error : function(request) {
+			$.modal.alertError("系统错误");
+		},
+		success : function(data) {
+			$.operate.saveSuccess(data);
+		}
+	});
+}
+</script>
+
+</body>
+
+
+</html>

+ 230 - 0
src/main/resources/templates/gen/gyeeorgan/list.html

@@ -0,0 +1,230 @@
+<!DOCTYPE html>
+<html xmlns:th="http://www.thymeleaf.org" 
+      xmlns:sec="http://www.pollix.at/thymeleaf/shiro">
+<head th:replace="admin/common/html/head :: head_Normal(~{::title},~{::link},~{::style})">
+
+<title th:text=${title}></title>
+<!-- 这儿引用单独的css link -->
+<!-- Ladda for Bootstrap 3按钮加载进度插件 -->
+<link rel="stylesheet" th:href="@{/static/admin/assets/js/button/ladda/ladda.min.css}">
+<!-- bootstrap-table表单样式 -->
+<link th:href="@{/static/admin/assets/js/bootstrap/css/bootstrap-table/bootstrap-table.min.css}" rel="stylesheet"/>
+
+<style type="text/css">
+/**
+*这里写单独的css样式
+*/
+
+</style>
+
+</head>
+
+<body id="listbody">
+<!-- # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # 代码编写处 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # -->
+
+<!-- 右边内容 -->
+<div class="wrap-fluid">
+    <div class="container-fluid paper-wrap bevel tlbr">
+        <!-- 内容 -->
+        <!--标题 通用-->
+        <div th:replace="admin/common/html/title :: title(${title},${parenttitle},${isMsg},${msgHTML})">
+        </div>
+        <!-- 结束标题 通用-->
+        <div class="content-wrap">
+            <!-- 结束内容 -->
+            <div class="row">
+                <div class="col-sm-12">
+                <!-- 搜索条件 -->
+                
+                	 <div class="nest" id="inlineClose">
+                            <div class="title-alt">
+                                <h6>搜索条件</h6>
+                                <div class="titleClose">
+                                    <a class="gone" href="#inlineClose">
+                                        <span class="entypo-cancel"></span>
+                                    </a>
+                                </div>
+                                <div class="titleToggle">
+                                    <a class="nav-toggle-alt" href="#search_div" >
+                                        <span class="entypo-down-open"></span>
+                                    </a>
+                                </div>
+                            </div>
+
+                            <div class="body-nest" id="search_div" style="display: none">
+                                <div class="form_left">
+                                    <form role="form" class="form-inline">
+                                        <div class="form-group">
+                                            <label for="exampleInputEmail2" class="sr-only">搜索名字</label>
+                                            <input type="text" name="searchText" placeholder="搜索名字"class="form-control">
+                                        </div>
+                                        <button onclick="$.table.search(this)" class="btn btn-success" type="button"><i class="fa fa-search"></i>&nbsp;搜索</button>
+                                    </form>
+                                </div>
+                            </div>
+                        </div>
+                	<!-- END搜索条件 -->
+                    <!-- 空白页开始-->
+                    <div class="nest" id="Blank_PageClose">
+                        <div class="title-alt">
+                            <h6>表单</h6>
+                            <div class="titleClose">
+                                <a class="gone" href="#Blank_PageClose">
+                                    <span class="entypo-cancel"></span>
+                                </a>
+                            </div>
+                            <div class="titleToggle">
+                                <a class="nav-toggle-alt" href="#Blank_Page_Content">
+                                    <span class="entypo-up-open"></span>
+                                </a>
+                            </div>
+                        </div>
+                        
+                        <div class="body-nest" id="Blank_Page_Content">
+                            <!-- 工具条 -->
+                            <div class="btn-group hidden-xs" id="exampleTableEventsToolbar" role="group">
+                            	<button onclick="$.operate.add()" type="button" class="btn btn-primary">
+                                    <span class="entypo-plus-squared"></span>&nbsp;&nbsp;新增
+                                </button>
+                               <button onclick="$.operate.batRemove()" type="button" class="btn btn-info">
+                                    <span class="entypo-trash"></span>&nbsp;&nbsp;删除
+                               </button>
+                               
+                           </div>
+                            <!-- 工具条 end-->
+                           <table id="dataTable" class="table-striped footable-res footable metro-blue" data-page-size="6">
+                                   
+                           </table>
+                        </div>
+                    </div>
+                </div>
+                <!-- 空白页结束 -->
+            </div>
+            <!-- 结束内容 -->
+        </div>
+    </div>
+</div>
+<!-- 结束右边内容 -->
+<!-- # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # 代码编写处 END# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # -->
+
+
+
+
+
+
+
+<!-- 右侧隐藏滑块内容 -->
+<div th:include="admin/common/html/rightHide :: rightHide">
+    
+</div>
+   <!-- END 右侧隐藏滑块内容-->
+
+<!-- 通用js -->
+<div th:include="admin/common/html/js :: onload_js">
+   
+</div>
+<!-- bootstarp 表格 -->
+<script th:src="@{/static/admin/assets/js/bootstrap/js/bootstrap-table/bootstrap-table.min.js}" type="text/javascript"></script>
+<script th:src="@{/static/admin/assets/js/bootstrap/js/bootstrap-table/locale/bootstrap-table-zh-CN.min.js}" type="text/javascript"></script>
+<script th:src="@{/static/admin/assets/js/bootstrap/js/base_list.js}" type="text/javascript"></script>
+<!-- jquery-export 表格导出插件 -->
+<script th:src="@{/static/admin/assets/js/bootstrap/extensions/export/bootstrap-table-export.js}" type="text/javascript"></script>
+<script th:src="@{/static/admin/assets/js/bootstrap/extensions/export/tableExport.js}" type="text/javascript"></script>
+
+<!-- 弹窗 -->
+<script th:src="@{/static/admin/assets/js/layer/layer.js}" type="text/javascript"></script>
+<!-- 遮罩层 -->
+<script th:src="@{/static/admin/assets/js/blockUI/jquery.blockUI.js}" type="text/javascript"></script>
+
+<script type="text/javascript">
+
+      	   	      	      	      	      
+<!-- 导出 -->
+var dataUrl=window.rootPath+"/GyeeorganController/list";
+var removeUrl=window.rootPath+"/GyeeorganController/remove";
+var createUrl=window.rootPath+"/GyeeorganController/add";
+var updateUrl=window.rootPath+"/GyeeorganController/edit/{id}";
+var exportUrl=window.rootPath+"/GyeeorganController/export";
+  var options = {
+		dataUrl: dataUrl,
+        createUrl: createUrl,
+        updateUrl: updateUrl,
+        removeUrl:removeUrl,
+        exportUrl: exportUrl,
+        sortName: "roleSort",
+        modalName: "",
+        search: false,
+	   dataColumns: [
+			{
+			    checkbox: true
+			},
+			{
+			    field: 'id',
+			    title: ''
+			    //visible: false, //隐藏
+			    //searchable: false,//搜索
+			    //sortable:false,//设置true为允许列可以排序
+			    //order: asc //排序顺序
+			},
+			{
+			    field: 'name',
+			    title: ''
+			    //visible: false, //隐藏
+			    //searchable: false,//搜索
+			    //sortable:false,//设置true为允许列可以排序
+			    //order: asc //排序顺序
+			},
+			{
+			    field: 'describes',
+			    title: ''
+			    //visible: false, //隐藏
+			    //searchable: false,//搜索
+			    //sortable:false,//设置true为允许列可以排序
+			    //order: asc //排序顺序
+			},
+			{
+			    field: 'type',
+			    title: ''
+			    //visible: false, //隐藏
+			    //searchable: false,//搜索
+			    //sortable:false,//设置true为允许列可以排序
+			    //order: asc //排序顺序
+			},
+
+/*	
+参照修改注释
+		{
+			    field: 'xxstate',
+			    title: 'xx状态',
+		    	formatter: function (value, row, index) {
+			        var actions = [];
+			        if(value==0){
+			        	 actions.push('<span class="label label-primary">关闭</span>');
+			        }else if(value==1){
+			        	 actions.push('<span class="label label-danger">开启</span>');
+			        }
+			      	return actions.join('');			    
+				 }
+			}
+*/
+			{
+			    title: '操作',
+			    formatter: function (value, row, index) {
+			        var id = row.id;
+			        var actions = [];
+			        actions.push('<a class="btn btn-success btn-xs"  href="#" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
+			        actions.push('<a class="btn btn-danger btn-xs" href="#" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a>');
+			        return actions.join('');
+			    }
+			}]
+  };
+$(function(){
+	var oTab=$.table.oTableInit(options);
+	oTab.Init();
+})
+</script>
+
+</body>
+
+
+</html>

+ 187 - 0
src/main/resources/templates/gen/gyeepermission/add.html

@@ -0,0 +1,187 @@
+<!DOCTYPE html>
+<html xmlns:th="http://www.thymeleaf.org" 
+      xmlns:sec="http://www.pollix.at/thymeleaf/shiro">
+<head th:replace="admin/common/html/tableHead :: head(~{::title},~{::link},~{::style})">
+
+<title th:text=${title}></title>
+<!-- 这儿引用单独的css link -->
+<!-- Ladda for Bootstrap 3按钮加载进度插件 -->
+<link rel="stylesheet" th:href="@{/static/admin/assets/js/button/ladda/ladda.min.css}">
+<!-- bootstrap-table表单样式 -->
+<link th:href="@{/static/admin/assets/js/bootstrap/css/bootstrap-table/bootstrap-table.min.css}" rel="stylesheet"/>
+<!-- 用户界面自定义css -->
+<link th:href="@{/static/admin/user/css/user-add.css}" rel="stylesheet"/>
+<style type="text/css"></style>
+</head>
+
+<body>
+
+<div class="content-wrap">
+	<div class="row">
+		<div class="col-sm-12">
+			<div class="nest" id="elementClose">
+				<div class="">
+				</div>
+				<div class="body-nest" id="element">
+					<div class="panel-body">
+						<form  class="form-horizontal m" id="form-add">
+						
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="permisssionlevel" name="permisssionlevel"/>
+										</div>
+									</div>
+									
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="permisssionname" name="permisssionname"/>
+										</div>
+									</div>
+									
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="describes" name="describes"/>
+										</div>
+									</div>
+									
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="remark1" name="remark1"/>
+										</div>
+									</div>
+									
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="remark2" name="remark2"/>
+										</div>
+									</div>
+									
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="parent" name="parent"/>
+										</div>
+									</div>
+									
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="isable" name="isable"/>
+										</div>
+									</div>
+									
+			
+									<div class="form-group">
+										<div class="form-control-static col-sm-offset-9">
+											<button type="submit" class="btn btn-primary">提交</button>
+											<button onclick="$.modal.close()" class="btn btn-danger" type="button">关闭</button>
+										</div>
+									</div>
+						 </form>
+					</div>
+				</div>
+			</div>
+		</div>
+	</div>
+</div>
+
+<!-- 通用js -->
+<div th:include="admin/common/html/js :: onload_js">
+   
+</div>
+<!-- bootstarp 表格 -->
+<script th:src="@{/static/admin/assets/js/bootstrap/js/bootstrap-table/bootstrap-table.min.js}" type="text/javascript"></script>
+<script th:src="@{/static/admin/assets/js/bootstrap/js/bootstrap-table/locale/bootstrap-table-zh-CN.min.js}" type="text/javascript"></script>
+<script th:src="@{/static/admin/assets/js/bootstrap/js/base_list.js}" type="text/javascript"></script>
+
+
+<!-- 弹窗 -->
+<script  th:src="@{/static/admin/assets/js/layer/layer.js}" type="text/javascript"></script>
+<!-- 遮罩层 -->
+<script  th:src="@{/static/admin/assets/js/blockUI/jquery.blockUI.js}" type="text/javascript"></script>
+<!-- jqueryForm序列化 -->
+<script  th:src="@{/static/js/jqueryFormSerializeJson.js}" type="text/javascript"></script>
+<script type="text/javascript">
+
+$(function(){
+	 $(".MyDate").datetimepicker({
+		 	format: "yyyy-mm-dd hh:00:00",
+	        startDate: new Date(),
+	        autoclose: true,
+	        todayBtn: true,
+	        language: 'zh-CN',
+	        initialDate:new Date(),
+	        minView: 1      
+	    });
+	
+})
+
+
+$("#form-add").validate({
+	rules:{
+		permisssionname:{
+			required:true,
+			minlength: 2,
+			maxlength: 20,
+			remote: {
+                url: rootPath + "/GyeepermissionController/checkNameUnique",
+                type: "post",
+                dataType: "json",
+                dataFilter: function(data, type) {
+                    if (data == "0")
+                    	return true;
+                    else 
+                    	return false;
+                }
+            }
+		}
+	},
+	messages: {
+        "permisssionname": {
+            remote: "已经存在"
+        }
+    },
+	submitHandler:function(form){
+		add();
+	}
+});
+
+/**
+ * 用户添加方法
+ */
+function add() {
+	var dataFormJson=$("#form-add").serialize();
+	$.ajax({
+		cache : true,
+		type : "POST",
+		url : rootPath + "/GyeepermissionController/add",
+		data : dataFormJson,
+		async : false,
+		error : function(request) {
+			$.modal.alertError("系统错误");
+		},
+		success : function(data) {
+			$.operate.saveSuccess(data);
+		}
+	});
+}
+
+
+</script>
+
+
+</body>
+
+
+</html>

+ 158 - 0
src/main/resources/templates/gen/gyeepermission/edit.html

@@ -0,0 +1,158 @@
+<!DOCTYPE html>
+<html xmlns:th="http://www.thymeleaf.org" 
+      xmlns:sec="http://www.pollix.at/thymeleaf/shiro">
+<head th:replace="admin/common/html/tableHead :: tableHead(~{::title},~{::link},~{::style})">
+
+<title th:text=${title}></title>
+<!-- 这儿引用单独的css link -->
+<!-- Ladda for Bootstrap 3按钮加载进度插件 -->
+<link rel="stylesheet" th:href="@{/static/admin/assets/js/button/ladda/ladda.min.css}">
+<!-- bootstrap-table表单样式 -->
+<link th:href="@{/static/admin/assets/js/bootstrap/css/bootstrap-table/bootstrap-table.min.css}" rel="stylesheet"/>
+
+<!-- 用户界面自定义css -->
+<link th:href="@{/static/admin/user/css/user-add.css}" rel="stylesheet"/>
+<style type="text/css"></style>
+
+</head>
+
+<body>
+      	   	      	      	      	      	      	      	      	      
+<div class="content-wrap">
+	<div class="row">
+		<div class="col-sm-12">
+			<div class="nest" id="elementClose">
+				<div class="">
+				</div>
+				<div class="body-nest" id="element">
+					<div class="panel-body">
+						<form  class="form-horizontal m" id="form-edit" th:object="${Gyeepermission}">
+							<input id="id" name="id" type="hidden" th:field="*{id}"/>
+						
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="permisssionlevel" name="permisssionlevel" th:value="*{permisssionlevel}"/>
+										</div>
+									</div>
+
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="permisssionname" name="permisssionname" th:value="*{permisssionname}"/>
+										</div>
+									</div>
+
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="describes" name="describes" th:value="*{describes}"/>
+										</div>
+									</div>
+
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="remark1" name="remark1" th:value="*{remark1}"/>
+										</div>
+									</div>
+
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="remark2" name="remark2" th:value="*{remark2}"/>
+										</div>
+									</div>
+
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="parent" name="parent" th:value="*{parent}"/>
+										</div>
+									</div>
+
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="isable" name="isable" th:value="*{isable}"/>
+										</div>
+									</div>
+
+			
+									<div class="form-group">
+										<div class="form-control-static col-sm-offset-9">
+											<button type="submit" class="btn btn-primary">提交</button>
+											<button onclick="$.modal.close()" class="btn btn-danger" type="button">关闭</button>
+										</div>
+									</div>
+						</form>
+					</div>
+				</div>
+			</div>
+		</div>
+	</div>
+</div>
+
+<!-- 通用js -->
+<div th:include="admin/common/html/js :: onload_js">
+   
+</div>
+<!-- bootstarp 表格 -->
+<script th:src="@{/static/admin/assets/js/bootstrap/js/bootstrap-table/bootstrap-table.min.js}" type="text/javascript"></script>
+<script th:src="@{/static/admin/assets/js/bootstrap/js/bootstrap-table/locale/bootstrap-table-zh-CN.min.js}" type="text/javascript"></script>
+<script th:src="@{/static/admin/assets/js/bootstrap/js/base_list.js}" type="text/javascript"></script>
+
+
+<!-- 弹窗 -->
+<script th:src="@{/static/admin/assets/js/layer/layer.js}" type="text/javascript"></script>
+<!-- 遮罩层 -->
+<script th:src="@{/static/admin/assets/js/blockUI/jquery.blockUI.js}" type="text/javascript"></script>
+<script type="text/javascript">
+$(function(){
+	 $(".MyDate").datetimepicker({
+		 	format: "yyyy-mm-dd hh:00:00",
+	        startDate: new Date(),
+	        autoclose: true,
+	        todayBtn: true,
+	        language: 'zh-CN',
+	        initialDate:new Date(),
+	        minView: 1      
+	    });
+	
+})
+
+
+$("#form-edit").validate({
+	submitHandler : function(form) {
+		edit();
+	}
+});
+
+function edit() {
+	var dataFormJson = $("#form-edit").serialize();
+	$.ajax({
+		cache : true,
+		type : "POST",
+		url : rootPath + "/GyeepermissionController/edit",
+		data : dataFormJson,
+		async : false,
+		error : function(request) {
+			$.modal.alertError("系统错误");
+		},
+		success : function(data) {
+			$.operate.saveSuccess(data);
+		}
+	});
+}
+</script>
+
+</body>
+
+
+</html>

+ 262 - 0
src/main/resources/templates/gen/gyeepermission/list.html

@@ -0,0 +1,262 @@
+<!DOCTYPE html>
+<html xmlns:th="http://www.thymeleaf.org" 
+      xmlns:sec="http://www.pollix.at/thymeleaf/shiro">
+<head th:replace="admin/common/html/head :: head_Normal(~{::title},~{::link},~{::style})">
+
+<title th:text=${title}></title>
+<!-- 这儿引用单独的css link -->
+<!-- Ladda for Bootstrap 3按钮加载进度插件 -->
+<link rel="stylesheet" th:href="@{/static/admin/assets/js/button/ladda/ladda.min.css}">
+<!-- bootstrap-table表单样式 -->
+<link th:href="@{/static/admin/assets/js/bootstrap/css/bootstrap-table/bootstrap-table.min.css}" rel="stylesheet"/>
+
+<style type="text/css">
+/**
+*这里写单独的css样式
+*/
+
+</style>
+
+</head>
+
+<body id="listbody">
+<!-- # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # 代码编写处 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # -->
+
+<!-- 右边内容 -->
+<div class="wrap-fluid">
+    <div class="container-fluid paper-wrap bevel tlbr">
+        <!-- 内容 -->
+        <!--标题 通用-->
+        <div th:replace="admin/common/html/title :: title(${title},${parenttitle},${isMsg},${msgHTML})">
+        </div>
+        <!-- 结束标题 通用-->
+        <div class="content-wrap">
+            <!-- 结束内容 -->
+            <div class="row">
+                <div class="col-sm-12">
+                <!-- 搜索条件 -->
+                
+                	 <div class="nest" id="inlineClose">
+                            <div class="title-alt">
+                                <h6>搜索条件</h6>
+                                <div class="titleClose">
+                                    <a class="gone" href="#inlineClose">
+                                        <span class="entypo-cancel"></span>
+                                    </a>
+                                </div>
+                                <div class="titleToggle">
+                                    <a class="nav-toggle-alt" href="#search_div" >
+                                        <span class="entypo-down-open"></span>
+                                    </a>
+                                </div>
+                            </div>
+
+                            <div class="body-nest" id="search_div" style="display: none">
+                                <div class="form_left">
+                                    <form role="form" class="form-inline">
+                                        <div class="form-group">
+                                            <label for="exampleInputEmail2" class="sr-only">搜索名字</label>
+                                            <input type="text" name="searchText" placeholder="搜索名字"class="form-control">
+                                        </div>
+                                        <button onclick="$.table.search(this)" class="btn btn-success" type="button"><i class="fa fa-search"></i>&nbsp;搜索</button>
+                                    </form>
+                                </div>
+                            </div>
+                        </div>
+                	<!-- END搜索条件 -->
+                    <!-- 空白页开始-->
+                    <div class="nest" id="Blank_PageClose">
+                        <div class="title-alt">
+                            <h6>表单</h6>
+                            <div class="titleClose">
+                                <a class="gone" href="#Blank_PageClose">
+                                    <span class="entypo-cancel"></span>
+                                </a>
+                            </div>
+                            <div class="titleToggle">
+                                <a class="nav-toggle-alt" href="#Blank_Page_Content">
+                                    <span class="entypo-up-open"></span>
+                                </a>
+                            </div>
+                        </div>
+                        
+                        <div class="body-nest" id="Blank_Page_Content">
+                            <!-- 工具条 -->
+                            <div class="btn-group hidden-xs" id="exampleTableEventsToolbar" role="group">
+                            	<button onclick="$.operate.add()" type="button" class="btn btn-primary">
+                                    <span class="entypo-plus-squared"></span>&nbsp;&nbsp;新增
+                                </button>
+                               <button onclick="$.operate.batRemove()" type="button" class="btn btn-info">
+                                    <span class="entypo-trash"></span>&nbsp;&nbsp;删除
+                               </button>
+                               
+                           </div>
+                            <!-- 工具条 end-->
+                           <table id="dataTable" class="table-striped footable-res footable metro-blue" data-page-size="6">
+                                   
+                           </table>
+                        </div>
+                    </div>
+                </div>
+                <!-- 空白页结束 -->
+            </div>
+            <!-- 结束内容 -->
+        </div>
+    </div>
+</div>
+<!-- 结束右边内容 -->
+<!-- # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # 代码编写处 END# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # -->
+
+
+
+
+
+
+
+<!-- 右侧隐藏滑块内容 -->
+<div th:include="admin/common/html/rightHide :: rightHide">
+    
+</div>
+   <!-- END 右侧隐藏滑块内容-->
+
+<!-- 通用js -->
+<div th:include="admin/common/html/js :: onload_js">
+   
+</div>
+<!-- bootstarp 表格 -->
+<script th:src="@{/static/admin/assets/js/bootstrap/js/bootstrap-table/bootstrap-table.min.js}" type="text/javascript"></script>
+<script th:src="@{/static/admin/assets/js/bootstrap/js/bootstrap-table/locale/bootstrap-table-zh-CN.min.js}" type="text/javascript"></script>
+<script th:src="@{/static/admin/assets/js/bootstrap/js/base_list.js}" type="text/javascript"></script>
+<!-- jquery-export 表格导出插件 -->
+<script th:src="@{/static/admin/assets/js/bootstrap/extensions/export/bootstrap-table-export.js}" type="text/javascript"></script>
+<script th:src="@{/static/admin/assets/js/bootstrap/extensions/export/tableExport.js}" type="text/javascript"></script>
+
+<!-- 弹窗 -->
+<script th:src="@{/static/admin/assets/js/layer/layer.js}" type="text/javascript"></script>
+<!-- 遮罩层 -->
+<script th:src="@{/static/admin/assets/js/blockUI/jquery.blockUI.js}" type="text/javascript"></script>
+
+<script type="text/javascript">
+
+      	   	      	      	      	      	      	      	      	      
+<!-- 导出 -->
+var dataUrl=window.rootPath+"/GyeepermissionController/list";
+var removeUrl=window.rootPath+"/GyeepermissionController/remove";
+var createUrl=window.rootPath+"/GyeepermissionController/add";
+var updateUrl=window.rootPath+"/GyeepermissionController/edit/{id}";
+var exportUrl=window.rootPath+"/GyeepermissionController/export";
+  var options = {
+		dataUrl: dataUrl,
+        createUrl: createUrl,
+        updateUrl: updateUrl,
+        removeUrl:removeUrl,
+        exportUrl: exportUrl,
+        sortName: "roleSort",
+        modalName: "",
+        search: false,
+	   dataColumns: [
+			{
+			    checkbox: true
+			},
+			{
+			    field: 'id',
+			    title: ''
+			    //visible: false, //隐藏
+			    //searchable: false,//搜索
+			    //sortable:false,//设置true为允许列可以排序
+			    //order: asc //排序顺序
+			},
+			{
+			    field: 'permisssionlevel',
+			    title: ''
+			    //visible: false, //隐藏
+			    //searchable: false,//搜索
+			    //sortable:false,//设置true为允许列可以排序
+			    //order: asc //排序顺序
+			},
+			{
+			    field: 'permisssionname',
+			    title: ''
+			    //visible: false, //隐藏
+			    //searchable: false,//搜索
+			    //sortable:false,//设置true为允许列可以排序
+			    //order: asc //排序顺序
+			},
+			{
+			    field: 'describes',
+			    title: ''
+			    //visible: false, //隐藏
+			    //searchable: false,//搜索
+			    //sortable:false,//设置true为允许列可以排序
+			    //order: asc //排序顺序
+			},
+			{
+			    field: 'remark1',
+			    title: ''
+			    //visible: false, //隐藏
+			    //searchable: false,//搜索
+			    //sortable:false,//设置true为允许列可以排序
+			    //order: asc //排序顺序
+			},
+			{
+			    field: 'remark2',
+			    title: ''
+			    //visible: false, //隐藏
+			    //searchable: false,//搜索
+			    //sortable:false,//设置true为允许列可以排序
+			    //order: asc //排序顺序
+			},
+			{
+			    field: 'parent',
+			    title: ''
+			    //visible: false, //隐藏
+			    //searchable: false,//搜索
+			    //sortable:false,//设置true为允许列可以排序
+			    //order: asc //排序顺序
+			},
+			{
+			    field: 'isable',
+			    title: ''
+			    //visible: false, //隐藏
+			    //searchable: false,//搜索
+			    //sortable:false,//设置true为允许列可以排序
+			    //order: asc //排序顺序
+			},
+
+/*	
+参照修改注释
+		{
+			    field: 'xxstate',
+			    title: 'xx状态',
+		    	formatter: function (value, row, index) {
+			        var actions = [];
+			        if(value==0){
+			        	 actions.push('<span class="label label-primary">关闭</span>');
+			        }else if(value==1){
+			        	 actions.push('<span class="label label-danger">开启</span>');
+			        }
+			      	return actions.join('');			    
+				 }
+			}
+*/
+			{
+			    title: '操作',
+			    formatter: function (value, row, index) {
+			        var id = row.id;
+			        var actions = [];
+			        actions.push('<a class="btn btn-success btn-xs"  href="#" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
+			        actions.push('<a class="btn btn-danger btn-xs" href="#" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a>');
+			        return actions.join('');
+			    }
+			}]
+  };
+$(function(){
+	var oTab=$.table.oTableInit(options);
+	oTab.Init();
+})
+</script>
+
+</body>
+
+
+</html>

+ 147 - 0
src/main/resources/templates/gen/gyeerole/add.html

@@ -0,0 +1,147 @@
+<!DOCTYPE html>
+<html xmlns:th="http://www.thymeleaf.org" 
+      xmlns:sec="http://www.pollix.at/thymeleaf/shiro">
+<head th:replace="admin/common/html/tableHead :: head(~{::title},~{::link},~{::style})">
+
+<title th:text=${title}></title>
+<!-- 这儿引用单独的css link -->
+<!-- Ladda for Bootstrap 3按钮加载进度插件 -->
+<link rel="stylesheet" th:href="@{/static/admin/assets/js/button/ladda/ladda.min.css}">
+<!-- bootstrap-table表单样式 -->
+<link th:href="@{/static/admin/assets/js/bootstrap/css/bootstrap-table/bootstrap-table.min.css}" rel="stylesheet"/>
+<!-- 用户界面自定义css -->
+<link th:href="@{/static/admin/user/css/user-add.css}" rel="stylesheet"/>
+<style type="text/css"></style>
+</head>
+
+<body>
+
+<div class="content-wrap">
+	<div class="row">
+		<div class="col-sm-12">
+			<div class="nest" id="elementClose">
+				<div class="">
+				</div>
+				<div class="body-nest" id="element">
+					<div class="panel-body">
+						<form  class="form-horizontal m" id="form-add">
+						
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="name" name="name"/>
+										</div>
+									</div>
+									
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="remark" name="remark"/>
+										</div>
+									</div>
+									
+			
+									<div class="form-group">
+										<div class="form-control-static col-sm-offset-9">
+											<button type="submit" class="btn btn-primary">提交</button>
+											<button onclick="$.modal.close()" class="btn btn-danger" type="button">关闭</button>
+										</div>
+									</div>
+						 </form>
+					</div>
+				</div>
+			</div>
+		</div>
+	</div>
+</div>
+
+<!-- 通用js -->
+<div th:include="admin/common/html/js :: onload_js">
+   
+</div>
+<!-- bootstarp 表格 -->
+<script th:src="@{/static/admin/assets/js/bootstrap/js/bootstrap-table/bootstrap-table.min.js}" type="text/javascript"></script>
+<script th:src="@{/static/admin/assets/js/bootstrap/js/bootstrap-table/locale/bootstrap-table-zh-CN.min.js}" type="text/javascript"></script>
+<script th:src="@{/static/admin/assets/js/bootstrap/js/base_list.js}" type="text/javascript"></script>
+
+
+<!-- 弹窗 -->
+<script  th:src="@{/static/admin/assets/js/layer/layer.js}" type="text/javascript"></script>
+<!-- 遮罩层 -->
+<script  th:src="@{/static/admin/assets/js/blockUI/jquery.blockUI.js}" type="text/javascript"></script>
+<!-- jqueryForm序列化 -->
+<script  th:src="@{/static/js/jqueryFormSerializeJson.js}" type="text/javascript"></script>
+<script type="text/javascript">
+
+$(function(){
+	 $(".MyDate").datetimepicker({
+		 	format: "yyyy-mm-dd hh:00:00",
+	        startDate: new Date(),
+	        autoclose: true,
+	        todayBtn: true,
+	        language: 'zh-CN',
+	        initialDate:new Date(),
+	        minView: 1      
+	    });
+	
+})
+
+
+$("#form-add").validate({
+	rules:{
+		name:{
+			required:true,
+			minlength: 2,
+			maxlength: 20,
+			remote: {
+                url: rootPath + "/GyeeroleController/checkNameUnique",
+                type: "post",
+                dataType: "json",
+                dataFilter: function(data, type) {
+                    if (data == "0")
+                    	return true;
+                    else 
+                    	return false;
+                }
+            }
+		}
+	},
+	messages: {
+        "name": {
+            remote: "已经存在"
+        }
+    },
+	submitHandler:function(form){
+		add();
+	}
+});
+
+/**
+ * 用户添加方法
+ */
+function add() {
+	var dataFormJson=$("#form-add").serialize();
+	$.ajax({
+		cache : true,
+		type : "POST",
+		url : rootPath + "/GyeeroleController/add",
+		data : dataFormJson,
+		async : false,
+		error : function(request) {
+			$.modal.alertError("系统错误");
+		},
+		success : function(data) {
+			$.operate.saveSuccess(data);
+		}
+	});
+}
+
+
+</script>
+
+
+</body>
+
+
+</html>

+ 118 - 0
src/main/resources/templates/gen/gyeerole/edit.html

@@ -0,0 +1,118 @@
+<!DOCTYPE html>
+<html xmlns:th="http://www.thymeleaf.org" 
+      xmlns:sec="http://www.pollix.at/thymeleaf/shiro">
+<head th:replace="admin/common/html/tableHead :: tableHead(~{::title},~{::link},~{::style})">
+
+<title th:text=${title}></title>
+<!-- 这儿引用单独的css link -->
+<!-- Ladda for Bootstrap 3按钮加载进度插件 -->
+<link rel="stylesheet" th:href="@{/static/admin/assets/js/button/ladda/ladda.min.css}">
+<!-- bootstrap-table表单样式 -->
+<link th:href="@{/static/admin/assets/js/bootstrap/css/bootstrap-table/bootstrap-table.min.css}" rel="stylesheet"/>
+
+<!-- 用户界面自定义css -->
+<link th:href="@{/static/admin/user/css/user-add.css}" rel="stylesheet"/>
+<style type="text/css"></style>
+
+</head>
+
+<body>
+      	   	      	      	      
+<div class="content-wrap">
+	<div class="row">
+		<div class="col-sm-12">
+			<div class="nest" id="elementClose">
+				<div class="">
+				</div>
+				<div class="body-nest" id="element">
+					<div class="panel-body">
+						<form  class="form-horizontal m" id="form-edit" th:object="${Gyeerole}">
+							<input id="id" name="id" type="hidden" th:field="*{id}"/>
+						
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="name" name="name" th:value="*{name}"/>
+										</div>
+									</div>
+
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="remark" name="remark" th:value="*{remark}"/>
+										</div>
+									</div>
+
+			
+									<div class="form-group">
+										<div class="form-control-static col-sm-offset-9">
+											<button type="submit" class="btn btn-primary">提交</button>
+											<button onclick="$.modal.close()" class="btn btn-danger" type="button">关闭</button>
+										</div>
+									</div>
+						</form>
+					</div>
+				</div>
+			</div>
+		</div>
+	</div>
+</div>
+
+<!-- 通用js -->
+<div th:include="admin/common/html/js :: onload_js">
+   
+</div>
+<!-- bootstarp 表格 -->
+<script th:src="@{/static/admin/assets/js/bootstrap/js/bootstrap-table/bootstrap-table.min.js}" type="text/javascript"></script>
+<script th:src="@{/static/admin/assets/js/bootstrap/js/bootstrap-table/locale/bootstrap-table-zh-CN.min.js}" type="text/javascript"></script>
+<script th:src="@{/static/admin/assets/js/bootstrap/js/base_list.js}" type="text/javascript"></script>
+
+
+<!-- 弹窗 -->
+<script th:src="@{/static/admin/assets/js/layer/layer.js}" type="text/javascript"></script>
+<!-- 遮罩层 -->
+<script th:src="@{/static/admin/assets/js/blockUI/jquery.blockUI.js}" type="text/javascript"></script>
+<script type="text/javascript">
+$(function(){
+	 $(".MyDate").datetimepicker({
+		 	format: "yyyy-mm-dd hh:00:00",
+	        startDate: new Date(),
+	        autoclose: true,
+	        todayBtn: true,
+	        language: 'zh-CN',
+	        initialDate:new Date(),
+	        minView: 1      
+	    });
+	
+})
+
+
+$("#form-edit").validate({
+	submitHandler : function(form) {
+		edit();
+	}
+});
+
+function edit() {
+	var dataFormJson = $("#form-edit").serialize();
+	$.ajax({
+		cache : true,
+		type : "POST",
+		url : rootPath + "/GyeeroleController/edit",
+		data : dataFormJson,
+		async : false,
+		error : function(request) {
+			$.modal.alertError("系统错误");
+		},
+		success : function(data) {
+			$.operate.saveSuccess(data);
+		}
+	});
+}
+</script>
+
+</body>
+
+
+</html>

+ 222 - 0
src/main/resources/templates/gen/gyeerole/list.html

@@ -0,0 +1,222 @@
+<!DOCTYPE html>
+<html xmlns:th="http://www.thymeleaf.org" 
+      xmlns:sec="http://www.pollix.at/thymeleaf/shiro">
+<head th:replace="admin/common/html/head :: head_Normal(~{::title},~{::link},~{::style})">
+
+<title th:text=${title}></title>
+<!-- 这儿引用单独的css link -->
+<!-- Ladda for Bootstrap 3按钮加载进度插件 -->
+<link rel="stylesheet" th:href="@{/static/admin/assets/js/button/ladda/ladda.min.css}">
+<!-- bootstrap-table表单样式 -->
+<link th:href="@{/static/admin/assets/js/bootstrap/css/bootstrap-table/bootstrap-table.min.css}" rel="stylesheet"/>
+
+<style type="text/css">
+/**
+*这里写单独的css样式
+*/
+
+</style>
+
+</head>
+
+<body id="listbody">
+<!-- # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # 代码编写处 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # -->
+
+<!-- 右边内容 -->
+<div class="wrap-fluid">
+    <div class="container-fluid paper-wrap bevel tlbr">
+        <!-- 内容 -->
+        <!--标题 通用-->
+        <div th:replace="admin/common/html/title :: title(${title},${parenttitle},${isMsg},${msgHTML})">
+        </div>
+        <!-- 结束标题 通用-->
+        <div class="content-wrap">
+            <!-- 结束内容 -->
+            <div class="row">
+                <div class="col-sm-12">
+                <!-- 搜索条件 -->
+                
+                	 <div class="nest" id="inlineClose">
+                            <div class="title-alt">
+                                <h6>搜索条件</h6>
+                                <div class="titleClose">
+                                    <a class="gone" href="#inlineClose">
+                                        <span class="entypo-cancel"></span>
+                                    </a>
+                                </div>
+                                <div class="titleToggle">
+                                    <a class="nav-toggle-alt" href="#search_div" >
+                                        <span class="entypo-down-open"></span>
+                                    </a>
+                                </div>
+                            </div>
+
+                            <div class="body-nest" id="search_div" style="display: none">
+                                <div class="form_left">
+                                    <form role="form" class="form-inline">
+                                        <div class="form-group">
+                                            <label for="exampleInputEmail2" class="sr-only">搜索名字</label>
+                                            <input type="text" name="searchText" placeholder="搜索名字"class="form-control">
+                                        </div>
+                                        <button onclick="$.table.search(this)" class="btn btn-success" type="button"><i class="fa fa-search"></i>&nbsp;搜索</button>
+                                    </form>
+                                </div>
+                            </div>
+                        </div>
+                	<!-- END搜索条件 -->
+                    <!-- 空白页开始-->
+                    <div class="nest" id="Blank_PageClose">
+                        <div class="title-alt">
+                            <h6>表单</h6>
+                            <div class="titleClose">
+                                <a class="gone" href="#Blank_PageClose">
+                                    <span class="entypo-cancel"></span>
+                                </a>
+                            </div>
+                            <div class="titleToggle">
+                                <a class="nav-toggle-alt" href="#Blank_Page_Content">
+                                    <span class="entypo-up-open"></span>
+                                </a>
+                            </div>
+                        </div>
+                        
+                        <div class="body-nest" id="Blank_Page_Content">
+                            <!-- 工具条 -->
+                            <div class="btn-group hidden-xs" id="exampleTableEventsToolbar" role="group">
+                            	<button onclick="$.operate.add()" type="button" class="btn btn-primary">
+                                    <span class="entypo-plus-squared"></span>&nbsp;&nbsp;新增
+                                </button>
+                               <button onclick="$.operate.batRemove()" type="button" class="btn btn-info">
+                                    <span class="entypo-trash"></span>&nbsp;&nbsp;删除
+                               </button>
+                               
+                           </div>
+                            <!-- 工具条 end-->
+                           <table id="dataTable" class="table-striped footable-res footable metro-blue" data-page-size="6">
+                                   
+                           </table>
+                        </div>
+                    </div>
+                </div>
+                <!-- 空白页结束 -->
+            </div>
+            <!-- 结束内容 -->
+        </div>
+    </div>
+</div>
+<!-- 结束右边内容 -->
+<!-- # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # 代码编写处 END# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # -->
+
+
+
+
+
+
+
+<!-- 右侧隐藏滑块内容 -->
+<div th:include="admin/common/html/rightHide :: rightHide">
+    
+</div>
+   <!-- END 右侧隐藏滑块内容-->
+
+<!-- 通用js -->
+<div th:include="admin/common/html/js :: onload_js">
+   
+</div>
+<!-- bootstarp 表格 -->
+<script th:src="@{/static/admin/assets/js/bootstrap/js/bootstrap-table/bootstrap-table.min.js}" type="text/javascript"></script>
+<script th:src="@{/static/admin/assets/js/bootstrap/js/bootstrap-table/locale/bootstrap-table-zh-CN.min.js}" type="text/javascript"></script>
+<script th:src="@{/static/admin/assets/js/bootstrap/js/base_list.js}" type="text/javascript"></script>
+<!-- jquery-export 表格导出插件 -->
+<script th:src="@{/static/admin/assets/js/bootstrap/extensions/export/bootstrap-table-export.js}" type="text/javascript"></script>
+<script th:src="@{/static/admin/assets/js/bootstrap/extensions/export/tableExport.js}" type="text/javascript"></script>
+
+<!-- 弹窗 -->
+<script th:src="@{/static/admin/assets/js/layer/layer.js}" type="text/javascript"></script>
+<!-- 遮罩层 -->
+<script th:src="@{/static/admin/assets/js/blockUI/jquery.blockUI.js}" type="text/javascript"></script>
+
+<script type="text/javascript">
+
+      	   	      	      	      
+<!-- 导出 -->
+var dataUrl=window.rootPath+"/GyeeroleController/list";
+var removeUrl=window.rootPath+"/GyeeroleController/remove";
+var createUrl=window.rootPath+"/GyeeroleController/add";
+var updateUrl=window.rootPath+"/GyeeroleController/edit/{id}";
+var exportUrl=window.rootPath+"/GyeeroleController/export";
+  var options = {
+		dataUrl: dataUrl,
+        createUrl: createUrl,
+        updateUrl: updateUrl,
+        removeUrl:removeUrl,
+        exportUrl: exportUrl,
+        sortName: "roleSort",
+        modalName: "",
+        search: false,
+	   dataColumns: [
+			{
+			    checkbox: true
+			},
+			{
+			    field: 'id',
+			    title: ''
+			    //visible: false, //隐藏
+			    //searchable: false,//搜索
+			    //sortable:false,//设置true为允许列可以排序
+			    //order: asc //排序顺序
+			},
+			{
+			    field: 'name',
+			    title: ''
+			    //visible: false, //隐藏
+			    //searchable: false,//搜索
+			    //sortable:false,//设置true为允许列可以排序
+			    //order: asc //排序顺序
+			},
+			{
+			    field: 'remark',
+			    title: ''
+			    //visible: false, //隐藏
+			    //searchable: false,//搜索
+			    //sortable:false,//设置true为允许列可以排序
+			    //order: asc //排序顺序
+			},
+
+/*	
+参照修改注释
+		{
+			    field: 'xxstate',
+			    title: 'xx状态',
+		    	formatter: function (value, row, index) {
+			        var actions = [];
+			        if(value==0){
+			        	 actions.push('<span class="label label-primary">关闭</span>');
+			        }else if(value==1){
+			        	 actions.push('<span class="label label-danger">开启</span>');
+			        }
+			      	return actions.join('');			    
+				 }
+			}
+*/
+			{
+			    title: '操作',
+			    formatter: function (value, row, index) {
+			        var id = row.id;
+			        var actions = [];
+			        actions.push('<a class="btn btn-success btn-xs"  href="#" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
+			        actions.push('<a class="btn btn-danger btn-xs" href="#" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a>');
+			        return actions.join('');
+			    }
+			}]
+  };
+$(function(){
+	var oTab=$.table.oTableInit(options);
+	oTab.Init();
+})
+</script>
+
+</body>
+
+
+</html>

+ 155 - 0
src/main/resources/templates/gen/gyeeuser/add.html

@@ -0,0 +1,155 @@
+<!DOCTYPE html>
+<html xmlns:th="http://www.thymeleaf.org" 
+      xmlns:sec="http://www.pollix.at/thymeleaf/shiro">
+<head th:replace="admin/common/html/tableHead :: head(~{::title},~{::link},~{::style})">
+
+<title th:text=${title}></title>
+<!-- 这儿引用单独的css link -->
+<!-- Ladda for Bootstrap 3按钮加载进度插件 -->
+<link rel="stylesheet" th:href="@{/static/admin/assets/js/button/ladda/ladda.min.css}">
+<!-- bootstrap-table表单样式 -->
+<link th:href="@{/static/admin/assets/js/bootstrap/css/bootstrap-table/bootstrap-table.min.css}" rel="stylesheet"/>
+<!-- 用户界面自定义css -->
+<link th:href="@{/static/admin/user/css/user-add.css}" rel="stylesheet"/>
+<style type="text/css"></style>
+</head>
+
+<body>
+
+<div class="content-wrap">
+	<div class="row">
+		<div class="col-sm-12">
+			<div class="nest" id="elementClose">
+				<div class="">
+				</div>
+				<div class="body-nest" id="element">
+					<div class="panel-body">
+						<form  class="form-horizontal m" id="form-add">
+						
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="username" name="username"/>
+										</div>
+									</div>
+									
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="password" name="password"/>
+										</div>
+									</div>
+									
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="nickname" name="nickname"/>
+										</div>
+									</div>
+									
+			
+									<div class="form-group">
+										<div class="form-control-static col-sm-offset-9">
+											<button type="submit" class="btn btn-primary">提交</button>
+											<button onclick="$.modal.close()" class="btn btn-danger" type="button">关闭</button>
+										</div>
+									</div>
+						 </form>
+					</div>
+				</div>
+			</div>
+		</div>
+	</div>
+</div>
+
+<!-- 通用js -->
+<div th:include="admin/common/html/js :: onload_js">
+   
+</div>
+<!-- bootstarp 表格 -->
+<script th:src="@{/static/admin/assets/js/bootstrap/js/bootstrap-table/bootstrap-table.min.js}" type="text/javascript"></script>
+<script th:src="@{/static/admin/assets/js/bootstrap/js/bootstrap-table/locale/bootstrap-table-zh-CN.min.js}" type="text/javascript"></script>
+<script th:src="@{/static/admin/assets/js/bootstrap/js/base_list.js}" type="text/javascript"></script>
+
+
+<!-- 弹窗 -->
+<script  th:src="@{/static/admin/assets/js/layer/layer.js}" type="text/javascript"></script>
+<!-- 遮罩层 -->
+<script  th:src="@{/static/admin/assets/js/blockUI/jquery.blockUI.js}" type="text/javascript"></script>
+<!-- jqueryForm序列化 -->
+<script  th:src="@{/static/js/jqueryFormSerializeJson.js}" type="text/javascript"></script>
+<script type="text/javascript">
+
+$(function(){
+	 $(".MyDate").datetimepicker({
+		 	format: "yyyy-mm-dd hh:00:00",
+	        startDate: new Date(),
+	        autoclose: true,
+	        todayBtn: true,
+	        language: 'zh-CN',
+	        initialDate:new Date(),
+	        minView: 1      
+	    });
+	
+})
+
+
+$("#form-add").validate({
+	rules:{
+		username:{
+			required:true,
+			minlength: 2,
+			maxlength: 20,
+			remote: {
+                url: rootPath + "/GyeeuserController/checkNameUnique",
+                type: "post",
+                dataType: "json",
+                dataFilter: function(data, type) {
+                    if (data == "0")
+                    	return true;
+                    else 
+                    	return false;
+                }
+            }
+		}
+	},
+	messages: {
+        "username": {
+            remote: "已经存在"
+        }
+    },
+	submitHandler:function(form){
+		add();
+	}
+});
+
+/**
+ * 用户添加方法
+ */
+function add() {
+	var dataFormJson=$("#form-add").serialize();
+	$.ajax({
+		cache : true,
+		type : "POST",
+		url : rootPath + "/GyeeuserController/add",
+		data : dataFormJson,
+		async : false,
+		error : function(request) {
+			$.modal.alertError("系统错误");
+		},
+		success : function(data) {
+			$.operate.saveSuccess(data);
+		}
+	});
+}
+
+
+</script>
+
+
+</body>
+
+
+</html>

+ 126 - 0
src/main/resources/templates/gen/gyeeuser/edit.html

@@ -0,0 +1,126 @@
+<!DOCTYPE html>
+<html xmlns:th="http://www.thymeleaf.org" 
+      xmlns:sec="http://www.pollix.at/thymeleaf/shiro">
+<head th:replace="admin/common/html/tableHead :: tableHead(~{::title},~{::link},~{::style})">
+
+<title th:text=${title}></title>
+<!-- 这儿引用单独的css link -->
+<!-- Ladda for Bootstrap 3按钮加载进度插件 -->
+<link rel="stylesheet" th:href="@{/static/admin/assets/js/button/ladda/ladda.min.css}">
+<!-- bootstrap-table表单样式 -->
+<link th:href="@{/static/admin/assets/js/bootstrap/css/bootstrap-table/bootstrap-table.min.css}" rel="stylesheet"/>
+
+<!-- 用户界面自定义css -->
+<link th:href="@{/static/admin/user/css/user-add.css}" rel="stylesheet"/>
+<style type="text/css"></style>
+
+</head>
+
+<body>
+      	   	      	      	      	      
+<div class="content-wrap">
+	<div class="row">
+		<div class="col-sm-12">
+			<div class="nest" id="elementClose">
+				<div class="">
+				</div>
+				<div class="body-nest" id="element">
+					<div class="panel-body">
+						<form  class="form-horizontal m" id="form-edit" th:object="${Gyeeuser}">
+							<input id="id" name="id" type="hidden" th:field="*{id}"/>
+						
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="username" name="username" th:value="*{username}"/>
+										</div>
+									</div>
+
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="password" name="password" th:value="*{password}"/>
+										</div>
+									</div>
+
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="nickname" name="nickname" th:value="*{nickname}"/>
+										</div>
+									</div>
+
+			
+									<div class="form-group">
+										<div class="form-control-static col-sm-offset-9">
+											<button type="submit" class="btn btn-primary">提交</button>
+											<button onclick="$.modal.close()" class="btn btn-danger" type="button">关闭</button>
+										</div>
+									</div>
+						</form>
+					</div>
+				</div>
+			</div>
+		</div>
+	</div>
+</div>
+
+<!-- 通用js -->
+<div th:include="admin/common/html/js :: onload_js">
+   
+</div>
+<!-- bootstarp 表格 -->
+<script th:src="@{/static/admin/assets/js/bootstrap/js/bootstrap-table/bootstrap-table.min.js}" type="text/javascript"></script>
+<script th:src="@{/static/admin/assets/js/bootstrap/js/bootstrap-table/locale/bootstrap-table-zh-CN.min.js}" type="text/javascript"></script>
+<script th:src="@{/static/admin/assets/js/bootstrap/js/base_list.js}" type="text/javascript"></script>
+
+
+<!-- 弹窗 -->
+<script th:src="@{/static/admin/assets/js/layer/layer.js}" type="text/javascript"></script>
+<!-- 遮罩层 -->
+<script th:src="@{/static/admin/assets/js/blockUI/jquery.blockUI.js}" type="text/javascript"></script>
+<script type="text/javascript">
+$(function(){
+	 $(".MyDate").datetimepicker({
+		 	format: "yyyy-mm-dd hh:00:00",
+	        startDate: new Date(),
+	        autoclose: true,
+	        todayBtn: true,
+	        language: 'zh-CN',
+	        initialDate:new Date(),
+	        minView: 1      
+	    });
+	
+})
+
+
+$("#form-edit").validate({
+	submitHandler : function(form) {
+		edit();
+	}
+});
+
+function edit() {
+	var dataFormJson = $("#form-edit").serialize();
+	$.ajax({
+		cache : true,
+		type : "POST",
+		url : rootPath + "/GyeeuserController/edit",
+		data : dataFormJson,
+		async : false,
+		error : function(request) {
+			$.modal.alertError("系统错误");
+		},
+		success : function(data) {
+			$.operate.saveSuccess(data);
+		}
+	});
+}
+</script>
+
+</body>
+
+
+</html>

+ 230 - 0
src/main/resources/templates/gen/gyeeuser/list.html

@@ -0,0 +1,230 @@
+<!DOCTYPE html>
+<html xmlns:th="http://www.thymeleaf.org" 
+      xmlns:sec="http://www.pollix.at/thymeleaf/shiro">
+<head th:replace="admin/common/html/head :: head_Normal(~{::title},~{::link},~{::style})">
+
+<title th:text=${title}></title>
+<!-- 这儿引用单独的css link -->
+<!-- Ladda for Bootstrap 3按钮加载进度插件 -->
+<link rel="stylesheet" th:href="@{/static/admin/assets/js/button/ladda/ladda.min.css}">
+<!-- bootstrap-table表单样式 -->
+<link th:href="@{/static/admin/assets/js/bootstrap/css/bootstrap-table/bootstrap-table.min.css}" rel="stylesheet"/>
+
+<style type="text/css">
+/**
+*这里写单独的css样式
+*/
+
+</style>
+
+</head>
+
+<body id="listbody">
+<!-- # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # 代码编写处 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # -->
+
+<!-- 右边内容 -->
+<div class="wrap-fluid">
+    <div class="container-fluid paper-wrap bevel tlbr">
+        <!-- 内容 -->
+        <!--标题 通用-->
+        <div th:replace="admin/common/html/title :: title(${title},${parenttitle},${isMsg},${msgHTML})">
+        </div>
+        <!-- 结束标题 通用-->
+        <div class="content-wrap">
+            <!-- 结束内容 -->
+            <div class="row">
+                <div class="col-sm-12">
+                <!-- 搜索条件 -->
+                
+                	 <div class="nest" id="inlineClose">
+                            <div class="title-alt">
+                                <h6>搜索条件</h6>
+                                <div class="titleClose">
+                                    <a class="gone" href="#inlineClose">
+                                        <span class="entypo-cancel"></span>
+                                    </a>
+                                </div>
+                                <div class="titleToggle">
+                                    <a class="nav-toggle-alt" href="#search_div" >
+                                        <span class="entypo-down-open"></span>
+                                    </a>
+                                </div>
+                            </div>
+
+                            <div class="body-nest" id="search_div" style="display: none">
+                                <div class="form_left">
+                                    <form role="form" class="form-inline">
+                                        <div class="form-group">
+                                            <label for="exampleInputEmail2" class="sr-only">搜索名字</label>
+                                            <input type="text" name="searchText" placeholder="搜索名字"class="form-control">
+                                        </div>
+                                        <button onclick="$.table.search(this)" class="btn btn-success" type="button"><i class="fa fa-search"></i>&nbsp;搜索</button>
+                                    </form>
+                                </div>
+                            </div>
+                        </div>
+                	<!-- END搜索条件 -->
+                    <!-- 空白页开始-->
+                    <div class="nest" id="Blank_PageClose">
+                        <div class="title-alt">
+                            <h6>表单</h6>
+                            <div class="titleClose">
+                                <a class="gone" href="#Blank_PageClose">
+                                    <span class="entypo-cancel"></span>
+                                </a>
+                            </div>
+                            <div class="titleToggle">
+                                <a class="nav-toggle-alt" href="#Blank_Page_Content">
+                                    <span class="entypo-up-open"></span>
+                                </a>
+                            </div>
+                        </div>
+                        
+                        <div class="body-nest" id="Blank_Page_Content">
+                            <!-- 工具条 -->
+                            <div class="btn-group hidden-xs" id="exampleTableEventsToolbar" role="group">
+                            	<button onclick="$.operate.add()" type="button" class="btn btn-primary">
+                                    <span class="entypo-plus-squared"></span>&nbsp;&nbsp;新增
+                                </button>
+                               <button onclick="$.operate.batRemove()" type="button" class="btn btn-info">
+                                    <span class="entypo-trash"></span>&nbsp;&nbsp;删除
+                               </button>
+                               
+                           </div>
+                            <!-- 工具条 end-->
+                           <table id="dataTable" class="table-striped footable-res footable metro-blue" data-page-size="6">
+                                   
+                           </table>
+                        </div>
+                    </div>
+                </div>
+                <!-- 空白页结束 -->
+            </div>
+            <!-- 结束内容 -->
+        </div>
+    </div>
+</div>
+<!-- 结束右边内容 -->
+<!-- # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # 代码编写处 END# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # -->
+
+
+
+
+
+
+
+<!-- 右侧隐藏滑块内容 -->
+<div th:include="admin/common/html/rightHide :: rightHide">
+    
+</div>
+   <!-- END 右侧隐藏滑块内容-->
+
+<!-- 通用js -->
+<div th:include="admin/common/html/js :: onload_js">
+   
+</div>
+<!-- bootstarp 表格 -->
+<script th:src="@{/static/admin/assets/js/bootstrap/js/bootstrap-table/bootstrap-table.min.js}" type="text/javascript"></script>
+<script th:src="@{/static/admin/assets/js/bootstrap/js/bootstrap-table/locale/bootstrap-table-zh-CN.min.js}" type="text/javascript"></script>
+<script th:src="@{/static/admin/assets/js/bootstrap/js/base_list.js}" type="text/javascript"></script>
+<!-- jquery-export 表格导出插件 -->
+<script th:src="@{/static/admin/assets/js/bootstrap/extensions/export/bootstrap-table-export.js}" type="text/javascript"></script>
+<script th:src="@{/static/admin/assets/js/bootstrap/extensions/export/tableExport.js}" type="text/javascript"></script>
+
+<!-- 弹窗 -->
+<script th:src="@{/static/admin/assets/js/layer/layer.js}" type="text/javascript"></script>
+<!-- 遮罩层 -->
+<script th:src="@{/static/admin/assets/js/blockUI/jquery.blockUI.js}" type="text/javascript"></script>
+
+<script type="text/javascript">
+
+      	   	      	      	      	      
+<!-- 导出 -->
+var dataUrl=window.rootPath+"/GyeeuserController/list";
+var removeUrl=window.rootPath+"/GyeeuserController/remove";
+var createUrl=window.rootPath+"/GyeeuserController/add";
+var updateUrl=window.rootPath+"/GyeeuserController/edit/{id}";
+var exportUrl=window.rootPath+"/GyeeuserController/export";
+  var options = {
+		dataUrl: dataUrl,
+        createUrl: createUrl,
+        updateUrl: updateUrl,
+        removeUrl:removeUrl,
+        exportUrl: exportUrl,
+        sortName: "roleSort",
+        modalName: "",
+        search: false,
+	   dataColumns: [
+			{
+			    checkbox: true
+			},
+			{
+			    field: 'id',
+			    title: ''
+			    //visible: false, //隐藏
+			    //searchable: false,//搜索
+			    //sortable:false,//设置true为允许列可以排序
+			    //order: asc //排序顺序
+			},
+			{
+			    field: 'username',
+			    title: ''
+			    //visible: false, //隐藏
+			    //searchable: false,//搜索
+			    //sortable:false,//设置true为允许列可以排序
+			    //order: asc //排序顺序
+			},
+			{
+			    field: 'password',
+			    title: ''
+			    //visible: false, //隐藏
+			    //searchable: false,//搜索
+			    //sortable:false,//设置true为允许列可以排序
+			    //order: asc //排序顺序
+			},
+			{
+			    field: 'nickname',
+			    title: ''
+			    //visible: false, //隐藏
+			    //searchable: false,//搜索
+			    //sortable:false,//设置true为允许列可以排序
+			    //order: asc //排序顺序
+			},
+
+/*	
+参照修改注释
+		{
+			    field: 'xxstate',
+			    title: 'xx状态',
+		    	formatter: function (value, row, index) {
+			        var actions = [];
+			        if(value==0){
+			        	 actions.push('<span class="label label-primary">关闭</span>');
+			        }else if(value==1){
+			        	 actions.push('<span class="label label-danger">开启</span>');
+			        }
+			      	return actions.join('');			    
+				 }
+			}
+*/
+			{
+			    title: '操作',
+			    formatter: function (value, row, index) {
+			        var id = row.id;
+			        var actions = [];
+			        actions.push('<a class="btn btn-success btn-xs"  href="#" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
+			        actions.push('<a class="btn btn-danger btn-xs" href="#" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a>');
+			        return actions.join('');
+			    }
+			}]
+  };
+$(function(){
+	var oTab=$.table.oTableInit(options);
+	oTab.Init();
+})
+</script>
+
+</body>
+
+
+</html>

+ 203 - 0
src/main/resources/templates/gen/gyeeuserinformation/add.html

@@ -0,0 +1,203 @@
+<!DOCTYPE html>
+<html xmlns:th="http://www.thymeleaf.org" 
+      xmlns:sec="http://www.pollix.at/thymeleaf/shiro">
+<head th:replace="admin/common/html/tableHead :: head(~{::title},~{::link},~{::style})">
+
+<title th:text=${title}></title>
+<!-- 这儿引用单独的css link -->
+<!-- Ladda for Bootstrap 3按钮加载进度插件 -->
+<link rel="stylesheet" th:href="@{/static/admin/assets/js/button/ladda/ladda.min.css}">
+<!-- bootstrap-table表单样式 -->
+<link th:href="@{/static/admin/assets/js/bootstrap/css/bootstrap-table/bootstrap-table.min.css}" rel="stylesheet"/>
+<!-- 用户界面自定义css -->
+<link th:href="@{/static/admin/user/css/user-add.css}" rel="stylesheet"/>
+<style type="text/css"></style>
+</head>
+
+<body>
+
+<div class="content-wrap">
+	<div class="row">
+		<div class="col-sm-12">
+			<div class="nest" id="elementClose">
+				<div class="">
+				</div>
+				<div class="body-nest" id="element">
+					<div class="panel-body">
+						<form  class="form-horizontal m" id="form-add">
+						
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="icon" name="icon"/>
+										</div>
+									</div>
+									
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="phonenum" name="phonenum"/>
+										</div>
+									</div>
+									
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="remarks1" name="remarks1"/>
+										</div>
+									</div>
+									
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="remarks2" name="remarks2"/>
+										</div>
+									</div>
+									
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="email" name="email"/>
+										</div>
+									</div>
+									
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="lastlogintime" name="lastlogintime"/>
+										</div>
+									</div>
+									
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="lastloginip" name="lastloginip"/>
+										</div>
+									</div>
+									
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="lastequipmenttype" name="lastequipmenttype"/>
+										</div>
+									</div>
+									
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="name" name="name"/>
+										</div>
+									</div>
+									
+			
+									<div class="form-group">
+										<div class="form-control-static col-sm-offset-9">
+											<button type="submit" class="btn btn-primary">提交</button>
+											<button onclick="$.modal.close()" class="btn btn-danger" type="button">关闭</button>
+										</div>
+									</div>
+						 </form>
+					</div>
+				</div>
+			</div>
+		</div>
+	</div>
+</div>
+
+<!-- 通用js -->
+<div th:include="admin/common/html/js :: onload_js">
+   
+</div>
+<!-- bootstarp 表格 -->
+<script th:src="@{/static/admin/assets/js/bootstrap/js/bootstrap-table/bootstrap-table.min.js}" type="text/javascript"></script>
+<script th:src="@{/static/admin/assets/js/bootstrap/js/bootstrap-table/locale/bootstrap-table-zh-CN.min.js}" type="text/javascript"></script>
+<script th:src="@{/static/admin/assets/js/bootstrap/js/base_list.js}" type="text/javascript"></script>
+
+
+<!-- 弹窗 -->
+<script  th:src="@{/static/admin/assets/js/layer/layer.js}" type="text/javascript"></script>
+<!-- 遮罩层 -->
+<script  th:src="@{/static/admin/assets/js/blockUI/jquery.blockUI.js}" type="text/javascript"></script>
+<!-- jqueryForm序列化 -->
+<script  th:src="@{/static/js/jqueryFormSerializeJson.js}" type="text/javascript"></script>
+<script type="text/javascript">
+
+$(function(){
+	 $(".MyDate").datetimepicker({
+		 	format: "yyyy-mm-dd hh:00:00",
+	        startDate: new Date(),
+	        autoclose: true,
+	        todayBtn: true,
+	        language: 'zh-CN',
+	        initialDate:new Date(),
+	        minView: 1      
+	    });
+	
+})
+
+
+$("#form-add").validate({
+	rules:{
+		name:{
+			required:true,
+			minlength: 2,
+			maxlength: 20,
+			remote: {
+                url: rootPath + "/GyeeuserinformationController/checkNameUnique",
+                type: "post",
+                dataType: "json",
+                dataFilter: function(data, type) {
+                    if (data == "0")
+                    	return true;
+                    else 
+                    	return false;
+                }
+            }
+		}
+	},
+	messages: {
+        "name": {
+            remote: "已经存在"
+        }
+    },
+	submitHandler:function(form){
+		add();
+	}
+});
+
+/**
+ * 用户添加方法
+ */
+function add() {
+	var dataFormJson=$("#form-add").serialize();
+	$.ajax({
+		cache : true,
+		type : "POST",
+		url : rootPath + "/GyeeuserinformationController/add",
+		data : dataFormJson,
+		async : false,
+		error : function(request) {
+			$.modal.alertError("系统错误");
+		},
+		success : function(data) {
+			$.operate.saveSuccess(data);
+		}
+	});
+}
+
+
+</script>
+
+
+</body>
+
+
+</html>

+ 174 - 0
src/main/resources/templates/gen/gyeeuserinformation/edit.html

@@ -0,0 +1,174 @@
+<!DOCTYPE html>
+<html xmlns:th="http://www.thymeleaf.org" 
+      xmlns:sec="http://www.pollix.at/thymeleaf/shiro">
+<head th:replace="admin/common/html/tableHead :: tableHead(~{::title},~{::link},~{::style})">
+
+<title th:text=${title}></title>
+<!-- 这儿引用单独的css link -->
+<!-- Ladda for Bootstrap 3按钮加载进度插件 -->
+<link rel="stylesheet" th:href="@{/static/admin/assets/js/button/ladda/ladda.min.css}">
+<!-- bootstrap-table表单样式 -->
+<link th:href="@{/static/admin/assets/js/bootstrap/css/bootstrap-table/bootstrap-table.min.css}" rel="stylesheet"/>
+
+<!-- 用户界面自定义css -->
+<link th:href="@{/static/admin/user/css/user-add.css}" rel="stylesheet"/>
+<style type="text/css"></style>
+
+</head>
+
+<body>
+      	   	      	      	      	      	      	      	      	      	      	      
+<div class="content-wrap">
+	<div class="row">
+		<div class="col-sm-12">
+			<div class="nest" id="elementClose">
+				<div class="">
+				</div>
+				<div class="body-nest" id="element">
+					<div class="panel-body">
+						<form  class="form-horizontal m" id="form-edit" th:object="${Gyeeuserinformation}">
+							<input id="id" name="id" type="hidden" th:field="*{id}"/>
+						
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="icon" name="icon" th:value="*{icon}"/>
+										</div>
+									</div>
+
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="phonenum" name="phonenum" th:value="*{phonenum}"/>
+										</div>
+									</div>
+
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="remarks1" name="remarks1" th:value="*{remarks1}"/>
+										</div>
+									</div>
+
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="remarks2" name="remarks2" th:value="*{remarks2}"/>
+										</div>
+									</div>
+
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="email" name="email" th:value="*{email}"/>
+										</div>
+									</div>
+
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="lastlogintime" name="lastlogintime" th:value="*{lastlogintime}"/>
+										</div>
+									</div>
+
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="lastloginip" name="lastloginip" th:value="*{lastloginip}"/>
+										</div>
+									</div>
+
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="lastequipmenttype" name="lastequipmenttype" th:value="*{lastequipmenttype}"/>
+										</div>
+									</div>
+
+								
+									<div class="form-group">
+										<label class="col-sm-3 control-label ">:</label>
+										<div class="col-sm-8">
+											<input class="form-control" type="text" id="name" name="name" th:value="*{name}"/>
+										</div>
+									</div>
+
+			
+									<div class="form-group">
+										<div class="form-control-static col-sm-offset-9">
+											<button type="submit" class="btn btn-primary">提交</button>
+											<button onclick="$.modal.close()" class="btn btn-danger" type="button">关闭</button>
+										</div>
+									</div>
+						</form>
+					</div>
+				</div>
+			</div>
+		</div>
+	</div>
+</div>
+
+<!-- 通用js -->
+<div th:include="admin/common/html/js :: onload_js">
+   
+</div>
+<!-- bootstarp 表格 -->
+<script th:src="@{/static/admin/assets/js/bootstrap/js/bootstrap-table/bootstrap-table.min.js}" type="text/javascript"></script>
+<script th:src="@{/static/admin/assets/js/bootstrap/js/bootstrap-table/locale/bootstrap-table-zh-CN.min.js}" type="text/javascript"></script>
+<script th:src="@{/static/admin/assets/js/bootstrap/js/base_list.js}" type="text/javascript"></script>
+
+
+<!-- 弹窗 -->
+<script th:src="@{/static/admin/assets/js/layer/layer.js}" type="text/javascript"></script>
+<!-- 遮罩层 -->
+<script th:src="@{/static/admin/assets/js/blockUI/jquery.blockUI.js}" type="text/javascript"></script>
+<script type="text/javascript">
+$(function(){
+	 $(".MyDate").datetimepicker({
+		 	format: "yyyy-mm-dd hh:00:00",
+	        startDate: new Date(),
+	        autoclose: true,
+	        todayBtn: true,
+	        language: 'zh-CN',
+	        initialDate:new Date(),
+	        minView: 1      
+	    });
+	
+})
+
+
+$("#form-edit").validate({
+	submitHandler : function(form) {
+		edit();
+	}
+});
+
+function edit() {
+	var dataFormJson = $("#form-edit").serialize();
+	$.ajax({
+		cache : true,
+		type : "POST",
+		url : rootPath + "/GyeeuserinformationController/edit",
+		data : dataFormJson,
+		async : false,
+		error : function(request) {
+			$.modal.alertError("系统错误");
+		},
+		success : function(data) {
+			$.operate.saveSuccess(data);
+		}
+	});
+}
+</script>
+
+</body>
+
+
+</html>

+ 278 - 0
src/main/resources/templates/gen/gyeeuserinformation/list.html

@@ -0,0 +1,278 @@
+<!DOCTYPE html>
+<html xmlns:th="http://www.thymeleaf.org" 
+      xmlns:sec="http://www.pollix.at/thymeleaf/shiro">
+<head th:replace="admin/common/html/head :: head_Normal(~{::title},~{::link},~{::style})">
+
+<title th:text=${title}></title>
+<!-- 这儿引用单独的css link -->
+<!-- Ladda for Bootstrap 3按钮加载进度插件 -->
+<link rel="stylesheet" th:href="@{/static/admin/assets/js/button/ladda/ladda.min.css}">
+<!-- bootstrap-table表单样式 -->
+<link th:href="@{/static/admin/assets/js/bootstrap/css/bootstrap-table/bootstrap-table.min.css}" rel="stylesheet"/>
+
+<style type="text/css">
+/**
+*这里写单独的css样式
+*/
+
+</style>
+
+</head>
+
+<body id="listbody">
+<!-- # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # 代码编写处 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # -->
+
+<!-- 右边内容 -->
+<div class="wrap-fluid">
+    <div class="container-fluid paper-wrap bevel tlbr">
+        <!-- 内容 -->
+        <!--标题 通用-->
+        <div th:replace="admin/common/html/title :: title(${title},${parenttitle},${isMsg},${msgHTML})">
+        </div>
+        <!-- 结束标题 通用-->
+        <div class="content-wrap">
+            <!-- 结束内容 -->
+            <div class="row">
+                <div class="col-sm-12">
+                <!-- 搜索条件 -->
+                
+                	 <div class="nest" id="inlineClose">
+                            <div class="title-alt">
+                                <h6>搜索条件</h6>
+                                <div class="titleClose">
+                                    <a class="gone" href="#inlineClose">
+                                        <span class="entypo-cancel"></span>
+                                    </a>
+                                </div>
+                                <div class="titleToggle">
+                                    <a class="nav-toggle-alt" href="#search_div" >
+                                        <span class="entypo-down-open"></span>
+                                    </a>
+                                </div>
+                            </div>
+
+                            <div class="body-nest" id="search_div" style="display: none">
+                                <div class="form_left">
+                                    <form role="form" class="form-inline">
+                                        <div class="form-group">
+                                            <label for="exampleInputEmail2" class="sr-only">搜索名字</label>
+                                            <input type="text" name="searchText" placeholder="搜索名字"class="form-control">
+                                        </div>
+                                        <button onclick="$.table.search(this)" class="btn btn-success" type="button"><i class="fa fa-search"></i>&nbsp;搜索</button>
+                                    </form>
+                                </div>
+                            </div>
+                        </div>
+                	<!-- END搜索条件 -->
+                    <!-- 空白页开始-->
+                    <div class="nest" id="Blank_PageClose">
+                        <div class="title-alt">
+                            <h6>表单</h6>
+                            <div class="titleClose">
+                                <a class="gone" href="#Blank_PageClose">
+                                    <span class="entypo-cancel"></span>
+                                </a>
+                            </div>
+                            <div class="titleToggle">
+                                <a class="nav-toggle-alt" href="#Blank_Page_Content">
+                                    <span class="entypo-up-open"></span>
+                                </a>
+                            </div>
+                        </div>
+                        
+                        <div class="body-nest" id="Blank_Page_Content">
+                            <!-- 工具条 -->
+                            <div class="btn-group hidden-xs" id="exampleTableEventsToolbar" role="group">
+                            	<button onclick="$.operate.add()" type="button" class="btn btn-primary">
+                                    <span class="entypo-plus-squared"></span>&nbsp;&nbsp;新增
+                                </button>
+                               <button onclick="$.operate.batRemove()" type="button" class="btn btn-info">
+                                    <span class="entypo-trash"></span>&nbsp;&nbsp;删除
+                               </button>
+                               
+                           </div>
+                            <!-- 工具条 end-->
+                           <table id="dataTable" class="table-striped footable-res footable metro-blue" data-page-size="6">
+                                   
+                           </table>
+                        </div>
+                    </div>
+                </div>
+                <!-- 空白页结束 -->
+            </div>
+            <!-- 结束内容 -->
+        </div>
+    </div>
+</div>
+<!-- 结束右边内容 -->
+<!-- # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # 代码编写处 END# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # -->
+
+
+
+
+
+
+
+<!-- 右侧隐藏滑块内容 -->
+<div th:include="admin/common/html/rightHide :: rightHide">
+    
+</div>
+   <!-- END 右侧隐藏滑块内容-->
+
+<!-- 通用js -->
+<div th:include="admin/common/html/js :: onload_js">
+   
+</div>
+<!-- bootstarp 表格 -->
+<script th:src="@{/static/admin/assets/js/bootstrap/js/bootstrap-table/bootstrap-table.min.js}" type="text/javascript"></script>
+<script th:src="@{/static/admin/assets/js/bootstrap/js/bootstrap-table/locale/bootstrap-table-zh-CN.min.js}" type="text/javascript"></script>
+<script th:src="@{/static/admin/assets/js/bootstrap/js/base_list.js}" type="text/javascript"></script>
+<!-- jquery-export 表格导出插件 -->
+<script th:src="@{/static/admin/assets/js/bootstrap/extensions/export/bootstrap-table-export.js}" type="text/javascript"></script>
+<script th:src="@{/static/admin/assets/js/bootstrap/extensions/export/tableExport.js}" type="text/javascript"></script>
+
+<!-- 弹窗 -->
+<script th:src="@{/static/admin/assets/js/layer/layer.js}" type="text/javascript"></script>
+<!-- 遮罩层 -->
+<script th:src="@{/static/admin/assets/js/blockUI/jquery.blockUI.js}" type="text/javascript"></script>
+
+<script type="text/javascript">
+
+      	   	      	      	      	      	      	      	      	      	      	      
+<!-- 导出 -->
+var dataUrl=window.rootPath+"/GyeeuserinformationController/list";
+var removeUrl=window.rootPath+"/GyeeuserinformationController/remove";
+var createUrl=window.rootPath+"/GyeeuserinformationController/add";
+var updateUrl=window.rootPath+"/GyeeuserinformationController/edit/{id}";
+var exportUrl=window.rootPath+"/GyeeuserinformationController/export";
+  var options = {
+		dataUrl: dataUrl,
+        createUrl: createUrl,
+        updateUrl: updateUrl,
+        removeUrl:removeUrl,
+        exportUrl: exportUrl,
+        sortName: "roleSort",
+        modalName: "",
+        search: false,
+	   dataColumns: [
+			{
+			    checkbox: true
+			},
+			{
+			    field: 'id',
+			    title: ''
+			    //visible: false, //隐藏
+			    //searchable: false,//搜索
+			    //sortable:false,//设置true为允许列可以排序
+			    //order: asc //排序顺序
+			},
+			{
+			    field: 'icon',
+			    title: ''
+			    //visible: false, //隐藏
+			    //searchable: false,//搜索
+			    //sortable:false,//设置true为允许列可以排序
+			    //order: asc //排序顺序
+			},
+			{
+			    field: 'phonenum',
+			    title: ''
+			    //visible: false, //隐藏
+			    //searchable: false,//搜索
+			    //sortable:false,//设置true为允许列可以排序
+			    //order: asc //排序顺序
+			},
+			{
+			    field: 'remarks1',
+			    title: ''
+			    //visible: false, //隐藏
+			    //searchable: false,//搜索
+			    //sortable:false,//设置true为允许列可以排序
+			    //order: asc //排序顺序
+			},
+			{
+			    field: 'remarks2',
+			    title: ''
+			    //visible: false, //隐藏
+			    //searchable: false,//搜索
+			    //sortable:false,//设置true为允许列可以排序
+			    //order: asc //排序顺序
+			},
+			{
+			    field: 'email',
+			    title: ''
+			    //visible: false, //隐藏
+			    //searchable: false,//搜索
+			    //sortable:false,//设置true为允许列可以排序
+			    //order: asc //排序顺序
+			},
+			{
+			    field: 'lastlogintime',
+			    title: ''
+			    //visible: false, //隐藏
+			    //searchable: false,//搜索
+			    //sortable:false,//设置true为允许列可以排序
+			    //order: asc //排序顺序
+			},
+			{
+			    field: 'lastloginip',
+			    title: ''
+			    //visible: false, //隐藏
+			    //searchable: false,//搜索
+			    //sortable:false,//设置true为允许列可以排序
+			    //order: asc //排序顺序
+			},
+			{
+			    field: 'lastequipmenttype',
+			    title: ''
+			    //visible: false, //隐藏
+			    //searchable: false,//搜索
+			    //sortable:false,//设置true为允许列可以排序
+			    //order: asc //排序顺序
+			},
+			{
+			    field: 'name',
+			    title: ''
+			    //visible: false, //隐藏
+			    //searchable: false,//搜索
+			    //sortable:false,//设置true为允许列可以排序
+			    //order: asc //排序顺序
+			},
+
+/*	
+参照修改注释
+		{
+			    field: 'xxstate',
+			    title: 'xx状态',
+		    	formatter: function (value, row, index) {
+			        var actions = [];
+			        if(value==0){
+			        	 actions.push('<span class="label label-primary">关闭</span>');
+			        }else if(value==1){
+			        	 actions.push('<span class="label label-danger">开启</span>');
+			        }
+			      	return actions.join('');			    
+				 }
+			}
+*/
+			{
+			    title: '操作',
+			    formatter: function (value, row, index) {
+			        var id = row.id;
+			        var actions = [];
+			        actions.push('<a class="btn btn-success btn-xs"  href="#" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
+			        actions.push('<a class="btn btn-danger btn-xs" href="#" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a>');
+			        return actions.join('');
+			    }
+			}]
+  };
+$(function(){
+	var oTab=$.table.oTableInit(options);
+	oTab.Init();
+})
+</script>
+
+</body>
+
+
+</html>