上一页 1 2 3 4 5 6 7 ··· 11 下一页
摘要: 如果对方传的 json 是jsonArray 格式的json 可以采用下面的方式进行获取里面的参数值 例如 : msgId 就是里面的属性 public Boolean testSyncStatus(String json) { JSONArray backJson = JSON.parseArra 阅读全文
posted @ 2023-03-17 14:36 猿码哥 阅读(316) 评论(0) 推荐(0) 编辑
摘要: 分布式事务解决方案 1 分布式事务在面试中如何理解? 2 两阶段提交协议?三阶段提交协议? 3 什么是TCC (Try Confirm Cancel) 解决方案? 4 如何利用本地事务表来实现分布式事务? 5 最大努力通知方案是什么? 1 分布式事务是指会涉及到操作多个数据库(服务)的事务 其实就是 阅读全文
posted @ 2022-12-16 12:40 猿码哥 阅读(34) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2021-10-16 19:18 猿码哥 阅读(0) 评论(0) 推荐(0) 编辑
摘要: /** * 对list数据源将其里面的数据导入到excel表单 * * @param sheetName 工作表的名称 * @return 结果 */public AjaxResult importTemplateExcel(String sheetName){ this.init(null, sh 阅读全文
posted @ 2021-08-29 22:29 猿码哥 阅读(320) 评论(0) 推荐(0) 编辑
摘要: @AutowiredOrgSearchFeginClient orgSearchFeginClient;@Overridepublic ResponseData orgSearchTree(Map map) { JSONObject json = null; List<Map> result = n 阅读全文
posted @ 2021-06-17 23:20 猿码哥 阅读(454) 评论(0) 推荐(0) 编辑
摘要: public ResponseData customerType() { ResponseData res = new ResponseData(); try { CustomerTypeEnums[] customerTypeEnums = CustomerTypeEnums.values(); 阅读全文
posted @ 2021-06-17 23:06 猿码哥 阅读(447) 评论(0) 推荐(0) 编辑
摘要: package com.icss.common.util;import java.util.UUID;/** * 主键工具类 */public class UniqueKeyUtil { /** * 生成唯一的主键 * 格式: 时间+随机数 * @return */ public static sy 阅读全文
posted @ 2021-06-17 22:52 猿码哥 阅读(103) 评论(0) 推荐(0) 编辑
摘要: package com.icss.common.util;import com.alibaba.fastjson.JSON;import com.alibaba.fastjson.JSONArray;import com.alibaba.fastjson.JSONObject;import com. 阅读全文
posted @ 2021-06-17 22:39 猿码哥 阅读(337) 评论(0) 推荐(0) 编辑
摘要: package com.icss.common.core.config;import org.springframework.beans.BeansException;import org.springframework.context.ApplicationContext;import org.s 阅读全文
posted @ 2021-06-17 22:34 猿码哥 阅读(236) 评论(0) 推荐(0) 编辑
摘要: import org.springframework.beans.factory.annotation.Autowired;import org.springframework.data.redis.core.HashOperations;import org.springframework.dat 阅读全文
posted @ 2021-06-17 22:06 猿码哥 阅读(519) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 11 下一页