摘要:
除了用 @Transactional 外还可以手工调用 PlatformTransactionManager transactionManager = (PlatformTransactionManager)SpringBeanUtil.getBean(PlatformTransactionMana 阅读全文
摘要:
Postman/apifox pre-request script const UUID = require('uuid'); // Helper function to generate the signature function makeSign(md5Key, params) { const 阅读全文
摘要:
1. 直接更改字段值 Insert into table(code,name) values('a','aa') ON DUPLICATE KEY update updateTime=now() 2. 根据原值修改当前值 传入参数 #{step} INSERT INTO table(code,ver 阅读全文
摘要:
import cn.hutool.core.lang.Pair; import cn.hutool.crypto.SecureUtil; import com.dtyunxi.exchange.biz.model.ApiChannelType; import com.dtyunxi.exchange 阅读全文
摘要:
import cn.hutool.crypto.SecureUtil; import com.dtyunxi.exchange.api.IFunctionAuthService; import org.apache.commons.lang3.StringUtils; import org.slf4 阅读全文
摘要:
@Resource private ICustomFunctionService customFunctionService; @PostConstruct private void init() { LambdaQueryWrapper<CustomFunctionEo> wrapper = Wr 阅读全文
摘要:
1. public static final Pattern PATTERN_PARAM = Pattern.compile("^([\\w.]+)\\W*\\((.*)\\)$", Pattern.CASE_INSENSITIVE); public static Pair<String, Obje 阅读全文
摘要:
import redis import re # 连接 Redis r = redis.Redis(host='192.168.1.42', port=31448, db=0, password='Y11111') # 需要删除的 key 的正则表达式 pattern = 'data-*' # 定义 阅读全文
摘要:
#!/bin/bash source /etc/profile ################################### # Please change these parameters according to your real env. ##################### 阅读全文
摘要:
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace 阅读全文