From e57f884c9203cace24a570f74332af39f2294785 Mon Sep 17 00:00:00 2001 From: liuzdchn Date: Thu, 10 Sep 2020 00:09:19 +0800 Subject: [PATCH] fixed org.apache.ibatis.binding.BindingException --- .../java/com/sankuai/inf/leaf/segment/dao/IDAllocMapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/leaf-core/src/main/java/com/sankuai/inf/leaf/segment/dao/IDAllocMapper.java b/leaf-core/src/main/java/com/sankuai/inf/leaf/segment/dao/IDAllocMapper.java index 6bbed184..713c6e38 100644 --- a/leaf-core/src/main/java/com/sankuai/inf/leaf/segment/dao/IDAllocMapper.java +++ b/leaf-core/src/main/java/com/sankuai/inf/leaf/segment/dao/IDAllocMapper.java @@ -28,7 +28,7 @@ public interface IDAllocMapper { void updateMaxId(@Param("tag") String tag); @Update("UPDATE leaf_alloc SET max_id = max_id + #{step} WHERE biz_tag = #{key}") - void updateMaxIdByCustomStep(@Param("leafAlloc") LeafAlloc leafAlloc); + void updateMaxIdByCustomStep(LeafAlloc leafAlloc); @Select("SELECT biz_tag FROM leaf_alloc") List getAllTags();