记得上下班打卡 | git大法好,push需谨慎

Commit e638ac4e authored by jiangxiulong's avatar jiangxiulong

util

parent c81bd5e3
...@@ -13,7 +13,7 @@ import lombok.extern.slf4j.Slf4j; ...@@ -13,7 +13,7 @@ import lombok.extern.slf4j.Slf4j;
* @date 2021/8/10 18:03 * @date 2021/8/10 18:03
*/ */
@Slf4j @Slf4j
public class JxlMathUtil { public class SweetMathUtil {
public static int getIndex(String key){ public static int getIndex(String key){
log.debug("MathUtil.getIndex key:{} hashcode:{}",key,key.hashCode()); log.debug("MathUtil.getIndex key:{} hashcode:{}",key,key.hashCode());
int defaultDb = 0; int defaultDb = 0;
...@@ -42,7 +42,7 @@ public class JxlMathUtil { ...@@ -42,7 +42,7 @@ public class JxlMathUtil {
/*RedisConfig redisConfig = new RedisConfig(); /*RedisConfig redisConfig = new RedisConfig();
redisConfig.getRedisTemplateByDb(MathUtil.getIndex("1"));*/ redisConfig.getRedisTemplateByDb(MathUtil.getIndex("1"));*/
// getIndex("kylin:performances:id:296290722991104003684701"); // getIndex("kylin:performances:id:296290722991104003684701");
getIndex("sweet:integralActivity:prizeNum:activityId:499142611246284803622253:prizeId:499142823268352009440982"); // getIndex("sweet:integralActivity:prizeNum:activityId:499142611246284803622253:prizeId:499142823268352009440982");
// getIndex("kylin:order:coupon:id:397983761946132487870836"); // getIndex("kylin:order:coupon:id:397983761946132487870836");
// getIndex("sweet:integralActivity:list"); // getIndex("sweet:integralActivity:list");
// getIndex("kylin:order:id:325244198036357120519956"); // getIndex("kylin:order:id:325244198036357120519956");
...@@ -50,7 +50,9 @@ public class JxlMathUtil { ...@@ -50,7 +50,9 @@ public class JxlMathUtil {
// getIndex("kylin:performances:roadShowId:570"); // getIndex("kylin:performances:roadShowId:570");
// getIndex("kylin:order:refund:address"); // getIndex("kylin:order:refund:address");
// getIndex("basicServices:upushList:IOS"); // getIndex("basicServices:upushList:IOS");
getIndex("jxl-lock-test"); // getIndex("jxl-lock-test");
// getIndex("kylin:performances:id:499112736168099840841262");
getIndex("kylin:performances:id:549875278160650249766815");
// getIndex("basicServices:upushList:Android"); // getIndex("basicServices:upushList:Android");
// getIndex("basicServices:zhengzaiAppVersionsAndroid"); // getIndex("basicServices:zhengzaiAppVersionsAndroid");
// getIndex("basicServices:zhengzaiAppVersionsIos"); // getIndex("basicServices:zhengzaiAppVersionsIos");
......
...@@ -11,7 +11,7 @@ import com.baomidou.mybatisplus.generator.engine.FreemarkerTemplateEngine; ...@@ -11,7 +11,7 @@ import com.baomidou.mybatisplus.generator.engine.FreemarkerTemplateEngine;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
public class JxlMybatisPlusCodeGenerator { public class SweetMybatisPlusCodeGenerator {
/** /**
* @param moduleRootPath 项目模块根路径 到 /src 之前 ex:E:\projects\trlabs-bus-v1\trlabs-bus-service\trlabs-common\trlabs-mybatis * @param moduleRootPath 项目模块根路径 到 /src 之前 ex:E:\projects\trlabs-bus-v1\trlabs-bus-service\trlabs-common\trlabs-mybatis
* @param dsc 数据源 * @param dsc 数据源
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment