摘要:
package com.sjaco.lccloud.provider.olsim.config; import com.github.xiaoymin.knife4j.spring.extension.OpenApiExtensionResolver; import com.google.commo 阅读全文
摘要:
/** * 二进制、十进制转化工具类 */ public class BinaryUtil { /** * description: 根据二进制数获取值 例如,输入1010,获取到的是[1,3] * * @param code:输入10101 * @param digit 位数 * @return 阅读全文
摘要:
@Resource private TransactionTemplate transactionTemplate; public void saveData(Object obj) { queryDataOne(); queryDataTwo(); transactionTemplate.exec 阅读全文
摘要:
public class RedisAutomaticUtils { /** * redis加减原子操作 */ private static int optAtomic(StringRedisTemplate redisTemplate, String key, boolean isAdd, Int 阅读全文
摘要:
STR_TO_DATE(concat(stat_year,'-',stat_month,'-',stat_day),'%Y-%m-%d') 阅读全文
摘要:
public class DateUtil { public static final String CN_DATA = "yyyy年MM月dd日"; private static final String NORM_DATE_PATTERN = "yyyy-MM-dd"; public stati 阅读全文
摘要:
run.sh文件: ps -ef|grep java|grep lccloud-salary-service|awk '{print $2}'|xargs kill -9 nohup java -server -Xms512m -Xmx1024m -Xss256k -jar lccloud-sala 阅读全文
摘要:
public class RecursiveUtil { public RecursiveUtil() { } public static <T extends PModel<T>> List<T> buildRecursive(List<T> treeNodes) { List<T> trees 阅读全文
摘要:
public static void main(String[] args) { Random random = new Random(); String salt = String.valueOf(random.nextInt(4)); System.out.println("salt " + s 阅读全文
摘要:
public static void main(String[] args){ public static final String YYYY_MM_DD_HH_MM_SS = "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$"; public static 阅读全文