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