Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
A
Aidea
Project
Project
Details
Activity
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
sa_aidea
Aidea
Commits
971eb382
Commit
971eb382
authored
Aug 18, 2021
by
谢希宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Submit by Strive
Date 2021/07/26 Project End
parent
eee15757
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
51 additions
and
3 deletions
+51
-3
pom.xml
aidea-modules/pom.xml
+2
-0
pom.xml
aidea-modules/prescription-module-web/pom.xml
+30
-0
pom.xml
aidea-modules/prescription-module/pom.xml
+16
-0
applicationContext.xml
cftech-common-web/src/main/resources/applicationContext.xml
+1
-1
SystemConfig.java
...mmon/src/main/java/com/cftech/core/util/SystemConfig.java
+2
-2
No files found.
aidea-modules/pom.xml
View file @
971eb382
...
...
@@ -46,6 +46,8 @@
<module>
checkresult-module-web
</module>
<module>
hospital-module
</module>
<module>
hospital-module-web
</module>
<module>
prescription-module
</module>
<module>
prescription-module-web
</module>
</modules>
<dependencies>
...
...
aidea-modules/prescription-module-web/pom.xml
0 → 100644
View file @
971eb382
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<parent>
<artifactId>
aidea-modules
</artifactId>
<groupId>
com.cftech
</groupId>
<version>
1.0-SNAPSHOT
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
prescription-module-web
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<groupId>
com.cftech
</groupId>
<packaging>
war
</packaging>
<name>
prescription-module-web Maven Webapp
</name>
<url>
http://maven.apache.org
</url>
<dependencies>
<dependency>
<groupId>
com.cftech
</groupId>
<artifactId>
prescription-module
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
</dependencies>
<build>
<finalName>
prescription-module-web
</finalName>
</build>
</project>
\ No newline at end of file
aidea-modules/prescription-module/pom.xml
0 → 100644
View file @
971eb382
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<parent>
<artifactId>
aidea-modules
</artifactId>
<groupId>
com.cftech
</groupId>
<version>
1.0-SNAPSHOT
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
prescription-module
</artifactId>
</project>
\ No newline at end of file
cftech-common-web/src/main/resources/applicationContext.xml
View file @
971eb382
...
...
@@ -28,7 +28,7 @@
<bean
id=
"convertPwdPropertyConfigurer"
class=
"com.cftech.core.util.ConvertPwdPropertyConfigurer"
>
<property
name=
"locations"
>
<list>
<value>
classpath*:application.properties
</value>
<value>
classpath*:application
-test
.properties
</value>
</list>
</property>
</bean>
...
...
cftech-common/src/main/java/com/cftech/core/util/SystemConfig.java
View file @
971eb382
...
...
@@ -14,10 +14,10 @@ public class SystemConfig {
try
{
// inputStream = SystemConfig.class.newInstance().getClass()
// .getClassLoader().getResourceAsStream("");
p
.
load
(
new
InputStreamReader
(
SystemConfig
.
class
.
getClassLoader
().
getResourceAsStream
(
"/common.properties"
),
"utf-8"
));
p
.
load
(
new
InputStreamReader
(
SystemConfig
.
class
.
getClassLoader
().
getResourceAsStream
(
"/common
-test
.properties"
),
"utf-8"
));
inputStreamRedis
=
SystemConfig
.
class
.
newInstance
().
getClass
()
.
getClassLoader
().
getResourceAsStream
(
"/redis-config.properties"
);
.
getClassLoader
().
getResourceAsStream
(
"/redis-config
-test
.properties"
);
r
.
load
(
inputStreamRedis
);
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
...
...
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