Commit c9e951165249cbfeaf4dc7772b3ff80d798c3d36

Authored by guzijian
1 parent 25773475

feat: 修改配置文件

Bsth-admin/pom.xml
@@ -136,7 +136,7 @@ @@ -136,7 +136,7 @@
136 </configuration> 136 </configuration>
137 </plugin> 137 </plugin>
138 </plugins> 138 </plugins>
139 - <finalName>${project.artifactId}</finalName> 139 + <finalName>${project.artifactId}-sign</finalName>
140 </build> 140 </build>
141 141
142 </project> 142 </project>
143 \ No newline at end of file 143 \ No newline at end of file
Bsth-admin/src/main/java/com/ruoyi/common/cache/SchedulingCache.java
@@ -28,7 +28,7 @@ public class SchedulingCache { @@ -28,7 +28,7 @@ public class SchedulingCache {
28 28
29 29
30 // @Value("${api.url.getSchedulingInfoNew}") 30 // @Value("${api.url.getSchedulingInfoNew}")
31 - private static final String getSchedulingInfoUrl = "http://101.95.136.206:9089/webservice/rest/schedule_real/sch_jk_db/%s/%s?timestamp=%d&nonce=%s&password=%s&sign=%s"; 31 + private static final String getSchedulingInfoUrl = "http://192.168.50.120:9089/webservice/rest/schedule_real/sch_jk_db/%s/%s?timestamp=%d&nonce=%s&password=%s&sign=%s";
32 // @Value("${api.config.nonce}") 32 // @Value("${api.config.nonce}")
33 private static final String NONCE = "adfsad"; 33 private static final String NONCE = "adfsad";
34 // @Value("${api.config.password}") 34 // @Value("${api.config.password}")
Bsth-admin/src/main/java/com/ruoyi/common/cache/TempCache.java
@@ -9,8 +9,8 @@ public class TempCache { @@ -9,8 +9,8 @@ public class TempCache {
9 9
10 static { 10 static {
11 map = new ConcurrentHashMap<>(); 11 map = new ConcurrentHashMap<>();
12 - map.put("620001", true);  
13 - map.put("620002", true); 12 +// map.put("620001", true);
  13 +// map.put("620002", true);
14 map.put("700001", true); 14 map.put("700001", true);
15 map.put("722717", true); 15 map.put("722717", true);
16 } 16 }
Bsth-admin/src/main/java/com/ruoyi/driver/service/impl/DriverServiceImpl.java
@@ -386,6 +386,9 @@ public class DriverServiceImpl implements IDriverService { @@ -386,6 +386,9 @@ public class DriverServiceImpl implements IDriverService {
386 if (!CollectionUtil.isEmpty(dto)) { 386 if (!CollectionUtil.isEmpty(dto)) {
387 vo.setPlanAction(TempCache.querySignStatus(item.getJobCode()) ? SIGN_IN_STRING : SIGN_IN_OUT_STRING); 387 vo.setPlanAction(TempCache.querySignStatus(item.getJobCode()) ? SIGN_IN_STRING : SIGN_IN_OUT_STRING);
388 vo.setCheckAlcohol(TempCache.querySignStatus(item.getJobCode())); 388 vo.setCheckAlcohol(TempCache.querySignStatus(item.getJobCode()));
  389 + vo.setNbbm("YTCD-076");
  390 + vo.setLineName("88号线");
  391 + vo.setSchedulingFlag(false);
389 // vo.setCheckAlcohol(false); 392 // vo.setCheckAlcohol(false);
390 vos.add(vo); 393 vos.add(vo);
391 } 394 }
@@ -400,7 +403,7 @@ public class DriverServiceImpl implements IDriverService { @@ -400,7 +403,7 @@ public class DriverServiceImpl implements IDriverService {
400 TempCache.querySignStatus(item.getJobCode()) ? SIGN_IN_STRING : SIGN_IN_OUT_STRING, 403 TempCache.querySignStatus(item.getJobCode()) ? SIGN_IN_STRING : SIGN_IN_OUT_STRING,
401 needCheckAlcoholDevice ? TempCache.querySignStatus(item.getJobCode()) : false, 404 needCheckAlcoholDevice ? TempCache.querySignStatus(item.getJobCode()) : false,
402 // false, 405 // false,
403 - true, "测试", "测试", "测试")); 406 + false, "YTCD-076", "6", "88号线"));
404 } 407 }
405 // 上面可删除 408 // 上面可删除
406 } else { 409 } else {
Bsth-admin/src/main/resources/application-druid-dev.yml
@@ -97,8 +97,8 @@ spring: @@ -97,8 +97,8 @@ spring:
97 redis: 97 redis:
98 # 地址 98 # 地址
99 # host: 121.41.83.61 99 # host: 121.41.83.61
100 - host: 127.0.0.1  
101 - database: 0 100 + host: 192.168.168.124
  101 + database: 14
102 # password: "guzijian" 102 # password: "guzijian"
103 port: 6379 103 port: 6379
104 # 连接超时时间 104 # 连接超时时间
Bsth-admin/src/main/resources/application-druid-prd.yml
@@ -28,7 +28,7 @@ spring: @@ -28,7 +28,7 @@ spring:
28 # 主库数据源 28 # 主库数据源
29 master: 29 master:
30 # 测试地址 30 # 测试地址
31 - url: jdbc:mysql://127.0.0.1:3306/all-in-one?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&useAffectedRows=true&allowMultiQueries=true 31 + url: jdbc:mysql://192.168.40.121:3307/all-in-one?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&useAffectedRows=true&allowMultiQueries=true
32 username: root 32 username: root
33 password: qinpugongjiao20230730 33 password: qinpugongjiao20230730
34 # 从库数据源 34 # 从库数据源
@@ -97,10 +97,10 @@ spring: @@ -97,10 +97,10 @@ spring:
97 redis: 97 redis:
98 # 地址 98 # 地址
99 # host: 121.41.83.61 99 # host: 121.41.83.61
100 - host: 127.0.0.1 100 + host: 192.168.40.121
101 database: 0 101 database: 0
102 # password: qpgjredis 102 # password: qpgjredis
103 - port: 6379 103 + port: 6378
104 # 连接超时时间 104 # 连接超时时间
105 timeout: 10s 105 timeout: 10s
106 lettuce: 106 lettuce:
@@ -133,7 +133,7 @@ ruoyi: @@ -133,7 +133,7 @@ ruoyi:
133 # 实例演示开关 133 # 实例演示开关
134 demoEnabled: true 134 demoEnabled: true
135 # 文件路径 示例( Windows配置E:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath) 135 # 文件路径 示例( Windows配置E:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
136 - profile: E:/ruoyi/uploadPath 136 + profile: /home/qpbssign/server/uploadPath
137 # 获取ip地址开关 137 # 获取ip地址开关
138 addressEnabled: false 138 addressEnabled: false
139 # 验证码类型 math 数字计算 char 字符验证 139 # 验证码类型 math 数字计算 char 字符验证
@@ -141,7 +141,7 @@ ruoyi: @@ -141,7 +141,7 @@ ruoyi:
141 # 开发环境配置 141 # 开发环境配置
142 server: 142 server:
143 # 服务器的HTTP端口,默认为8080 143 # 服务器的HTTP端口,默认为8080
144 - port: 8080 144 + port: 8100
145 servlet: 145 servlet:
146 # 应用的访问路径 146 # 应用的访问路径
147 context-path: / 147 context-path: /
@@ -176,18 +176,18 @@ springfox: @@ -176,18 +176,18 @@ springfox:
176 auto-startup: false 176 auto-startup: false
177 enabled: false 177 enabled: false
178 log: 178 log:
179 - path: E:/ruoyi/logs 179 + path: /home/qpbssign/server/logs
180 180
181 api: 181 api:
182 template: 车队与线路匹配模板 182 template: 车队与线路匹配模板
183 url: 183 url:
184 # all 为获取所有驾驶员信息 184 # all 为获取所有驾驶员信息
185 - getDriverInfo: http://101.95.136.206:9089/webservice/rest/person/%s 185 + getDriverInfo: http://192.168.50.120:9089/webservice/rest/person/%s
186 # 获取公司编码下的员工信息 暂时没用 186 # 获取公司编码下的员工信息 暂时没用
187 - getCompanyInfo: http://101.95.136.206:9089/webservice/rest/person/company/%d?timestamp=%&nonce=%s&password=%s&sign=%s 187 + getCompanyInfo: http://192.168.50.120:9089/webservice/rest/person/company/%d?timestamp=%&nonce=%s&password=%s&sign=%s
188 # 获取排班信息 188 # 获取排班信息
189 - getSchedulingInfo: http://101.95.136.206:9089/webservice/rest/schedule_real/sch_jk/%s/%s?timestamp=%d&nonce=%s&password=%s&sign=%s  
190 - getSchedulingInfoNew: http://101.95.136.206:9089/webservice/rest/schedule_real/sch_jk_db/%s/%s?timestamp=%d&nonce=%s&password=%s&sign=%s 189 + getSchedulingInfo: http://192.168.50.120:9089/webservice/rest/schedule_real/sch_jk/%s/%s?timestamp=%d&nonce=%s&password=%s&sign=%s
  190 + getSchedulingInfoNew: http://192.168.50.120:9089/webservice/rest/schedule_real/sch_jk_db/%s/%s?timestamp=%d&nonce=%s&password=%s&sign=%s
191 config: 191 config:
192 # 固定密码 192 # 固定密码
193 password: c4dd3d8cb9a82f6d6a625818618b28ca7bebb464 193 password: c4dd3d8cb9a82f6d6a625818618b28ca7bebb464
Bsth-admin/src/main/resources/application-druid-uat.yml
@@ -28,7 +28,7 @@ spring: @@ -28,7 +28,7 @@ spring:
28 # 主库数据源 28 # 主库数据源
29 master: 29 master:
30 # 测试地址 30 # 测试地址
31 - url: jdbc:mysql://1.14.107.94:3306/all-in-one?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&useAffectedRows=true&allowMultiQueries=true 31 + url: jdbc:mysql://192.168.168.124:3306/all-in-one?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&useAffectedRows=true&allowMultiQueries=true
32 username: root 32 username: root
33 password: guzijian 33 password: guzijian
34 # 从库数据源 34 # 从库数据源
@@ -97,7 +97,7 @@ spring: @@ -97,7 +97,7 @@ spring:
97 redis: 97 redis:
98 # 地址 98 # 地址
99 # host: 1.14.107.94 99 # host: 1.14.107.94
100 - host: 121.41.83.61 100 + host: 192.168.168.124
101 database: 0 101 database: 0
102 password: "guzijian" 102 password: "guzijian"
103 port: 6379 103 port: 6379
@@ -133,7 +133,7 @@ ruoyi: @@ -133,7 +133,7 @@ ruoyi:
133 # 实例演示开关 133 # 实例演示开关
134 demoEnabled: true 134 demoEnabled: true
135 # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath) 135 # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
136 - profile: /home/ruoyi/uploadPath 136 + profile: /home/sign/uploadPath
137 # 获取ip地址开关 137 # 获取ip地址开关
138 addressEnabled: false 138 addressEnabled: false
139 # 验证码类型 math 数字计算 char 字符验证 139 # 验证码类型 math 数字计算 char 字符验证
@@ -198,4 +198,4 @@ api: @@ -198,4 +198,4 @@ api:
198 people: 198 people:
199 url: https://api.dingtalk.com/v1.0/yida/forms/instances/search 199 url: https://api.dingtalk.com/v1.0/yida/forms/instances/search
200 log: 200 log:
201 - path: /home/ruoyi/logs  
202 \ No newline at end of file 201 \ No newline at end of file
  202 + path: /home/sign/logs
203 \ No newline at end of file 203 \ No newline at end of file