04 2022 档案

摘要:将导出列表请求发送到消息队列 //查询导出次数的逻辑代码省略 JSONObject data = new JSONObject(); data .element("userId", exportRecord.getUserId()); data .element("taskId", exportRe 阅读全文
posted @ 2022-04-29 18:28 杨吃羊 阅读(437) 评论(0) 推荐(0) 编辑
摘要:<insert id="saveExportField" parameterType="com.seeyii.base.bean.ExportRecord" keyProperty="id" keyColumn="id" useGeneratedKeys="true"> INSERT INTO ex 阅读全文
posted @ 2022-04-27 13:56 杨吃羊 阅读(1629) 评论(0) 推荐(0) 编辑
摘要:java配置nebula连接代码: 官网地址:https://github.com/vesoft-inc/nebula-java/tree/master NebulaPoolConfig nebulaPoolConfig = new NebulaPoolConfig(); nebulaPoolCon 阅读全文
posted @ 2022-04-25 15:38 杨吃羊 阅读(739) 评论(0) 推荐(0) 编辑
摘要:静态代理: public interface IUser { //保存用户 void save(); } public class IUserImpl implements IUser{ @Override public void save() { System.out.println("模拟保存用 阅读全文
posted @ 2022-04-21 16:19 杨吃羊 阅读(69) 评论(0) 推荐(0) 编辑
摘要:1 searchContent= URLDecoder.decode(searchContent.replaceAll("%(![0-9a-fA-F]{2})","%25"),"UTF-8"); //这里是将encode后的%和手动输入的%做区分,把手动输入的%替换成%252 searchConte 阅读全文
posted @ 2022-04-19 15:07 杨吃羊 阅读(211) 评论(0) 推荐(0) 编辑
摘要:1 安装studio是找不到npm命令 :Install failed for the reason: the nodejs(>v10.16.0) required 将Node.js解压后的内容拷贝到/opt目录下,然后在/opt下执行 ln -s node-v14.16.0-linux-x64 n 阅读全文
posted @ 2022-04-14 17:26 杨吃羊 阅读(118) 评论(0) 推荐(0) 编辑
摘要:结合公司实际业务记录这次的导数流程 1 //注册到执行器工厂:添加“@JobHandler(value="自定义jobhandler名称")”注解,注解value值对应的是调度中心新建任务的JobHandler属性的值。 2 @JobHandler(value = "BiddingHandler") 阅读全文
posted @ 2022-04-08 11:00 杨吃羊 阅读(272) 评论(0) 推荐(0) 编辑
摘要:安装es-head前提要安装好 node.js和git node -v, npm -v,git --version 这三个命令都有版本返回就ok 下载命令: git clone https://github.com/mobz/elasticsearch-head.git进入下载目录cd elasti 阅读全文
posted @ 2022-04-06 16:43 杨吃羊 阅读(1573) 评论(0) 推荐(0) 编辑
摘要:es与mysql的对应关系 mysql: 表 行 字段es: 索引 document field es6之前一个index可以设置多个type,es6每个索引只能有一个type,es7的索引的type只能是_doc,es7以后就没有type了,es去掉type是因为底层lucene 并没有type的 阅读全文
posted @ 2022-04-06 11:48 杨吃羊 阅读(94) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示