Browse Source

解决找不到Mapper映射文件

yanghuangyu 1 year ago
parent
commit
e0506750a7

+ 2 - 0
climate-admin/src/main/resources/application.yml

@@ -129,6 +129,8 @@ xss:
   excludes: /system/notice
   # 匹配链接
   urlPatterns: /system/*,/monitor/*,/tool/*
+
+#天擎连接配置,账号、密码、配置文件路径
 tq:
   name: BEGY_JB_FYGS_YHY
   password: "Yang@18212485516"

+ 1 - 1
climate_data/src/main/resources/mapper/data/CliTqStationMapper.xml

@@ -39,7 +39,7 @@
         admin_code,
         type
         ) VALUES
-        <foreach collection="list" item="item" >
+        <foreach collection="list" item="item"  >
             (
             #{item.id},
             #{item.stationId},