From eec05adadd2cf97b1b1dd5b65f88cae8b769c5a5 Mon Sep 17 00:00:00 2001 From: Wizzer Date: Wed, 31 Aug 2016 17:33:30 +0800 Subject: [PATCH] =?UTF-8?q?change:=20=E4=B8=BA=E4=BA=86=E5=85=BC=E5=AE=B9o?= =?UTF-8?q?racle?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/cn/wizzer/common/base/Model.java | 2 +- .../cms/controllers/CmsChannelController.java | 2 +- .../modules/back/cms/models/Cms_article.java | 8 +- .../modules/back/cms/models/Cms_channel.java | 6 +- .../back/cms/services/CmsChannelService.java | 2 +- .../back/sys/controllers/DictController.java | 2 +- .../back/sys/controllers/LoginController.java | 6 +- .../back/sys/controllers/MenuController.java | 2 +- .../back/sys/controllers/RoleController.java | 4 +- .../back/sys/controllers/UnitController.java | 2 +- .../modules/back/sys/models/Sys_dict.java | 6 +- .../modules/back/sys/models/Sys_menu.java | 6 +- .../modules/back/sys/models/Sys_task.java | 2 +- .../modules/back/sys/models/Sys_unit.java | 6 +- .../modules/back/sys/models/Sys_user.java | 12 +-- .../back/sys/services/DictService.java | 2 +- .../back/sys/services/MenuService.java | 2 +- .../back/sys/services/RoleService.java | 4 +- .../back/sys/services/UnitService.java | 2 +- .../back/sys/services/UserService.java | 6 +- .../modules/back/wx/models/Wx_mass.java | 2 +- .../modules/back/wx/models/Wx_mass_news.java | 8 +- .../modules/back/wx/models/Wx_mass_send.java | 2 +- .../modules/back/wx/models/Wx_menu.java | 6 +- .../modules/back/wx/models/Wx_reply_news.java | 6 +- .../modules/back/wx/models/Wx_tpl_log.java | 2 +- .../modules/back/wx/models/Wx_user.java | 4 +- .../back/wx/services/WxMenuService.java | 4 +- .../resources/config/custom/db.properties | 11 ++- src/main/resources/db/init_menu_cms.sql | 50 +++++----- src/main/resources/db/init_menu_weixin.sql | 94 +++++++++---------- 31 files changed, 155 insertions(+), 118 deletions(-) diff --git a/src/main/java/cn/wizzer/common/base/Model.java b/src/main/java/cn/wizzer/common/base/Model.java index 42d5450ed..04a5d7ee3 100644 --- a/src/main/java/cn/wizzer/common/base/Model.java +++ b/src/main/java/cn/wizzer/common/base/Model.java @@ -24,7 +24,7 @@ public abstract class Model implements Serializable { @Column @Comment("操作时间") @Prev(els = @EL("$me.now()")) - @ColDefine(type = ColType.INT, width = 5) + @ColDefine(type = ColType.INT) private Integer opAt; @Column diff --git a/src/main/java/cn/wizzer/modules/back/cms/controllers/CmsChannelController.java b/src/main/java/cn/wizzer/modules/back/cms/controllers/CmsChannelController.java index 482796760..3783648a8 100644 --- a/src/main/java/cn/wizzer/modules/back/cms/controllers/CmsChannelController.java +++ b/src/main/java/cn/wizzer/modules/back/cms/controllers/CmsChannelController.java @@ -42,7 +42,7 @@ public class CmsChannelController { @Ok("beetl:/private/cms/channel/index.html") @RequiresAuthentication public void index(HttpServletRequest req) { - req.setAttribute("list", cmsChannelService.query(Cnd.where("parentId", "=", "").asc("location").asc("path"))); + req.setAttribute("list", cmsChannelService.query(Cnd.where("parentId", "=", "").or("parentId", "is", null).asc("location").asc("path"))); } diff --git a/src/main/java/cn/wizzer/modules/back/cms/models/Cms_article.java b/src/main/java/cn/wizzer/modules/back/cms/models/Cms_article.java index b8a7f0ad5..6bdac4b0b 100644 --- a/src/main/java/cn/wizzer/modules/back/cms/models/Cms_article.java +++ b/src/main/java/cn/wizzer/modules/back/cms/models/Cms_article.java @@ -1,6 +1,7 @@ package cn.wizzer.modules.back.cms.models; import cn.wizzer.common.base.Model; +import org.nutz.dao.DB; import org.nutz.dao.entity.annotation.*; import java.io.Serializable; @@ -55,12 +56,15 @@ public class Cms_article extends Model implements Serializable { @Column @Comment("发布时间") - @ColDefine(type = ColType.INT, width = 5) + @ColDefine(type = ColType.INT) private Integer publishAt; @Column @Comment("排序字段") - @Prev(@SQL("SELECT IFNULL(MAX(location),0)+1 FROM cms_article")) + @Prev({ + @SQL(db= DB.MYSQL,value = "SELECT IFNULL(MAX(location),0)+1 FROM cms_article"), + @SQL(db= DB.ORACLE,value = "SELECT COALESCE(MAX(location),0)+1 FROM cms_article") + }) private Integer location; @Column diff --git a/src/main/java/cn/wizzer/modules/back/cms/models/Cms_channel.java b/src/main/java/cn/wizzer/modules/back/cms/models/Cms_channel.java index 9a1b42684..ac395eb20 100644 --- a/src/main/java/cn/wizzer/modules/back/cms/models/Cms_channel.java +++ b/src/main/java/cn/wizzer/modules/back/cms/models/Cms_channel.java @@ -1,6 +1,7 @@ package cn.wizzer.modules.back.cms.models; import cn.wizzer.common.base.Model; +import org.nutz.dao.DB; import org.nutz.dao.entity.annotation.*; import java.io.Serializable; @@ -66,7 +67,10 @@ public class Cms_channel extends Model implements Serializable { @Column @Comment("排序字段") - @Prev(@SQL("SELECT IFNULL(MAX(location),0)+1 FROM cms_channel")) + @Prev({ + @SQL(db= DB.MYSQL,value = "SELECT IFNULL(MAX(location),0)+1 FROM cms_channel"), + @SQL(db= DB.ORACLE,value = "SELECT COALESCE(MAX(location),0)+1 FROM cms_channel") + }) private Integer location; @Column diff --git a/src/main/java/cn/wizzer/modules/back/cms/services/CmsChannelService.java b/src/main/java/cn/wizzer/modules/back/cms/services/CmsChannelService.java index f113de073..078c94158 100644 --- a/src/main/java/cn/wizzer/modules/back/cms/services/CmsChannelService.java +++ b/src/main/java/cn/wizzer/modules/back/cms/services/CmsChannelService.java @@ -53,7 +53,7 @@ public void deleteAndChild(Cms_channel channel) { if (!Strings.isEmpty(channel.getParentId())) { int count = count(Cnd.where("parentId", "=", channel.getParentId())); if (count < 1) { - dao().execute(Sqls.create("update cms_channel set hasChildren=false where id=@pid").setParam("pid", channel.getParentId())); + dao().execute(Sqls.create("update cms_channel set hasChildren=0 where id=@pid").setParam("pid", channel.getParentId())); } } } diff --git a/src/main/java/cn/wizzer/modules/back/sys/controllers/DictController.java b/src/main/java/cn/wizzer/modules/back/sys/controllers/DictController.java index 3d4cf958a..1c04e4bbb 100644 --- a/src/main/java/cn/wizzer/modules/back/sys/controllers/DictController.java +++ b/src/main/java/cn/wizzer/modules/back/sys/controllers/DictController.java @@ -39,7 +39,7 @@ public class DictController { @Ok("beetl:/private/sys/dict/index.html") @RequiresAuthentication public Object index() { - return dictService.query(Cnd.where("parentId", "=", "").asc("location").asc("path")); + return dictService.query(Cnd.where("parentId", "=", "").or("parentId", "is", null).asc("location").asc("path")); } @At diff --git a/src/main/java/cn/wizzer/modules/back/sys/controllers/LoginController.java b/src/main/java/cn/wizzer/modules/back/sys/controllers/LoginController.java index 3a14a3ec4..8ad3b89e7 100644 --- a/src/main/java/cn/wizzer/modules/back/sys/controllers/LoginController.java +++ b/src/main/java/cn/wizzer/modules/back/sys/controllers/LoginController.java @@ -159,7 +159,7 @@ public Object doLogin(@Attr("loginToken") AuthenticationToken token, HttpServlet int count = user.getLoginCount() == null ? 0 : user.getLoginCount(); sysLogService.async(Sys_log.c("info", "用户登陆", "成功登录系统!", null)); userService.update(Chain.make("loginIp", user.getLoginIp()).add("loginAt", (int) (System.currentTimeMillis() / 1000)) - .add("loginCount", count + 1).add("online", true) + .add("loginCount", count + 1).add("isOnline", true) , Cnd.where("id", "=", user.getId())); return Result.success("login.success"); } catch (IncorrectCaptchaException e) { @@ -194,9 +194,9 @@ public void logout(HttpSession session) { try { Subject currentUser = SecurityUtils.getSubject(); Sys_user user = (Sys_user) currentUser.getPrincipal(); - sysLogService.sync(Sys_log.c("info", "用户登出", "退出系统!", null)); - userService.update(Chain.make("online", false), Cnd.where("id", "=", user.getId())); currentUser.logout(); + sysLogService.sync(Sys_log.c("info", "用户登出", "退出系统!", null)); + userService.update(Chain.make("isOnline", false), Cnd.where("id", "=", user.getId())); } catch (SessionException ise) { log.debug("Encountered session exception during logout. This can generally safely be ignored.", ise); } catch (Exception e) { diff --git a/src/main/java/cn/wizzer/modules/back/sys/controllers/MenuController.java b/src/main/java/cn/wizzer/modules/back/sys/controllers/MenuController.java index 98ac34f68..d1d1946fd 100644 --- a/src/main/java/cn/wizzer/modules/back/sys/controllers/MenuController.java +++ b/src/main/java/cn/wizzer/modules/back/sys/controllers/MenuController.java @@ -44,7 +44,7 @@ public class MenuController { @Ok("beetl:/private/sys/menu/index.html") @RequiresAuthentication public void index(HttpServletRequest req) { - req.setAttribute("list", menuService.query(Cnd.where("parentId", "=", "").asc("location").asc("path"))); + req.setAttribute("list", menuService.query(Cnd.where("parentId", "=", "").or("parentId", "is", null).asc("location").asc("path"))); } @At diff --git a/src/main/java/cn/wizzer/modules/back/sys/controllers/RoleController.java b/src/main/java/cn/wizzer/modules/back/sys/controllers/RoleController.java index c155dee37..8d6a7bad0 100644 --- a/src/main/java/cn/wizzer/modules/back/sys/controllers/RoleController.java +++ b/src/main/java/cn/wizzer/modules/back/sys/controllers/RoleController.java @@ -74,7 +74,7 @@ public Object add(@Param("unitid") String unitid, HttpServletRequest req) { map.put("id", menu.getId()); map.put("text", menu.getName()); map.put("icon", Strings.sBlank(menu.getIcon())); - map.put("parent", menu.getParentId().equals("") ? "#" : menu.getParentId()); + map.put("parent", "".equals(Strings.sNull(menu.getParentId())) ? "#" : menu.getParentId()); map.put("data", menu.getHref()); menus.add(map); } @@ -153,7 +153,7 @@ public Object editMenu(String roleId, HttpServletRequest req) { map.put("id", menu.getId()); map.put("text", menu.getName()); map.put("icon", Strings.sBlank(menu.getIcon())); - map.put("parent", menu.getParentId().equals("") ? "#" : menu.getParentId()); + map.put("parent", "".equals(Strings.sNull(menu.getParentId())) ? "#" : menu.getParentId()); map.put("data", menu.getHref()); menus.add(map); } diff --git a/src/main/java/cn/wizzer/modules/back/sys/controllers/UnitController.java b/src/main/java/cn/wizzer/modules/back/sys/controllers/UnitController.java index 69e0267c9..150a96ab9 100644 --- a/src/main/java/cn/wizzer/modules/back/sys/controllers/UnitController.java +++ b/src/main/java/cn/wizzer/modules/back/sys/controllers/UnitController.java @@ -36,7 +36,7 @@ public class UnitController { @Ok("beetl:/private/sys/unit/index.html") @RequiresAuthentication public Object index() { - return unitService.query(Cnd.where("parentId", "=", "").asc("path")); + return unitService.query(Cnd.where("parentId", "=", "").or("parentId", "is", null).asc("path")); } @At diff --git a/src/main/java/cn/wizzer/modules/back/sys/models/Sys_dict.java b/src/main/java/cn/wizzer/modules/back/sys/models/Sys_dict.java index 953d87b7a..ef97212bc 100644 --- a/src/main/java/cn/wizzer/modules/back/sys/models/Sys_dict.java +++ b/src/main/java/cn/wizzer/modules/back/sys/models/Sys_dict.java @@ -1,6 +1,7 @@ package cn.wizzer.modules.back.sys.models; import cn.wizzer.common.base.Model; +import org.nutz.dao.DB; import org.nutz.dao.entity.annotation.*; import java.io.Serializable; @@ -42,7 +43,10 @@ public class Sys_dict extends Model implements Serializable { @Column @Comment("排序字段") - @Prev(@SQL("SELECT IFNULL(MAX(location),0)+1 FROM sys_dict")) + @Prev({ + @SQL(db= DB.MYSQL,value = "SELECT IFNULL(MAX(location),0)+1 FROM sys_dict"), + @SQL(db= DB.ORACLE,value = "SELECT COALESCE(MAX(location),0)+1 FROM sys_dict") + }) private Integer location; @Column diff --git a/src/main/java/cn/wizzer/modules/back/sys/models/Sys_menu.java b/src/main/java/cn/wizzer/modules/back/sys/models/Sys_menu.java index e46d064d1..56604be8a 100644 --- a/src/main/java/cn/wizzer/modules/back/sys/models/Sys_menu.java +++ b/src/main/java/cn/wizzer/modules/back/sys/models/Sys_menu.java @@ -1,6 +1,7 @@ package cn.wizzer.modules.back.sys.models; import cn.wizzer.common.base.Model; +import org.nutz.dao.DB; import org.nutz.dao.entity.annotation.*; import java.io.Serializable; @@ -82,7 +83,10 @@ public class Sys_menu extends Model implements Serializable { @Column @Comment("排序字段") - @Prev(@SQL("SELECT IFNULL(MAX(location),0)+1 FROM sys_menu")) + @Prev({ + @SQL(db= DB.MYSQL,value = "SELECT IFNULL(MAX(location),0)+1 FROM sys_menu"), + @SQL(db= DB.ORACLE,value = "SELECT COALESCE(MAX(location),0)+1 FROM sys_menu") + }) private Integer location; @Column diff --git a/src/main/java/cn/wizzer/modules/back/sys/models/Sys_task.java b/src/main/java/cn/wizzer/modules/back/sys/models/Sys_task.java index d51b1e429..ba29200d4 100644 --- a/src/main/java/cn/wizzer/modules/back/sys/models/Sys_task.java +++ b/src/main/java/cn/wizzer/modules/back/sys/models/Sys_task.java @@ -44,7 +44,7 @@ public class Sys_task extends Model implements Serializable { @Column @Comment("执行时间") - @ColDefine(type = ColType.INT, width = 5) + @ColDefine(type = ColType.INT) private Integer exeAt; @Column diff --git a/src/main/java/cn/wizzer/modules/back/sys/models/Sys_unit.java b/src/main/java/cn/wizzer/modules/back/sys/models/Sys_unit.java index ce89f4436..f835c0602 100644 --- a/src/main/java/cn/wizzer/modules/back/sys/models/Sys_unit.java +++ b/src/main/java/cn/wizzer/modules/back/sys/models/Sys_unit.java @@ -1,6 +1,7 @@ package cn.wizzer.modules.back.sys.models; import cn.wizzer.common.base.Model; +import org.nutz.dao.DB; import org.nutz.dao.entity.annotation.*; import java.io.Serializable; @@ -72,7 +73,10 @@ public class Sys_unit extends Model implements Serializable { @Column @Comment("排序字段") - @Prev(@SQL("SELECT IFNULL(MAX(location),0)+1 FROM sys_unit")) + @Prev({ + @SQL(db= DB.MYSQL,value = "SELECT IFNULL(MAX(location),0)+1 FROM sys_unit"), + @SQL(db= DB.ORACLE,value = "SELECT COALESCE(MAX(location),0)+1 FROM sys_unit") + }) private Integer location; @Column diff --git a/src/main/java/cn/wizzer/modules/back/sys/models/Sys_user.java b/src/main/java/cn/wizzer/modules/back/sys/models/Sys_user.java index 6addcee2f..21979b070 100644 --- a/src/main/java/cn/wizzer/modules/back/sys/models/Sys_user.java +++ b/src/main/java/cn/wizzer/modules/back/sys/models/Sys_user.java @@ -44,7 +44,7 @@ public class Sys_user extends Model implements Serializable { @Column @Comment("是否在线") @ColDefine(type = ColType.BOOLEAN) - private boolean online; + private boolean isOnline; @Column @Comment("是否禁用") @@ -57,7 +57,7 @@ public class Sys_user extends Model implements Serializable { @Column @Comment("登陆时间") - @ColDefine(type = ColType.INT, width = 5) + @ColDefine(type = ColType.INT) private Integer loginAt; @Column @@ -67,7 +67,7 @@ public class Sys_user extends Model implements Serializable { @Column @Comment("登陆次数") - @ColDefine(type = ColType.INT, width = 5) + @ColDefine(type = ColType.INT) private Integer loginCount; @Column @@ -151,11 +151,11 @@ public void setNickname(String nickname) { } public boolean isOnline() { - return online; + return isOnline; } - public void setOnline(boolean online) { - this.online = online; + public void setIsOnline(boolean isOnline) { + this.isOnline = isOnline; } public boolean isDisabled() { diff --git a/src/main/java/cn/wizzer/modules/back/sys/services/DictService.java b/src/main/java/cn/wizzer/modules/back/sys/services/DictService.java index 11ac6f34a..d66c477b0 100644 --- a/src/main/java/cn/wizzer/modules/back/sys/services/DictService.java +++ b/src/main/java/cn/wizzer/modules/back/sys/services/DictService.java @@ -52,7 +52,7 @@ public void deleteAndChild(Sys_dict dict) { if (!Strings.isEmpty(dict.getParentId())) { int count = count(Cnd.where("parentId", "=", dict.getParentId())); if (count < 1) { - dao().execute(Sqls.create("update sys_dict set hasChildren=false where id=@pid").setParam("pid", dict.getParentId())); + dao().execute(Sqls.create("update sys_dict set hasChildren=0 where id=@pid").setParam("pid", dict.getParentId())); } } } diff --git a/src/main/java/cn/wizzer/modules/back/sys/services/MenuService.java b/src/main/java/cn/wizzer/modules/back/sys/services/MenuService.java index 0be23a222..13f869786 100644 --- a/src/main/java/cn/wizzer/modules/back/sys/services/MenuService.java +++ b/src/main/java/cn/wizzer/modules/back/sys/services/MenuService.java @@ -53,7 +53,7 @@ public void deleteAndChild(Sys_menu unit) { if (!Strings.isEmpty(unit.getParentId())) { int count = count(Cnd.where("parentId", "=", unit.getParentId())); if (count < 1) { - dao().execute(Sqls.create("update sys_menu set hasChildren=false where id=@pid").setParam("pid", unit.getParentId())); + dao().execute(Sqls.create("update sys_menu set hasChildren=0 where id=@pid").setParam("pid", unit.getParentId())); } } } diff --git a/src/main/java/cn/wizzer/modules/back/sys/services/RoleService.java b/src/main/java/cn/wizzer/modules/back/sys/services/RoleService.java index 0be72110f..201c31afd 100644 --- a/src/main/java/cn/wizzer/modules/back/sys/services/RoleService.java +++ b/src/main/java/cn/wizzer/modules/back/sys/services/RoleService.java @@ -24,7 +24,7 @@ public RoleService(Dao dao) { public List getMenusAndButtons(String roleId) { Sql sql = Sqls.create("select distinct a.* from sys_menu a,sys_role_menu b where a.id=b.menuId and" + - " b.roleId=@roleId and a.disabled=false order by a.location ASC,a.path asc"); + " b.roleId=@roleId and a.disabled=0 order by a.location ASC,a.path asc"); sql.params().set("roleId", roleId); Entity entity = dao().getEntity(Sys_menu.class); sql.setEntity(entity); @@ -35,7 +35,7 @@ public List getMenusAndButtons(String roleId) { public List getDatas(String roleId) { Sql sql = Sqls.create("select distinct a.* from sys_menu a,sys_role_menu b where a.id=b.menuId and" + - " b.roleId=@roleId and a.type='data' and a.disabled=false order by a.location ASC,a.path asc"); + " b.roleId=@roleId and a.type='data' and a.disabled=0 order by a.location ASC,a.path asc"); sql.params().set("roleId", roleId); Entity entity = dao().getEntity(Sys_menu.class); sql.setEntity(entity); diff --git a/src/main/java/cn/wizzer/modules/back/sys/services/UnitService.java b/src/main/java/cn/wizzer/modules/back/sys/services/UnitService.java index c90d84122..3f59997fc 100644 --- a/src/main/java/cn/wizzer/modules/back/sys/services/UnitService.java +++ b/src/main/java/cn/wizzer/modules/back/sys/services/UnitService.java @@ -54,7 +54,7 @@ public void deleteAndChild(Sys_unit unit) { if (!Strings.isEmpty(unit.getParentId())) { int count = count(Cnd.where("parentId", "=", unit.getParentId())); if (count < 1) { - dao().execute(Sqls.create("update sys_unit set hasChildren=false where id=@pid").setParam("pid", unit.getParentId())); + dao().execute(Sqls.create("update sys_unit set hasChildren=0 where id=@pid").setParam("pid", unit.getParentId())); } } } diff --git a/src/main/java/cn/wizzer/modules/back/sys/services/UserService.java b/src/main/java/cn/wizzer/modules/back/sys/services/UserService.java index e15cf3737..528110337 100644 --- a/src/main/java/cn/wizzer/modules/back/sys/services/UserService.java +++ b/src/main/java/cn/wizzer/modules/back/sys/services/UserService.java @@ -33,7 +33,7 @@ public UserService(Dao dao) { */ public List getMenus(String userId) { Sql sql = Sqls.create("select distinct a.* from sys_menu a,sys_role_menu b where a.id=b.menuId and" + - " b.roleId in(select c.roleId from sys_user_role c,sys_role d where c.roleId=d.id and c.userId=@userId and d.disabled=false) and a.disabled=false and a.isShow=true and a.type='menu' order by a.location ASC,a.path asc"); + " b.roleId in(select c.roleId from sys_user_role c,sys_role d where c.roleId=d.id and c.userId=@userId and d.disabled=0) and a.disabled=0 and a.isShow=1 and a.type='menu' order by a.location ASC,a.path asc"); sql.params().set("userId", userId); Entity entity = dao().getEntity(Sys_menu.class); sql.setEntity(entity); @@ -50,7 +50,7 @@ public List getMenus(String userId) { */ public List getMenusAndButtons(String userId) { Sql sql = Sqls.create("select distinct a.* from sys_menu a,sys_role_menu b where a.id=b.menuId and" + - " b.roleId in(select c.roleId from sys_user_role c,sys_role d where c.roleId=d.id and c.userId=@userId and d.disabled=false) and a.disabled=false order by a.location ASC,a.path asc"); + " b.roleId in(select c.roleId from sys_user_role c,sys_role d where c.roleId=d.id and c.userId=@userId and d.disabled=0) and a.disabled=0 order by a.location ASC,a.path asc"); sql.params().set("userId", userId); Entity entity = dao().getEntity(Sys_menu.class); sql.setEntity(entity); @@ -67,7 +67,7 @@ public List getMenusAndButtons(String userId) { */ public List getDatas(String userId) { Sql sql = Sqls.create("select distinct a.* from sys_menu a,sys_role_menu b where a.id=b.menuId and" + - " b.roleId in(select c.roleId from sys_user_role c,sys_role d where c.roleId=d.id and c.userId=@userId and d.disabled=false) and a.disabled=false and a.type='data' order by a.location ASC,a.path asc"); + " b.roleId in(select c.roleId from sys_user_role c,sys_role d where c.roleId=d.id and c.userId=@userId and d.disabled=0) and a.disabled=0 and a.type='data' order by a.location ASC,a.path asc"); sql.params().set("userId", userId); Entity entity = dao().getEntity(Sys_menu.class); sql.setEntity(entity); diff --git a/src/main/java/cn/wizzer/modules/back/wx/models/Wx_mass.java b/src/main/java/cn/wizzer/modules/back/wx/models/Wx_mass.java index 96c87f317..06315a4eb 100644 --- a/src/main/java/cn/wizzer/modules/back/wx/models/Wx_mass.java +++ b/src/main/java/cn/wizzer/modules/back/wx/models/Wx_mass.java @@ -45,7 +45,7 @@ public class Wx_mass extends Model implements Serializable { @Column @Comment("发送状态") - @ColDefine(type = ColType.INT, width = 1) + @ColDefine(type = ColType.INT) protected Integer status; @Column diff --git a/src/main/java/cn/wizzer/modules/back/wx/models/Wx_mass_news.java b/src/main/java/cn/wizzer/modules/back/wx/models/Wx_mass_news.java index 3601673b6..9bba95870 100644 --- a/src/main/java/cn/wizzer/modules/back/wx/models/Wx_mass_news.java +++ b/src/main/java/cn/wizzer/modules/back/wx/models/Wx_mass_news.java @@ -1,6 +1,7 @@ package cn.wizzer.modules.back.wx.models; import cn.wizzer.common.base.Model; +import org.nutz.dao.DB; import org.nutz.dao.entity.annotation.*; import java.io.Serializable; @@ -50,12 +51,15 @@ public class Wx_mass_news extends Model implements Serializable { @Column @Comment("显示封面") - @ColDefine(type = ColType.INT,width = 1) + @ColDefine(type = ColType.INT) protected Integer show_cover_pic; @Column @Comment("排序字段") - @Prev(@SQL("SELECT IFNULL(MAX(location),0)+1 FROM wx_mass_news")) + @Prev({ + @SQL(db= DB.MYSQL,value = "SELECT IFNULL(MAX(location),0)+1 FROM wx_mass_news"), + @SQL(db= DB.ORACLE,value = "SELECT COALESCE(MAX(location),0)+1 FROM wx_mass_news") + }) private Integer location; @Column diff --git a/src/main/java/cn/wizzer/modules/back/wx/models/Wx_mass_send.java b/src/main/java/cn/wizzer/modules/back/wx/models/Wx_mass_send.java index 654053769..51881fb27 100644 --- a/src/main/java/cn/wizzer/modules/back/wx/models/Wx_mass_send.java +++ b/src/main/java/cn/wizzer/modules/back/wx/models/Wx_mass_send.java @@ -30,7 +30,7 @@ public class Wx_mass_send extends Model implements Serializable { @Column @Comment("发送状态") - @ColDefine(type = ColType.INT, width = 1) + @ColDefine(type = ColType.INT) protected Integer status; @Column diff --git a/src/main/java/cn/wizzer/modules/back/wx/models/Wx_menu.java b/src/main/java/cn/wizzer/modules/back/wx/models/Wx_menu.java index 62ae1fbc4..d25357976 100644 --- a/src/main/java/cn/wizzer/modules/back/wx/models/Wx_menu.java +++ b/src/main/java/cn/wizzer/modules/back/wx/models/Wx_menu.java @@ -1,6 +1,7 @@ package cn.wizzer.modules.back.wx.models; import cn.wizzer.common.base.Model; +import org.nutz.dao.DB; import org.nutz.dao.entity.annotation.*; import java.io.Serializable; @@ -50,7 +51,10 @@ public class Wx_menu extends Model implements Serializable { @Column @Comment("排序字段") - @Prev(@SQL("SELECT IFNULL(MAX(location),0)+1 FROM wx_menu")) + @Prev({ + @SQL(db= DB.MYSQL,value = "SELECT IFNULL(MAX(location),0)+1 FROM wx_menu"), + @SQL(db= DB.ORACLE,value = "SELECT COALESCE(MAX(location),0)+1 FROM wx_menu") + }) private Integer location; @Column diff --git a/src/main/java/cn/wizzer/modules/back/wx/models/Wx_reply_news.java b/src/main/java/cn/wizzer/modules/back/wx/models/Wx_reply_news.java index 5843c8b24..bc5344d92 100644 --- a/src/main/java/cn/wizzer/modules/back/wx/models/Wx_reply_news.java +++ b/src/main/java/cn/wizzer/modules/back/wx/models/Wx_reply_news.java @@ -1,6 +1,7 @@ package cn.wizzer.modules.back.wx.models; import cn.wizzer.common.base.Model; +import org.nutz.dao.DB; import org.nutz.dao.entity.annotation.*; import java.io.Serializable; @@ -40,7 +41,10 @@ public class Wx_reply_news extends Model implements Serializable { @Column @Comment("排序字段") - @Prev(@SQL("SELECT IFNULL(MAX(location),0)+1 FROM wx_reply_news")) + @Prev({ + @SQL(db= DB.MYSQL,value = "SELECT IFNULL(MAX(location),0)+1 FROM wx_reply_news"), + @SQL(db= DB.ORACLE,value = "SELECT COALESCE(MAX(location),0)+1 FROM wx_reply_news") + }) private Integer location; public String getId() { diff --git a/src/main/java/cn/wizzer/modules/back/wx/models/Wx_tpl_log.java b/src/main/java/cn/wizzer/modules/back/wx/models/Wx_tpl_log.java index edc3ca51d..b43e0b513 100644 --- a/src/main/java/cn/wizzer/modules/back/wx/models/Wx_tpl_log.java +++ b/src/main/java/cn/wizzer/modules/back/wx/models/Wx_tpl_log.java @@ -35,7 +35,7 @@ public class Wx_tpl_log extends Model implements Serializable { @Column @Comment("发送状态") - @ColDefine(type = ColType.INT, width = 1) + @ColDefine(type = ColType.INT) private int status;//0 默认 1 成功 2 失败 @Column diff --git a/src/main/java/cn/wizzer/modules/back/wx/models/Wx_user.java b/src/main/java/cn/wizzer/modules/back/wx/models/Wx_user.java index 30eac66f4..ac3a6148c 100644 --- a/src/main/java/cn/wizzer/modules/back/wx/models/Wx_user.java +++ b/src/main/java/cn/wizzer/modules/back/wx/models/Wx_user.java @@ -40,12 +40,12 @@ public class Wx_user extends Model implements Serializable { @Column @Comment("关注时间") - @ColDefine(type = ColType.INT, width = 11) + @ColDefine(type = ColType.INT) protected Integer subscribeAt; @Column @Comment("性别") - @ColDefine(type = ColType.INT, width = 1) + @ColDefine(type = ColType.INT) protected Integer sex; @Column diff --git a/src/main/java/cn/wizzer/modules/back/wx/services/WxMenuService.java b/src/main/java/cn/wizzer/modules/back/wx/services/WxMenuService.java index 50a92b1f8..4c16d8255 100644 --- a/src/main/java/cn/wizzer/modules/back/wx/services/WxMenuService.java +++ b/src/main/java/cn/wizzer/modules/back/wx/services/WxMenuService.java @@ -49,10 +49,10 @@ public void save(Wx_menu menu, String pid) { @Aop(TransAop.READ_COMMITTED) public void deleteAndChild(Wx_menu menu) { dao().execute(Sqls.create("delete from wx_menu where path like @path").setParam("path", menu.getPath() + "%")); - if (!Strings.isEmpty(menu.getParentId())) { + if (!Strings.isBlank(menu.getParentId())) { int count = count(Cnd.where("parentId", "=", menu.getParentId())); if (count < 1) { - dao().execute(Sqls.create("update wx_menu set hasChildren=false where id=@pid").setParam("pid", menu.getParentId())); + dao().execute(Sqls.create("update wx_menu set hasChildren=0 where id=@pid").setParam("pid", menu.getParentId())); } } } diff --git a/src/main/resources/config/custom/db.properties b/src/main/resources/config/custom/db.properties index ace40a631..10c7a28c3 100644 --- a/src/main/resources/config/custom/db.properties +++ b/src/main/resources/config/custom/db.properties @@ -10,11 +10,16 @@ db.connectionProperties=druid.stat.slowSqlMillis=2000 db.defaultAutoCommit=true #oracle -#db.url=jdbc:oracle:thin:@//192.168.72.101:1521/nutzwk -#db.username=system -#db.password=oracle +#db.url=jdbc:oracle:thin:@//localhost:1521/orcl +#db.username=nutzwk +#db.password=pass #db.validationQuery=select 1 from dual #db.maxActive=100 +#db.testWhileIdle=true +#db.filters=mergeStat +#db.connectionProperties=druid.stat.slowSqlMillis=2000 +#db.defaultAutoCommit=true + #postgresql #db.url=jdbc:postgresql://127.0.0.1:5433/nutzwk diff --git a/src/main/resources/db/init_menu_cms.sql b/src/main/resources/db/init_menu_cms.sql index d7d525226..b10a3d1ce 100644 --- a/src/main/resources/db/init_menu_cms.sql +++ b/src/main/resources/db/init_menu_cms.sql @@ -1,50 +1,50 @@ /* updateSysMenu */ -update sys_menu set location=10 where path='0001'; +update sys_menu set location=10 where path='0001' /* updateSysMenu1 */ -update sys_menu set location=8 where path='0002'; +update sys_menu set location=8 where path='0002' /* updateSysMenu2 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('02e86a61e99746bea34236ea73dd52a5','','0003','CMS','CMS','menu','','','','1','0','cms',NULL,'9','1','1a19ef09b12344b4a797d6e6dfe7fb29','1468895671','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('02e86a61e99746bea34236ea73dd52a5','','0003','CMS','CMS','menu','','','','1','0','cms',NULL,'9','1','1a19ef09b12344b4a797d6e6dfe7fb29','1468895671','0') /* updateSysMenu3 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('077cb6be4c7c41cc8955ee045a4f0286','68cdbf694f71445c8587a20234d6fe31','0003000300020001','添加链接','Add','data','','','','0','0','cms.link.link.add',NULL,'47','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468897043','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('077cb6be4c7c41cc8955ee045a4f0286','68cdbf694f71445c8587a20234d6fe31','0003000300020001','添加链接','Add','data','','','','0','0','cms.link.link.add',NULL,'47','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468897043','0') /* updateSysMenu4 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('17500ef3a9e44b4fabb240162a164fcb','6075fc0cf0ef441b9d93cc3cab3445bf','0003000200020003','删除文章','Delete','data','','','','0','0','cms.content.article.delete',NULL,'40','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468896170','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('17500ef3a9e44b4fabb240162a164fcb','6075fc0cf0ef441b9d93cc3cab3445bf','0003000200020003','删除文章','Delete','data','','','','0','0','cms.content.article.delete',NULL,'40','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468896170','0') /* updateSysMenu5 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('31ed2243077c44448cce26abfd5ae574','9822bafbe3454dfd8e8b974ebc304d03','0003000300010002','修改分类','Edit','data','','','','0','0','cms.link.class.edit',NULL,'44','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468896957','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('31ed2243077c44448cce26abfd5ae574','9822bafbe3454dfd8e8b974ebc304d03','0003000300010002','修改分类','Edit','data','','','','0','0','cms.link.class.edit',NULL,'44','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468896957','0') /* updateSysMenu6 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('33aed9298643424783116e0cf0f7fcbe','6075fc0cf0ef441b9d93cc3cab3445bf','0003000200020001','添加文章','Add','data','','','','0','0','cms.content.article.add',NULL,'38','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468896151','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('33aed9298643424783116e0cf0f7fcbe','6075fc0cf0ef441b9d93cc3cab3445bf','0003000200020001','添加文章','Add','data','','','','0','0','cms.content.article.add',NULL,'38','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468896151','0') /* updateSysMenu7 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('36e0faf5062b4f6b95d4167cbb1f8fea','68cdbf694f71445c8587a20234d6fe31','0003000300020002','修改链接','Edit','data','','','','0','0','cms.link.link.edit',NULL,'48','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468897051','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('36e0faf5062b4f6b95d4167cbb1f8fea','68cdbf694f71445c8587a20234d6fe31','0003000300020002','修改链接','Edit','data','','','','0','0','cms.link.link.edit',NULL,'48','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468897051','0') /* updateSysMenu8 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('3c24111091ad4a70ad2d9cc361311d2f','68cdbf694f71445c8587a20234d6fe31','0003000300020003','删除链接','Delete','data','','','','0','0','cms.link.link.delete',NULL,'49','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468897060','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('3c24111091ad4a70ad2d9cc361311d2f','68cdbf694f71445c8587a20234d6fe31','0003000300020003','删除链接','Delete','data','','','','0','0','cms.link.link.delete',NULL,'49','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468897060','0') /* updateSysMenu9 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('3f330d729ca34dc9825c46122be1bfae','02e86a61e99746bea34236ea73dd52a5','00030003','广告链接','AD','menu','','','ti-link','1','0','cms.link',NULL,'41','1','1a19ef09b12344b4a797d6e6dfe7fb29','1468896230','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('3f330d729ca34dc9825c46122be1bfae','02e86a61e99746bea34236ea73dd52a5','00030003','广告链接','AD','menu','','','ti-link','1','0','cms.link',NULL,'41','1','1a19ef09b12344b4a797d6e6dfe7fb29','1468896230','0') /* updateSysMenu10 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('4781372b00bb4d52b429b58e72b80c68','b2631bbdbf824cc4b74d819c87962c0d','0003000200010001','添加栏目','Add','data','','','','0','0','cms.content.channel.add',NULL,'33','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468896049','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('4781372b00bb4d52b429b58e72b80c68','b2631bbdbf824cc4b74d819c87962c0d','0003000200010001','添加栏目','Add','data','','','','0','0','cms.content.channel.add',NULL,'33','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468896049','0') /* updateSysMenu11 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('50ba60ee650e4c739e6abc3ab71e4960','b2631bbdbf824cc4b74d819c87962c0d','0003000200010004','栏目排序','Sort','data','','','','0','0','cms.content.channel.sort',NULL,'36','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468896092','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('50ba60ee650e4c739e6abc3ab71e4960','b2631bbdbf824cc4b74d819c87962c0d','0003000200010004','栏目排序','Sort','data','','','','0','0','cms.content.channel.sort',NULL,'36','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468896092','0') /* updateSysMenu12 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('6075fc0cf0ef441b9d93cc3cab3445bf','6b6de8c720c645a1808e1c3e9ccbfc90','000300020002','文章管理','Article','menu','/private/cms/article','data-pjax','','1','0','cms.content.article',NULL,'37','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468896141','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('6075fc0cf0ef441b9d93cc3cab3445bf','6b6de8c720c645a1808e1c3e9ccbfc90','000300020002','文章管理','Article','menu','/private/cms/article','data-pjax','','1','0','cms.content.article',NULL,'37','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468896141','0') /* updateSysMenu13 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('68cdbf694f71445c8587a20234d6fe31','3f330d729ca34dc9825c46122be1bfae','000300030002','链接管理','Link','menu','/private/cms/link/link','data-pjax','','1','0','cms.link.link',NULL,'46','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468897031','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('68cdbf694f71445c8587a20234d6fe31','3f330d729ca34dc9825c46122be1bfae','000300030002','链接管理','Link','menu','/private/cms/link/link','data-pjax','','1','0','cms.link.link',NULL,'46','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468897031','0') /* updateSysMenu14 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('6b6de8c720c645a1808e1c3e9ccbfc90','02e86a61e99746bea34236ea73dd52a5','00030002','内容管理','Content','menu','','','ti-pencil-alt','1','0','cms.content',NULL,'31','1','1a19ef09b12344b4a797d6e6dfe7fb29','1468895990','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('6b6de8c720c645a1808e1c3e9ccbfc90','02e86a61e99746bea34236ea73dd52a5','00030002','内容管理','Content','menu','','','ti-pencil-alt','1','0','cms.content',NULL,'31','1','1a19ef09b12344b4a797d6e6dfe7fb29','1468895990','0') /* updateSysMenu15 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('7125a72beee34b21ab3df9bf01b7bce6','9822bafbe3454dfd8e8b974ebc304d03','0003000300010003','删除分类','Delete','data','','','','0','0','cms.link.class.delete',NULL,'45','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468896968','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('7125a72beee34b21ab3df9bf01b7bce6','9822bafbe3454dfd8e8b974ebc304d03','0003000300010003','删除分类','Delete','data','','','','0','0','cms.link.class.delete',NULL,'45','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468896968','0') /* updateSysMenu16 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('73a29d3f99224426b5a87c92da122275','d1e991ad38a8424daf9f7eb000ee27f4','0003000100010001','保存配置','Save','data','','','','0','0','cms.site.settings.save',NULL,'30','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468895899','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('73a29d3f99224426b5a87c92da122275','d1e991ad38a8424daf9f7eb000ee27f4','0003000100010001','保存配置','Save','data','','','','0','0','cms.site.settings.save',NULL,'30','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468895899','0') /* updateSysMenu17 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('7db6207d0dab4d6e95a7eee4f2efe875','9822bafbe3454dfd8e8b974ebc304d03','0003000300010001','添加分类','Add','data','','','','0','0','cms.link.class.add',NULL,'43','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468896947','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('7db6207d0dab4d6e95a7eee4f2efe875','9822bafbe3454dfd8e8b974ebc304d03','0003000300010001','添加分类','Add','data','','','','0','0','cms.link.class.add',NULL,'43','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468896947','0') /* updateSysMenu18 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('9822bafbe3454dfd8e8b974ebc304d03','3f330d729ca34dc9825c46122be1bfae','000300030001','链接分类','Class','menu','/private/cms/link/class','data-pjax','','1','0','cms.link.class',NULL,'42','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468896932','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('9822bafbe3454dfd8e8b974ebc304d03','3f330d729ca34dc9825c46122be1bfae','000300030001','链接分类','Class','menu','/private/cms/link/class','data-pjax','','1','0','cms.link.class',NULL,'42','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468896932','0') /* updateSysMenu19 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('b2631bbdbf824cc4b74d819c87962c0d','6b6de8c720c645a1808e1c3e9ccbfc90','000300020001','栏目管理','Channel','menu','/private/cms/channel','data-pjax','','1','0','cms.content.channel',NULL,'32','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468896018','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('b2631bbdbf824cc4b74d819c87962c0d','6b6de8c720c645a1808e1c3e9ccbfc90','000300020001','栏目管理','Channel','menu','/private/cms/channel','data-pjax','','1','0','cms.content.channel',NULL,'32','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468896018','0') /* updateSysMenu20 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('d1e991ad38a8424daf9f7eb000ee27f4','d920314e925c451da6d881e7a29743b7','000300010001','网站配置','Settings','menu','/private/cms/site','data-pjax','','1','0','cms.site.settings',NULL,'29','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468895881','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('d1e991ad38a8424daf9f7eb000ee27f4','d920314e925c451da6d881e7a29743b7','000300010001','网站配置','Settings','menu','/private/cms/site','data-pjax','','1','0','cms.site.settings',NULL,'29','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468895881','0') /* updateSysMenu21 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('d920314e925c451da6d881e7a29743b7','02e86a61e99746bea34236ea73dd52a5','00030001','站点管理','Site','menu','','','ti-world','1','0','cms.site',NULL,'28','1','1a19ef09b12344b4a797d6e6dfe7fb29','1468895821','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('d920314e925c451da6d881e7a29743b7','02e86a61e99746bea34236ea73dd52a5','00030001','站点管理','Site','menu','','','ti-world','1','0','cms.site',NULL,'28','1','1a19ef09b12344b4a797d6e6dfe7fb29','1468895821','0') /* updateSysMenu22 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('e461c62a1d5441619cd35612f3b40691','b2631bbdbf824cc4b74d819c87962c0d','0003000200010002','修改栏目','Edit','data','','','','0','0','cms.content.channel.edit',NULL,'34','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468896060','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('e461c62a1d5441619cd35612f3b40691','b2631bbdbf824cc4b74d819c87962c0d','0003000200010002','修改栏目','Edit','data','','','','0','0','cms.content.channel.edit',NULL,'34','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468896060','0') /* updateSysMenu23 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('ef9f436c61654ec09efbfa79a40061cf','6075fc0cf0ef441b9d93cc3cab3445bf','0003000200020002','修改文章','Edit','data','','','','0','0','cms.content.article.edit',NULL,'39','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468896159','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('ef9f436c61654ec09efbfa79a40061cf','6075fc0cf0ef441b9d93cc3cab3445bf','0003000200020002','修改文章','Edit','data','','','','0','0','cms.content.article.edit',NULL,'39','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468896159','0') /* updateSysMenu24 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('f6fba69c3b704d79834b8bd2cc753729','b2631bbdbf824cc4b74d819c87962c0d','0003000200010003','删除栏目','Delete','data','','','','0','0','cms.content.channel.delete',NULL,'35','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468896072','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('f6fba69c3b704d79834b8bd2cc753729','b2631bbdbf824cc4b74d819c87962c0d','0003000200010003','删除栏目','Delete','data','','','','0','0','cms.content.channel.delete',NULL,'35','0','1a19ef09b12344b4a797d6e6dfe7fb29','1468896072','0') diff --git a/src/main/resources/db/init_menu_weixin.sql b/src/main/resources/db/init_menu_weixin.sql index 619b990b3..8f6cf0b08 100644 --- a/src/main/resources/db/init_menu_weixin.sql +++ b/src/main/resources/db/init_menu_weixin.sql @@ -1,95 +1,95 @@ /* updateSysMenu */ -update sys_menu set location=10 where path='0001'; +update sys_menu set location=10 where path='0001' /* insertSysMenu1 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('b0edc6861a494b79b97990dc05f0a524','','0002','微信','Wechat','menu','','','','1','0','wx',NULL,'8','1','','1467471229','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('b0edc6861a494b79b97990dc05f0a524','','0002','微信','Wechat','menu','','','','1','0','wx',NULL,'8','1','','1467471229','0') /* insertSysMenu2 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('e4256d7b0ffc4a02906cf900322b6213','b0edc6861a494b79b97990dc05f0a524','00020001','微信会员','Member','menu','','','fa fa-user','1','0','wx.user',NULL,'1','1','','1467471292','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('e4256d7b0ffc4a02906cf900322b6213','b0edc6861a494b79b97990dc05f0a524','00020001','微信会员','Member','menu','','','fa fa-user','1','0','wx.user',NULL,'1','1','','1467471292','0') /* insertSysMenu3 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('b19b23b0459a4754bf1fb8cb234450f2','e4256d7b0ffc4a02906cf900322b6213','000200010001','会员列表','List','menu','/private/wx/user/index','data-pjax','','1','0','wx.user.list',NULL,'2','0','','1467471357','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('b19b23b0459a4754bf1fb8cb234450f2','e4256d7b0ffc4a02906cf900322b6213','000200010001','会员列表','List','menu','/private/wx/user/index','data-pjax','','1','0','wx.user.list',NULL,'2','0','','1467471357','0') /* insertSysMenu4 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('4dc997fef71e4862b9db22de8e99a618','b19b23b0459a4754bf1fb8cb234450f2','0002000100010001','同步会员信息','Sync','data','','','','0','0','wx.user.list.sync',NULL,'0','0','','1467473044','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('4dc997fef71e4862b9db22de8e99a618','b19b23b0459a4754bf1fb8cb234450f2','0002000100010001','同步会员信息','Sync','data','','','','0','0','wx.user.list.sync',NULL,'0','0','','1467473044','0') /* insertSysMenu5 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('9f20a757a6bc40ddbb650c70debbf660','b0edc6861a494b79b97990dc05f0a524','00020002','消息管理','Message','menu','','','ti-pencil-alt','1','0','wx.msg',NULL,'3','1','','1467471415','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('9f20a757a6bc40ddbb650c70debbf660','b0edc6861a494b79b97990dc05f0a524','00020002','消息管理','Message','menu','','','ti-pencil-alt','1','0','wx.msg',NULL,'3','1','','1467471415','0') /* insertSysMenu6 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('f426468abf714b1599729f8c36ebbb0d','9f20a757a6bc40ddbb650c70debbf660','000200020001','会员消息','Msg','menu','/private/wx/msg/user','data-pjax','','1','0','wx.msg.user',NULL,'4','1','','1467471478','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('f426468abf714b1599729f8c36ebbb0d','9f20a757a6bc40ddbb650c70debbf660','000200020001','会员消息','Msg','menu','/private/wx/msg/user','data-pjax','','1','0','wx.msg.user',NULL,'4','1','','1467471478','0') /* insertSysMenu7 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('1734e586e96941268a4c5248b593cef9','f426468abf714b1599729f8c36ebbb0d','0002000200010001','回复消息','Reply','data','','','','0','0','wx.msg.user.reply',NULL,'0','0','','1467473127','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('1734e586e96941268a4c5248b593cef9','f426468abf714b1599729f8c36ebbb0d','0002000200010001','回复消息','Reply','data','','','','0','0','wx.msg.user.reply',NULL,'0','0','','1467473127','0') /* insertSysMenu8 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('6bb17a41f6394ed0a8a6faf5ff781354','9f20a757a6bc40ddbb650c70debbf660','000200020002','群发消息','Mass','menu','/private/wx/msg/mass','data-pjax','','1','0','wx.msg.mass',NULL,'5','0','','1467471561','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('6bb17a41f6394ed0a8a6faf5ff781354','9f20a757a6bc40ddbb650c70debbf660','000200020002','群发消息','Mass','menu','/private/wx/msg/mass','data-pjax','','1','0','wx.msg.mass',NULL,'5','0','','1467471561','0') /* insertSysMenu9 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('56d0658c5a8848818ac05e8ffa5c0570','6bb17a41f6394ed0a8a6faf5ff781354','0002000200020001','添加图文','Add','data','','','','0','0','wx.msg.mass.addNews',NULL,'0','0','','1467473338','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('56d0658c5a8848818ac05e8ffa5c0570','6bb17a41f6394ed0a8a6faf5ff781354','0002000200020001','添加图文','Add','data','','','','0','0','wx.msg.mass.addNews',NULL,'0','0','','1467473338','0') /* insertSysMenu10 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('ce709456e867425297955b3c40406d7e','6bb17a41f6394ed0a8a6faf5ff781354','0002000200020002','删除图文','Delete','data','','','','0','0','wx.msg.mass.delNews',NULL,'0','0','','1467473363','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('ce709456e867425297955b3c40406d7e','6bb17a41f6394ed0a8a6faf5ff781354','0002000200020002','删除图文','Delete','data','','','','0','0','wx.msg.mass.delNews',NULL,'0','0','','1467473363','0') /* insertSysMenu11 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('3099f497480c4b1987bce3f3a26c3fb4','6bb17a41f6394ed0a8a6faf5ff781354','0002000200020003','群发消息','Push','data','','','','0','0','wx.msg.mass.pushNews',NULL,'0','0','','1467473400','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('3099f497480c4b1987bce3f3a26c3fb4','6bb17a41f6394ed0a8a6faf5ff781354','0002000200020003','群发消息','Push','data','','','','0','0','wx.msg.mass.pushNews',NULL,'0','0','','1467473400','0') /* insertSysMenu12 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('4cd8e4e9519e4cff95465194fdcc8d88','b0edc6861a494b79b97990dc05f0a524','00020003','自动回复','AutoReply','menu','','','ti-back-left','1','0','wx.reply',NULL,'6','1','','1467471610','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('4cd8e4e9519e4cff95465194fdcc8d88','b0edc6861a494b79b97990dc05f0a524','00020003','自动回复','AutoReply','menu','','','ti-back-left','1','0','wx.reply',NULL,'6','1','','1467471610','0') /* insertSysMenu13 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('234f8ec3c2bc42bf9f6202aecae36fd6','4cd8e4e9519e4cff95465194fdcc8d88','000200030001','文本内容','Txt','menu','/private/wx/reply/txt','data-pjax','','1','0','wx.reply.txt',NULL,'7','0','','1467471884','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('234f8ec3c2bc42bf9f6202aecae36fd6','4cd8e4e9519e4cff95465194fdcc8d88','000200030001','文本内容','Txt','menu','/private/wx/reply/txt','data-pjax','','1','0','wx.reply.txt',NULL,'7','0','','1467471884','0') /* insertSysMenu14 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('c3a44b478d3241b899b9c3f4611bc2b6','234f8ec3c2bc42bf9f6202aecae36fd6','0002000300010001','添加文本','Add','data','','','','0','0','wx.reply.txt.add',NULL,'0','0','','1467473460','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('c3a44b478d3241b899b9c3f4611bc2b6','234f8ec3c2bc42bf9f6202aecae36fd6','0002000300010001','添加文本','Add','data','','','','0','0','wx.reply.txt.add',NULL,'0','0','','1467473460','0') /* insertSysMenu15 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('fd63a8e389e04ff3a86c3cea53a3b9d5','234f8ec3c2bc42bf9f6202aecae36fd6','0002000300010002','修改文本','Edit','data','','','','0','0','wx.reply.txt.edit',NULL,'0','0','','1467473519','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('fd63a8e389e04ff3a86c3cea53a3b9d5','234f8ec3c2bc42bf9f6202aecae36fd6','0002000300010002','修改文本','Edit','data','','','','0','0','wx.reply.txt.edit',NULL,'0','0','','1467473519','0') /* insertSysMenu16 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('7c040dfd8db347e5956a3bc1764653dc','234f8ec3c2bc42bf9f6202aecae36fd6','0002000300010003','删除文本','Delete','data','','','','0','0','wx.reply.txt.delete',NULL,'0','0','','1467473540','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('7c040dfd8db347e5956a3bc1764653dc','234f8ec3c2bc42bf9f6202aecae36fd6','0002000300010003','删除文本','Delete','data','','','','0','0','wx.reply.txt.delete',NULL,'0','0','','1467473540','0') /* insertSysMenu17 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('17e1ee23ca1443f1bc886c2f5eb7c24b','4cd8e4e9519e4cff95465194fdcc8d88','000200030002','图文内容','News','menu','/private/wx/reply/news','data-pjax','','1','0','wx.reply.news',NULL,'8','0','','1467471926','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('17e1ee23ca1443f1bc886c2f5eb7c24b','4cd8e4e9519e4cff95465194fdcc8d88','000200030002','图文内容','News','menu','/private/wx/reply/news','data-pjax','','1','0','wx.reply.news',NULL,'8','0','','1467471926','0') /* insertSysMenu18 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('2275cb125710414e91b617dd7c62f12c','17e1ee23ca1443f1bc886c2f5eb7c24b','0002000300020001','添加图文','add','data','','','','0','0','wx.reply.news.add',NULL,'0','0','','1467473585','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('2275cb125710414e91b617dd7c62f12c','17e1ee23ca1443f1bc886c2f5eb7c24b','0002000300020001','添加图文','add','data','','','','0','0','wx.reply.news.add',NULL,'0','0','','1467473585','0') /* insertSysMenu19 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('0a972ce655cb4c84809d58668b655900','17e1ee23ca1443f1bc886c2f5eb7c24b','0002000300020002','修改图文','Edit','data','','','','0','0','wx.reply.news.edit',NULL,'0','0','','1467473596','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('0a972ce655cb4c84809d58668b655900','17e1ee23ca1443f1bc886c2f5eb7c24b','0002000300020002','修改图文','Edit','data','','','','0','0','wx.reply.news.edit',NULL,'0','0','','1467473596','0') /* insertSysMenu20 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('fc52d5284b8f4522802383c1ef732242','17e1ee23ca1443f1bc886c2f5eb7c24b','0002000300020003','删除图文','Delete','data','','','','0','0','wx.reply.news.delete',NULL,'0','0','','1467473606','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('fc52d5284b8f4522802383c1ef732242','17e1ee23ca1443f1bc886c2f5eb7c24b','0002000300020003','删除图文','Delete','data','','','','0','0','wx.reply.news.delete',NULL,'0','0','','1467473606','0') /* insertSysMenu21 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('2cb327ad59b140828fd26eb2a46cb948','4cd8e4e9519e4cff95465194fdcc8d88','000200030003','关注自动回复','Follow','menu','/private/wx/reply/conf/follow','data-pjax','','1','0','wx.reply.follow',NULL,'9','0','','1467472280','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('2cb327ad59b140828fd26eb2a46cb948','4cd8e4e9519e4cff95465194fdcc8d88','000200030003','关注自动回复','Follow','menu','/private/wx/reply/conf/follow','data-pjax','','1','0','wx.reply.follow',NULL,'9','0','','1467472280','0') /* insertSysMenu22 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('dd965b2c1dfd493fb5efc7e4bcac99d4','2cb327ad59b140828fd26eb2a46cb948','0002000300030001','添加绑定','Add','data','','','','0','0','wx.reply.follow.add',NULL,'0','0','','1467474026','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('dd965b2c1dfd493fb5efc7e4bcac99d4','2cb327ad59b140828fd26eb2a46cb948','0002000300030001','添加绑定','Add','data','','','','0','0','wx.reply.follow.add',NULL,'0','0','','1467474026','0') /* insertSysMenu23 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('30a5e70a1456447ebf90b5546e9bc321','2cb327ad59b140828fd26eb2a46cb948','0002000300030002','修改绑定','Edit','data','','','','0','0','wx.reply.follow.edit',NULL,'0','0','','1467474056','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('30a5e70a1456447ebf90b5546e9bc321','2cb327ad59b140828fd26eb2a46cb948','0002000300030002','修改绑定','Edit','data','','','','0','0','wx.reply.follow.edit',NULL,'0','0','','1467474056','0') /* insertSysMenu24 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('2a63040409094f1e9dc535dd78ce15b7','2cb327ad59b140828fd26eb2a46cb948','0002000300030003','删除绑定','Delete','data','','','','0','0','wx.reply.follow.delete',NULL,'0','0','','1467474080','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('2a63040409094f1e9dc535dd78ce15b7','2cb327ad59b140828fd26eb2a46cb948','0002000300030003','删除绑定','Delete','data','','','','0','0','wx.reply.follow.delete',NULL,'0','0','','1467474080','0') /* insertSysMenu25 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('0706112ff5dc46e388064a99bcdb0561','4cd8e4e9519e4cff95465194fdcc8d88','000200030004','关键词回复','Keyword','menu','/private/wx/reply/conf/keyword','data-pjax','','1','0','wx.reply.keyword',NULL,'10','0','','1467472362','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('0706112ff5dc46e388064a99bcdb0561','4cd8e4e9519e4cff95465194fdcc8d88','000200030004','关键词回复','Keyword','menu','/private/wx/reply/conf/keyword','data-pjax','','1','0','wx.reply.keyword',NULL,'10','0','','1467472362','0') /* insertSysMenu26 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('e864c78aba63448892cbcb6a3a7f4da7','0706112ff5dc46e388064a99bcdb0561','0002000300040001','添加绑定','Add','data','','','','0','0','wx.reply.keyword.add',NULL,'0','0','','1467474113','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('e864c78aba63448892cbcb6a3a7f4da7','0706112ff5dc46e388064a99bcdb0561','0002000300040001','添加绑定','Add','data','','','','0','0','wx.reply.keyword.add',NULL,'0','0','','1467474113','0') /* insertSysMenu27 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('ff6cd243a77c4ae98dacf6149c816c75','0706112ff5dc46e388064a99bcdb0561','0002000300040002','修改绑定','Edit','data','','','','0','0','wx.reply.keyword.edit',NULL,'0','0','','1467474125','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('ff6cd243a77c4ae98dacf6149c816c75','0706112ff5dc46e388064a99bcdb0561','0002000300040002','修改绑定','Edit','data','','','','0','0','wx.reply.keyword.edit',NULL,'0','0','','1467474125','0') /* insertSysMenu28 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('733d3f35d49f45af99ca9220048583ba','0706112ff5dc46e388064a99bcdb0561','0002000300040003','删除绑定','Delete','data','','','','0','0','wx.reply.keyword.delete',NULL,'0','0','','1467474136','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('733d3f35d49f45af99ca9220048583ba','0706112ff5dc46e388064a99bcdb0561','0002000300040003','删除绑定','Delete','data','','','','0','0','wx.reply.keyword.delete',NULL,'0','0','','1467474136','0') /* insertSysMenu29 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('bcf64d623fdd4519ae345b7a08c071a1','b0edc6861a494b79b97990dc05f0a524','00020004','微信配置','Config','menu','','','fa fa-weixin','1','0','wx.conf',NULL,'11','1','','1467472498','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('bcf64d623fdd4519ae345b7a08c071a1','b0edc6861a494b79b97990dc05f0a524','00020004','微信配置','Config','menu','','','fa fa-weixin','1','0','wx.conf',NULL,'11','1','','1467472498','0') /* insertSysMenu30 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('66cc21d7ce104dd6877cbce114c59fb3','bcf64d623fdd4519ae345b7a08c071a1','000200040001','帐号配置','Account','menu','/private/wx/conf/account','data-pjax','','1','0','wx.conf.account',NULL,'12','0','','1467472624','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('66cc21d7ce104dd6877cbce114c59fb3','bcf64d623fdd4519ae345b7a08c071a1','000200040001','帐号配置','Account','menu','/private/wx/conf/account','data-pjax','','1','0','wx.conf.account',NULL,'12','0','','1467472624','0') /* insertSysMenu31 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('309dc29ad3c34408a68df8f867a5c9ff','66cc21d7ce104dd6877cbce114c59fb3','0002000400010001','添加帐号','Add','data','','','','0','0','wx.conf.account.add',NULL,'0','0','','1467474187','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('309dc29ad3c34408a68df8f867a5c9ff','66cc21d7ce104dd6877cbce114c59fb3','0002000400010001','添加帐号','Add','data','','','','0','0','wx.conf.account.add',NULL,'0','0','','1467474187','0') /* insertSysMenu32 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('96554b09a2dd4f82bab7546fa59acd35','66cc21d7ce104dd6877cbce114c59fb3','0002000400010002','修改帐号','Edit','data','','','','0','0','wx.conf.account.edit',NULL,'0','0','','1467474197','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('96554b09a2dd4f82bab7546fa59acd35','66cc21d7ce104dd6877cbce114c59fb3','0002000400010002','修改帐号','Edit','data','','','','0','0','wx.conf.account.edit',NULL,'0','0','','1467474197','0') /* insertSysMenu33 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('d568f4c2b687404e8aec7b9edcae5767','66cc21d7ce104dd6877cbce114c59fb3','0002000400010003','删除帐号','Delete','data','','','','0','0','wx.conf.account.delete',NULL,'0','0','','1467474209','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('d568f4c2b687404e8aec7b9edcae5767','66cc21d7ce104dd6877cbce114c59fb3','0002000400010003','删除帐号','Delete','data','','','','0','0','wx.conf.account.delete',NULL,'0','0','','1467474209','0') /* insertSysMenu34 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('2fab774f8b6d40cb9d7e187babab2d91','bcf64d623fdd4519ae345b7a08c071a1','000200040002','菜单配置','Menu','menu','/private/wx/conf/menu','data-pjax','','1','0','wx.conf.menu',NULL,'13','0','','1467472649','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('2fab774f8b6d40cb9d7e187babab2d91','bcf64d623fdd4519ae345b7a08c071a1','000200040002','菜单配置','Menu','menu','/private/wx/conf/menu','data-pjax','','1','0','wx.conf.menu',NULL,'13','0','','1467472649','0') /* insertSysMenu35 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('45d958ca78304f25b51f6c71cf66f6d8','2fab774f8b6d40cb9d7e187babab2d91','0002000400020001','添加菜单','Add','data','','','','0','0','wx.conf.menu.add',NULL,'0','0','','1467474283','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('45d958ca78304f25b51f6c71cf66f6d8','2fab774f8b6d40cb9d7e187babab2d91','0002000400020001','添加菜单','Add','data','','','','0','0','wx.conf.menu.add',NULL,'0','0','','1467474283','0') /* insertSysMenu36 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('44da90bc76a5419a841f4924333f7a66','2fab774f8b6d40cb9d7e187babab2d91','0002000400020002','修改菜单','Edit','data','','','','0','0','wx.conf.menu.edit',NULL,'0','0','','1467474294','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('44da90bc76a5419a841f4924333f7a66','2fab774f8b6d40cb9d7e187babab2d91','0002000400020002','修改菜单','Edit','data','','','','0','0','wx.conf.menu.edit',NULL,'0','0','','1467474294','0') /* insertSysMenu37 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('9a9557177d334c209cf73c3817fe3b63','2fab774f8b6d40cb9d7e187babab2d91','0002000400020003','删除菜单','Delete','data','','','','0','0','wx.conf.menu.delete',NULL,'0','0','','1467474304','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('9a9557177d334c209cf73c3817fe3b63','2fab774f8b6d40cb9d7e187babab2d91','0002000400020003','删除菜单','Delete','data','','','','0','0','wx.conf.menu.delete',NULL,'0','0','','1467474304','0') /* insertSysMenu38 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('0a43d291e0c94ad88c8b690009279e34','2fab774f8b6d40cb9d7e187babab2d91','0002000400020004','保存排序','Save','data','','','','0','0','wx.conf.menu.sort',NULL,'0','0','','1467474314','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('0a43d291e0c94ad88c8b690009279e34','2fab774f8b6d40cb9d7e187babab2d91','0002000400020004','保存排序','Save','data','','','','0','0','wx.conf.menu.sort',NULL,'0','0','','1467474314','0') /* insertSysMenu39 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('5244f5c38eb24b918e9ad64d456daa38','2fab774f8b6d40cb9d7e187babab2d91','0002000400020005','推送到微信','Push','data','','','','0','0','wx.conf.menu.push',NULL,'0','0','','1467474330','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('5244f5c38eb24b918e9ad64d456daa38','2fab774f8b6d40cb9d7e187babab2d91','0002000400020005','推送到微信','Push','data','','','','0','0','wx.conf.menu.push',NULL,'0','0','','1467474330','0') /* insertSysMenu40 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('6afc5075913d4df4b44a6476080e35a0','b0edc6861a494b79b97990dc05f0a524','00020005','模板消息','Template','menu','','','ti-notepad','1','0','wx.tpl',NULL,'50','1','','1470406797','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('6afc5075913d4df4b44a6476080e35a0','b0edc6861a494b79b97990dc05f0a524','00020005','模板消息','Template','menu','','','ti-notepad','1','0','wx.tpl',NULL,'50','1','','1470406797','0') /* insertSysMenu41 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('1385ae887e5c4b8aa33fbf228be7f907','6afc5075913d4df4b44a6476080e35a0','000200050001','模板编号','Id','menu','/private/wx/tpl/id','data-pjax','','1','0','wx.tpl.id',NULL,'51','0','','1470406854','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('1385ae887e5c4b8aa33fbf228be7f907','6afc5075913d4df4b44a6476080e35a0','000200050001','模板编号','Id','menu','/private/wx/tpl/id','data-pjax','','1','0','wx.tpl.id',NULL,'51','0','','1470406854','0') /* insertSysMenu42 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('e6b6224617b04090a76e46a4b048fb96','1385ae887e5c4b8aa33fbf228be7f907','0002000500010001','添加编号','Add','data','','','','0','0','wx.tpl.id.add',NULL,'54','0','','1470407055','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('e6b6224617b04090a76e46a4b048fb96','1385ae887e5c4b8aa33fbf228be7f907','0002000500010001','添加编号','Add','data','','','','0','0','wx.tpl.id.add',NULL,'54','0','','1470407055','0') /* insertSysMenu43 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('3888f05aa4064f788ba7ec51c495ce7c','1385ae887e5c4b8aa33fbf228be7f907','0002000500010002','删除编号','Delete','data','','','','0','0','wx.tpl.id.delete',NULL,'55','0','','1470407068','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('3888f05aa4064f788ba7ec51c495ce7c','1385ae887e5c4b8aa33fbf228be7f907','0002000500010002','删除编号','Delete','data','','','','0','0','wx.tpl.id.delete',NULL,'55','0','','1470407068','0') /* insertSysMenu44 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('cabbe834a7474675b899e8442b5c2604','6afc5075913d4df4b44a6476080e35a0','000200050002','模板列表','List','menu','/private/wx/tpl/list','data-pjax','','1','0','wx.tpl.list',NULL,'52','0','','1470406883','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('cabbe834a7474675b899e8442b5c2604','6afc5075913d4df4b44a6476080e35a0','000200050002','模板列表','List','menu','/private/wx/tpl/list','data-pjax','','1','0','wx.tpl.list',NULL,'52','0','','1470406883','0') /* insertSysMenu45 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('a11163584dfe456cbfd6fb2d4b74391b','cabbe834a7474675b899e8442b5c2604','0002000500020001','获取列表','Get','data','','','','0','0','wx.tpl.list.get',NULL,'56','0','','1470407390','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('a11163584dfe456cbfd6fb2d4b74391b','cabbe834a7474675b899e8442b5c2604','0002000500020001','获取列表','Get','data','','','','0','0','wx.tpl.list.get',NULL,'56','0','','1470407390','0') /* insertSysMenu46 */ -insert into `sys_menu` (`id`, `parentId`, `path`, `name`, `aliasName`, `type`, `href`, `target`, `icon`, `isShow`, `disabled`, `permission`, `note`, `location`, `hasChildren`, `opBy`, `opAt`, `delFlag`) values('c76a84f871d047db955dd1465c845ac1','6afc5075913d4df4b44a6476080e35a0','000200050003','发送记录','Log','menu','/private/wx/tpl/log','data-pjax','','1','0','wx.tpl.log',NULL,'53','0','','1470406926','0'); +insert into sys_menu (id, parentId, path, name, aliasName, type, href, target, icon, isShow, disabled, permission, note, location, hasChildren, opBy, opAt, delFlag) values('c76a84f871d047db955dd1465c845ac1','6afc5075913d4df4b44a6476080e35a0','000200050003','发送记录','Log','menu','/private/wx/tpl/log','data-pjax','','1','0','wx.tpl.log',NULL,'53','0','','1470406926','0')