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