From 0204bbcb8dab5b186ca5e4289fd247f00fbeb04e Mon Sep 17 00:00:00 2001 From: data2 Date: Wed, 14 Apr 2021 15:19:53 +0800 Subject: [PATCH] test --- .../main/java/com/data2/salmon/example/PartitionController.java | 2 +- .../java/com/data2/salmon/example/SalmonExampleApplication.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/salmon-example/src/main/java/com/data2/salmon/example/PartitionController.java b/salmon-example/src/main/java/com/data2/salmon/example/PartitionController.java index 07fabf9..2ba71bc 100644 --- a/salmon-example/src/main/java/com/data2/salmon/example/PartitionController.java +++ b/salmon-example/src/main/java/com/data2/salmon/example/PartitionController.java @@ -21,7 +21,7 @@ public class PartitionController { @Autowired(required = false) @Qualifier("partitionDao") - @Mapper(file = "mapper", database = DataBase.PARTITION, name = "partitionDao") + @Mapper(file = "mapper", database = DataBase.partition, name = "partitionDao") public Salmon salmon; @RequestMapping("/partitioninsert") diff --git a/salmon-example/src/main/java/com/data2/salmon/example/SalmonExampleApplication.java b/salmon-example/src/main/java/com/data2/salmon/example/SalmonExampleApplication.java index a64f537..6709e50 100644 --- a/salmon-example/src/main/java/com/data2/salmon/example/SalmonExampleApplication.java +++ b/salmon-example/src/main/java/com/data2/salmon/example/SalmonExampleApplication.java @@ -27,7 +27,7 @@ public class SalmonExampleApplication { * @Mapper(file = "mapper", database = DataBase.JDBC, name = "simpleDap") */ @Resource(name = "simpleDao") - @Mapper(file = "mapper", database = DataBase.JDBC, name = "simpleDao") + @Mapper(file = "mapper", database = DataBase.jdbc, name = "simpleDao") public Salmon salmon; public static void main(String[] args) {