Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zhny
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王夏晖
zhny
Commits
db51c4f0
Commit
db51c4f0
authored
Jun 01, 2018
by
王夏晖
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
能耗计划接口完善
parent
36b688b7
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
31 additions
and
18 deletions
+31
-18
pom.xml
pom.xml
+20
-10
ZhnyLineRunner.java
src/main/java/org/rcisoft/ZhnyLineRunner.java
+0
-2
BusEnergyPlanServiceImpl.java
...nte/energyplan/service/impl/BusEnergyPlanServiceImpl.java
+1
-1
Test.java
src/main/java/org/rcisoft/mqttclient/Test.java
+1
-0
application-dev.yml
src/main/resources/application-dev.yml
+6
-4
application-prod.yml
src/main/resources/application-prod.yml
+3
-1
No files found.
pom.xml
View file @
db51c4f0
...
...
@@ -352,18 +352,28 @@
<build>
<finalName>
zhny
</finalName>
<finalName>
ROOT
</finalName>
<resources>
<resource>
<directory>
src/main/resources
</directory>
<!--<includes>
<include>**/*.yml</include>
<include>**/*.properties</include>
<include>**/*.xml</include>
<include>**/*.ftl</include>
</includes>
<filtering>true</filtering>-->
</resource>
<directory>
src/main/resources
</directory>
<includes>
<include>
**/*.yml
</include>
<include>
**/*.properties
</include>
<include>
**/*.xml
</include>
<include>
**/*.ftl
</include>
</includes>
<filtering>
true
</filtering>
</resource>
<resource>
<directory>
src/main/resources
</directory>
<excludes>
<exclude>
**/*.yml
</exclude>
<exclude>
**/*.properties
</exclude>
<exclude>
**/*.xml
</exclude>
<exclude>
**/*.ftl
</exclude>
</excludes>
<filtering>
false
</filtering>
</resource>
</resources>
<plugins>
<plugin>
...
...
src/main/java/org/rcisoft/ZhnyLineRunner.java
View file @
db51c4f0
...
...
@@ -16,8 +16,6 @@ public class ZhnyLineRunner implements CommandLineRunner {
@Override
public
void
run
(
String
...
var1
)
throws
Exception
{
System
.
out
.
println
(
"MQTT 客户端启动++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
);
/*ClientMQTT mqclient = new ClientMQTT();
mqclient.start();*/
MqttClient
client
=
new
MqttClient
(
rcRedisService
,
totalOriginalServiceImpl
);
//client.start();
}
...
...
src/main/java/org/rcisoft/business/mainte/energyplan/service/impl/BusEnergyPlanServiceImpl.java
View file @
db51c4f0
...
...
@@ -218,7 +218,7 @@ public class BusEnergyPlanServiceImpl implements BusEnergyPlanService {
tmMap
.
put
(
s
,
"1"
);
}
tmap
.
put
(
"planmap"
,
tmMap
);
tmap
.
put
(
"planT"
,
busEnergyplanTService
.
queryBusEnergyplanTs
(
tmap
.
get
(
"dev_num"
).
toString
(),
day
));
}
return
list
;
}
...
...
src/main/java/org/rcisoft/mqttclient/Test.java
View file @
db51c4f0
...
...
@@ -18,6 +18,7 @@ public class Test {
String param = "sensor_01";
System.out.println(param.substring(param.indexOf("_"),param.length()));*/
System
.
out
.
println
(
UUID
.
randomUUID
().
toString
().
replace
(
"-"
,
""
));
System
.
out
.
println
(
"2018-06-01 10:20:00"
.
substring
(
11
));
}
}
...
...
src/main/resources/application-dev.yml
View file @
db51c4f0
server
:
port
:
808
0
context-path
:
/
#ContextPath must start with '/' and not end with '/'
port
:
808
2
context-path
:
/
zhny
#ContextPath must start with '/' and not end with '/'
tomcat
:
max-threads
:
300
max-http-post-size
:
10240000
max-http-header-size
:
10240000
#uri-encoding
:
UTF-8
# logging: #使用logback-spring 注释掉logging 否则影响
...
...
@@ -11,7 +13,7 @@ server:
# org.springframework.web: DEBUG
druid
:
url
:
jdbc:mysql://
139.199.98.105:333
6/zhny?useUnicode=true&characterEncoding=UTF-8&useSSL=false&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true
url
:
jdbc:mysql://
localhost:330
6/zhny?useUnicode=true&characterEncoding=UTF-8&useSSL=false&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true
username
:
root
password
:
root
initial-size
:
1
...
...
@@ -22,7 +24,7 @@ druid:
mybatis
:
mapper-locations
:
classpath:mapper/**/**/*.xml
config-location
:
classpath:mybatis-config.xml
mapper
:
mappers
:
...
...
src/main/resources/application-prod.yml
View file @
db51c4f0
server
:
port
:
8082
context-path
:
/
project
#ContextPath must start with '/' and not end with '/'
context-path
:
/
zhny
#ContextPath must start with '/' and not end with '/'
tomcat
:
max-threads
:
300
max-http-post-size
:
10240000
max-http-header-size
:
10240000
#logging:
...
...
@@ -45,6 +46,7 @@ spring:
multipart
:
max-file-size
:
100Mb
max-request-size
:
1000Mb
mvc
:
throw-exception-if-no-handler-found
:
true
resources
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment