在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:MysqlBlobToJsonTool开源软件地址:https://gitee.com/hupeng_admin/MysqlBlobToJsonTool开源软件介绍:一 开发此工具的缘由由于本人在游戏公司做java游戏服务端主程,使用的是mysql数据库,采用 二 使用的工具服务端用java开发,前端用angular4开发。(小插曲:最初打算做跨平台的桌面版本,由于不熟悉javafx就换成了web版本,不过好处就是打开网页就用能,也比较方法) 三 screenshot四 鸣谢@alice 一个技术过硬的前端萌妹子,梦想进入google工作。擅长前端开发,能熟练使用react和angular框架开发,有多个线上项目开发经验。本工具前端由@alice花费半天时间完成。()ORZ 五 注意事项
if (tableName.equals("p_role")) { Role role = template.queryData(tableName, Role.class, id); return new Result<>((T) role); } else if (tableName.equals("p_bag")) { RoleBag bag = template.queryData(tableName, RoleBag.class, id); return new Result<>((T) bag); } else if (tableName.equals("p_activity")) { RoleActivity user = template.queryData(tableName, RoleActivity.class, id); return new Result<>((T) user); } else if (tableName.equals("p_skill")) { RoleSkill skill = template.queryData(tableName, RoleSkill.class, id); return new Result<>((T) skill); } else if (tableName.equals("s_data")) { int dataId = Cast.toInteger(id); if (dataId == SysData.COUNT) { GlobalCount globalCount = template.queryData(tableName, GlobalCount.class, id); return new Result<>((T) globalCount); } else if (dataId == SysData.WORLD_STORAGE) { WorldStorage worldStorage = template.queryData(tableName, WorldStorage.class, id); return new Result<>((T) worldStorage); } } else if (tableName.equals("s_rank")) { /// FIXME: 2017/7/28 排行榜占位 User user = template.queryData(tableName, User.class, id); return new Result<>((T) user); } else if (tableName.equals("s_union")) { Union union = template.queryData(tableName, Union.class, id); return new Result<>((T) union); } else if (tableName.equals("p_count")) { RoleCount count = template.queryData(tableName, RoleCount.class, id); return new Result<>((T) count); } else if (tableName.equals("p_task")) { RoleTask roleTask = template.queryData(tableName, RoleTask.class, id); return new Result<>((T) roleTask); } else if (tableName.equals("p_user")) { User user = template.queryUser(tableName, id); return new Result<>((T) user); } 六 招聘
七 公司产品信息License MIT License Copyright (c) 2017 Peng Hu Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
请发表评论