🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
示例 ``` import com.kingbes.bess.web.engine.websocket.TableLogUtil; public void test(){ String namespsce = "pb_users.update"; Map dataMap = new HashMap(); //name、phone为 pb_users表的字段,dataMap存储(修改的字段、修改值) dataMap.put("name","zhangsan"); dataMap.put("phone","12345678901"); TableLogUtil.update(namespsce,dataMap); String namespsce = "pb_users.insert"; Map dataMap = new HashMap(); //name、phone为 pb_users表的字段,dataMap存储(插入的字段、值) dataMap.put("name","zhangsan"); dataMap.put("phone","12345678901"); TableLogUtil.insert(namespsce,dataMap); String namespsce = "pb_users.delete"; Map dataMap = new HashMap(); //dataMap存储(pk_id、删除记录的主键值) dataMap.put("pk_id",1); TableLogUtil.delete(namespsce,dataMap); } ```