浏览代码

fix bug

release_toaliyun_real
xiaohanzi 6 年前
父节点
当前提交
6333c9061c
共有 2 个文件被更改,包括 4 次插入 和 1 次删除
  1. +1
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxCouponSendServiceImpl.java
  2. +3
    -0
      mybatis-multi-tenancy/src/main/java/com/iformall/plugin/shard/plugin/ShardingSpherePlugin.java

+ 1
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxCouponSendServiceImpl.java 查看文件

@@ -385,7 +385,7 @@ public class WxCouponSendServiceImpl implements WxCouponSendService {
bRet = true;
}
} catch (Exception e) {
logger.error(e.getMessage());
logger.error(e.getMessage(),e);
}




+ 3
- 0
mybatis-multi-tenancy/src/main/java/com/iformall/plugin/shard/plugin/ShardingSpherePlugin.java 查看文件

@@ -216,6 +216,9 @@ public class ShardingSpherePlugin implements MyBatisPlus {
}
private String getField(String column) {
if (null == column) {
throw new RuntimeException("table sharinding error column is null");
}
String[] field = column.split("_");
String fieldName = "";
if (null != field && field.length > 0) {


正在加载...
取消
保存