Commit f188b8f4ad8e41bf715c5c8474629e9d62d00117

Authored by yiming
1 parent 8dae4cb3

线路档案整改内容

Too many changes to show.

To preserve performance only 3 of 5 files are displayed.

bsthLineProfiles/src/main/java/com/ruoyi/project/system/line/service/IBsthTSiteService.java 0 → 100644
  1 +package com.ruoyi.project.system.line.service;
  2 +
  3 +import com.ruoyi.project.system.line.domain.*;
  4 +
  5 +import java.util.List;
  6 +
  7 +
  8 +public interface IBsthTSiteService
  9 +{
  10 +
  11 + List<BsthSite> selectBsthSite();
  12 +}
bsthLineProfiles/src/main/java/com/ruoyi/project/system/line/service/impl/BsthTSiteImpl.java 0 → 100644
  1 +package com.ruoyi.project.system.line.service.impl;
  2 +
  3 +
  4 +import com.ruoyi.project.system.line.domain.*;
  5 +import com.ruoyi.project.system.line.mapper.BsthSiteMapper;
  6 +import com.ruoyi.project.system.line.mapper.BsthTLineMapper;
  7 +import com.ruoyi.project.system.line.service.IBsthTSiteService;
  8 +import org.slf4j.Logger;
  9 +import org.slf4j.LoggerFactory;
  10 +import org.springframework.beans.factory.annotation.Autowired;
  11 +import org.springframework.stereotype.Service;
  12 +import java.util.*;
  13 +
  14 +
  15 +@Service
  16 +public class BsthTSiteImpl implements IBsthTSiteService
  17 +{
  18 + @Autowired
  19 + private BsthSiteMapper bsthSiteMapper;
  20 +
  21 + Logger logger = LoggerFactory.getLogger(BsthTSiteImpl.class);
  22 +
  23 + public List<BsthSite> selectBsthSite(){
  24 + return bsthSiteMapper.selectBsthSite();
  25 + }
  26 +
  27 +}
bsthLineProfiles/src/main/resources/application-druid.yml
@@ -5,15 +5,15 @@ spring: @@ -5,15 +5,15 @@ spring:
5 driverClassName: com.mysql.cj.jdbc.Driver 5 driverClassName: com.mysql.cj.jdbc.Driver
6 druid: 6 druid:
7 # 主库数据源 7 # 主库数据源
8 - master:  
9 - url: jdbc:mysql://192.168.101.111:3306/bsth_line_profiles?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8  
10 - username: xldasys  
11 - password: bsth@pj2021  
12 - # 主库数据源  
13 # master: 8 # master:
14 -# url: jdbc:mysql://localhost:3306/bsth_line_profiles?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8  
15 -# username: root  
16 -# password: 1995627a 9 +# url: jdbc:mysql://192.168.101.111:3306/bsth_line_profiles?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  10 +# username: xldasys
  11 +# password: bsth@pj2021
  12 + # 主库数据源
  13 + master:
  14 + url: jdbc:mysql://localhost:3306/bsth_line_profiles?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  15 + username: root
  16 + password: 1995627a
17 # 从库数据源 17 # 从库数据源
18 slave: 18 slave:
19 # 从数据源开关/默认关闭 19 # 从数据源开关/默认关闭