Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
traffic-signal-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
signal
traffic-signal-platform
Commits
f8141189
Commit
f8141189
authored
Nov 24, 2024
by
duanruiming
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
49aee2d1
7dc44a65
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
93 additions
and
2 deletions
+93
-2
pom.xml
signal-optimize-service/pom.xml
+91
-0
EventAlarmMapper.xml
...vice/src/main/resources/mapper/trend/EventAlarmMapper.xml
+2
-2
No files found.
signal-optimize-service/pom.xml
View file @
f8141189
...
...
@@ -308,6 +308,97 @@
</executions>
</plugin>
<!-- maven 打包方式-->
<plugin>
<artifactId>
maven-resources-plugin
</artifactId>
<!--<version>2.6</version>-->
<executions>
<!--将启动脚本复制到指定目录-->
<execution>
<id>
copy-bin
</id>
<phase>
package
</phase>
<goals>
<goal>
copy-resources
</goal>
</goals>
<configuration>
<outputDirectory>
${project.parent.basedir}/assembly/${project.name}/bin
</outputDirectory>
<resources>
<resource>
<directory>
src/main/resources/bin
</directory>
<filtering>
false
</filtering>
</resource>
</resources>
</configuration>
</execution>
<!--将配置文件复制到指定目录-->
<execution>
<id>
copy-configs
</id>
<phase>
package
</phase>
<goals>
<goal>
copy-resources
</goal>
</goals>
<configuration>
<outputDirectory>
${project.parent.basedir}/assembly/${project.name}/resources
</outputDirectory>
<resources>
<resource>
<directory>
src/main/resources
</directory>
<excludes>
<exclude>
**/bin/*
</exclude>
</excludes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-dependency-plugin
</artifactId>
<version>
2.8
</version>
<executions>
<!--将依赖jar包复制到lib目录-->
<execution>
<id>
copy-dependencies
</id>
<phase>
package
</phase>
<goals>
<goal>
copy-dependencies
</goal>
</goals>
<configuration>
<outputDirectory>
${project.parent.basedir}/assembly/${project.name}/lib
</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<!--指定生成jar包目录-->
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-jar-plugin
</artifactId>
<configuration>
<archive>
<manifest>
<addClasspath>
true
</addClasspath>
<!--<classpathPrefix>lib/</classpathPrefix>-->
<classpathPrefix></classpathPrefix>
<mainClass>
net.wanji.opt.SignalOptimizeApplication
</mainClass>
</manifest>
<manifestEntries>
<Class-Path>
../resources/
</Class-Path>
</manifestEntries>
</archive>
<excludes>
<exclude>
*.**
</exclude>
<exclude>
*/*.xml
</exclude>
<!--<exclude>configs/**/**</exclude>-->
</excludes>
<outputDirectory>
${project.parent.basedir}/assembly/${project.name}/lib
</outputDirectory>
<classesDirectory>
</classesDirectory>
</configuration>
</plugin>
</plugins>
</build>
...
...
signal-optimize-service/src/main/resources/mapper/trend/EventAlarmMapper.xml
View file @
f8141189
...
...
@@ -3,7 +3,7 @@
<mapper
namespace=
"net.wanji.opt.dao.mapper.trend.EventAlarmMapper"
>
<!-- 通用查询映射结果 -->
<resultMap
type=
"net.wanji.opt.po.trend.EventAlarmPO"
id=
"BaseResultMap"
>
<resultMap
type=
"net.wanji.opt.po.trend.EventAlarmPO"
id=
"
EventAlarm
BaseResultMap"
>
<result
property=
"id"
column=
"id"
/>
<result
property=
"eventId"
column=
"event_id"
/>
<result
property=
"eventDesc"
column=
"event_desc"
/>
...
...
@@ -17,7 +17,7 @@
<result
property=
"gmtModified"
column=
"gmt_modified"
/>
</resultMap>
<select
id=
"selectByTodayTime"
resultMap=
"
BaseResultMap"
>
<select
id=
"selectByTodayTime"
resultMap=
"
EventAlarmBaseResultMap"
>
select
id,event_id,event_desc,type,start_time,end_time,source,wkt,image_url,gmt_create,gmt_modified
from t_event_data
...
...
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